@slotted/react 0.1.0-beta.8 → 0.1.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion-BV8Fk_Bb.js +144 -0
- package/dist/accordion.js +1 -1
- package/dist/{action-bar-C5zaYrEW.js → action-bar-1Oim1M96.js} +87 -86
- package/dist/action-bar.js +1 -1
- package/dist/action-sheet-DDYGq59n.js +358 -0
- package/dist/action-sheet.js +1 -1
- package/dist/alert-CBOYFgV4.js +162 -0
- package/dist/alert.js +1 -1
- package/dist/app-shell-lsR7E83y.js +845 -0
- package/dist/app-shell.js +1 -1
- package/dist/aspect-ratio-4-jVcJVH.js +41 -0
- package/dist/aspect-ratio.js +1 -1
- package/dist/attachment-DRJ1Xbwf.js +305 -0
- package/dist/attachment.js +1 -1
- package/dist/avatar-XLx8XVQx.js +103 -0
- package/dist/avatar-group-C7WnrQcv.js +50 -0
- package/dist/avatar-group.js +1 -1
- package/dist/avatar.js +1 -1
- package/dist/badge-D8JWis8n.js +98 -0
- package/dist/badge.js +1 -1
- package/dist/breadcrumb-Dwhy6HNo.js +222 -0
- package/dist/breadcrumb.js +1 -1
- package/dist/button-DE4tnH90.js +100 -0
- package/dist/button-group-CNDK1041.js +51 -0
- package/dist/button-group.js +1 -1
- package/dist/button.js +2 -2
- package/dist/calendar-C5MWMBJ-.js +457 -0
- package/dist/calendar.js +1 -1
- package/dist/card-D-qJkGER.js +103 -0
- package/dist/card.js +1 -1
- package/dist/carousel-AUACHYJI.js +499 -0
- package/dist/carousel.js +1 -1
- package/dist/{cascader-Cn2Acpcv.js → cascader-DxoDZicZ.js} +374 -334
- package/dist/cascader.js +1 -1
- package/dist/chart-DlFmkiTt.js +1010 -0
- package/dist/chart.js +1 -1
- package/dist/checkbox-BiQZiZNt.js +144 -0
- package/dist/checkbox-group-DGTqyyx5.js +109 -0
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/code-block-eGJk55we.js +282 -0
- package/dist/code-block.js +1 -1
- package/dist/collapsible-BZJRc6im.js +222 -0
- package/dist/collapsible.js +1 -1
- package/dist/color-picker-BwN0Z-6T.js +506 -0
- package/dist/color-picker.js +1 -1
- package/dist/column-manager-TmTLTxbk.js +586 -0
- package/dist/column-manager.js +1 -1
- package/dist/combobox-C7ah850L.js +902 -0
- package/dist/combobox.js +1 -1
- package/dist/{command-palette-Dw03scvF.js → command-palette-DaJvrDUu.js} +266 -235
- package/dist/command-palette.js +1 -1
- package/dist/container-D055iqqL.js +47 -0
- package/dist/container.js +1 -1
- package/dist/context-menu-DPVaLtM3.js +151 -0
- package/dist/context-menu.js +1 -1
- package/dist/currency-field-DaTmtosk.js +469 -0
- package/dist/currency-field.js +1 -1
- package/dist/{dashboard-grid-DsovCuVC.js → dashboard-grid-CPkG03YJ.js} +335 -330
- package/dist/dashboard-grid.js +1 -1
- package/dist/{data-grid-B93D5XsR.js → data-grid-UyqqM0QZ.js} +1329 -1180
- package/dist/data-grid.js +1 -1
- package/dist/{data-list-UtLdop-1.js → data-list-nqUyMq3p.js} +173 -147
- package/dist/data-list.js +1 -1
- package/dist/date-field-BSxzX9I5.js +299 -0
- package/dist/date-field.js +1 -1
- package/dist/date-picker-Cw5cGND1.js +316 -0
- package/dist/date-picker.js +1 -1
- package/dist/date-range-picker-l7D9XdFz.js +501 -0
- package/dist/date-range-picker.js +1 -1
- package/dist/datetime-field-KtkRmy6M.js +424 -0
- package/dist/datetime-field.js +1 -1
- package/dist/{datetime-picker-BiarFWN3.js → datetime-picker-CWNTsAk5.js} +217 -200
- package/dist/datetime-picker.js +1 -1
- package/dist/datetime-range-picker-OXDQGRWg.js +1029 -0
- package/dist/datetime-range-picker.js +1 -1
- package/dist/description-list-wYFj_gz-.js +240 -0
- package/dist/description-list.js +1 -1
- package/dist/{detail-panel-ChaIgrw3.js → detail-panel-CKizcLlb.js} +101 -93
- package/dist/detail-panel.js +1 -1
- package/dist/dialog-CpdINwbD.js +533 -0
- package/dist/dialog.js +1 -1
- package/dist/divider-mlzDmInL.js +35 -0
- package/dist/divider.js +1 -1
- package/dist/docs/code-block.json +93 -93
- package/dist/docs/code-block.md +71 -71
- package/dist/docs/currency-field.json +7 -0
- package/dist/docs/currency-field.md +1 -0
- package/dist/docs/data-grid.examples.md +1 -1
- package/dist/docs/data-grid.json +21 -4
- package/dist/docs/data-grid.md +1 -1
- package/dist/docs/data-grid.props.md +5 -3
- package/dist/docs/dialog.examples.md +118 -116
- package/dist/docs/dialog.json +8 -8
- package/dist/docs/filter-bar.json +115 -115
- package/dist/docs/filter-bar.md +78 -78
- package/dist/docs/guidelines/async-feedback.md +10 -0
- package/dist/docs/guidelines/composition.md +11 -7
- package/dist/docs/guidelines/index.md +6 -1
- package/dist/docs/guidelines/list-pages.md +30 -0
- package/dist/docs/guidelines/overviews.md +10 -0
- package/dist/docs/markdown.json +75 -75
- package/dist/docs/markdown.md +63 -63
- package/dist/docs/page-header.json +1 -1
- package/dist/docs/skills/compose-screen/SKILL.md +22 -10
- package/dist/docs/skills/review-screen/SKILL.md +6 -0
- package/dist/docs/skills/waiting-states/SKILL.md +4 -1
- package/dist/docs/tags-input.json +28 -2
- package/dist/docs/tags-input.md +4 -1
- package/dist/docs/timeline.json +129 -129
- package/dist/docs/timeline.md +120 -120
- package/dist/drawer-CRaogb8b.js +769 -0
- package/dist/drawer.js +1 -1
- package/dist/{entity-picker-BdySwW8F.js → entity-picker-Z_R15jez.js} +461 -407
- package/dist/entity-picker.js +1 -1
- package/dist/{event-calendar-CPAun_ab.js → event-calendar-BTqvEoHB.js} +466 -397
- package/dist/event-calendar.js +1 -1
- package/dist/field-DKA-qsCV.js +367 -0
- package/dist/field-group-DFBcVPei.js +138 -0
- package/dist/field-group.js +1 -1
- package/dist/field.js +1 -1
- package/dist/filter-bar-C9QzKlR7.js +1340 -0
- package/dist/filter-bar.js +1 -1
- package/dist/{form-vTCQhZM-.js → form-C3PbJPAx.js} +96 -87
- package/dist/form.js +1 -1
- package/dist/fullscreen-DnMrOXT1.js +190 -0
- package/dist/fullscreen.js +1 -1
- package/dist/grid-Ceyh0svH.js +26 -0
- package/dist/grid.js +1 -1
- package/dist/highlight-CIcfSNwz.js +59 -0
- package/dist/highlight.js +1 -1
- package/dist/hover-card-Cw65NrY1.js +215 -0
- package/dist/hover-card.js +1 -1
- package/dist/icon-DMdotKfc.js +75 -0
- package/dist/icon-button-VOA-RY_1.js +222 -0
- package/dist/icon.js +1 -1
- package/dist/{image-DpDFrrXL.js → image-CHiNVcMX.js} +24 -20
- package/dist/image.js +1 -1
- package/dist/{import-export-center-Bg1Iavoa.js → import-export-center-BZkY9DNX.js} +227 -175
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +125 -125
- package/dist/inline-BvUpHX8q.js +17 -0
- package/dist/inline-message-BgA4EOsR.js +95 -0
- package/dist/inline-message.js +1 -1
- package/dist/inline.js +1 -1
- package/dist/kbd-DQwbQOQo.js +105 -0
- package/dist/kbd.js +1 -1
- package/dist/link-2zYK7lG3.js +91 -0
- package/dist/link.js +1 -1
- package/dist/list-Bl3ittKt.js +95 -0
- package/dist/list-item-C95M_E6h.js +125 -0
- package/dist/list-item.js +1 -1
- package/dist/list.js +1 -1
- package/dist/listbox-CjCzb8wA.js +626 -0
- package/dist/listbox.js +1 -1
- package/dist/loading-overlay-B6htOo0b.js +218 -0
- package/dist/loading-overlay.js +1 -1
- package/dist/markdown-CvkdDhk0.js +306 -0
- package/dist/markdown.js +1 -1
- package/dist/menu-parts-Dsszga3r.js +805 -0
- package/dist/menu.js +1 -1
- package/dist/menubar-C6ADG3vZ.js +157 -0
- package/dist/menubar.js +1 -1
- package/dist/message-Cjx5EKXr.js +434 -0
- package/dist/message-scroller-DbsTtBDf.js +216 -0
- package/dist/message-scroller.js +1 -1
- package/dist/message.js +1 -1
- package/dist/{multi-select-B8z6ApgW.js → multi-select-BwBY-V0x.js} +468 -428
- package/dist/multi-select.js +1 -1
- package/dist/navigation-menu-parts-BH_bD_nB.js +492 -0
- package/dist/navigation-menu.js +1 -1
- package/dist/notification-center-COgvX79i.js +515 -0
- package/dist/notification-center.js +1 -1
- package/dist/number-field-DAkV-0Ds.js +345 -0
- package/dist/number-field.js +1 -1
- package/dist/{otp-input-CI-kdNgx.js → otp-input-BhNLVojM.js} +75 -72
- package/dist/otp-input.js +1 -1
- package/dist/page-DhWDOrba.js +179 -0
- package/dist/page-header-_w0GDfzQ.js +369 -0
- package/dist/page-header.js +1 -1
- package/dist/page.js +1 -1
- package/dist/pagination-ORU3xJIl.js +299 -0
- package/dist/pagination.js +1 -1
- package/dist/popover-Dwj841Zz.js +500 -0
- package/dist/popover.js +1 -1
- package/dist/progress-indicator-BhljwFx8.js +289 -0
- package/dist/progress-indicator.js +1 -1
- package/dist/prompt-composer-DekRS1MN.js +259 -0
- package/dist/prompt-composer.js +1 -1
- package/dist/prose-vW3cGfUO.js +92 -0
- package/dist/prose.js +1 -1
- package/dist/radio-group-B90c6yUE.js +143 -0
- package/dist/radio-group.js +1 -1
- package/dist/rating-DQ8ekf4J.js +501 -0
- package/dist/rating.js +1 -1
- package/dist/result-state-_QpLl0_K.js +128 -0
- package/dist/result-state.js +1 -1
- package/dist/saved-views-CSVHsnUY.js +456 -0
- package/dist/saved-views.js +1 -1
- package/dist/scroll-area-YWtHa-AH.js +112 -0
- package/dist/scroll-area.js +1 -1
- package/dist/section-BIVN1b9I.js +177 -0
- package/dist/section.js +1 -1
- package/dist/segmented-control-BEhDuh3f.js +156 -0
- package/dist/segmented-control.js +1 -1
- package/dist/select-Dx9crduQ.js +1018 -0
- package/dist/{select-tags-CQMcHIQN.js → select-tags-O7s_VG8g.js} +11 -1
- package/dist/select.js +1 -1
- package/dist/side-navigation-Clp3d76j.js +747 -0
- package/dist/side-navigation.js +1 -1
- package/dist/skeleton-DhMVeVtn.js +149 -0
- package/dist/skeleton.js +1 -1
- package/dist/slider-Q4U838QA.js +264 -0
- package/dist/slider.js +1 -1
- package/dist/sparkline-BpEgC_sE.js +139 -0
- package/dist/sparkline.js +1 -1
- package/dist/split-button-BXTSOL1t.js +136 -0
- package/dist/split-button.js +1 -1
- package/dist/splitter-CQIAFS-U.js +293 -0
- package/dist/splitter.js +1 -1
- package/dist/stack-CcdrLuIO.js +16 -0
- package/dist/stack.js +1 -1
- package/dist/stat-card-B26PbBTG.js +247 -0
- package/dist/stat-card.js +1 -1
- package/dist/status-indicator-BcRmvlQi.js +78 -0
- package/dist/status-indicator.js +1 -1
- package/dist/stepper-DJiyt8_a.js +261 -0
- package/dist/stepper.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/switch-DJcPFG_K.js +144 -0
- package/dist/switch.js +1 -1
- package/dist/{table-BTSOjlTn.js → table-B_h8MWmn.js} +345 -332
- package/dist/table-of-contents-Di60gQxa.js +471 -0
- package/dist/table-of-contents.js +1 -1
- package/dist/table.js +1 -1
- package/dist/tabs-cSln63RJ.js +361 -0
- package/dist/tabs.js +1 -1
- package/dist/tag-IJC5A6Mw.js +374 -0
- package/dist/tag.js +1 -1
- package/dist/tags-input-C1rz88eV.js +729 -0
- package/dist/tags-input.js +1 -1
- package/dist/text-field-8YqMC2pD.js +203 -0
- package/dist/text-field.js +1 -1
- package/dist/textarea-CLs-VUAu.js +100 -0
- package/dist/textarea.js +1 -1
- package/dist/time-field-8ZgiPHW6.js +366 -0
- package/dist/time-field.js +1 -1
- package/dist/{time-picker-C0-O0oMU.js → time-picker-MmBtsFt-.js} +134 -121
- package/dist/time-picker.js +1 -1
- package/dist/time-range-picker-IKd3NKiC.js +779 -0
- package/dist/time-range-picker.js +1 -1
- package/dist/timeline-DHzS0QcQ.js +446 -0
- package/dist/timeline.js +1 -1
- package/dist/toast-BFK2kxCh.js +469 -0
- package/dist/toast.js +1 -1
- package/dist/toggle-Tce-wI5k.js +67 -0
- package/dist/toggle-group-CjtkcHal.js +145 -0
- package/dist/toggle-group.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/toolbar-f-xwEocO.js +241 -0
- package/dist/toolbar.js +1 -1
- package/dist/tooltip-Bhr8L7US.js +411 -0
- package/dist/tooltip.js +1 -1
- package/dist/top-navigation-DkklehE6.js +744 -0
- package/dist/top-navigation.js +1 -1
- package/dist/tour-BgFSHHxG.js +809 -0
- package/dist/tour.js +1 -1
- package/dist/transfer-kbdtwSnx.js +606 -0
- package/dist/transfer.js +1 -1
- package/dist/tree-CNUJWzmq.js +792 -0
- package/dist/tree.js +1 -1
- package/dist/types/accordion/accordion.d.ts.map +1 -1
- package/dist/types/action-bar/action-bar-overflow.d.ts.map +1 -1
- package/dist/types/action-bar/action-bar-parts.d.ts.map +1 -1
- package/dist/types/action-bar/action-bar.d.ts.map +1 -1
- package/dist/types/action-sheet/action-sheet-parts.d.ts.map +1 -1
- package/dist/types/alert/alert-parts.d.ts.map +1 -1
- package/dist/types/alert/alert.d.ts.map +1 -1
- package/dist/types/app-shell/app-shell-parts.d.ts.map +1 -1
- package/dist/types/app-shell/app-shell.d.ts.map +1 -1
- package/dist/types/aspect-ratio/aspect-ratio.d.ts.map +1 -1
- package/dist/types/attachment/attachment-parts.d.ts.map +1 -1
- package/dist/types/attachment/attachment.d.ts.map +1 -1
- package/dist/types/avatar/avatar.d.ts.map +1 -1
- package/dist/types/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/types/badge/badge-anchor.d.ts.map +1 -1
- package/dist/types/badge/badge.d.ts.map +1 -1
- package/dist/types/breadcrumb/breadcrumb-parts.d.ts.map +1 -1
- package/dist/types/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/dist/types/button/button-content.d.ts.map +1 -1
- package/dist/types/button/button-indicator.d.ts.map +1 -1
- package/dist/types/button/button-link.d.ts.map +1 -1
- package/dist/types/button/button-root.d.ts +2 -2
- package/dist/types/button/button-root.d.ts.map +1 -1
- package/dist/types/button/button.d.ts.map +1 -1
- package/dist/types/button/icon-button.d.ts.map +1 -1
- package/dist/types/button/toggle-button.d.ts.map +1 -1
- package/dist/types/button-group/button-group-separator.d.ts.map +1 -1
- package/dist/types/button-group/button-group.d.ts.map +1 -1
- package/dist/types/calendar/calendar.d.ts.map +1 -1
- package/dist/types/card/card-actions.d.ts.map +1 -1
- package/dist/types/card/card-body.d.ts.map +1 -1
- package/dist/types/card/card-footer.d.ts.map +1 -1
- package/dist/types/card/card-header.d.ts.map +1 -1
- package/dist/types/card/card-link.d.ts.map +1 -1
- package/dist/types/card/card-media.d.ts.map +1 -1
- package/dist/types/card/card-selection.d.ts.map +1 -1
- package/dist/types/card/card.d.ts.map +1 -1
- package/dist/types/carousel/carousel-parts.d.ts.map +1 -1
- package/dist/types/carousel/carousel.d.ts.map +1 -1
- package/dist/types/cascader/cascader-surface.d.ts.map +1 -1
- package/dist/types/cascader/cascader.d.ts.map +1 -1
- package/dist/types/chart/chart.d.ts.map +1 -1
- package/dist/types/checkbox/checkbox.d.ts.map +1 -1
- package/dist/types/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/dist/types/code-block/code-block.d.ts.map +1 -1
- package/dist/types/collapsible/collapsible-parts.d.ts.map +1 -1
- package/dist/types/collapsible/collapsible.d.ts.map +1 -1
- package/dist/types/color-picker/color-picker.d.ts.map +1 -1
- package/dist/types/column-manager/column-manager.d.ts.map +1 -1
- package/dist/types/combobox/combobox-items.d.ts.map +1 -1
- package/dist/types/combobox/combobox-parts.d.ts.map +1 -1
- package/dist/types/command-palette/command-palette.d.ts.map +1 -1
- package/dist/types/container/container-breakout.d.ts.map +1 -1
- package/dist/types/container/container.d.ts.map +1 -1
- package/dist/types/context-menu/context-menu.d.ts.map +1 -1
- package/dist/types/currency-field/currency-field-defaults.d.ts.map +1 -1
- package/dist/types/currency-field/currency-field.d.ts +1 -1
- package/dist/types/currency-field/currency-field.d.ts.map +1 -1
- package/dist/types/currency-field/currency-field.types.d.ts +14 -5
- package/dist/types/currency-field/currency-field.types.d.ts.map +1 -1
- package/dist/types/dashboard-grid/dashboard-grid.d.ts.map +1 -1
- package/dist/types/dashboard-grid/dashboard-widget.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid-body.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid-context.d.ts +29 -0
- package/dist/types/data-grid/data-grid-context.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid-filter.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid-header.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid.d.ts +1 -1
- package/dist/types/data-grid/data-grid.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid.types.d.ts +10 -0
- package/dist/types/data-grid/data-grid.types.d.ts.map +1 -1
- package/dist/types/data-grid/index.d.ts +1 -1
- package/dist/types/data-grid/index.d.ts.map +1 -1
- package/dist/types/data-list/data-list.d.ts.map +1 -1
- package/dist/types/date-field/date-field.d.ts.map +1 -1
- package/dist/types/date-picker/date-picker.d.ts.map +1 -1
- package/dist/types/date-range-picker/date-range-picker.d.ts.map +1 -1
- package/dist/types/datetime-field/datetime-field.d.ts.map +1 -1
- package/dist/types/datetime-picker/datetime-picker.d.ts.map +1 -1
- package/dist/types/datetime-range-picker/datetime-range-picker.d.ts.map +1 -1
- package/dist/types/description-list/description-list-parts.d.ts.map +1 -1
- package/dist/types/description-list/description-list.d.ts.map +1 -1
- package/dist/types/detail-panel/detail-panel-parts.d.ts.map +1 -1
- package/dist/types/detail-panel/detail-panel.d.ts.map +1 -1
- package/dist/types/dialog/dialog-parts.d.ts.map +1 -1
- package/dist/types/dialog/dialog.types.d.ts +5 -1
- package/dist/types/dialog/dialog.types.d.ts.map +1 -1
- package/dist/types/divider/divider.d.ts.map +1 -1
- package/dist/types/drawer/drawer-parts.d.ts.map +1 -1
- package/dist/types/entity-picker/entity-picker-control.d.ts.map +1 -1
- package/dist/types/entity-picker/entity-picker-popup.d.ts.map +1 -1
- package/dist/types/event-calendar/event-calendar-event.d.ts.map +1 -1
- package/dist/types/event-calendar/event-calendar-list.d.ts.map +1 -1
- package/dist/types/event-calendar/event-calendar-month.d.ts.map +1 -1
- package/dist/types/event-calendar/event-calendar-time-grid.d.ts.map +1 -1
- package/dist/types/event-calendar/event-calendar.d.ts.map +1 -1
- package/dist/types/field/field-parts.d.ts.map +1 -1
- package/dist/types/field/field.d.ts.map +1 -1
- package/dist/types/field-group/field-group-parts.d.ts.map +1 -1
- package/dist/types/field-group/field-group.d.ts.map +1 -1
- package/dist/types/filter-bar/filter-bar-rules.d.ts.map +1 -1
- package/dist/types/filter-bar/filter-bar.d.ts.map +1 -1
- package/dist/types/form/form-parts.d.ts.map +1 -1
- package/dist/types/form/form.d.ts.map +1 -1
- package/dist/types/fullscreen/fullscreen.d.ts.map +1 -1
- package/dist/types/grid/grid.d.ts.map +1 -1
- package/dist/types/highlight/highlight.d.ts.map +1 -1
- package/dist/types/hover-card/hover-card.d.ts.map +1 -1
- package/dist/types/icon/glyph.d.ts.map +1 -1
- package/dist/types/icon/icon.d.ts.map +1 -1
- package/dist/types/image/image.d.ts.map +1 -1
- package/dist/types/import-export-center/import-export-center.d.ts.map +1 -1
- package/dist/types/inline/inline.d.ts.map +1 -1
- package/dist/types/inline-message/inline-message.d.ts.map +1 -1
- package/dist/types/kbd/key-element.d.ts.map +1 -1
- package/dist/types/kbd/shortcut.d.ts.map +1 -1
- package/dist/types/link/link.d.ts.map +1 -1
- package/dist/types/list/list-parts.d.ts.map +1 -1
- package/dist/types/list/list.d.ts.map +1 -1
- package/dist/types/list-item/list-item-content.d.ts.map +1 -1
- package/dist/types/list-item/list-item-parts.d.ts.map +1 -1
- package/dist/types/list-item/list-item.d.ts.map +1 -1
- package/dist/types/listbox/listbox-parts.d.ts.map +1 -1
- package/dist/types/listbox/listbox.d.ts.map +1 -1
- package/dist/types/loading-overlay/loading-overlay.d.ts.map +1 -1
- package/dist/types/markdown/markdown.d.ts.map +1 -1
- package/dist/types/menu/menu-items.d.ts.map +1 -1
- package/dist/types/menu/menu-parts.d.ts.map +1 -1
- package/dist/types/menubar/menubar.d.ts.map +1 -1
- package/dist/types/message/bubble.d.ts.map +1 -1
- package/dist/types/message/message-parts.d.ts.map +1 -1
- package/dist/types/message/message.d.ts.map +1 -1
- package/dist/types/message-scroller/message-scroller.d.ts.map +1 -1
- package/dist/types/multi-select/multi-select-chips.d.ts.map +1 -1
- package/dist/types/multi-select/multi-select-items.d.ts.map +1 -1
- package/dist/types/multi-select/multi-select-parts.d.ts.map +1 -1
- package/dist/types/navigation-menu/navigation-menu-parts.d.ts.map +1 -1
- package/dist/types/navigation-menu/navigation-menu.d.ts.map +1 -1
- package/dist/types/notification-center/notification-center.d.ts.map +1 -1
- package/dist/types/number-field/number-field.d.ts.map +1 -1
- package/dist/types/otp-input/otp-input.d.ts.map +1 -1
- package/dist/types/page/page.d.ts.map +1 -1
- package/dist/types/page-header/page-header-parts.d.ts.map +1 -1
- package/dist/types/page-header/page-header.d.ts.map +1 -1
- package/dist/types/pagination/pagination-parts.d.ts.map +1 -1
- package/dist/types/pagination/pagination.d.ts.map +1 -1
- package/dist/types/popover/popover-parts.d.ts.map +1 -1
- package/dist/types/progress-indicator/progress-bar.d.ts.map +1 -1
- package/dist/types/progress-indicator/progress-circle.d.ts.map +1 -1
- package/dist/types/progress-indicator/progress-parts.d.ts.map +1 -1
- package/dist/types/progress-indicator/use-progress-indicator.d.ts.map +1 -1
- package/dist/types/prompt-composer/prompt-composer.d.ts.map +1 -1
- package/dist/types/prose/prose-parts.d.ts.map +1 -1
- package/dist/types/prose/prose-scroll.d.ts.map +1 -1
- package/dist/types/prose/prose.d.ts.map +1 -1
- package/dist/types/radio-group/radio-group-parts.d.ts.map +1 -1
- package/dist/types/radio-group/radio-group.d.ts.map +1 -1
- package/dist/types/rating/rating-display.d.ts.map +1 -1
- package/dist/types/rating/rating-summary.d.ts.map +1 -1
- package/dist/types/rating/rating.d.ts.map +1 -1
- package/dist/types/result-state/result-state-parts.d.ts.map +1 -1
- package/dist/types/result-state/result-state.d.ts.map +1 -1
- package/dist/types/saved-views/saved-views.d.ts.map +1 -1
- package/dist/types/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/types/section/section-parts.d.ts.map +1 -1
- package/dist/types/section/section.d.ts.map +1 -1
- package/dist/types/segmented-control/segmented-control-parts.d.ts.map +1 -1
- package/dist/types/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/types/select/select-items.d.ts.map +1 -1
- package/dist/types/select/select-parts.d.ts.map +1 -1
- package/dist/types/select/select-tags.d.ts.map +1 -1
- package/dist/types/side-navigation/side-navigation-parts.d.ts.map +1 -1
- package/dist/types/side-navigation/side-navigation.d.ts.map +1 -1
- package/dist/types/skeleton/skeleton-region.d.ts.map +1 -1
- package/dist/types/skeleton/skeleton-text.d.ts.map +1 -1
- package/dist/types/skeleton/skeleton.d.ts.map +1 -1
- package/dist/types/slider/slider.d.ts.map +1 -1
- package/dist/types/sparkline/sparkline.d.ts.map +1 -1
- package/dist/types/split-button/split-button-parts.d.ts.map +1 -1
- package/dist/types/split-button/split-button.d.ts.map +1 -1
- package/dist/types/splitter/splitter.d.ts.map +1 -1
- package/dist/types/stack/stack.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card-delta.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card-parts.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card-value.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card.d.ts.map +1 -1
- package/dist/types/status-indicator/status-indicator.d.ts.map +1 -1
- package/dist/types/stepper/stepper-parts.d.ts.map +1 -1
- package/dist/types/stepper/stepper.d.ts.map +1 -1
- package/dist/types/switch/switch.d.ts.map +1 -1
- package/dist/types/table/table-content.d.ts.map +1 -1
- package/dist/types/table/table-filter.d.ts.map +1 -1
- package/dist/types/table/table-parts.d.ts.map +1 -1
- package/dist/types/table/table.d.ts.map +1 -1
- package/dist/types/table-of-contents/table-of-contents-parts.d.ts.map +1 -1
- package/dist/types/table-of-contents/table-of-contents.d.ts.map +1 -1
- package/dist/types/tabs/tabs-parts.d.ts.map +1 -1
- package/dist/types/tabs/tabs.d.ts.map +1 -1
- package/dist/types/tag/tag-button.d.ts.map +1 -1
- package/dist/types/tag/tag-chip.d.ts +2 -2
- package/dist/types/tag/tag-chip.d.ts.map +1 -1
- package/dist/types/tag/tag-group.d.ts.map +1 -1
- package/dist/types/tag/tag-link.d.ts.map +1 -1
- package/dist/types/tag/tag-toggle.d.ts.map +1 -1
- package/dist/types/tags-input/tags-input-chips.d.ts.map +1 -1
- package/dist/types/tags-input/tags-input.d.ts +7 -1
- package/dist/types/tags-input/tags-input.d.ts.map +1 -1
- package/dist/types/tags-input/tags-input.types.d.ts +10 -0
- package/dist/types/tags-input/tags-input.types.d.ts.map +1 -1
- package/dist/types/text-field/text-field.d.ts.map +1 -1
- package/dist/types/textarea/textarea.d.ts.map +1 -1
- package/dist/types/time-field/time-field.d.ts.map +1 -1
- package/dist/types/time-picker/time-picker.d.ts.map +1 -1
- package/dist/types/time-range-picker/time-range-picker.d.ts.map +1 -1
- package/dist/types/timeline/timeline-parts.d.ts.map +1 -1
- package/dist/types/timeline/timeline.d.ts.map +1 -1
- package/dist/types/toast/toast-parts.d.ts.map +1 -1
- package/dist/types/toast/toast.d.ts.map +1 -1
- package/dist/types/toggle/toggle.d.ts.map +1 -1
- package/dist/types/toggle-group/toggle-group-parts.d.ts.map +1 -1
- package/dist/types/toggle-group/toggle-group.d.ts.map +1 -1
- package/dist/types/toolbar/toolbar-overflow.d.ts.map +1 -1
- package/dist/types/toolbar/toolbar-parts.d.ts.map +1 -1
- package/dist/types/toolbar/toolbar.d.ts.map +1 -1
- package/dist/types/tooltip/tooltip-parts.d.ts.map +1 -1
- package/dist/types/top-navigation/top-navigation-parts.d.ts.map +1 -1
- package/dist/types/top-navigation/top-navigation.d.ts.map +1 -1
- package/dist/types/tour/tour-parts.d.ts.map +1 -1
- package/dist/types/tour/tour.d.ts.map +1 -1
- package/dist/types/transfer/transfer.d.ts.map +1 -1
- package/dist/types/tree/tree-parts.d.ts.map +1 -1
- package/dist/types/tree/tree.d.ts.map +1 -1
- package/dist/types/typography/heading.d.ts +2 -2
- package/dist/types/typography/heading.d.ts.map +1 -1
- package/dist/types/typography/text.d.ts.map +1 -1
- package/dist/types/upload/upload-viewer.d.ts.map +1 -1
- package/dist/types/upload/upload.d.ts.map +1 -1
- package/dist/types/visually-hidden/visually-hidden.d.ts.map +1 -1
- package/dist/types/wizard/wizard-parts.d.ts.map +1 -1
- package/dist/types/wizard/wizard.d.ts.map +1 -1
- package/dist/typography-DLiIuMKf.js +93 -0
- package/dist/typography.js +1 -1
- package/dist/upload-CKwUxRtB.js +648 -0
- package/dist/upload.js +1 -1
- package/dist/visually-hidden-Dlnpzic3.js +15 -0
- package/dist/visually-hidden.js +1 -1
- package/dist/wizard-gMgYFSLO.js +838 -0
- package/dist/wizard.js +1 -1
- package/package.json +6 -6
- package/dist/accordion-lCqrmQ3w.js +0 -143
- package/dist/action-sheet-DD477dAw.js +0 -347
- package/dist/alert-CP62p9Ul.js +0 -159
- package/dist/app-shell-DNdZ5ys0.js +0 -840
- package/dist/aspect-ratio-C76l-aoY.js +0 -40
- package/dist/attachment-DdBbQcEB.js +0 -302
- package/dist/avatar-BnlE5jjr.js +0 -100
- package/dist/avatar-group-4rBj99tz.js +0 -47
- package/dist/badge-C6rbwVpu.js +0 -94
- package/dist/breadcrumb-Bf01N4wK.js +0 -218
- package/dist/button-Db9f3Bxn.js +0 -99
- package/dist/button-group-Det_nYor.js +0 -50
- package/dist/calendar-xcoBnHpK.js +0 -436
- package/dist/card-CpVu8PyZ.js +0 -102
- package/dist/carousel-BPi-Y5yF.js +0 -498
- package/dist/chart-04i6NZQA.js +0 -968
- package/dist/checkbox-B4Sb1eXj.js +0 -139
- package/dist/checkbox-group-LpGMuq9w.js +0 -108
- package/dist/code-block-CTNiyt0U.js +0 -269
- package/dist/collapsible-F-K36XbF.js +0 -217
- package/dist/color-picker-amz8XfXm.js +0 -504
- package/dist/column-manager-DonEo9wp.js +0 -585
- package/dist/combobox-C1D5doWM.js +0 -885
- package/dist/container-CjxY6rYv.js +0 -46
- package/dist/context-menu-g3DMZKR3.js +0 -150
- package/dist/currency-field-Dti9JFu0.js +0 -455
- package/dist/date-field-DEauLQVL.js +0 -290
- package/dist/date-picker-C22jlzUv.js +0 -308
- package/dist/date-range-picker-BUKoddmL.js +0 -483
- package/dist/datetime-field-Bptwvuip.js +0 -411
- package/dist/datetime-range-picker--JtLnGQ2.js +0 -1000
- package/dist/description-list-IYLnFgHT.js +0 -232
- package/dist/dialog-Ds0LJWE_.js +0 -515
- package/dist/divider-D36Jqo0J.js +0 -33
- package/dist/drawer-DZ_29U6H.js +0 -760
- package/dist/field-BxQFpOXS.js +0 -365
- package/dist/field-group-DcN_hiZN.js +0 -138
- package/dist/filter-bar-BKKqH0ui.js +0 -1335
- package/dist/fullscreen-CF0UN4mv.js +0 -187
- package/dist/grid-CIkG_2IQ.js +0 -25
- package/dist/highlight-0Qw23QPp.js +0 -57
- package/dist/hover-card-DpVzwvDJ.js +0 -214
- package/dist/icon-T9Yt4tnm.js +0 -73
- package/dist/icon-button-CCWkCDMs.js +0 -213
- package/dist/inline-D_IjcJ1n.js +0 -16
- package/dist/inline-message-C4a-A2mw.js +0 -91
- package/dist/kbd-eFSWTKxN.js +0 -100
- package/dist/link-TjvRl2VQ.js +0 -87
- package/dist/list-WsQ6ZzCa.js +0 -91
- package/dist/list-item-DpCwZIrd.js +0 -123
- package/dist/listbox-D0MJcAMm.js +0 -615
- package/dist/loading-overlay-RRsNK1FN.js +0 -208
- package/dist/markdown-IiVoh6yi.js +0 -295
- package/dist/menu-parts-BpQu2s4z.js +0 -813
- package/dist/menubar-rpNcgIrw.js +0 -156
- package/dist/message-Cp0rLCyW.js +0 -430
- package/dist/message-scroller-UZjFpflz.js +0 -214
- package/dist/navigation-menu-parts-Cn-OAadu.js +0 -492
- package/dist/notification-center-CGEEHcRA.js +0 -485
- package/dist/number-field-DXk1TAXA.js +0 -342
- package/dist/page-QP8Zyz8-.js +0 -167
- package/dist/page-header-BP_Wt3eS.js +0 -367
- package/dist/pagination-DWJc521r.js +0 -292
- package/dist/popover-DEp8Bf3e.js +0 -495
- package/dist/progress-indicator-DwvUSFFs.js +0 -269
- package/dist/prompt-composer-DdcU3S3L.js +0 -259
- package/dist/prose-CkeNYS0X.js +0 -91
- package/dist/radio-group-D8csBZ8Z.js +0 -140
- package/dist/rating-rI3b5zII.js +0 -459
- package/dist/result-state-CZsQfdN4.js +0 -126
- package/dist/saved-views-DB2IIdhH.js +0 -446
- package/dist/scroll-area-DQ_ansLu.js +0 -112
- package/dist/section-Be7dX9MC.js +0 -176
- package/dist/segmented-control-C-PzkTtg.js +0 -153
- package/dist/select-BUylPwpb.js +0 -995
- package/dist/side-navigation-BnUKTrtd.js +0 -744
- package/dist/skeleton-2LSpg84Z.js +0 -143
- package/dist/slider-fp7kyg-6.js +0 -256
- package/dist/sparkline-rY7HIFE4.js +0 -131
- package/dist/split-button-p97Bd5wM.js +0 -135
- package/dist/splitter-Bg3UgmbV.js +0 -289
- package/dist/stack-BEFavbRs.js +0 -15
- package/dist/stat-card-BG7uLytP.js +0 -244
- package/dist/status-indicator-BOjpXkU5.js +0 -73
- package/dist/stepper-DQJuRWqR.js +0 -253
- package/dist/switch-aVoc4C2F.js +0 -138
- package/dist/table-of-contents-DfAeYtFJ.js +0 -461
- package/dist/tabs-HWmvOKM4.js +0 -355
- package/dist/tag-DjtW53xN.js +0 -365
- package/dist/tags-input-pbv6x1Pi.js +0 -625
- package/dist/text-field-CbQ6UCAP.js +0 -195
- package/dist/textarea-DJSfhrXH.js +0 -99
- package/dist/time-field-DeKrogZG.js +0 -355
- package/dist/time-range-picker-Fdb70Zj_.js +0 -751
- package/dist/timeline-DH_02ysz.js +0 -421
- package/dist/toast-BTN_F9No.js +0 -468
- package/dist/toggle-CBFhM4Jh.js +0 -64
- package/dist/toggle-group-i7JPO8BM.js +0 -142
- package/dist/toolbar-U-CFEb1c.js +0 -240
- package/dist/tooltip-CgjIROUy.js +0 -410
- package/dist/top-navigation-BjIRQfkK.js +0 -739
- package/dist/tour-BTdt716T.js +0 -799
- package/dist/transfer--UOQVeKE.js +0 -596
- package/dist/tree-C6fYJqT9.js +0 -783
- package/dist/typography-B2iaigEC.js +0 -92
- package/dist/upload-DGmsz9Hw.js +0 -613
- package/dist/visually-hidden-CE6u5JLW.js +0 -14
- package/dist/wizard-BxA08vXt.js +0 -815
package/dist/docs/timeline.json
CHANGED
|
@@ -140,127 +140,127 @@
|
|
|
140
140
|
"part": "root",
|
|
141
141
|
"element": "div",
|
|
142
142
|
"required": true,
|
|
143
|
-
"purpose": "
|
|
143
|
+
"purpose": "Owns the axes, the messages, the time zone and the query container that reflows the line. Carries data-ui=\"timeline\" and each axis as an attribute. It is not a landmark."
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
"part": "fresh",
|
|
147
147
|
"element": "button",
|
|
148
148
|
"required": false,
|
|
149
|
-
"purpose": "
|
|
149
|
+
"purpose": "The pill that holds new events until the reader asks for them. It appears when freshCount rises above zero and stays mounted afterwards, hidden at zero with the last count as text, so it leaves with a transition. It sits before the list and outside the feed, is announced once per count change, and pressing it moves focus to the first revealed event."
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
"part": "list",
|
|
153
|
-
"element": "ol,
|
|
153
|
+
"element": "ol, or div with role=\"feed\"",
|
|
154
154
|
"required": true,
|
|
155
|
-
"purpose": "
|
|
155
|
+
"purpose": "The ordered list, or the APG feed when mode=\"feed\". Carries the name, aria-busy while loading, and the four feed keys — only the list sees every article."
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
"part": "group",
|
|
159
|
-
"element": "li,
|
|
159
|
+
"element": "li, or div in the feed",
|
|
160
160
|
"required": false,
|
|
161
|
-
"purpose": "
|
|
161
|
+
"purpose": "A period: the heading and its own list. The line breaks at it. Carries data-open, the only mutable state of the family."
|
|
162
162
|
},
|
|
163
163
|
{
|
|
164
164
|
"part": "group-label",
|
|
165
|
-
"element": "h2
|
|
165
|
+
"element": "h2 to h6, by level",
|
|
166
166
|
"required": false,
|
|
167
|
-
"purpose": "
|
|
167
|
+
"purpose": "The period name, as a heading of the level declared on the root or on the group."
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
"part": "group-trigger",
|
|
171
171
|
"element": "button",
|
|
172
172
|
"required": false,
|
|
173
|
-
"purpose": "
|
|
173
|
+
"purpose": "Inside the heading of a collapsible group: aria-expanded, aria-controls pointing to the list, and the period name followed by \", Show events\" or \", Hide events\" (the expand and collapse messages, with their own separator)."
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
176
|
"part": "group-indicator",
|
|
177
177
|
"element": "span",
|
|
178
178
|
"required": false,
|
|
179
|
-
"purpose": "
|
|
179
|
+
"purpose": "The trigger’s chevron, the chevron-down glyph inside an icon, which rotates between down and up."
|
|
180
180
|
},
|
|
181
181
|
{
|
|
182
182
|
"part": "group-list",
|
|
183
|
-
"element": "ol,
|
|
183
|
+
"element": "ol, or div in the feed",
|
|
184
184
|
"required": false,
|
|
185
|
-
"purpose": "
|
|
185
|
+
"purpose": "The list of a group. Receives hidden when the group closes, and the events stay in the DOM: a feed that lost them would lose the reader’s position."
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
"part": "item",
|
|
189
|
-
"element": "li,
|
|
189
|
+
"element": "li, or article in the feed",
|
|
190
190
|
"required": true,
|
|
191
|
-
"purpose": "
|
|
191
|
+
"purpose": "An event, and the element where each state is written: data-current, data-complete, data-loading, data-connector, data-side, data-tone, data-variant. In the feed it is a focusable article with position, set size, label and description."
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
194
|
"part": "opposite",
|
|
195
195
|
"element": "div",
|
|
196
196
|
"required": false,
|
|
197
|
-
"purpose": "
|
|
197
|
+
"purpose": "The other side of the line. With placement=\"end\" it is a fixed-width column before the line, where the time lives in the classic reading; with alternate it takes the side the body does not take."
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
"part": "rail",
|
|
201
201
|
"element": "div",
|
|
202
202
|
"required": true,
|
|
203
|
-
"purpose": "
|
|
203
|
+
"purpose": "The column of the marker and the line, stretched to the height of the event. It keeps the line at the center of the marker, whether the marker is a dot or an avatar."
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
206
|
"part": "marker",
|
|
207
207
|
"element": "span",
|
|
208
208
|
"required": true,
|
|
209
|
-
"purpose": "
|
|
209
|
+
"purpose": "The marker on the line, centered on the first line of the title. Empty, it draws a dot the size of the spinner; with a glyph or an avatar it draws a badge; loading draws the spinner in place of the dot; complete, without a consumer marker, receives the check glyph (an icon with data-check) cut out of the disc and stays a dot."
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
"part": "connector",
|
|
213
213
|
"element": "span",
|
|
214
214
|
"required": false,
|
|
215
|
-
"purpose": "
|
|
215
|
+
"purpose": "The line from the marker to the next event, aria-hidden. The last event of each list does not draw it. Dashed on the future side of the current event, with autoComplete."
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
218
|
"part": "content",
|
|
219
219
|
"element": "div",
|
|
220
220
|
"required": true,
|
|
221
|
-
"purpose": "
|
|
221
|
+
"purpose": "The body: title and time on the first line, actor below, description, whatever the consumer writes, and the actions."
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
"part": "title",
|
|
225
225
|
"element": "div",
|
|
226
226
|
"required": false,
|
|
227
|
-
"purpose": "
|
|
227
|
+
"purpose": "The event name, and the first id of aria-labelledby in the feed. The current state is read after it, in a visually-hidden element."
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
"part": "actor",
|
|
231
231
|
"element": "div",
|
|
232
232
|
"required": false,
|
|
233
|
-
"purpose": "
|
|
233
|
+
"purpose": "Who did it: an avatar and a name. Enters the article label after the title."
|
|
234
234
|
},
|
|
235
235
|
{
|
|
236
236
|
"part": "time",
|
|
237
237
|
"element": "time",
|
|
238
238
|
"required": false,
|
|
239
|
-
"purpose": "
|
|
239
|
+
"purpose": "When it happened. Always writes datetime with the machine value; the text is formatted by the locale and the timeZone, or replaced by timeLabel, and a relative reading keeps the absolute one in title."
|
|
240
240
|
},
|
|
241
241
|
{
|
|
242
242
|
"part": "description",
|
|
243
243
|
"element": "div",
|
|
244
244
|
"required": false,
|
|
245
|
-
"purpose": "
|
|
245
|
+
"purpose": "The second line, and the article’s aria-describedby in the feed."
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
248
|
"part": "actions",
|
|
249
249
|
"element": "div",
|
|
250
250
|
"required": false,
|
|
251
|
-
"purpose": "
|
|
251
|
+
"purpose": "The row of controls below the description. An event with actions is not actionable as a whole: each action is its own target."
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
254
|
"part": "more",
|
|
255
|
-
"element": "button,
|
|
255
|
+
"element": "button, or div while loading",
|
|
256
256
|
"required": false,
|
|
257
|
-
"purpose": "
|
|
257
|
+
"purpose": "The end of what was loaded, when growing is not none. A button that asks for more, or, with scroll, a sentinel that asks when it enters the scroller; while loading it shows the ring and the message."
|
|
258
258
|
},
|
|
259
259
|
{
|
|
260
260
|
"part": "empty",
|
|
261
261
|
"element": "div",
|
|
262
262
|
"required": false,
|
|
263
|
-
"purpose": "
|
|
263
|
+
"purpose": "What takes the place of the list when there are no events and nothing is loading."
|
|
264
264
|
}
|
|
265
265
|
],
|
|
266
266
|
"api": [
|
|
@@ -269,301 +269,301 @@
|
|
|
269
269
|
"type": "'list' | 'feed'",
|
|
270
270
|
"defaultValue": "list",
|
|
271
271
|
"appliesTo": "Timeline",
|
|
272
|
-
"description": "
|
|
272
|
+
"description": "An ordered list, or the APG Feed pattern"
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
275
|
"name": "orientation",
|
|
276
276
|
"type": "'vertical' | 'horizontal'",
|
|
277
277
|
"defaultValue": "vertical",
|
|
278
278
|
"appliesTo": "Timeline",
|
|
279
|
-
"description": "
|
|
279
|
+
"description": "A column, or a row that scrolls and reflows"
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
282
|
"name": "placement",
|
|
283
283
|
"type": "'end' | 'start' | 'alternate'",
|
|
284
284
|
"defaultValue": "end",
|
|
285
285
|
"appliesTo": "Timeline",
|
|
286
|
-
"description": "
|
|
286
|
+
"description": "Which side of the line the body lives on"
|
|
287
287
|
},
|
|
288
288
|
{
|
|
289
289
|
"name": "order",
|
|
290
290
|
"type": "'oldest-first' | 'newest-first'",
|
|
291
291
|
"defaultValue": "oldest-first",
|
|
292
292
|
"appliesTo": "Timeline",
|
|
293
|
-
"description": "
|
|
293
|
+
"description": "What the list is; decides where autoComplete cuts. Never reorders the array"
|
|
294
294
|
},
|
|
295
295
|
{
|
|
296
296
|
"name": "variant",
|
|
297
297
|
"type": "'solid' | 'outline' | 'subtle' | 'plain'",
|
|
298
298
|
"defaultValue": "subtle",
|
|
299
299
|
"appliesTo": "Timeline",
|
|
300
|
-
"description": "
|
|
300
|
+
"description": "The marker appearance, inherited by the events"
|
|
301
301
|
},
|
|
302
302
|
{
|
|
303
303
|
"name": "tone",
|
|
304
304
|
"type": "'secondary' | 'accent' | 'success' | 'warning' | 'danger'",
|
|
305
305
|
"defaultValue": "secondary",
|
|
306
306
|
"appliesTo": "Timeline",
|
|
307
|
-
"description": "
|
|
307
|
+
"description": "The marker tone, inherited by the events"
|
|
308
308
|
},
|
|
309
309
|
{
|
|
310
310
|
"name": "size",
|
|
311
311
|
"type": "'sm' | 'md' | 'lg'",
|
|
312
312
|
"defaultValue": "md",
|
|
313
313
|
"appliesTo": "Timeline",
|
|
314
|
-
"description": "
|
|
314
|
+
"description": "The step of the marker and the type"
|
|
315
315
|
},
|
|
316
316
|
{
|
|
317
317
|
"name": "growing",
|
|
318
318
|
"type": "'none' | 'button' | 'scroll'",
|
|
319
319
|
"defaultValue": "none",
|
|
320
320
|
"appliesTo": "Timeline",
|
|
321
|
-
"description": "
|
|
321
|
+
"description": "How the end of what was loaded asks for more"
|
|
322
322
|
},
|
|
323
323
|
{
|
|
324
324
|
"name": "timeFormat",
|
|
325
325
|
"type": "'absolute' | 'relative'",
|
|
326
326
|
"defaultValue": "absolute",
|
|
327
327
|
"appliesTo": "Timeline",
|
|
328
|
-
"description": "
|
|
328
|
+
"description": "How the time is written; relative keeps the absolute value in title"
|
|
329
329
|
},
|
|
330
330
|
{
|
|
331
331
|
"name": "locale",
|
|
332
332
|
"type": "string",
|
|
333
333
|
"defaultValue": "—",
|
|
334
334
|
"appliesTo": "Timeline",
|
|
335
|
-
"description": "BCP 47
|
|
335
|
+
"description": "BCP 47 for the times; without it, the current locale (SlottedProvider)"
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
338
|
"name": "timeZone",
|
|
339
339
|
"type": "string",
|
|
340
340
|
"defaultValue": "—",
|
|
341
341
|
"appliesTo": "Timeline",
|
|
342
|
-
"description": "
|
|
342
|
+
"description": "The time zone an instant is written in; without it, the runtime’s"
|
|
343
343
|
},
|
|
344
344
|
{
|
|
345
345
|
"name": "now",
|
|
346
346
|
"type": "number",
|
|
347
347
|
"defaultValue": "—",
|
|
348
348
|
"appliesTo": "Timeline",
|
|
349
|
-
"description": "
|
|
349
|
+
"description": "The instant a relative reading counts from, in epoch milliseconds; without it, the clock at render"
|
|
350
350
|
},
|
|
351
351
|
{
|
|
352
352
|
"name": "level",
|
|
353
353
|
"type": "2 | 3 | 4 | 5 | 6",
|
|
354
354
|
"defaultValue": "3",
|
|
355
355
|
"appliesTo": "Timeline",
|
|
356
|
-
"description": "
|
|
356
|
+
"description": "The level of the group headings"
|
|
357
357
|
},
|
|
358
358
|
{
|
|
359
359
|
"name": "reflow",
|
|
360
360
|
"type": "boolean",
|
|
361
361
|
"defaultValue": "true",
|
|
362
362
|
"appliesTo": "Timeline",
|
|
363
|
-
"description": "
|
|
363
|
+
"description": "Whether horizontal and alternate reflow below thirty rems"
|
|
364
364
|
},
|
|
365
365
|
{
|
|
366
366
|
"name": "autoComplete",
|
|
367
367
|
"type": "boolean",
|
|
368
368
|
"defaultValue": "false",
|
|
369
369
|
"appliesTo": "Timeline",
|
|
370
|
-
"description": "
|
|
370
|
+
"description": "Marks the events on the past side of the current one complete, and dashes the future"
|
|
371
371
|
},
|
|
372
372
|
{
|
|
373
373
|
"name": "loading",
|
|
374
374
|
"type": "boolean",
|
|
375
375
|
"defaultValue": "false",
|
|
376
376
|
"appliesTo": "Timeline",
|
|
377
|
-
"description": "
|
|
377
|
+
"description": "More events on the way: aria-busy on the feed, ring at the end"
|
|
378
378
|
},
|
|
379
379
|
{
|
|
380
380
|
"name": "freshCount",
|
|
381
381
|
"type": "number",
|
|
382
382
|
"defaultValue": "0",
|
|
383
383
|
"appliesTo": "Timeline",
|
|
384
|
-
"description": "
|
|
384
|
+
"description": "How many new events the pill holds"
|
|
385
385
|
},
|
|
386
386
|
{
|
|
387
387
|
"name": "count",
|
|
388
388
|
"type": "number",
|
|
389
389
|
"defaultValue": "—",
|
|
390
390
|
"appliesTo": "Timeline",
|
|
391
|
-
"description": "
|
|
391
|
+
"description": "The total, for aria-setsize; without it, -1 while the list can grow"
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
394
|
"name": "label",
|
|
395
395
|
"type": "string",
|
|
396
396
|
"defaultValue": "—",
|
|
397
397
|
"appliesTo": "Timeline",
|
|
398
|
-
"description": "
|
|
398
|
+
"description": "The accessible name of the list"
|
|
399
399
|
},
|
|
400
400
|
{
|
|
401
401
|
"name": "labelledBy",
|
|
402
402
|
"type": "string",
|
|
403
403
|
"defaultValue": "—",
|
|
404
404
|
"appliesTo": "Timeline",
|
|
405
|
-
"description": "
|
|
405
|
+
"description": "The id of the element that names the list"
|
|
406
406
|
},
|
|
407
407
|
{
|
|
408
408
|
"name": "empty",
|
|
409
409
|
"type": "ReactNode",
|
|
410
410
|
"defaultValue": "—",
|
|
411
411
|
"appliesTo": "Timeline",
|
|
412
|
-
"description": "
|
|
412
|
+
"description": "What takes the place of the empty list"
|
|
413
413
|
},
|
|
414
414
|
{
|
|
415
415
|
"name": "messages",
|
|
416
416
|
"type": "PartialMessages<TimelineMessages>",
|
|
417
417
|
"defaultValue": "—",
|
|
418
418
|
"appliesTo": "Timeline",
|
|
419
|
-
"description": "
|
|
419
|
+
"description": "Words over the catalog of the current locale, key by key: the family’s seven messages"
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
422
|
"name": "label",
|
|
423
423
|
"type": "ReactNode",
|
|
424
424
|
"defaultValue": "—",
|
|
425
425
|
"appliesTo": "TimelineGroup",
|
|
426
|
-
"description": "
|
|
426
|
+
"description": "The period name, as a heading"
|
|
427
427
|
},
|
|
428
428
|
{
|
|
429
429
|
"name": "collapsible",
|
|
430
430
|
"type": "boolean",
|
|
431
431
|
"defaultValue": "false",
|
|
432
432
|
"appliesTo": "TimelineGroup",
|
|
433
|
-
"description": "
|
|
433
|
+
"description": "Whether the heading is a button that folds the group"
|
|
434
434
|
},
|
|
435
435
|
{
|
|
436
436
|
"name": "open",
|
|
437
437
|
"type": "boolean",
|
|
438
438
|
"defaultValue": "—",
|
|
439
439
|
"appliesTo": "TimelineGroup",
|
|
440
|
-
"description": "
|
|
440
|
+
"description": "Present means controlled, for the life of the group"
|
|
441
441
|
},
|
|
442
442
|
{
|
|
443
443
|
"name": "defaultOpen",
|
|
444
444
|
"type": "boolean",
|
|
445
445
|
"defaultValue": "true",
|
|
446
446
|
"appliesTo": "TimelineGroup",
|
|
447
|
-
"description": "
|
|
447
|
+
"description": "Where an uncontrolled group starts, read once"
|
|
448
448
|
},
|
|
449
449
|
{
|
|
450
450
|
"name": "level",
|
|
451
451
|
"type": "2 | 3 | 4 | 5 | 6",
|
|
452
452
|
"defaultValue": "—",
|
|
453
453
|
"appliesTo": "TimelineGroup",
|
|
454
|
-
"description": "
|
|
454
|
+
"description": "The level of this heading, over the root’s"
|
|
455
455
|
},
|
|
456
456
|
{
|
|
457
457
|
"name": "title",
|
|
458
458
|
"type": "ReactNode",
|
|
459
459
|
"defaultValue": "—",
|
|
460
460
|
"appliesTo": "TimelineItem",
|
|
461
|
-
"description": "
|
|
461
|
+
"description": "The event name"
|
|
462
462
|
},
|
|
463
463
|
{
|
|
464
464
|
"name": "description",
|
|
465
465
|
"type": "ReactNode",
|
|
466
466
|
"defaultValue": "—",
|
|
467
467
|
"appliesTo": "TimelineItem",
|
|
468
|
-
"description": "
|
|
468
|
+
"description": "The second line"
|
|
469
469
|
},
|
|
470
470
|
{
|
|
471
471
|
"name": "actor",
|
|
472
472
|
"type": "ReactNode",
|
|
473
473
|
"defaultValue": "—",
|
|
474
474
|
"appliesTo": "TimelineItem",
|
|
475
|
-
"description": "
|
|
475
|
+
"description": "Who did it"
|
|
476
476
|
},
|
|
477
477
|
{
|
|
478
478
|
"name": "time",
|
|
479
479
|
"type": "PlainDateTime | string",
|
|
480
480
|
"defaultValue": "—",
|
|
481
481
|
"appliesTo": "TimelineItem",
|
|
482
|
-
"description": "
|
|
482
|
+
"description": "When: ISO instant or wall-clock value"
|
|
483
483
|
},
|
|
484
484
|
{
|
|
485
485
|
"name": "timeLabel",
|
|
486
486
|
"type": "ReactNode",
|
|
487
487
|
"defaultValue": "—",
|
|
488
488
|
"appliesTo": "TimelineItem",
|
|
489
|
-
"description": "
|
|
489
|
+
"description": "The text in place of the formatted time"
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
492
|
"name": "marker",
|
|
493
493
|
"type": "ReactNode",
|
|
494
494
|
"defaultValue": "—",
|
|
495
495
|
"appliesTo": "TimelineItem",
|
|
496
|
-
"description": "
|
|
496
|
+
"description": "What the marker holds in place of the dot"
|
|
497
497
|
},
|
|
498
498
|
{
|
|
499
499
|
"name": "opposite",
|
|
500
500
|
"type": "ReactNode",
|
|
501
501
|
"defaultValue": "—",
|
|
502
502
|
"appliesTo": "TimelineItem",
|
|
503
|
-
"description": "
|
|
503
|
+
"description": "The other side of the line"
|
|
504
504
|
},
|
|
505
505
|
{
|
|
506
506
|
"name": "actions",
|
|
507
507
|
"type": "ReactNode",
|
|
508
508
|
"defaultValue": "—",
|
|
509
509
|
"appliesTo": "TimelineItem",
|
|
510
|
-
"description": "
|
|
510
|
+
"description": "The row of controls"
|
|
511
511
|
},
|
|
512
512
|
{
|
|
513
513
|
"name": "current",
|
|
514
514
|
"type": "boolean",
|
|
515
515
|
"defaultValue": "false",
|
|
516
516
|
"appliesTo": "TimelineItem",
|
|
517
|
-
"description": "
|
|
517
|
+
"description": "The event the reader is at: aria-current"
|
|
518
518
|
},
|
|
519
519
|
{
|
|
520
520
|
"name": "complete",
|
|
521
521
|
"type": "boolean",
|
|
522
522
|
"defaultValue": "—",
|
|
523
523
|
"appliesTo": "TimelineItem",
|
|
524
|
-
"description": "
|
|
524
|
+
"description": "Complete; wins over the derivation"
|
|
525
525
|
},
|
|
526
526
|
{
|
|
527
527
|
"name": "loading",
|
|
528
528
|
"type": "boolean",
|
|
529
529
|
"defaultValue": "false",
|
|
530
530
|
"appliesTo": "TimelineItem",
|
|
531
|
-
"description": "
|
|
531
|
+
"description": "Still arriving: the marker spins the ring"
|
|
532
532
|
},
|
|
533
533
|
{
|
|
534
534
|
"name": "connector",
|
|
535
535
|
"type": "'solid' | 'dashed' | 'none'",
|
|
536
536
|
"defaultValue": "—",
|
|
537
537
|
"appliesTo": "TimelineItem",
|
|
538
|
-
"description": "
|
|
538
|
+
"description": "The line after this event"
|
|
539
539
|
},
|
|
540
540
|
{
|
|
541
541
|
"name": "side",
|
|
542
542
|
"type": "'start' | 'end'",
|
|
543
543
|
"defaultValue": "—",
|
|
544
544
|
"appliesTo": "TimelineItem",
|
|
545
|
-
"description": "
|
|
545
|
+
"description": "The side under alternate; parity without it"
|
|
546
546
|
},
|
|
547
547
|
{
|
|
548
548
|
"name": "tone",
|
|
549
549
|
"type": "TimelineTone",
|
|
550
550
|
"defaultValue": "—",
|
|
551
551
|
"appliesTo": "TimelineItem",
|
|
552
|
-
"description": "
|
|
552
|
+
"description": "The tone of this event, over the root’s"
|
|
553
553
|
},
|
|
554
554
|
{
|
|
555
555
|
"name": "variant",
|
|
556
556
|
"type": "TimelineVariant",
|
|
557
557
|
"defaultValue": "—",
|
|
558
558
|
"appliesTo": "TimelineItem",
|
|
559
|
-
"description": "
|
|
559
|
+
"description": "The appearance of this event, over the root’s"
|
|
560
560
|
},
|
|
561
561
|
{
|
|
562
562
|
"name": "value",
|
|
563
563
|
"type": "PlainDateTime | string",
|
|
564
564
|
"defaultValue": "—",
|
|
565
565
|
"appliesTo": "TimelineTime",
|
|
566
|
-
"description": "
|
|
566
|
+
"description": "The machine value, written in datetime"
|
|
567
567
|
}
|
|
568
568
|
],
|
|
569
569
|
"composition": [
|
|
@@ -572,61 +572,61 @@
|
|
|
572
572
|
"type": "(props) => ReactNode",
|
|
573
573
|
"defaultValue": "—",
|
|
574
574
|
"appliesTo": "Timeline, TimelineGroup, TimelineItem",
|
|
575
|
-
"description": "
|
|
575
|
+
"description": "Replaces the rendered element. Every data attribute is handed over, and a feed article keeps its role."
|
|
576
576
|
},
|
|
577
577
|
{
|
|
578
578
|
"name": "ref",
|
|
579
579
|
"type": "Ref<HTMLElement>",
|
|
580
580
|
"defaultValue": "—",
|
|
581
|
-
"appliesTo": "
|
|
582
|
-
"description": "
|
|
581
|
+
"appliesTo": "every part",
|
|
582
|
+
"description": "Reaches the element"
|
|
583
583
|
},
|
|
584
584
|
{
|
|
585
585
|
"name": "useTimeline()",
|
|
586
586
|
"type": "() => TimelineContextValue",
|
|
587
587
|
"defaultValue": "—",
|
|
588
|
-
"appliesTo": "
|
|
589
|
-
"description": "
|
|
588
|
+
"appliesTo": "inside a Timeline",
|
|
589
|
+
"description": "The resolved axes, the messages, and focusItem(index) — moving focus to a feed article, the action a prop does not express"
|
|
590
590
|
},
|
|
591
591
|
{
|
|
592
592
|
"name": "TimelineTime",
|
|
593
593
|
"type": "{ value, format, locale, timeZone, now }",
|
|
594
594
|
"defaultValue": "—",
|
|
595
|
-
"appliesTo": "
|
|
596
|
-
"description": "
|
|
595
|
+
"appliesTo": "anywhere",
|
|
596
|
+
"description": "The time part alone, for an opposite column or a table cell; reads the root when there is one"
|
|
597
597
|
},
|
|
598
598
|
{
|
|
599
599
|
"name": "TimelineDefaultsProvider",
|
|
600
600
|
"type": "mode | orientation | placement | order | variant | tone | size | growing | timeFormat | timeZone | now | level",
|
|
601
601
|
"defaultValue": "—",
|
|
602
|
-
"appliesTo": "
|
|
603
|
-
"description": "
|
|
602
|
+
"appliesTo": "Application",
|
|
603
|
+
"description": "Decides the fourteen once for everything below; a prop on the timeline wins"
|
|
604
604
|
}
|
|
605
605
|
],
|
|
606
606
|
"events": [
|
|
607
607
|
{
|
|
608
608
|
"name": "onOpenChange",
|
|
609
609
|
"payload": "(open: boolean, request: ChangeRequest<boolean>)",
|
|
610
|
-
"when": "
|
|
610
|
+
"when": "On TimelineGroup, before the group opens or closes. The request carries the previous value, the reason — pointer, keyboard or programmatic — and the source event; cancelling it moves nothing."
|
|
611
611
|
},
|
|
612
612
|
{
|
|
613
613
|
"name": "onLoadMore",
|
|
614
614
|
"payload": "(reason: \"pointer\" | \"keyboard\" | \"scroll\", event?)",
|
|
615
|
-
"when": "
|
|
615
|
+
"when": "When the reader presses the load-more button, or when the sentinel enters the scroller under growing=\"scroll\". There is no value to hold: the consumer appends to the array."
|
|
616
616
|
},
|
|
617
617
|
{
|
|
618
618
|
"name": "onReveal",
|
|
619
619
|
"payload": "(reason: \"pointer\" | \"keyboard\", event?)",
|
|
620
|
-
"when": "
|
|
620
|
+
"when": "When the reader presses the new-events pill. The consumer joins the events it was holding to the array and sets freshCount to zero."
|
|
621
621
|
}
|
|
622
622
|
],
|
|
623
623
|
"accessibility": [
|
|
624
|
-
"
|
|
625
|
-
"
|
|
626
|
-
"
|
|
627
|
-
"
|
|
628
|
-
"
|
|
629
|
-
"
|
|
624
|
+
"In list the list is an ol and each event an li: the sequence and the set size come from the platform without a line of ARIA, and the keyboard is that of the links and buttons the consumer writes. There is no invented role on a list that does not grow.",
|
|
625
|
+
"In feed the list is role=\"feed\" and each event an article with tabindex=\"0\", aria-posinset, aria-setsize — the declared total, the loaded count when the list does not grow, -1 when it can grow — aria-labelledby with title, actor and time in that order, and aria-describedby with the description. It is the APG Feed pattern item by item, and an li does not accept the article role: so the element changes with the mode.",
|
|
626
|
+
"The current event carries aria-current=\"true\" and a visually-hidden element with the current message after the title, because not every screen reader speaks aria-current inside an article. Complete and loading are shapes — a disc with a check, the spinner ring — and not colors only.",
|
|
627
|
+
"A collapsible group is the Disclosure pattern: the heading contains a button with aria-expanded and aria-controls, and the closed list receives hidden without leaving the DOM. The button name is the period followed by \", Show events\" or \", Hide events\": the expand and collapse messages bring their own separator.",
|
|
628
|
+
"The time is always a time element with datetime, the value the screen reader and the search engine read; the text follows the declared locale and time zone, and a relative reading leaves the absolute one in title.",
|
|
629
|
+
"New events are announced in polite once per count change, and stay behind a button until the reader asks for them, so nothing moves under what is being read."
|
|
630
630
|
]
|
|
631
631
|
}
|
|
632
632
|
},
|
|
@@ -730,121 +730,121 @@
|
|
|
730
730
|
{
|
|
731
731
|
"id": "playground",
|
|
732
732
|
"title": "Playground",
|
|
733
|
-
"note": "
|
|
733
|
+
"note": "Every axis on an invoice, moved by the controls below the stage. Switch mode to feed and the same list becomes focusable articles.",
|
|
734
734
|
"language": "tsx",
|
|
735
|
-
"source": "<Timeline label=\"
|
|
735
|
+
"source": "<Timeline label=\"Invoice activity\" locale=\"en-US\" timeZone=\"America/Sao_Paulo\">\n <TimelineItem\n actor=\"Ana Ribeiro\"\n description=\"Draft INV-4821 for Solaris Freight.\"\n time=\"2026-09-08T09:12:00Z\"\n title=\"Invoice created\"\n />\n <TimelineItem current time=\"2026-09-14T10:32:00Z\" title=\"Paid\" tone=\"success\" />\n</Timeline>;\n",
|
|
736
736
|
"verdict": "excerpt"
|
|
737
737
|
},
|
|
738
738
|
{
|
|
739
739
|
"id": "feed",
|
|
740
|
-
"title": "
|
|
741
|
-
"note": "
|
|
740
|
+
"title": "A feed that is a feed",
|
|
741
|
+
"note": "With mode=\"feed\" the list is role=\"feed\" and each event an article with aria-posinset, aria-setsize and the label read from the title, the actor and the time. Tab stops on each article; PageDown and PageUp jump between them.",
|
|
742
742
|
"language": "tsx",
|
|
743
|
-
"source": "<Timeline count={120} growing=\"button\" label=\"
|
|
743
|
+
"source": "<Timeline count={120} growing=\"button\" label=\"Activity\" mode=\"feed\" onLoadMore={load}>\n {events.map((event) => (\n <TimelineItem key={event.id} {...event} />\n ))}\n</Timeline>;\n",
|
|
744
744
|
"verdict": "excerpt"
|
|
745
745
|
},
|
|
746
746
|
{
|
|
747
747
|
"id": "placement",
|
|
748
|
-
"title": "
|
|
749
|
-
"note": "end
|
|
748
|
+
"title": "Which side of the line",
|
|
749
|
+
"note": "end is the default; start mirrors the row; alternate puts the line in the middle and the events take turns. The opposite part always takes the side the body does not take, and below thirty rems alternate falls back to one side.",
|
|
750
750
|
"language": "tsx",
|
|
751
|
-
"source": "<Timeline placement=\"alternate\">\n <TimelineItem\n opposite={<TimelineTime value=\"2026-06-02T00:00:00Z\" />}\n title=\"2.12 —
|
|
751
|
+
"source": "<Timeline placement=\"alternate\">\n <TimelineItem\n opposite={<TimelineTime value=\"2026-06-02T00:00:00Z\" />}\n title=\"2.12 — Recurring invoices\"\n />\n</Timeline>;\n",
|
|
752
752
|
"verdict": "excerpt"
|
|
753
753
|
},
|
|
754
754
|
{
|
|
755
755
|
"id": "orientation",
|
|
756
|
-
"title": "
|
|
757
|
-
"note": "horizontal
|
|
756
|
+
"title": "A row of events",
|
|
757
|
+
"note": "horizontal turns the line on its side, with equal columns that scroll on the inline axis when there are more events than width. Below thirty rems of its own width it becomes a column again; reflow={false} turns that off.",
|
|
758
758
|
"language": "tsx",
|
|
759
759
|
"source": "<Timeline autoComplete orientation=\"horizontal\">\n {stages}\n</Timeline>;\n",
|
|
760
760
|
"verdict": "excerpt"
|
|
761
761
|
},
|
|
762
762
|
{
|
|
763
763
|
"id": "order",
|
|
764
|
-
"title": "
|
|
765
|
-
"note": "order
|
|
764
|
+
"title": "The order is declared, never reversed",
|
|
765
|
+
"note": "order says what the list is and does not reorder the array: the consumer sorts. The order decides where autoComplete cuts — in oldest-first the past is before the current event, in newest-first after it.",
|
|
766
766
|
"language": "tsx",
|
|
767
|
-
"source": "<Timeline autoComplete order=\"newest-first\">\n <TimelineItem title=\"
|
|
767
|
+
"source": "<Timeline autoComplete order=\"newest-first\">\n <TimelineItem title=\"Delivered\" />\n <TimelineItem current title=\"In transit\" />\n <TimelineItem title=\"Packed\" />\n</Timeline>;\n",
|
|
768
768
|
"verdict": "excerpt"
|
|
769
769
|
},
|
|
770
770
|
{
|
|
771
771
|
"id": "statuses",
|
|
772
|
-
"title": "
|
|
773
|
-
"note": "
|
|
772
|
+
"title": "What an event can be",
|
|
773
|
+
"note": "Each state is a shape as well as a color: pending is the shape of the variant, current is a filled disc with a ring, complete is a filled disc with a cut-out check, loading is the spinner at the size of the dot. autoComplete derives complete for the past side of the current event and dashes the future.",
|
|
774
774
|
"language": "tsx",
|
|
775
|
-
"source": "<Timeline autoComplete tone=\"accent\">\n <TimelineItem title=\"
|
|
775
|
+
"source": "<Timeline autoComplete tone=\"accent\">\n <TimelineItem title=\"Order confirmed\" />\n <TimelineItem current title=\"In transit\" />\n <TimelineItem title=\"Out for delivery\" />\n <TimelineItem loading title=\"Delivered\" />\n</Timeline>;\n",
|
|
776
776
|
"verdict": "excerpt"
|
|
777
777
|
},
|
|
778
778
|
{
|
|
779
779
|
"id": "appearance",
|
|
780
|
-
"title": "
|
|
781
|
-
"note": "variant
|
|
780
|
+
"title": "Appearance and size",
|
|
781
|
+
"note": "variant on the root or per event: outline separates the marker from the line in any scheme, solid fills, subtle is a background with a thin edge, plain is the dot without a ring for a row of small events. tone paints the marker with one of the five tones; size picks the step.",
|
|
782
782
|
"language": "tsx",
|
|
783
|
-
"source": "<Timeline size=\"sm\" variant=\"plain\">\n <TimelineItem title=\"Commit 4f2a\" />\n <TimelineItem title=\"
|
|
783
|
+
"source": "<Timeline size=\"sm\" variant=\"plain\">\n <TimelineItem title=\"Commit 4f2a\" />\n <TimelineItem title=\"Tests failed\" tone=\"danger\" variant=\"solid\" />\n</Timeline>;\n",
|
|
784
784
|
"verdict": "excerpt"
|
|
785
785
|
},
|
|
786
786
|
{
|
|
787
787
|
"id": "groups",
|
|
788
|
-
"title": "
|
|
789
|
-
"note": "
|
|
788
|
+
"title": "Grouping by period",
|
|
789
|
+
"note": "The consumer groups, because the period belongs to the domain. A group is a heading of the declared level over its own list; collapsible turns the heading into a button with aria-expanded, and the closed list stays in the DOM with hidden.",
|
|
790
790
|
"language": "tsx",
|
|
791
|
-
"source": "<Timeline level={3}>\n <TimelineGroup collapsible label=\"
|
|
791
|
+
"source": "<Timeline level={3}>\n <TimelineGroup collapsible label=\"Today\">\n <TimelineItem title=\"Paid\" />\n </TimelineGroup>\n <TimelineGroup collapsible defaultOpen={false} label=\"Last week\">\n <TimelineItem title=\"Sent\" />\n </TimelineGroup>\n</Timeline>;\n",
|
|
792
792
|
"verdict": "excerpt"
|
|
793
793
|
},
|
|
794
794
|
{
|
|
795
795
|
"id": "growing",
|
|
796
|
-
"title": "
|
|
797
|
-
"note": "growing=\"button\"
|
|
796
|
+
"title": "Loading more",
|
|
797
|
+
"note": "growing=\"button\" puts a button at the end of what was loaded and asks with pointer or keyboard; growing=\"scroll\" asks with scroll when the end enters the scroller. While loading, the end shows the ring and the root is aria-busy.",
|
|
798
798
|
"language": "tsx",
|
|
799
799
|
"source": "<Timeline growing=\"button\" loading={pending} onLoadMore={(reason) => fetchMore()}>\n {events}\n</Timeline>;\n",
|
|
800
800
|
"verdict": "excerpt"
|
|
801
801
|
},
|
|
802
802
|
{
|
|
803
803
|
"id": "fresh",
|
|
804
|
-
"title": "
|
|
805
|
-
"note": "
|
|
804
|
+
"title": "New events while the reader reads",
|
|
805
|
+
"note": "A feed that inserts at the top pushes what is being read. With freshCount, the family holds the new events behind a pill, announces the count in polite, and onReveal is the moment the consumer joins them to the array. The pill leaves with a transition, and focus that was on it moves to the first revealed event.",
|
|
806
806
|
"language": "tsx",
|
|
807
807
|
"source": "<Timeline freshCount={held.length} mode=\"feed\" onReveal={() => setEvents([...held, ...events])}>\n {events}\n</Timeline>;\n",
|
|
808
808
|
"verdict": "excerpt"
|
|
809
809
|
},
|
|
810
810
|
{
|
|
811
811
|
"id": "timestamps",
|
|
812
|
-
"title": "
|
|
813
|
-
"note": "time
|
|
812
|
+
"title": "Machine time, explicit time zone",
|
|
813
|
+
"note": "time accepts an ISO instant with a zone designator, written in the declared timeZone, or a wall-clock value without a zone, written as it is. datetime always carries the machine value; timeFormat=\"relative\" writes \"2 hours ago\" and keeps the absolute value in title.",
|
|
814
814
|
"language": "tsx",
|
|
815
|
-
"source": "<SlottedProvider locale=\"
|
|
815
|
+
"source": "<SlottedProvider locale=\"en-US\">\n <TimelineDefaultsProvider now={Date.now()} timeZone=\"America/Sao_Paulo\">\n <Timeline timeFormat=\"relative\">\n <TimelineItem time=\"2026-09-14T10:32:00Z\" title=\"Paid\" />\n </Timeline>\n </TimelineDefaultsProvider>\n</SlottedProvider>;\n",
|
|
816
816
|
"verdict": "excerpt"
|
|
817
817
|
},
|
|
818
818
|
{
|
|
819
819
|
"id": "content",
|
|
820
|
-
"title": "
|
|
821
|
-
"note": "
|
|
820
|
+
"title": "Content the family did not choose",
|
|
821
|
+
"note": "A nine-word title, an unbreakable reference, an Arabic title, an avatar in the marker, an event without a title. The marker never leaves the first line and the line never leaves the center.",
|
|
822
822
|
"language": "tsx",
|
|
823
|
-
"source": "<TimelineItem\n marker={<Avatar name=\"Ana Ribeiro\" />}\n title=\"
|
|
823
|
+
"source": "<TimelineItem\n marker={<Avatar name=\"Ana Ribeiro\" />}\n title=\"Approved the revised quote for the shipment program\"\n/>;\n",
|
|
824
824
|
"verdict": "excerpt"
|
|
825
825
|
},
|
|
826
826
|
{
|
|
827
827
|
"id": "composition",
|
|
828
|
-
"title": "
|
|
829
|
-
"note": "
|
|
828
|
+
"title": "Composition",
|
|
829
|
+
"note": "The title is whatever the consumer gives it — a Link — and the actions are buttons of the button family. Expandable content is a Collapsible inside the body. useTimeline() gives focusItem for the feed, and TimelineDefaultsProvider decides once for the application.",
|
|
830
830
|
"language": "tsx",
|
|
831
|
-
"source": "<TimelineItem\n actions={<Button size=\"sm\">
|
|
831
|
+
"source": "<TimelineItem\n actions={<Button size=\"sm\">Retry</Button>}\n title={<Link href=\"/invoices/4821\">Payment failed</Link>}\n>\n <Collapsible variant=\"plain\">\n <Collapsible.Trigger>View the issuer response</Collapsible.Trigger>\n <Collapsible.Panel>Code 05: do not honor.</Collapsible.Panel>\n </Collapsible>\n</TimelineItem>;\n",
|
|
832
832
|
"verdict": "excerpt"
|
|
833
833
|
},
|
|
834
834
|
{
|
|
835
835
|
"id": "empty",
|
|
836
|
-
"title": "
|
|
837
|
-
"note": "
|
|
836
|
+
"title": "No events",
|
|
837
|
+
"note": "Without items and without loading, the empty part takes the place of the list with the family message or with whatever the consumer projects — a result-state, for example.",
|
|
838
838
|
"language": "tsx",
|
|
839
|
-
"source": "<Timeline empty={<ResultState status=\"empty\" title=\"
|
|
839
|
+
"source": "<Timeline empty={<ResultState status=\"empty\" title=\"No events yet\" />} />;\n",
|
|
840
840
|
"verdict": "excerpt"
|
|
841
841
|
},
|
|
842
842
|
{
|
|
843
843
|
"id": "keyboard",
|
|
844
|
-
"title": "
|
|
845
|
-
"note": "
|
|
844
|
+
"title": "Keyboard",
|
|
845
|
+
"note": "In list the keyboard is the platform’s: Tab goes through the links and buttons of the body. In feed, Tab stops on each article, PageDown and PageUp jump between articles, Control+End and Control+Home leave the feed for the next or previous focusable element.",
|
|
846
846
|
"language": "tsx",
|
|
847
|
-
"source": "// \"
|
|
847
|
+
"source": "// \"Paid, Solaris Freight, 2 hours ago, article 1 of 3\" — title, actor and time,\n// and the position, because each article carries aria-labelledby and aria-posinset.\n<Timeline label=\"Activity\" mode=\"feed\">\n {events}\n</Timeline>;\n",
|
|
848
848
|
"verdict": "excerpt"
|
|
849
849
|
}
|
|
850
850
|
]
|