@six-vallees/ui-react 0.6.0 → 0.7.0
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/README.md +9 -13
- package/dist/actions/button-group.d.ts +21 -0
- package/dist/actions/button-group.js +8 -0
- package/dist/actions/button-group.js.map +1 -0
- package/dist/actions/context-menu.d.ts +48 -0
- package/dist/actions/context-menu.js +38 -0
- package/dist/actions/context-menu.js.map +1 -0
- package/dist/actions/dropdown-menu.d.ts +49 -0
- package/dist/actions/dropdown-menu.js +38 -0
- package/dist/actions/dropdown-menu.js.map +1 -0
- package/dist/actions/icon-button.d.ts +34 -0
- package/dist/actions/icon-button.js +10 -0
- package/dist/actions/icon-button.js.map +1 -0
- package/dist/actions/link.d.ts +23 -0
- package/dist/actions/link.js +8 -0
- package/dist/actions/link.js.map +1 -0
- package/dist/actions/menu-styles.d.ts +25 -0
- package/dist/actions/menu-styles.js +23 -0
- package/dist/actions/menu-styles.js.map +1 -0
- package/dist/avatar/avatar.d.ts +1 -1
- package/dist/avatar/avatar.js +1 -1
- package/dist/badge/badge.d.ts +3 -3
- package/dist/badge/badge.js +1 -1
- package/dist/button/button.d.ts +7 -4
- package/dist/button/button.js +1 -1
- package/dist/card/card.d.ts +11 -3
- package/dist/card/card.js +1 -1
- package/dist/charts/bar-chart.d.ts +50 -11
- package/dist/charts/bar-chart.js +7 -2
- package/dist/charts/benchmark-table.d.ts +47 -0
- package/dist/charts/benchmark-table.js +10 -0
- package/dist/charts/benchmark-table.js.map +1 -0
- package/dist/charts/delta.d.ts +23 -0
- package/dist/charts/delta.js +8 -0
- package/dist/charts/delta.js.map +1 -0
- package/dist/charts/dot-matrix.d.ts +38 -0
- package/dist/charts/dot-matrix.js +13 -0
- package/dist/charts/dot-matrix.js.map +1 -0
- package/dist/charts/heatmap.d.ts +33 -0
- package/dist/charts/heatmap.js +13 -0
- package/dist/charts/heatmap.js.map +1 -0
- package/dist/charts/lib/scale.d.ts +17 -0
- package/dist/charts/lib/scale.js +15 -0
- package/dist/charts/lib/scale.js.map +1 -0
- package/dist/charts/lib/series.d.ts +76 -44
- package/dist/charts/lib/series.js +25 -11
- package/dist/charts/lib/use-chart.d.ts +48 -0
- package/dist/charts/lib/use-chart.js +16 -0
- package/dist/charts/lib/use-chart.js.map +1 -0
- package/dist/charts/line-chart.d.ts +52 -19
- package/dist/charts/line-chart.js +11 -2
- package/dist/charts/meter.d.ts +30 -0
- package/dist/charts/meter.js +12 -0
- package/dist/charts/meter.js.map +1 -0
- package/dist/charts/primitives/chart-frame.d.ts +25 -0
- package/dist/charts/primitives/chart-frame.js +8 -0
- package/dist/charts/primitives/chart-frame.js.map +1 -0
- package/dist/charts/primitives/chart-grid.d.ts +29 -0
- package/dist/charts/primitives/chart-grid.js +9 -0
- package/dist/charts/primitives/chart-grid.js.map +1 -0
- package/dist/charts/primitives/chart-legend.d.ts +23 -0
- package/dist/charts/primitives/chart-legend.js +9 -0
- package/dist/charts/primitives/chart-legend.js.map +1 -0
- package/dist/charts/primitives/chart-tooltip.d.ts +31 -0
- package/dist/charts/primitives/chart-tooltip.js +9 -0
- package/dist/charts/primitives/chart-tooltip.js.map +1 -0
- package/dist/charts/rank-list.d.ts +29 -0
- package/dist/charts/rank-list.js +12 -0
- package/dist/charts/rank-list.js.map +1 -0
- package/dist/charts/ring.d.ts +25 -24
- package/dist/charts/ring.js +4 -2
- package/dist/charts/scatter-chart.d.ts +42 -0
- package/dist/charts/scatter-chart.js +14 -0
- package/dist/charts/scatter-chart.js.map +1 -0
- package/dist/charts/segmented-bar.d.ts +16 -11
- package/dist/charts/segmented-bar.js +6 -2
- package/dist/charts/sparkline.d.ts +32 -0
- package/dist/charts/sparkline.js +10 -0
- package/dist/charts/sparkline.js.map +1 -0
- package/dist/charts/stat.d.ts +13 -7
- package/dist/charts/stat.js +2 -1
- package/dist/chunk-24T7KWXQ.js +84 -0
- package/dist/chunk-24T7KWXQ.js.map +1 -0
- package/dist/chunk-2NJFAPRG.js +40 -0
- package/dist/chunk-2NJFAPRG.js.map +1 -0
- package/dist/chunk-3PHVZB3A.js +73 -0
- package/dist/chunk-3PHVZB3A.js.map +1 -0
- package/dist/chunk-5EGRSN37.js +102 -0
- package/dist/chunk-5EGRSN37.js.map +1 -0
- package/dist/chunk-7FRDEE43.js +35 -0
- package/dist/chunk-7FRDEE43.js.map +1 -0
- package/dist/{chunk-ULEDFFUJ.js → chunk-7YKHLP4S.js} +1 -1
- package/dist/chunk-7YKHLP4S.js.map +1 -0
- package/dist/{chunk-7GXL7U5X.js → chunk-A65X3XYB.js} +4 -3
- package/dist/chunk-A65X3XYB.js.map +1 -0
- package/dist/chunk-AGKLGZSW.js +74 -0
- package/dist/chunk-AGKLGZSW.js.map +1 -0
- package/dist/chunk-AQHYE6EF.js +109 -0
- package/dist/chunk-AQHYE6EF.js.map +1 -0
- package/dist/chunk-AWVTRQZJ.js +117 -0
- package/dist/chunk-AWVTRQZJ.js.map +1 -0
- package/dist/chunk-BDQUFQE7.js +30 -0
- package/dist/chunk-BDQUFQE7.js.map +1 -0
- package/dist/chunk-BJKQSXX4.js +54 -0
- package/dist/chunk-BJKQSXX4.js.map +1 -0
- package/dist/chunk-BKSKRGK7.js +81 -0
- package/dist/chunk-BKSKRGK7.js.map +1 -0
- package/dist/chunk-BVNDNRPW.js +44 -0
- package/dist/chunk-BVNDNRPW.js.map +1 -0
- package/dist/chunk-CN6QNKYV.js +24 -0
- package/dist/chunk-CN6QNKYV.js.map +1 -0
- package/dist/chunk-DD6QBBV2.js +119 -0
- package/dist/chunk-DD6QBBV2.js.map +1 -0
- package/dist/chunk-DHPFIP7P.js +50 -0
- package/dist/chunk-DHPFIP7P.js.map +1 -0
- package/dist/chunk-DRJWJ7KG.js +109 -0
- package/dist/chunk-DRJWJ7KG.js.map +1 -0
- package/dist/chunk-DUJEWU5O.js +72 -0
- package/dist/chunk-DUJEWU5O.js.map +1 -0
- package/dist/chunk-EKQQBSFF.js +79 -0
- package/dist/chunk-EKQQBSFF.js.map +1 -0
- package/dist/{chunk-RXDJPRH5.js → chunk-EM5UHI3U.js} +2 -2
- package/dist/chunk-EM5UHI3U.js.map +1 -0
- package/dist/chunk-ENL5WNFM.js +101 -0
- package/dist/chunk-ENL5WNFM.js.map +1 -0
- package/dist/chunk-EVKFEIM2.js +37 -0
- package/dist/chunk-EVKFEIM2.js.map +1 -0
- package/dist/chunk-EXEJG4IG.js +101 -0
- package/dist/chunk-EXEJG4IG.js.map +1 -0
- package/dist/chunk-FSVKQPMR.js +45 -0
- package/dist/chunk-FSVKQPMR.js.map +1 -0
- package/dist/chunk-GASC427L.js +34 -0
- package/dist/chunk-GASC427L.js.map +1 -0
- package/dist/chunk-GGQ6GQ75.js +24 -0
- package/dist/chunk-GGQ6GQ75.js.map +1 -0
- package/dist/chunk-GHXR4PCK.js +147 -0
- package/dist/chunk-GHXR4PCK.js.map +1 -0
- package/dist/{chunk-WHD5CSTB.js → chunk-HC3SNY5O.js} +5 -5
- package/dist/chunk-HC3SNY5O.js.map +1 -0
- package/dist/chunk-HJ7ICELB.js +76 -0
- package/dist/chunk-HJ7ICELB.js.map +1 -0
- package/dist/chunk-I355QWHH.js +40 -0
- package/dist/chunk-I355QWHH.js.map +1 -0
- package/dist/chunk-I6D5E5ZD.js +34 -0
- package/dist/chunk-I6D5E5ZD.js.map +1 -0
- package/dist/chunk-IBY25I76.js +49 -0
- package/dist/chunk-IBY25I76.js.map +1 -0
- package/dist/chunk-IGOTX5DA.js +19 -0
- package/dist/chunk-IGOTX5DA.js.map +1 -0
- package/dist/{chunk-WHJ4JVO6.js → chunk-JI4UZW6G.js} +2 -2
- package/dist/chunk-JI4UZW6G.js.map +1 -0
- package/dist/chunk-JZNXMBZ6.js +93 -0
- package/dist/chunk-JZNXMBZ6.js.map +1 -0
- package/dist/chunk-LAATHRKX.js +39 -0
- package/dist/chunk-LAATHRKX.js.map +1 -0
- package/dist/{chunk-POUL3ZTV.js → chunk-LL5GBPQN.js} +8 -4
- package/dist/chunk-LL5GBPQN.js.map +1 -0
- package/dist/chunk-ML3IXSZV.js +78 -0
- package/dist/chunk-ML3IXSZV.js.map +1 -0
- package/dist/chunk-MNECWWTU.js +62 -0
- package/dist/chunk-MNECWWTU.js.map +1 -0
- package/dist/chunk-MPYL4ED3.js +171 -0
- package/dist/chunk-MPYL4ED3.js.map +1 -0
- package/dist/chunk-MS7ZK2O6.js +65 -0
- package/dist/chunk-MS7ZK2O6.js.map +1 -0
- package/dist/chunk-MZVQ32JU.js +29 -0
- package/dist/chunk-MZVQ32JU.js.map +1 -0
- package/dist/chunk-NC4IUB2C.js +33 -0
- package/dist/chunk-NC4IUB2C.js.map +1 -0
- package/dist/chunk-NCAHIMIB.js +96 -0
- package/dist/chunk-NCAHIMIB.js.map +1 -0
- package/dist/chunk-NJVKZ5DE.js +114 -0
- package/dist/chunk-NJVKZ5DE.js.map +1 -0
- package/dist/chunk-OGSHLSI2.js +22 -0
- package/dist/chunk-OGSHLSI2.js.map +1 -0
- package/dist/chunk-OIAZH5EU.js +36 -0
- package/dist/chunk-OIAZH5EU.js.map +1 -0
- package/dist/chunk-P22B7HQS.js +45 -0
- package/dist/chunk-P22B7HQS.js.map +1 -0
- package/dist/{chunk-DCKWB3EY.js → chunk-P2CWISVU.js} +2 -2
- package/dist/chunk-P2CWISVU.js.map +1 -0
- package/dist/chunk-P4G5WFHH.js +18 -0
- package/dist/chunk-P4G5WFHH.js.map +1 -0
- package/dist/chunk-QNIIWNSR.js +78 -0
- package/dist/chunk-QNIIWNSR.js.map +1 -0
- package/dist/chunk-R23U2FRV.js +23 -0
- package/dist/chunk-R23U2FRV.js.map +1 -0
- package/dist/chunk-RB6DUG3M.js +9 -0
- package/dist/chunk-RB6DUG3M.js.map +1 -0
- package/dist/chunk-RKG72NSW.js +26 -0
- package/dist/chunk-RKG72NSW.js.map +1 -0
- package/dist/chunk-SAVUGRDZ.js +31 -0
- package/dist/chunk-SAVUGRDZ.js.map +1 -0
- package/dist/chunk-SEMDDFFB.js +37 -0
- package/dist/chunk-SEMDDFFB.js.map +1 -0
- package/dist/{chunk-R7BM6J75.js → chunk-SNTRWOF6.js} +2 -5
- package/dist/chunk-SNTRWOF6.js.map +1 -0
- package/dist/chunk-SOWWBAOB.js +36 -0
- package/dist/chunk-SOWWBAOB.js.map +1 -0
- package/dist/chunk-SYGAPDKX.js +45 -0
- package/dist/chunk-SYGAPDKX.js.map +1 -0
- package/dist/chunk-TBZIUIP2.js +87 -0
- package/dist/chunk-TBZIUIP2.js.map +1 -0
- package/dist/chunk-TD2NGENS.js +43 -0
- package/dist/chunk-TD2NGENS.js.map +1 -0
- package/dist/chunk-TH6WBEEL.js +58 -0
- package/dist/chunk-TH6WBEEL.js.map +1 -0
- package/dist/chunk-TUY3ZMDE.js +42 -0
- package/dist/chunk-TUY3ZMDE.js.map +1 -0
- package/dist/chunk-U4G72DSG.js +67 -0
- package/dist/chunk-U4G72DSG.js.map +1 -0
- package/dist/chunk-UG5TRIRZ.js +42 -0
- package/dist/chunk-UG5TRIRZ.js.map +1 -0
- package/dist/chunk-UOJZEP6N.js +39 -0
- package/dist/chunk-UOJZEP6N.js.map +1 -0
- package/dist/chunk-V5QWZ3LA.js +77 -0
- package/dist/chunk-V5QWZ3LA.js.map +1 -0
- package/dist/chunk-VDKJLIEZ.js +291 -0
- package/dist/chunk-VDKJLIEZ.js.map +1 -0
- package/dist/chunk-W2NESPKL.js +100 -0
- package/dist/chunk-W2NESPKL.js.map +1 -0
- package/dist/{chunk-HHUI32DT.js → chunk-W3RIYQPO.js} +3 -2
- package/dist/chunk-W3RIYQPO.js.map +1 -0
- package/dist/chunk-WO33CSUW.js +52 -0
- package/dist/chunk-WO33CSUW.js.map +1 -0
- package/dist/chunk-WSTHL6H7.js +33 -0
- package/dist/chunk-WSTHL6H7.js.map +1 -0
- package/dist/chunk-WZONN76V.js +55 -0
- package/dist/chunk-WZONN76V.js.map +1 -0
- package/dist/chunk-XGFM7GVN.js +39 -0
- package/dist/chunk-XGFM7GVN.js.map +1 -0
- package/dist/chunk-XSYY67X3.js +142 -0
- package/dist/chunk-XSYY67X3.js.map +1 -0
- package/dist/chunk-YFKM4ZLH.js +111 -0
- package/dist/chunk-YFKM4ZLH.js.map +1 -0
- package/dist/{chunk-OVF2VS3L.js → chunk-YM2TZ5UT.js} +4 -4
- package/dist/{chunk-OVF2VS3L.js.map → chunk-YM2TZ5UT.js.map} +1 -1
- package/dist/chunk-YP766ABA.js +268 -0
- package/dist/chunk-YP766ABA.js.map +1 -0
- package/dist/chunk-YT2PR4LF.js +38 -0
- package/dist/chunk-YT2PR4LF.js.map +1 -0
- package/dist/chunk-ZI4AJKES.js +29 -0
- package/dist/chunk-ZI4AJKES.js.map +1 -0
- package/dist/chunk-ZXVCMTM2.js +57 -0
- package/dist/chunk-ZXVCMTM2.js.map +1 -0
- package/dist/data-display/code-block.d.ts +26 -0
- package/dist/data-display/code-block.js +9 -0
- package/dist/data-display/code-block.js.map +1 -0
- package/dist/data-display/separator.d.ts +11 -0
- package/dist/data-display/separator.js +9 -0
- package/dist/data-display/separator.js.map +1 -0
- package/dist/data-display/stepper.d.ts +27 -0
- package/dist/data-display/stepper.js +8 -0
- package/dist/data-display/stepper.js.map +1 -0
- package/dist/data-display/table.d.ts +43 -0
- package/dist/data-display/table.js +24 -0
- package/dist/data-display/table.js.map +1 -0
- package/dist/data-display/tag.d.ts +27 -0
- package/dist/data-display/tag.js +10 -0
- package/dist/data-display/tag.js.map +1 -0
- package/dist/data-display/timeline.d.ts +24 -0
- package/dist/data-display/timeline.js +10 -0
- package/dist/data-display/timeline.js.map +1 -0
- package/dist/disclosure/accordion.d.ts +18 -0
- package/dist/disclosure/accordion.js +15 -0
- package/dist/disclosure/accordion.js.map +1 -0
- package/dist/disclosure/collapsible.d.ts +14 -0
- package/dist/disclosure/collapsible.js +13 -0
- package/dist/disclosure/collapsible.js.map +1 -0
- package/dist/disclosure/dialog.d.ts +43 -0
- package/dist/disclosure/dialog.js +27 -0
- package/dist/disclosure/dialog.js.map +1 -0
- package/dist/disclosure/hover-card.d.ts +21 -0
- package/dist/disclosure/hover-card.js +13 -0
- package/dist/disclosure/hover-card.js.map +1 -0
- package/dist/dots/dots.d.ts +41 -0
- package/dist/dots/dots.js +8 -0
- package/dist/dots/dots.js.map +1 -0
- package/dist/feedback/alert.d.ts +27 -0
- package/dist/feedback/alert.js +13 -0
- package/dist/feedback/alert.js.map +1 -0
- package/dist/feedback/empty-state.d.ts +28 -0
- package/dist/feedback/empty-state.js +8 -0
- package/dist/feedback/empty-state.js.map +1 -0
- package/dist/feedback/progress.d.ts +19 -0
- package/dist/feedback/progress.js +9 -0
- package/dist/feedback/progress.js.map +1 -0
- package/dist/feedback/skeleton.d.ts +16 -0
- package/dist/feedback/skeleton.js +8 -0
- package/dist/feedback/skeleton.js.map +1 -0
- package/dist/feedback/spinner.d.ts +19 -0
- package/dist/feedback/spinner.js +8 -0
- package/dist/feedback/spinner.js.map +1 -0
- package/dist/feedback/toast.d.ts +35 -0
- package/dist/feedback/toast.js +22 -0
- package/dist/feedback/toast.js.map +1 -0
- package/dist/feedback/tone.d.ts +20 -0
- package/dist/feedback/tone.js +11 -0
- package/dist/feedback/tone.js.map +1 -0
- package/dist/index.d.ts +78 -4
- package/dist/index.js +527 -41
- package/dist/input/chat-composer.d.ts +40 -0
- package/dist/input/chat-composer.js +9 -0
- package/dist/input/chat-composer.js.map +1 -0
- package/dist/input/checkbox.d.ts +15 -0
- package/dist/input/checkbox.js +9 -0
- package/dist/input/checkbox.js.map +1 -0
- package/dist/input/combobox.d.ts +121 -0
- package/dist/input/combobox.js +25 -0
- package/dist/input/combobox.js.map +1 -0
- package/dist/input/field-styles.d.ts +14 -0
- package/dist/input/field-styles.js +9 -0
- package/dist/input/field-styles.js.map +1 -0
- package/dist/input/input.d.ts +6 -11
- package/dist/input/input.js +2 -1
- package/dist/input/kbd.d.ts +11 -0
- package/dist/input/kbd.js +8 -0
- package/dist/input/kbd.js.map +1 -0
- package/dist/input/label.d.ts +10 -4
- package/dist/input/label.js +1 -1
- package/dist/input/radio-group.d.ts +15 -0
- package/dist/input/radio-group.js +11 -0
- package/dist/input/radio-group.js.map +1 -0
- package/dist/input/search-field.d.ts +24 -0
- package/dist/input/search-field.js +11 -0
- package/dist/input/search-field.js.map +1 -0
- package/dist/input/select.d.ts +29 -0
- package/dist/input/select.js +25 -0
- package/dist/input/select.js.map +1 -0
- package/dist/input/slider.d.ts +19 -0
- package/dist/input/slider.js +9 -0
- package/dist/input/slider.js.map +1 -0
- package/dist/input/switch.d.ts +15 -0
- package/dist/input/switch.js +9 -0
- package/dist/input/switch.js.map +1 -0
- package/dist/input/textarea.d.ts +1 -5
- package/dist/input/textarea.js +2 -1
- package/dist/logo/cairn-mark.d.ts +24 -0
- package/dist/logo/cairn-mark.js +8 -0
- package/dist/logo/cairn-mark.js.map +1 -0
- package/dist/marketing/carousel-dots.d.ts +22 -0
- package/dist/marketing/carousel-dots.js +8 -0
- package/dist/marketing/carousel-dots.js.map +1 -0
- package/dist/marketing/cta-band.d.ts +24 -0
- package/dist/marketing/cta-band.js +9 -0
- package/dist/marketing/cta-band.js.map +1 -0
- package/dist/marketing/feature-grid.d.ts +30 -0
- package/dist/marketing/feature-grid.js +10 -0
- package/dist/marketing/feature-grid.js.map +1 -0
- package/dist/marketing/footer.d.ts +33 -0
- package/dist/marketing/footer.js +18 -0
- package/dist/marketing/footer.js.map +1 -0
- package/dist/marketing/hero-badge.d.ts +19 -0
- package/dist/marketing/hero-badge.js +8 -0
- package/dist/marketing/hero-badge.js.map +1 -0
- package/dist/marketing/logo-strip.d.ts +28 -0
- package/dist/marketing/logo-strip.js +8 -0
- package/dist/marketing/logo-strip.js.map +1 -0
- package/dist/marketing/pricing-card.d.ts +37 -0
- package/dist/marketing/pricing-card.js +10 -0
- package/dist/marketing/pricing-card.js.map +1 -0
- package/dist/marketing/section-header.d.ts +23 -0
- package/dist/marketing/section-header.js +8 -0
- package/dist/marketing/section-header.js.map +1 -0
- package/dist/navigation/anchor-rail.d.ts +27 -0
- package/dist/navigation/anchor-rail.js +9 -0
- package/dist/navigation/anchor-rail.js.map +1 -0
- package/dist/navigation/breadcrumb.d.ts +33 -0
- package/dist/navigation/breadcrumb.js +20 -0
- package/dist/navigation/breadcrumb.js.map +1 -0
- package/dist/navigation/nav-bar.d.ts +47 -0
- package/dist/navigation/nav-bar.js +21 -0
- package/dist/navigation/nav-bar.js.map +1 -0
- package/dist/navigation/navigation-menu.d.ts +23 -0
- package/dist/navigation/navigation-menu.js +25 -0
- package/dist/navigation/navigation-menu.js.map +1 -0
- package/dist/navigation/pagination.d.ts +31 -0
- package/dist/navigation/pagination.js +20 -0
- package/dist/navigation/pagination.js.map +1 -0
- package/dist/navigation/side-nav.d.ts +31 -0
- package/dist/navigation/side-nav.js +13 -0
- package/dist/navigation/side-nav.js.map +1 -0
- package/dist/overlay/alert-dialog.d.ts +3 -3
- package/dist/overlay/alert-dialog.js +1 -1
- package/dist/overlay/popover.d.ts +3 -4
- package/dist/overlay/popover.js +1 -1
- package/dist/overlay/sheet.d.ts +4 -4
- package/dist/overlay/sheet.js +1 -1
- package/dist/overlay/tooltip.d.ts +1 -1
- package/dist/overlay/tooltip.js +1 -1
- package/dist/tabs/tabs.d.ts +1 -1
- package/dist/tabs/tabs.js +1 -1
- package/dist/tabs/toggle-group.js +1 -1
- package/package.json +17 -7
- package/dist/chunk-7GXL7U5X.js.map +0 -1
- package/dist/chunk-BWYWI4BC.js +0 -43
- package/dist/chunk-BWYWI4BC.js.map +0 -1
- package/dist/chunk-BYZCFI7X.js +0 -32
- package/dist/chunk-BYZCFI7X.js.map +0 -1
- package/dist/chunk-CZ3JB37A.js +0 -72
- package/dist/chunk-CZ3JB37A.js.map +0 -1
- package/dist/chunk-DCKWB3EY.js.map +0 -1
- package/dist/chunk-G2XJK244.js +0 -96
- package/dist/chunk-G2XJK244.js.map +0 -1
- package/dist/chunk-GNHNTI5A.js +0 -30
- package/dist/chunk-GNHNTI5A.js.map +0 -1
- package/dist/chunk-HHUI32DT.js.map +0 -1
- package/dist/chunk-OWIUMX76.js +0 -91
- package/dist/chunk-OWIUMX76.js.map +0 -1
- package/dist/chunk-POUL3ZTV.js.map +0 -1
- package/dist/chunk-R7BM6J75.js.map +0 -1
- package/dist/chunk-RXDJPRH5.js.map +0 -1
- package/dist/chunk-S4HVXD6Z.js +0 -92
- package/dist/chunk-S4HVXD6Z.js.map +0 -1
- package/dist/chunk-ULEDFFUJ.js.map +0 -1
- package/dist/chunk-WHD5CSTB.js.map +0 -1
- package/dist/chunk-WHJ4JVO6.js.map +0 -1
- package/dist/chunk-XGYKA3GE.js +0 -30
- package/dist/chunk-XGYKA3GE.js.map +0 -1
- package/dist/chunk-YX6MSLUB.js +0 -98
- package/dist/chunk-YX6MSLUB.js.map +0 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Cairn CTABand. The closing call of a page on a deep ground. The
|
|
5
|
+
* band switches the theme for its subtree (`data-theme="dark"`, or `"black"` for navy), so every
|
|
6
|
+
* Cairn component inside it, buttons and focus outline included, takes the dark pairing without
|
|
7
|
+
* a variant: a `Button variant="primary"` turns cream-on-steel, and the focus ring turns cream.
|
|
8
|
+
*
|
|
9
|
+
* Decoration is SV's, never pixel art: `dots` draws the flare `Dots` matrix dissolving
|
|
10
|
+
* toward the text, `flare` lays the four-step `sv-flare` strip along the bottom edge. Both are
|
|
11
|
+
* `aria-hidden` and never sit behind the words. Every word is the consumer's.
|
|
12
|
+
*/
|
|
13
|
+
interface CTABandProps extends Omit<React.HTMLAttributes<HTMLElement>, 'title'> {
|
|
14
|
+
eyebrow?: React.ReactNode;
|
|
15
|
+
title: React.ReactNode;
|
|
16
|
+
titleAs?: 'h2' | 'h3';
|
|
17
|
+
lede?: React.ReactNode;
|
|
18
|
+
actions?: React.ReactNode;
|
|
19
|
+
decoration?: 'dots' | 'flare' | 'none';
|
|
20
|
+
theme?: 'dark' | 'black';
|
|
21
|
+
}
|
|
22
|
+
declare const CTABand: React.ForwardRefExoticComponent<CTABandProps & React.RefAttributes<HTMLElement>>;
|
|
23
|
+
|
|
24
|
+
export { CTABand, type CTABandProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Cairn FeatureGrid. The cell grid: features sit in square cells separated by hairlines
|
|
5
|
+
* (the grid draws them as 1px gaps over the `outline` colour, so a row never doubles a line),
|
|
6
|
+
* each cell on the card material (`surface-subtle`, paper 100).
|
|
7
|
+
*
|
|
8
|
+
* A cell that leads somewhere (`asChild` with a link) LIGHTENS to `surface` on hover, toward the
|
|
9
|
+
* page, over 150ms: the card state, never a shadow or a lift. The glyph sits in a 40px
|
|
10
|
+
* tile above the title; the description is pushed to the foot of the cell, so
|
|
11
|
+
* a row of cells reads as one line of titles and one line of explanations.
|
|
12
|
+
*/
|
|
13
|
+
interface FeatureGridProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
14
|
+
/** Columns from `md` up (one column below). */
|
|
15
|
+
columns?: 2 | 3 | 4;
|
|
16
|
+
}
|
|
17
|
+
declare const FeatureGrid: React.ForwardRefExoticComponent<FeatureGridProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
interface FeatureGridItemProps extends Omit<React.HTMLAttributes<HTMLElement>, 'title'> {
|
|
19
|
+
/** A Phosphor glyph element. */
|
|
20
|
+
icon?: React.ReactNode;
|
|
21
|
+
title: React.ReactNode;
|
|
22
|
+
titleAs?: 'h3' | 'h4' | 'p';
|
|
23
|
+
description?: React.ReactNode;
|
|
24
|
+
/** Render as the child element (a link); the cell then takes the hover state. */
|
|
25
|
+
asChild?: boolean;
|
|
26
|
+
children?: React.ReactNode;
|
|
27
|
+
}
|
|
28
|
+
declare const FeatureGridItem: React.ForwardRefExoticComponent<FeatureGridItemProps & React.RefAttributes<HTMLElement>>;
|
|
29
|
+
|
|
30
|
+
export { FeatureGrid, FeatureGridItem, type FeatureGridItemProps, type FeatureGridProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Cairn Footer, the cell grid (22/11/2026): columns of links in
|
|
5
|
+
* cells divided by vertical hairlines, a column title in the variant tone above ink links that
|
|
6
|
+
* underline on hover (no colour change, instant), then a bottom row for the legal line and the
|
|
7
|
+
* social links, and optionally the flare bands closing the page.
|
|
8
|
+
*
|
|
9
|
+
* Structure only: every link, title and legal word is the consumer's. `FooterColumn` is a
|
|
10
|
+
* `<nav>` named by its title (`aria-labelledby`), so a reader can jump between the groups.
|
|
11
|
+
*
|
|
12
|
+
* `FooterFlare` closes the page with four hard bands of the flare, darkest
|
|
13
|
+
* at the bottom, never a smooth gradient and never behind text (decoration only, rule 3).
|
|
14
|
+
*/
|
|
15
|
+
declare const Footer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
16
|
+
declare const FooterColumns: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
17
|
+
columns?: 2 | 3 | 4;
|
|
18
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
interface FooterColumnProps extends Omit<React.HTMLAttributes<HTMLElement>, 'title'> {
|
|
20
|
+
title: React.ReactNode;
|
|
21
|
+
}
|
|
22
|
+
declare const FooterColumn: React.ForwardRefExoticComponent<FooterColumnProps & React.RefAttributes<HTMLElement>>;
|
|
23
|
+
interface FooterLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
24
|
+
asChild?: boolean;
|
|
25
|
+
}
|
|
26
|
+
declare const FooterLink: React.ForwardRefExoticComponent<FooterLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
27
|
+
declare const FooterBottom: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
+
declare function FooterFlare({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
29
|
+
declare namespace FooterFlare {
|
|
30
|
+
var displayName: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { Footer, FooterBottom, FooterColumn, type FooterColumnProps, FooterColumns, FooterFlare, FooterLink, type FooterLinkProps };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Footer,
|
|
3
|
+
FooterBottom,
|
|
4
|
+
FooterColumn,
|
|
5
|
+
FooterColumns,
|
|
6
|
+
FooterFlare,
|
|
7
|
+
FooterLink
|
|
8
|
+
} from "../chunk-V5QWZ3LA.js";
|
|
9
|
+
import "../chunk-DXRY7AS4.js";
|
|
10
|
+
export {
|
|
11
|
+
Footer,
|
|
12
|
+
FooterBottom,
|
|
13
|
+
FooterColumn,
|
|
14
|
+
FooterColumns,
|
|
15
|
+
FooterFlare,
|
|
16
|
+
FooterLink
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=footer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Cairn HeroBadge, an announcement pill above a hero headline (22/11/2026): a
|
|
5
|
+
* 4px-inset box on one hairline holding a 36px ink tile with a glyph, the consumer's line, and
|
|
6
|
+
* an arrow. On hover the gap opens from 12px to 20px and the fill steps to paper 100, both on
|
|
7
|
+
* the fast motion token: the badge leans toward its link. Square, as everything is.
|
|
8
|
+
*
|
|
9
|
+
* Render it as a link (`asChild` with an `<a>`): it is a way in, not a label. The glyph and
|
|
10
|
+
* the arrow are decorative; the words name the destination.
|
|
11
|
+
*/
|
|
12
|
+
interface HeroBadgeProps extends React.HTMLAttributes<HTMLElement> {
|
|
13
|
+
/** A Phosphor glyph element for the ink tile. */
|
|
14
|
+
icon?: React.ReactNode;
|
|
15
|
+
asChild?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const HeroBadge: React.ForwardRefExoticComponent<HeroBadgeProps & React.RefAttributes<HTMLElement>>;
|
|
18
|
+
|
|
19
|
+
export { HeroBadge, type HeroBadgeProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Cairn LogoStrip. A logo marquee: a row of square-edged cells on hairlines (272px wide)
|
|
5
|
+
* sliding continuously, each cell taking the paper hover step over 150ms.
|
|
6
|
+
*
|
|
7
|
+
* The list is rendered twice and the track slides by half its length, so the loop has no seam;
|
|
8
|
+
* the second copy is `aria-hidden` and out of the tab order, so each logo is announced once.
|
|
9
|
+
* Movement that lasts more than five seconds must be stoppable (WCAG 2.2.2): the marquee pauses
|
|
10
|
+
* while hovered or while anything inside has focus, and `paused` stops it outright. Under
|
|
11
|
+
* `prefers-reduced-motion` it does not move at all: the copy is dropped and the strip becomes a
|
|
12
|
+
* row you scroll.
|
|
13
|
+
*
|
|
14
|
+
* Logos are the consumer's (`<img alt>` or an SVG with a title): they carry the names.
|
|
15
|
+
*/
|
|
16
|
+
interface LogoStripProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
17
|
+
/** One node per logo. */
|
|
18
|
+
items: React.ReactNode[];
|
|
19
|
+
/** Duration of one loop, CSS time. */
|
|
20
|
+
duration?: string;
|
|
21
|
+
/** Stop the movement. */
|
|
22
|
+
paused?: boolean;
|
|
23
|
+
/** Class for each cell. */
|
|
24
|
+
cellClassName?: string;
|
|
25
|
+
}
|
|
26
|
+
declare const LogoStrip: React.ForwardRefExoticComponent<LogoStripProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
|
|
28
|
+
export { LogoStrip, type LogoStripProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Cairn PricingCard, a plan card: a cell on the card material (paper 100) with the plan
|
|
5
|
+
* name and its glyph, a description, the price in the `display-sm` role with its period and a
|
|
6
|
+
* note, a feature list, and the call to action held at the foot on its own hairline row.
|
|
7
|
+
* Placed in a `PricingGrid`, the cards share their hairlines like the rest of the cell grammar.
|
|
8
|
+
*
|
|
9
|
+
* `highlight` is the one sanctioned use of the signal on a plan: a band across the top in the
|
|
10
|
+
* accent fill with ink on top (`on-accent`, 5.89:1), carrying the consumer's word. The
|
|
11
|
+
* band sits ABOVE the card, outside the grid line, so every plan's rows stay
|
|
12
|
+
* aligned: leave 32px of room above the grid. One plan per grid, never more (one signal per
|
|
13
|
+
* surface). Features are a list with check glyphs that are
|
|
14
|
+
* decorative: the list itself says what is included. Every word is the consumer's.
|
|
15
|
+
*/
|
|
16
|
+
interface PricingCardProps extends Omit<React.HTMLAttributes<HTMLElement>, 'title'> {
|
|
17
|
+
name: React.ReactNode;
|
|
18
|
+
/** A Phosphor glyph element beside the name. */
|
|
19
|
+
icon?: React.ReactNode;
|
|
20
|
+
description?: React.ReactNode;
|
|
21
|
+
price?: React.ReactNode;
|
|
22
|
+
period?: React.ReactNode;
|
|
23
|
+
note?: React.ReactNode;
|
|
24
|
+
features?: React.ReactNode[];
|
|
25
|
+
/** The call to action (a `Button`, full width). */
|
|
26
|
+
action?: React.ReactNode;
|
|
27
|
+
/** Band above the plan, in the accent fill. */
|
|
28
|
+
highlight?: React.ReactNode;
|
|
29
|
+
nameAs?: 'h2' | 'h3' | 'h4';
|
|
30
|
+
}
|
|
31
|
+
declare const PricingCard: React.ForwardRefExoticComponent<PricingCardProps & React.RefAttributes<HTMLElement>>;
|
|
32
|
+
/** Plans side by side on shared hairlines. */
|
|
33
|
+
declare const PricingGrid: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
34
|
+
columns?: 2 | 3 | 4;
|
|
35
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
36
|
+
|
|
37
|
+
export { PricingCard, type PricingCardProps, PricingGrid };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Cairn SectionHeader. The opening of a page section in this order: an eyebrow (the one
|
|
5
|
+
* uppercase role), a headline, a lede in the variant tone, and an optional row of actions. Every
|
|
6
|
+
* part is a slot; the words are the consumer's.
|
|
7
|
+
*
|
|
8
|
+
* `size="lg"` sets the headline in `display-md` (56px), `md` in `headline-lg`.
|
|
9
|
+
* The heading level is `as` (`h2` by default) so the outline stays correct whatever the size.
|
|
10
|
+
* The lede is held to the reading measure.
|
|
11
|
+
*/
|
|
12
|
+
interface SectionHeaderProps extends Omit<React.HTMLAttributes<HTMLElement>, 'title'> {
|
|
13
|
+
eyebrow?: React.ReactNode;
|
|
14
|
+
title: React.ReactNode;
|
|
15
|
+
lede?: React.ReactNode;
|
|
16
|
+
actions?: React.ReactNode;
|
|
17
|
+
as?: 'h1' | 'h2' | 'h3';
|
|
18
|
+
size?: 'md' | 'lg';
|
|
19
|
+
align?: 'start' | 'center';
|
|
20
|
+
}
|
|
21
|
+
declare const SectionHeader: React.ForwardRefExoticComponent<SectionHeaderProps & React.RefAttributes<HTMLElement>>;
|
|
22
|
+
|
|
23
|
+
export { SectionHeader, type SectionHeaderProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Cairn AnchorRail, an "on this page" rail (22/11/2026): a
|
|
5
|
+
* list of in-page links on hairline rows, muted at rest, ink when active, the change on the
|
|
6
|
+
* 300ms token, and an arrow that appears beside the active section.
|
|
7
|
+
*
|
|
8
|
+
* It is a `<nav>` (name it with `aria-label`, the consumer's words), the active link carries
|
|
9
|
+
* `aria-current="location"`. The active section is followed with an IntersectionObserver on the
|
|
10
|
+
* targets (`items[].id`), or set from outside with `activeId`. Stickiness is the layout's call
|
|
11
|
+
* (`className="sticky top-12"`). Muted rows use `on-surface-muted`, which clears AA on the page
|
|
12
|
+
* ground only: keep the rail on `surface`.
|
|
13
|
+
*/
|
|
14
|
+
interface AnchorRailItem {
|
|
15
|
+
id: string;
|
|
16
|
+
label: React.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
interface AnchorRailProps extends React.HTMLAttributes<HTMLElement> {
|
|
19
|
+
items: AnchorRailItem[];
|
|
20
|
+
/** Controlled active id; omit to follow the scroll. */
|
|
21
|
+
activeId?: string;
|
|
22
|
+
/** Observer root margin: where on screen a section counts as current. */
|
|
23
|
+
rootMargin?: string;
|
|
24
|
+
}
|
|
25
|
+
declare const AnchorRail: React.ForwardRefExoticComponent<AnchorRailProps & React.RefAttributes<HTMLElement>>;
|
|
26
|
+
|
|
27
|
+
export { AnchorRail, type AnchorRailItem, type AnchorRailProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Cairn Breadcrumb. No Radix: a breadcrumb is a labelled `<nav>` around an ordered list, with
|
|
5
|
+
* no behaviour to borrow. The structure is the accessibility: `<ol>` says the trail has an
|
|
6
|
+
* order, `aria-current="page"` marks where you are, and the separators are `aria-hidden` so a
|
|
7
|
+
* screen reader reads the trail, not the punctuation.
|
|
8
|
+
*
|
|
9
|
+
* Parents read in the variant tone and step to ink with the underline on hover (the `sv-link`
|
|
10
|
+
* behaviour); the current page is ink. Hierarchy from tone, never hue (rule 1).
|
|
11
|
+
*/
|
|
12
|
+
declare const Breadcrumb: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
13
|
+
declare const BreadcrumbList: React.ForwardRefExoticComponent<React.OlHTMLAttributes<HTMLOListElement> & React.RefAttributes<HTMLOListElement>>;
|
|
14
|
+
declare const BreadcrumbItem: React.ForwardRefExoticComponent<React.LiHTMLAttributes<HTMLLIElement> & React.RefAttributes<HTMLLIElement>>;
|
|
15
|
+
interface BreadcrumbLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
16
|
+
asChild?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const BreadcrumbLink: React.ForwardRefExoticComponent<BreadcrumbLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
19
|
+
declare const BreadcrumbPage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
|
|
20
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: React.LiHTMLAttributes<HTMLLIElement>): React.JSX.Element;
|
|
21
|
+
declare namespace BreadcrumbSeparator {
|
|
22
|
+
var displayName: string;
|
|
23
|
+
}
|
|
24
|
+
interface BreadcrumbEllipsisProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
25
|
+
/** Read by screen readers in place of the collapsed levels. Omit and the mark is hidden. */
|
|
26
|
+
label?: string;
|
|
27
|
+
}
|
|
28
|
+
declare function BreadcrumbEllipsis({ label, className, ...props }: BreadcrumbEllipsisProps): React.JSX.Element;
|
|
29
|
+
declare namespace BreadcrumbEllipsis {
|
|
30
|
+
var displayName: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Breadcrumb,
|
|
3
|
+
BreadcrumbEllipsis,
|
|
4
|
+
BreadcrumbItem,
|
|
5
|
+
BreadcrumbLink,
|
|
6
|
+
BreadcrumbList,
|
|
7
|
+
BreadcrumbPage,
|
|
8
|
+
BreadcrumbSeparator
|
|
9
|
+
} from "../chunk-DUJEWU5O.js";
|
|
10
|
+
import "../chunk-DXRY7AS4.js";
|
|
11
|
+
export {
|
|
12
|
+
Breadcrumb,
|
|
13
|
+
BreadcrumbEllipsis,
|
|
14
|
+
BreadcrumbItem,
|
|
15
|
+
BreadcrumbLink,
|
|
16
|
+
BreadcrumbList,
|
|
17
|
+
BreadcrumbPage,
|
|
18
|
+
BreadcrumbSeparator
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=breadcrumb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
declare const NavBar: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
4
|
+
interface NavBarBrandProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
5
|
+
/** Render as the child element (a framework link) instead of an `<a>`. */
|
|
6
|
+
asChild?: boolean;
|
|
7
|
+
}
|
|
8
|
+
/** The logo cell. Give it an accessible name when the logo is an image without text. */
|
|
9
|
+
declare const NavBarBrand: React.ForwardRefExoticComponent<NavBarBrandProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
10
|
+
/** The item row, a labelled `<nav>`. Hidden below `md`, where `NavBarMobile` replaces it. */
|
|
11
|
+
declare const NavBarItems: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
12
|
+
interface NavBarItemProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
13
|
+
/** The current page: selected fill and `aria-current="page"`. */
|
|
14
|
+
active?: boolean;
|
|
15
|
+
/** Render as the child element (a framework link) instead of an `<a>`. */
|
|
16
|
+
asChild?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const NavBarItem: React.ForwardRefExoticComponent<NavBarItemProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
19
|
+
/** The trailing group, pushed to the end of the row. */
|
|
20
|
+
declare const NavBarActions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
interface NavBarActionProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
22
|
+
/** `cell` is a plain hairline cell; `primary` is the one filled cell of the row. */
|
|
23
|
+
variant?: 'cell' | 'primary';
|
|
24
|
+
asChild?: boolean;
|
|
25
|
+
}
|
|
26
|
+
declare const NavBarAction: React.ForwardRefExoticComponent<NavBarActionProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
27
|
+
interface NavBarMobileProps {
|
|
28
|
+
/** Accessible name of the menu button (it shows an icon only). */
|
|
29
|
+
label: string;
|
|
30
|
+
/** Accessible name of the open panel. Visually hidden. */
|
|
31
|
+
title: string;
|
|
32
|
+
/** Accessible name of the close button. */
|
|
33
|
+
closeLabel: string;
|
|
34
|
+
/** Items (`NavBarItem`) and anything else the panel carries. */
|
|
35
|
+
children: React.ReactNode;
|
|
36
|
+
/** Shown under the items: actions, a secondary link row. */
|
|
37
|
+
footer?: React.ReactNode;
|
|
38
|
+
open?: boolean;
|
|
39
|
+
onOpenChange?: (open: boolean) => void;
|
|
40
|
+
className?: string;
|
|
41
|
+
}
|
|
42
|
+
declare function NavBarMobile({ label, title, closeLabel, children, footer, open, onOpenChange, className }: NavBarMobileProps): React.JSX.Element;
|
|
43
|
+
declare namespace NavBarMobile {
|
|
44
|
+
var displayName: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { NavBar, NavBarAction, type NavBarActionProps, NavBarActions, NavBarBrand, type NavBarBrandProps, NavBarItem, type NavBarItemProps, NavBarItems, NavBarMobile, type NavBarMobileProps };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
NavBar,
|
|
4
|
+
NavBarAction,
|
|
5
|
+
NavBarActions,
|
|
6
|
+
NavBarBrand,
|
|
7
|
+
NavBarItem,
|
|
8
|
+
NavBarItems,
|
|
9
|
+
NavBarMobile
|
|
10
|
+
} from "../chunk-XSYY67X3.js";
|
|
11
|
+
import "../chunk-DXRY7AS4.js";
|
|
12
|
+
export {
|
|
13
|
+
NavBar,
|
|
14
|
+
NavBarAction,
|
|
15
|
+
NavBarActions,
|
|
16
|
+
NavBarBrand,
|
|
17
|
+
NavBarItem,
|
|
18
|
+
NavBarItems,
|
|
19
|
+
NavBarMobile
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=nav-bar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
3
|
+
|
|
4
|
+
declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
5
|
+
declare const NavigationMenuList: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React.RefAttributes<HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
6
|
+
declare const NavigationMenuItem: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
7
|
+
/** The cell look, exported for a plain link that sits in the same row as the triggers. */
|
|
8
|
+
declare const navigationMenuTriggerStyle: () => string;
|
|
9
|
+
declare const NavigationMenuTrigger: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
+
declare const NavigationMenuContent: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare const NavigationMenuViewport: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
interface NavigationMenuLinkProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Link> {
|
|
13
|
+
/** Supporting line under the link's label. */
|
|
14
|
+
description?: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A link inside a panel: a row that takes the hover fill, with an optional description in the
|
|
18
|
+
* variant tone. Pass `asChild` to wrap a framework link; `active` marks the current page.
|
|
19
|
+
*/
|
|
20
|
+
declare const NavigationMenuLink: React.ForwardRefExoticComponent<NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
21
|
+
declare const NavigationMenuIndicator: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
|
|
23
|
+
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
NavigationMenu,
|
|
4
|
+
NavigationMenuContent,
|
|
5
|
+
NavigationMenuIndicator,
|
|
6
|
+
NavigationMenuItem,
|
|
7
|
+
NavigationMenuLink,
|
|
8
|
+
NavigationMenuList,
|
|
9
|
+
NavigationMenuTrigger,
|
|
10
|
+
NavigationMenuViewport,
|
|
11
|
+
navigationMenuTriggerStyle
|
|
12
|
+
} from "../chunk-AQHYE6EF.js";
|
|
13
|
+
import "../chunk-DXRY7AS4.js";
|
|
14
|
+
export {
|
|
15
|
+
NavigationMenu,
|
|
16
|
+
NavigationMenuContent,
|
|
17
|
+
NavigationMenuIndicator,
|
|
18
|
+
NavigationMenuItem,
|
|
19
|
+
NavigationMenuLink,
|
|
20
|
+
NavigationMenuList,
|
|
21
|
+
NavigationMenuTrigger,
|
|
22
|
+
NavigationMenuViewport,
|
|
23
|
+
navigationMenuTriggerStyle
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=navigation-menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Cairn Pagination. No Radix: a labelled `<nav>` around a list of links, no behaviour beyond
|
|
5
|
+
* what a link already has. Pages are links, not buttons, so a page is addressable, opens in a
|
|
6
|
+
* new tab, and survives a reload; render them through `asChild` for a framework router.
|
|
7
|
+
*
|
|
8
|
+
* States are fills on the ghost veil (hover 5%, press 10%); the current page holds the
|
|
9
|
+
* selected step (`surface-muted`) with `aria-current="page"`, the same selected step as Tabs.
|
|
10
|
+
* Previous and next carry their own words from props; with no words they must get an
|
|
11
|
+
* `aria-label`, because an arrow alone names nothing.
|
|
12
|
+
*/
|
|
13
|
+
declare const Pagination: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
14
|
+
declare const PaginationContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLUListElement> & React.RefAttributes<HTMLUListElement>>;
|
|
15
|
+
declare const PaginationItem: React.ForwardRefExoticComponent<React.LiHTMLAttributes<HTMLLIElement> & React.RefAttributes<HTMLLIElement>>;
|
|
16
|
+
interface PaginationLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
17
|
+
/** The current page. */
|
|
18
|
+
isActive?: boolean;
|
|
19
|
+
/** Disabled (first or last page): rendered without an `href` and out of the tab order. */
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
asChild?: boolean;
|
|
22
|
+
}
|
|
23
|
+
declare const PaginationLink: React.ForwardRefExoticComponent<PaginationLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
24
|
+
declare const PaginationPrevious: React.ForwardRefExoticComponent<PaginationLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
25
|
+
declare const PaginationNext: React.ForwardRefExoticComponent<PaginationLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
26
|
+
declare function PaginationEllipsis({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
27
|
+
declare namespace PaginationEllipsis {
|
|
28
|
+
var displayName: string;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, type PaginationLinkProps, PaginationNext, PaginationPrevious };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Pagination,
|
|
3
|
+
PaginationContent,
|
|
4
|
+
PaginationEllipsis,
|
|
5
|
+
PaginationItem,
|
|
6
|
+
PaginationLink,
|
|
7
|
+
PaginationNext,
|
|
8
|
+
PaginationPrevious
|
|
9
|
+
} from "../chunk-AGKLGZSW.js";
|
|
10
|
+
import "../chunk-DXRY7AS4.js";
|
|
11
|
+
export {
|
|
12
|
+
Pagination,
|
|
13
|
+
PaginationContent,
|
|
14
|
+
PaginationEllipsis,
|
|
15
|
+
PaginationItem,
|
|
16
|
+
PaginationLink,
|
|
17
|
+
PaginationNext,
|
|
18
|
+
PaginationPrevious
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=pagination.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Icon } from '@phosphor-icons/react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Cairn SideNav: the docs-style sidebar. A labelled `<nav>`, sections under an eyebrow, and rows
|
|
6
|
+
* that take the cream hover and hold the selected step for the current page. No Radix: links in
|
|
7
|
+
* lists have no behaviour to borrow, and a sidebar that steals arrow keys from the page is worse
|
|
8
|
+
* than one that leaves Tab alone.
|
|
9
|
+
*
|
|
10
|
+
* The current row is marked three ways at once, so meaning never rests on one cue (rule 4): the
|
|
11
|
+
* selected fill, ink instead of the variant tone, and the icon's `fill` weight (rule 8), plus
|
|
12
|
+
* `aria-current="page"` for assistive tech.
|
|
13
|
+
*/
|
|
14
|
+
declare const SideNav: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
15
|
+
interface SideNavSectionProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
16
|
+
/** Section heading, set as an eyebrow. Optional: a first section often has none. */
|
|
17
|
+
title?: React.ReactNode;
|
|
18
|
+
}
|
|
19
|
+
declare const SideNavSection: React.ForwardRefExoticComponent<SideNavSectionProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
interface SideNavItemProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
21
|
+
/** The current page. */
|
|
22
|
+
active?: boolean;
|
|
23
|
+
/** Leading Phosphor glyph; switches to `fill` when active. */
|
|
24
|
+
icon?: Icon;
|
|
25
|
+
/** Trailing slot: a count, a badge. */
|
|
26
|
+
trailing?: React.ReactNode;
|
|
27
|
+
asChild?: boolean;
|
|
28
|
+
}
|
|
29
|
+
declare const SideNavItem: React.ForwardRefExoticComponent<SideNavItemProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
30
|
+
|
|
31
|
+
export { SideNav, SideNavItem, type SideNavItemProps, SideNavSection, type SideNavSectionProps };
|