@slotted/react 0.1.0-beta.42 → 0.1.0-beta.44
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/action-sheet-q1UXXruJ.js +360 -0
- package/dist/action-sheet.js +1 -1
- package/dist/{app-shell-D54YkU7E.js → app-shell-BBPY0_KK.js} +217 -195
- package/dist/app-shell.js +1 -1
- package/dist/attachment-DJDXJrCx.js +300 -0
- package/dist/attachment.js +2 -2
- package/dist/{avatar-group-bJaZE1_C.js → avatar-group-Bzmmj2HI.js} +2 -1
- package/dist/avatar-group.js +1 -1
- package/dist/{button-BMRInd-t.js → button-DS_HpPy0.js} +1 -1
- package/dist/button.js +2 -2
- package/dist/{calendar-YQ784o4d.js → calendar-BO5teotM.js} +1 -1
- package/dist/calendar.js +1 -1
- package/dist/{carousel-B9nMK7Yf.js → carousel-CRNz-T3g.js} +1 -1
- package/dist/carousel.js +1 -1
- package/dist/{cascader-fq8fNWSr.js → cascader-BbhADVGt.js} +134 -131
- package/dist/cascader.js +1 -1
- package/dist/{chart-vedR0BDN.js → chart-C4uPgUW8.js} +2 -2
- package/dist/chart.js +1 -1
- package/dist/{checkbox-DsJhlB5c.js → checkbox-D8HZG0be.js} +3 -3
- package/dist/{checkbox-group-pvX9R_yS.js → checkbox-group-5zuE2Kd1.js} +2 -2
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{clock-DzkQa57Q.js → clock-DeJgwYbZ.js} +1 -1
- package/dist/clock.js +1 -1
- package/dist/{code-block-Cy548yk7.js → code-block-H0lmVVnY.js} +1 -1
- package/dist/code-block.js +1 -1
- package/dist/{color-picker-i-MJ5VVs.js → color-picker-fiLSUBjj.js} +23 -18
- package/dist/color-picker.js +1 -1
- package/dist/{column-manager-D028QbfO.js → column-manager-Cc72e1j-.js} +143 -143
- package/dist/column-manager.js +1 -1
- package/dist/{combobox-599heRN_.js → combobox-DMtXrMYE.js} +1 -1
- package/dist/combobox.js +1 -1
- package/dist/{command-palette-C90CzfQi.js → command-palette-DwjkexvN.js} +174 -162
- package/dist/command-palette.js +1 -1
- package/dist/{context-menu-WM_tT9hz.js → context-menu-CRRp-PhP.js} +12 -6
- package/dist/context-menu.js +1 -1
- package/dist/{currency-field-rS36pjCO.js → currency-field-Cxr8MT75.js} +1 -1
- package/dist/currency-field.js +1 -1
- package/dist/{dashboard-grid-Dh2Q3IQv.js → dashboard-grid-_3H4G0dP.js} +339 -333
- package/dist/dashboard-grid.js +1 -1
- package/dist/{data-grid-D106baPp.js → data-grid-BlElqHOU.js} +19 -19
- package/dist/data-grid.js +1 -1
- package/dist/{data-list-BA0xrySM.js → data-list-5zvM-DUz.js} +19 -18
- package/dist/data-list.js +1 -1
- package/dist/{date-field-BZ5JcvXJ.js → date-field-CjlOWVRA.js} +1 -1
- package/dist/date-field.js +1 -1
- package/dist/{date-picker-BvEbsbJC.js → date-picker-BoIHK8_U.js} +4 -4
- package/dist/date-picker.js +2 -2
- package/dist/{date-range-picker-uIr-yReE.js → date-range-picker-DzuuvudX.js} +5 -5
- package/dist/date-range-picker.js +1 -1
- package/dist/{datetime-field-DDs3mV9Z.js → datetime-field-PSEOgzfN.js} +1 -1
- package/dist/datetime-field.js +1 -1
- package/dist/{datetime-picker-DDYXqrjm.js → datetime-picker-BUhSr8yp.js} +7 -7
- package/dist/datetime-picker.js +1 -1
- package/dist/{datetime-range-picker-CFTHW771.js → datetime-range-picker-DXllehEN.js} +7 -7
- package/dist/datetime-range-picker.js +1 -1
- package/dist/{description-list-D8iTzgC0.js → description-list-1USVlDj3.js} +5 -1
- package/dist/description-list.js +1 -1
- package/dist/detail-panel-Czs05E_D.js +344 -0
- package/dist/detail-panel.js +2 -2
- package/dist/docs/action-bar.examples.md +768 -0
- package/dist/docs/action-bar.json +74 -50
- package/dist/docs/action-bar.md +49 -311
- package/dist/docs/action-sheet.examples.md +1 -1
- package/dist/docs/action-sheet.json +3 -3
- package/dist/docs/action-sheet.md +2 -2
- package/dist/docs/app-shell.examples.md +1273 -64
- package/dist/docs/app-shell.json +93 -60
- package/dist/docs/app-shell.md +98 -58
- package/dist/docs/attachment.examples.md +689 -0
- package/dist/docs/attachment.json +69 -37
- package/dist/docs/attachment.md +44 -203
- package/dist/docs/avatar-group.examples.md +790 -0
- package/dist/docs/avatar-group.json +111 -23
- package/dist/docs/avatar-group.md +46 -86
- package/dist/docs/avatar.json +6 -6
- package/dist/docs/avatar.md +43 -10
- package/dist/docs/badge.json +1 -1
- package/dist/docs/badge.md +15 -3
- package/dist/docs/button-group.json +98 -2
- package/dist/docs/button-group.md +411 -8
- package/dist/docs/button.json +2 -0
- package/dist/docs/button.md +1 -1
- package/dist/docs/calendar.examples.md +512 -0
- package/dist/docs/calendar.json +72 -25
- package/dist/docs/calendar.md +19 -148
- package/dist/docs/carousel.examples.md +868 -0
- package/dist/docs/carousel.json +60 -50
- package/dist/docs/carousel.md +67 -301
- package/dist/docs/cascader.examples.md +1269 -0
- package/dist/docs/cascader.json +72 -16
- package/dist/docs/cascader.md +78 -154
- package/dist/docs/chart.examples.md +734 -24
- package/dist/docs/chart.json +93 -13
- package/dist/docs/chart.md +28 -7
- package/dist/docs/clock.json +75 -19
- package/dist/docs/clock.md +328 -23
- package/dist/docs/code-block.json +79 -55
- package/dist/docs/code-block.md +417 -74
- package/dist/docs/collapsible.json +10 -1
- package/dist/docs/collapsible.md +1 -1
- package/dist/docs/color-picker.json +74 -13
- package/dist/docs/color-picker.md +247 -23
- package/dist/docs/column-manager.examples.md +764 -0
- package/dist/docs/column-manager.json +68 -12
- package/dist/docs/column-manager.md +44 -203
- package/dist/docs/command-palette.examples.md +747 -0
- package/dist/docs/command-palette.json +48 -24
- package/dist/docs/command-palette.md +60 -339
- package/dist/docs/currency-field.examples.md +355 -73
- package/dist/docs/currency-field.json +96 -64
- package/dist/docs/currency-field.md +57 -50
- package/dist/docs/dashboard-grid.examples.md +629 -0
- package/dist/docs/dashboard-grid.json +64 -16
- package/dist/docs/dashboard-grid.md +34 -152
- package/dist/docs/data-list.examples.md +1556 -0
- package/dist/docs/data-list.json +58 -18
- package/dist/docs/data-list.md +139 -224
- package/dist/docs/date-field.examples.md +543 -0
- package/dist/docs/date-field.json +64 -24
- package/dist/docs/date-field.md +22 -168
- package/dist/docs/datetime-field.examples.md +699 -0
- package/dist/docs/datetime-field.json +79 -31
- package/dist/docs/datetime-field.md +24 -269
- package/dist/docs/datetime-range-picker.examples.md +682 -0
- package/dist/docs/datetime-range-picker.json +117 -61
- package/dist/docs/datetime-range-picker.md +59 -224
- package/dist/docs/description-list.examples.md +652 -0
- package/dist/docs/description-list.json +56 -25
- package/dist/docs/description-list.md +34 -188
- package/dist/docs/detail-panel.examples.md +1177 -0
- package/dist/docs/detail-panel.json +69 -53
- package/dist/docs/detail-panel.md +114 -324
- package/dist/docs/drawer.examples.md +1 -1
- package/dist/docs/drawer.json +4 -4
- package/dist/docs/entity-picker.examples.md +1160 -0
- package/dist/docs/entity-picker.json +66 -18
- package/dist/docs/entity-picker.md +72 -247
- package/dist/docs/event-calendar.examples.md +749 -49
- package/dist/docs/event-calendar.json +53 -22
- package/dist/docs/event-calendar.md +82 -11
- package/dist/docs/field-group.examples.md +554 -0
- package/dist/docs/field-group.json +98 -34
- package/dist/docs/field-group.md +55 -133
- package/dist/docs/filter-bar.examples.md +772 -0
- package/dist/docs/filter-bar.json +42 -25
- package/dist/docs/filter-bar.md +43 -247
- package/dist/docs/floating-panel.json +7 -3
- package/dist/docs/floating-panel.md +23 -5
- package/dist/docs/form.examples.md +579 -0
- package/dist/docs/form.json +87 -39
- package/dist/docs/form.md +53 -177
- package/dist/docs/fullscreen.examples.md +558 -0
- package/dist/docs/fullscreen.json +58 -18
- package/dist/docs/fullscreen.md +50 -169
- package/dist/docs/highlight.json +57 -25
- package/dist/docs/highlight.md +402 -50
- package/dist/docs/hover-card.json +8 -1
- package/dist/docs/hover-card.md +5 -1
- package/dist/docs/icon.json +85 -5
- package/dist/docs/icon.md +401 -10
- package/dist/docs/image.examples.md +670 -0
- package/dist/docs/image.json +44 -28
- package/dist/docs/image.md +24 -176
- package/dist/docs/import-export-center.examples.md +1280 -0
- package/dist/docs/import-export-center.json +69 -39
- package/dist/docs/import-export-center.md +123 -229
- package/dist/docs/inline-message.json +8 -8
- package/dist/docs/inline-message.md +37 -31
- package/dist/docs/inline.json +1 -1
- package/dist/docs/inline.md +4 -1
- package/dist/docs/list-item.examples.md +769 -0
- package/dist/docs/list-item.json +113 -38
- package/dist/docs/list-item.md +85 -202
- package/dist/docs/listbox.examples.md +858 -0
- package/dist/docs/listbox.json +76 -28
- package/dist/docs/listbox.md +41 -263
- package/dist/docs/markdown.json +79 -55
- package/dist/docs/markdown.md +585 -85
- package/dist/docs/media-viewer.examples.md +1038 -0
- package/dist/docs/media-viewer.json +70 -15
- package/dist/docs/media-viewer.md +84 -135
- package/dist/docs/menu.examples.md +14 -2
- package/dist/docs/menu.json +1 -1
- package/dist/docs/message-scroller.examples.md +1359 -0
- package/dist/docs/message-scroller.json +41 -17
- package/dist/docs/message-scroller.md +93 -134
- package/dist/docs/message.examples.md +954 -0
- package/dist/docs/message.json +68 -18
- package/dist/docs/message.md +39 -327
- package/dist/docs/meter.json +58 -26
- package/dist/docs/meter.md +312 -32
- package/dist/docs/navigation-menu.examples.md +1116 -0
- package/dist/docs/navigation-menu.json +57 -41
- package/dist/docs/navigation-menu.md +105 -298
- package/dist/docs/notification-center.examples.md +1045 -0
- package/dist/docs/notification-center.json +71 -15
- package/dist/docs/notification-center.md +76 -266
- package/dist/docs/otp-input.examples.md +490 -0
- package/dist/docs/otp-input.json +65 -25
- package/dist/docs/otp-input.md +20 -191
- package/dist/docs/page-header.examples.md +1062 -0
- package/dist/docs/page-header.json +83 -43
- package/dist/docs/page-header.md +80 -292
- package/dist/docs/page.examples.md +651 -0
- package/dist/docs/page.json +48 -16
- package/dist/docs/page.md +62 -129
- package/dist/docs/popover.json +17 -2
- package/dist/docs/popover.md +2 -0
- package/dist/docs/progress-indicator.json +10 -1
- package/dist/docs/progress-indicator.md +2 -1
- package/dist/docs/prompt-composer.examples.md +630 -0
- package/dist/docs/prompt-composer.json +66 -18
- package/dist/docs/prompt-composer.md +35 -161
- package/dist/docs/prose.json +69 -37
- package/dist/docs/prose.md +393 -75
- package/dist/docs/rating.examples.md +525 -0
- package/dist/docs/rating.json +92 -28
- package/dist/docs/rating.md +27 -241
- package/dist/docs/saved-views.examples.md +1097 -0
- package/dist/docs/saved-views.json +53 -21
- package/dist/docs/saved-views.md +85 -171
- package/dist/docs/scroll-area.examples.md +837 -0
- package/dist/docs/scroll-area.json +64 -24
- package/dist/docs/scroll-area.md +57 -140
- package/dist/docs/section.examples.md +679 -0
- package/dist/docs/section.json +68 -20
- package/dist/docs/section.md +39 -162
- package/dist/docs/segmented-control.examples.md +480 -0
- package/dist/docs/segmented-control.json +78 -28
- package/dist/docs/segmented-control.md +21 -192
- package/dist/docs/side-navigation.examples.md +1473 -0
- package/dist/docs/side-navigation.json +53 -53
- package/dist/docs/side-navigation.md +79 -354
- package/dist/docs/skeleton.json +2 -2
- package/dist/docs/skeleton.md +2 -2
- package/dist/docs/slider.examples.md +505 -0
- package/dist/docs/slider.json +91 -51
- package/dist/docs/slider.md +47 -212
- package/dist/docs/sparkline.json +60 -36
- package/dist/docs/sparkline.md +447 -71
- package/dist/docs/split-button.examples.md +509 -0
- package/dist/docs/split-button.json +73 -41
- package/dist/docs/split-button.md +64 -194
- package/dist/docs/splitter.examples.md +921 -0
- package/dist/docs/splitter.json +94 -46
- package/dist/docs/splitter.md +75 -182
- package/dist/docs/stat-card.examples.md +725 -0
- package/dist/docs/stat-card.json +89 -41
- package/dist/docs/stat-card.md +55 -227
- package/dist/docs/status-indicator.json +80 -33
- package/dist/docs/status-indicator.md +410 -66
- package/dist/docs/stepper.json +53 -21
- package/dist/docs/stepper.md +363 -48
- package/dist/docs/table-of-contents.examples.md +550 -0
- package/dist/docs/table-of-contents.json +60 -28
- package/dist/docs/table-of-contents.md +70 -205
- package/dist/docs/table.json +2 -1
- package/dist/docs/table.md +2 -2
- package/dist/docs/tabs.examples.md +6 -4
- package/dist/docs/tabs.json +7 -5
- package/dist/docs/tabs.md +2 -2
- package/dist/docs/tags-input.examples.md +541 -0
- package/dist/docs/tags-input.json +64 -16
- package/dist/docs/tags-input.md +15 -262
- package/dist/docs/time-field.examples.md +587 -0
- package/dist/docs/time-field.json +69 -29
- package/dist/docs/time-field.md +21 -223
- package/dist/docs/time-picker.json +117 -53
- package/dist/docs/time-picker.md +499 -54
- package/dist/docs/time-range-picker.examples.md +750 -0
- package/dist/docs/time-range-picker.json +139 -75
- package/dist/docs/time-range-picker.md +63 -225
- package/dist/docs/timeline.examples.md +622 -0
- package/dist/docs/timeline.json +44 -28
- package/dist/docs/timeline.md +34 -208
- package/dist/docs/toggle-group.json +2 -0
- package/dist/docs/toggle-group.md +1 -1
- package/dist/docs/toggle.json +2 -0
- package/dist/docs/toggle.md +1 -1
- package/dist/docs/tokens.md +8 -0
- package/dist/docs/toolbar.examples.md +529 -0
- package/dist/docs/toolbar.json +58 -18
- package/dist/docs/toolbar.md +36 -171
- package/dist/docs/tooltip.examples.md +46 -0
- package/dist/docs/tooltip.json +23 -0
- package/dist/docs/tooltip.md +2 -0
- package/dist/docs/top-navigation.examples.md +1308 -140
- package/dist/docs/top-navigation.json +49 -33
- package/dist/docs/top-navigation.md +92 -36
- package/dist/docs/tour.examples.md +960 -0
- package/dist/docs/tour.json +57 -25
- package/dist/docs/tour.md +60 -244
- package/dist/docs/transfer.examples.md +631 -0
- package/dist/docs/transfer.json +80 -16
- package/dist/docs/transfer.md +41 -170
- package/dist/docs/tree.examples.md +5 -2
- package/dist/docs/tree.json +2 -2
- package/dist/docs/typography.json +96 -0
- package/dist/docs/typography.md +365 -4
- package/dist/docs/upload.examples.md +555 -53
- package/dist/docs/upload.json +62 -30
- package/dist/docs/upload.md +46 -11
- package/dist/docs/visually-hidden.json +3 -3
- package/dist/docs/visually-hidden.md +68 -41
- package/dist/docs/wizard.examples.md +1389 -0
- package/dist/docs/wizard.json +90 -49
- package/dist/docs/wizard.md +123 -264
- package/dist/drawer-JP3p-QZB.js +879 -0
- package/dist/drawer.js +1 -1
- package/dist/{entity-picker-CC4VoC3p.js → entity-picker-BWpuo-mp.js} +341 -334
- package/dist/entity-picker.js +1 -1
- package/dist/{event-calendar-CjmF_e0H.js → event-calendar-Bxx8eoGK.js} +10 -6
- package/dist/event-calendar.js +1 -1
- package/dist/{field-C-HRhke0.js → field-N0TiMbaI.js} +2 -2
- package/dist/{field-group-CU0PasvW.js → field-group-BrnE6FvP.js} +1 -1
- package/dist/field-group.js +1 -1
- package/dist/field.js +1 -1
- package/dist/{filter-bar-B3QJD7SZ.js → filter-bar-nQH58RVl.js} +361 -347
- package/dist/filter-bar.js +1 -1
- package/dist/{hover-card-CTItbEfH.js → hover-card-D9-rb9ts.js} +67 -63
- package/dist/hover-card.js +1 -1
- package/dist/{icon-button-N8Madx6i.js → icon-button-DzPkQamc.js} +0 -1
- package/dist/import-export-center-BpGga5jr.js +869 -0
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +105 -105
- package/dist/{listbox-ZqiJ2yer.js → listbox-3XVusnCr.js} +1 -1
- package/dist/listbox.js +1 -1
- package/dist/{loading-overlay-BxIktMtQ.js → loading-overlay-BzycGqQA.js} +1 -1
- package/dist/loading-overlay.js +1 -1
- package/dist/{markdown-BdskE4-L.js → markdown-BMda5ino.js} +15 -15
- package/dist/markdown.js +1 -1
- package/dist/{media-viewer-zEXcwfEY.js → media-viewer-C_cbuAq-.js} +64 -60
- package/dist/media-viewer.js +2 -2
- package/dist/message-P91bEGyV.js +455 -0
- package/dist/message.js +2 -2
- package/dist/{multi-select-Dc2d6dDB.js → multi-select-IpsZvoQ2.js} +1 -1
- package/dist/multi-select.js +1 -1
- package/dist/{navigation-menu-parts-CRLmigjy.js → navigation-menu-parts-D-vsDdEF.js} +5 -1
- package/dist/navigation-menu.js +1 -1
- package/dist/{notification-center-BngAw_kt.js → notification-center-CTSfrh9K.js} +3 -3
- package/dist/notification-center.js +1 -1
- package/dist/{number-field-BQ54hXmk.js → number-field-Cp33JMGB.js} +1 -1
- package/dist/number-field.js +1 -1
- package/dist/{otp-input-DRooqa3f.js → otp-input-CEP60HOi.js} +1 -1
- package/dist/otp-input.js +1 -1
- package/dist/{page-header-DmwBGwlm.js → page-header-DK896DGD.js} +105 -110
- package/dist/page-header.js +1 -1
- package/dist/{picker-frame-B6sPCP5Y.js → picker-frame-C3Fhjfaj.js} +1 -1
- package/dist/popover-DED1MTi-.js +615 -0
- package/dist/popover.js +1 -1
- package/dist/{progress-indicator-DRr0Gj6w.js → progress-indicator-Co8e7M5K.js} +6 -3
- package/dist/progress-indicator.js +1 -1
- package/dist/{prompt-composer-tYIs39rn.js → prompt-composer-CwjvdgBR.js} +1 -1
- package/dist/prompt-composer.js +1 -1
- package/dist/{radio-group-AW3xcYYh.js → radio-group-D6bOV_ea.js} +2 -2
- package/dist/radio-group.js +1 -1
- package/dist/{rating-h3qdHLNi.js → rating-D8BvDdjM.js} +1 -1
- package/dist/rating.js +1 -1
- package/dist/{saved-views-nqn0SDXn.js → saved-views-D-CP7JIE.js} +8 -5
- package/dist/saved-views.js +1 -1
- package/dist/section-CVTQdWBl.js +216 -0
- package/dist/section.js +2 -2
- package/dist/{segmented-control-CbK7SurB.js → segmented-control-BLcGhQ4J.js} +3 -3
- package/dist/segmented-control.js +1 -1
- package/dist/{select-d448Wkzb.js → select-Dbc3ng0M.js} +2 -2
- package/dist/{select-tags-3792weoq.js → select-tags-D0SMDPBX.js} +25 -24
- package/dist/select.js +1 -1
- package/dist/{side-navigation-CKRETc8E.js → side-navigation-Dw3-P12f.js} +181 -181
- package/dist/side-navigation.js +1 -1
- package/dist/{skeleton-DeEOmm1y.js → skeleton-DTqt2GEv.js} +27 -20
- package/dist/skeleton.js +1 -1
- package/dist/{slider-DQ2CnxTO.js → slider-COLWTaxi.js} +1 -1
- package/dist/slider.js +1 -1
- package/dist/{split-button-D4MPKSB2.js → split-button-Czr2D3HP.js} +1 -1
- package/dist/split-button.js +1 -1
- package/dist/{stat-card-CL3Xe6pV.js → stat-card-D6NMjkZM.js} +13 -15
- package/dist/stat-card.js +1 -1
- package/dist/{stepper-DHdrANZI.js → stepper-Cxb_tHnA.js} +130 -127
- package/dist/stepper.js +2 -2
- package/dist/styles/accordion.css +1 -1
- package/dist/styles/action-bar.css +2 -2
- package/dist/styles/action-sheet.css +5 -3
- package/dist/styles/app-shell.css +3 -3
- package/dist/styles/attachment.css +3 -3
- package/dist/styles/avatar-group.css +1 -1
- package/dist/styles/badge.css +1 -1
- package/dist/styles/breadcrumb.css +1 -1
- package/dist/styles/button.css +2 -2
- package/dist/styles/calendar.css +1 -1
- package/dist/styles/card.css +1 -1
- package/dist/styles/carousel.css +1 -1
- package/dist/styles/cascader.css +7 -7
- package/dist/styles/chart.css +6 -4
- package/dist/styles/checkbox-group.css +6 -2
- package/dist/styles/checkbox.css +7 -3
- package/dist/styles/clock.css +1 -1
- package/dist/styles/code-block.css +2 -2
- package/dist/styles/collapsible.css +2 -2
- package/dist/styles/color-picker.css +9 -5
- package/dist/styles/column-manager.css +9 -9
- package/dist/styles/combobox.css +7 -3
- package/dist/styles/command-palette.css +5 -5
- package/dist/styles/context-menu.css +1 -1
- package/dist/styles/currency-field.css +7 -3
- package/dist/styles/dashboard-grid.css +6 -6
- package/dist/styles/data-grid.css +19 -19
- package/dist/styles/data-list.css +9 -9
- package/dist/styles/date-field.css +7 -3
- package/dist/styles/date-picker.css +8 -4
- package/dist/styles/date-range-picker.css +8 -4
- package/dist/styles/datetime-field.css +7 -3
- package/dist/styles/datetime-picker.css +10 -6
- package/dist/styles/datetime-range-picker.css +9 -5
- package/dist/styles/description-list.css +1 -1
- package/dist/styles/detail-panel.css +7 -7
- package/dist/styles/dialog.css +1 -1
- package/dist/styles/divider.css +1 -1
- package/dist/styles/drawer.css +5 -1
- package/dist/styles/entity-picker.css +10 -8
- package/dist/styles/event-calendar.css +12 -8
- package/dist/styles/field-group.css +6 -2
- package/dist/styles/field.css +6 -2
- package/dist/styles/filter-bar.css +20 -20
- package/dist/styles/floating-panel.css +1 -1
- package/dist/styles/hover-card.css +5 -1
- package/dist/styles/import-export-center.css +24 -24
- package/dist/styles/index.css +87 -85
- package/dist/styles/inline.css +1 -1
- package/dist/styles/kbd.css +1 -1
- package/dist/styles/list-item.css +1 -1
- package/dist/styles/listbox.css +7 -3
- package/dist/styles/loading-overlay.css +3 -3
- package/dist/styles/markdown.css +8 -8
- package/dist/styles/media-viewer.css +2 -2
- package/dist/styles/menu.css +1 -1
- package/dist/styles/menubar.css +2 -2
- package/dist/styles/message-scroller.css +1 -1
- package/dist/styles/message.css +1 -1
- package/dist/styles/multi-select.css +9 -7
- package/dist/styles/navigation-menu.css +1 -1
- package/dist/styles/notification-center.css +5 -5
- package/dist/styles/number-field.css +7 -3
- package/dist/styles/otp-input.css +7 -3
- package/dist/styles/page-header.css +4 -4
- package/dist/styles/pagination.css +1 -1
- package/dist/styles/popover.css +5 -1
- package/dist/styles/progress-indicator.css +2 -2
- package/dist/styles/prompt-composer.css +6 -4
- package/dist/styles/radio-group.css +7 -3
- package/dist/styles/rating.css +7 -3
- package/dist/styles/saved-views.css +8 -6
- package/dist/styles/section.css +1 -1
- package/dist/styles/segmented-control.css +7 -3
- package/dist/styles/select.css +8 -4
- package/dist/styles/side-navigation.css +4 -4
- package/dist/styles/skeleton.css +1 -1
- package/dist/styles/slider.css +6 -2
- package/dist/styles/split-button.css +3 -3
- package/dist/styles/stat-card.css +1 -1
- package/dist/styles/status-indicator.css +1 -1
- package/dist/styles/stepper.css +1 -1
- package/dist/styles/switch.css +6 -6
- package/dist/styles/table-of-contents.css +1 -1
- package/dist/styles/table.css +18 -18
- package/dist/styles/tabs.css +1 -1
- package/dist/styles/tag.css +1 -1
- package/dist/styles/tags-input.css +8 -4
- package/dist/styles/text-field.css +7 -3
- package/dist/styles/textarea.css +7 -3
- package/dist/styles/time-field.css +7 -3
- package/dist/styles/time-picker.css +8 -4
- package/dist/styles/time-range-picker.css +8 -4
- package/dist/styles/timeline.css +2 -2
- package/dist/styles/toast.css +3 -3
- package/dist/styles/toggle-group.css +7 -3
- package/dist/styles/toggle.css +1 -1
- package/dist/styles/toolbar.css +2 -2
- package/dist/styles/top-navigation.css +5 -5
- package/dist/styles/tour.css +3 -3
- package/dist/styles/transfer.css +9 -9
- package/dist/styles/tree.css +1 -1
- package/dist/styles/upload.css +10 -6
- package/dist/styles/wizard.css +8 -8
- package/dist/styles.css +1 -1
- package/dist/{switch-DxMukg7F.js → switch-CEbZkLlX.js} +2 -2
- package/dist/switch.js +1 -1
- package/dist/{table-BecApjeD.js → table-BU7XsbQX.js} +169 -162
- package/dist/{table-of-contents-kFr_3Dzs.js → table-of-contents-C410GoEC.js} +1 -1
- package/dist/table-of-contents.js +1 -1
- package/dist/table.js +1 -1
- package/dist/{tags-input-CqCeLtk-.js → tags-input-BdjkB19P.js} +260 -257
- package/dist/tags-input.js +1 -1
- package/dist/{text-field-CMOkJ9Z6.js → text-field-QJnu-rln.js} +1 -1
- package/dist/text-field.js +1 -1
- package/dist/{textarea-DfqPfXTr.js → textarea-DsrXI3xB.js} +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{time-field-GyLQsxcc.js → time-field-DlZdMsNw.js} +1 -1
- package/dist/time-field.js +1 -1
- package/dist/{time-picker-CGHPnust.js → time-picker-WmeCIySv.js} +5 -5
- package/dist/time-picker.js +1 -1
- package/dist/{time-range-picker-BMRtAqPy.js → time-range-picker-CwSbsJPt.js} +6 -6
- package/dist/time-range-picker.js +1 -1
- package/dist/{timeline-BiL2CXfn.js → timeline-ZngK6zLC.js} +9 -6
- package/dist/timeline.js +1 -1
- package/dist/{toast-aM_ga1mc.js → toast-C3xLEFDE.js} +1 -1
- package/dist/toast.js +1 -1
- package/dist/{toggle-group-DZEWkVRo.js → toggle-group-SP_W-yeh.js} +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/toolbar-BniP4i1C.js +249 -0
- package/dist/toolbar.js +1 -1
- package/dist/tooltip-UPICnTij.js +418 -0
- package/dist/tooltip.js +1 -1
- package/dist/top-navigation--OcOpGCy.js +744 -0
- package/dist/top-navigation.js +2 -2
- package/dist/{tour-ALH5CYMY.js → tour-7-TXdrMv.js} +2 -2
- package/dist/tour.js +1 -1
- package/dist/{transfer-sKUvmEKe.js → transfer-DX6umI2M.js} +6 -6
- package/dist/transfer.js +1 -1
- package/dist/types/action-sheet/action-sheet-parts.d.ts.map +1 -1
- package/dist/types/app-shell/app-shell.d.ts.map +1 -1
- package/dist/types/attachment/attachment-parts.d.ts +24 -11
- package/dist/types/attachment/attachment-parts.d.ts.map +1 -1
- package/dist/types/attachment/attachment.d.ts +3 -3
- package/dist/types/attachment/attachment.d.ts.map +1 -1
- package/dist/types/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/types/carousel/carousel-parts.d.ts +2 -2
- package/dist/types/cascader/cascader-surface.d.ts +6 -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/clock/clock.types.d.ts +5 -2
- package/dist/types/clock/clock.types.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/command-palette/command-palette.d.ts.map +1 -1
- package/dist/types/context-menu/context-menu.d.ts.map +1 -1
- package/dist/types/dashboard-grid/dashboard-grid.types.d.ts +2 -1
- package/dist/types/dashboard-grid/dashboard-grid.types.d.ts.map +1 -1
- package/dist/types/dashboard-grid/dashboard-widget.d.ts.map +1 -1
- package/dist/types/data-list/data-list.d.ts.map +1 -1
- package/dist/types/description-list/description-list-parts.d.ts.map +1 -1
- package/dist/types/detail-panel/detail-panel-parts.d.ts +10 -3
- 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/detail-panel/detail-panel.types.d.ts +7 -0
- package/dist/types/detail-panel/detail-panel.types.d.ts.map +1 -1
- package/dist/types/drawer/drawer-parts.d.ts +8 -3
- package/dist/types/drawer/drawer-parts.d.ts.map +1 -1
- package/dist/types/drawer/drawer.types.d.ts +2 -1
- package/dist/types/drawer/drawer.types.d.ts.map +1 -1
- package/dist/types/entity-picker/entity-picker.d.ts.map +1 -1
- package/dist/types/event-calendar/event-calendar.d.ts.map +1 -1
- package/dist/types/filter-bar/filter-bar-rules.d.ts.map +1 -1
- package/dist/types/hover-card/hover-card.d.ts.map +1 -1
- package/dist/types/import-export-center/import-export-center.d.ts.map +1 -1
- package/dist/types/media-viewer/index.d.ts +2 -2
- package/dist/types/media-viewer/index.d.ts.map +1 -1
- package/dist/types/media-viewer/media-viewer-bar.d.ts +3 -1
- package/dist/types/media-viewer/media-viewer-bar.d.ts.map +1 -1
- package/dist/types/media-viewer/media-viewer.types.d.ts +1 -0
- package/dist/types/media-viewer/media-viewer.types.d.ts.map +1 -1
- package/dist/types/message/message-parts.d.ts +7 -0
- package/dist/types/message/message-parts.d.ts.map +1 -1
- package/dist/types/message/message.d.ts.map +1 -1
- package/dist/types/navigation-menu/navigation-menu-parts.d.ts.map +1 -1
- package/dist/types/page-header/page-header-parts.d.ts.map +1 -1
- package/dist/types/popover/index.d.ts +1 -1
- package/dist/types/popover/index.d.ts.map +1 -1
- package/dist/types/popover/popover-defaults.d.ts.map +1 -1
- package/dist/types/popover/popover-parts.d.ts +2 -1
- package/dist/types/popover/popover-parts.d.ts.map +1 -1
- package/dist/types/popover/popover.d.ts +1 -1
- package/dist/types/popover/popover.d.ts.map +1 -1
- package/dist/types/popover/popover.types.d.ts +20 -0
- package/dist/types/popover/popover.types.d.ts.map +1 -1
- package/dist/types/progress-indicator/progress-bar.d.ts.map +1 -1
- package/dist/types/saved-views/saved-views.d.ts +1 -0
- package/dist/types/saved-views/saved-views.d.ts.map +1 -1
- package/dist/types/section/section-parts.d.ts +16 -8
- 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/select/select-tags.d.ts.map +1 -1
- package/dist/types/side-navigation/side-navigation-parts.d.ts.map +1 -1
- package/dist/types/skeleton/skeleton-region-context.d.ts +2 -0
- package/dist/types/skeleton/skeleton-region-context.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/stat-card/stat-card-delta.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card-parts.d.ts +3 -3
- package/dist/types/stat-card/stat-card-parts.d.ts.map +1 -1
- package/dist/types/stepper/stepper-parts.d.ts +11 -2
- package/dist/types/stepper/stepper-parts.d.ts.map +1 -1
- package/dist/types/stepper/stepper.d.ts.map +1 -1
- package/dist/types/table/table-parts.d.ts.map +1 -1
- package/dist/types/tags-input/tags-input.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/toolbar/toolbar.d.ts.map +1 -1
- package/dist/types/toolbar/toolbar.types.d.ts +1 -1
- package/dist/types/toolbar/toolbar.types.d.ts.map +1 -1
- package/dist/types/tooltip/tooltip-defaults.d.ts.map +1 -1
- package/dist/types/tooltip/tooltip-parts.d.ts.map +1 -1
- package/dist/types/tooltip/tooltip.d.ts +1 -1
- package/dist/types/tooltip/tooltip.d.ts.map +1 -1
- package/dist/types/tooltip/tooltip.types.d.ts +17 -0
- package/dist/types/tooltip/tooltip.types.d.ts.map +1 -1
- package/dist/types/top-navigation/top-navigation.d.ts.map +1 -1
- package/dist/types/tour/tour.d.ts.map +1 -1
- package/dist/{upload-CuMOaPK3.js → upload-BtD1nLHa.js} +2 -2
- package/dist/upload.js +1 -1
- package/dist/{use-date-picker-DdSX3RE4.js → use-date-picker-CwH791Jm.js} +2 -2
- package/dist/{use-picker-draft-I_pxqYsc.js → use-picker-draft-BnLS4lDY.js} +1 -1
- package/dist/wizard-6PTtBoi4.js +838 -0
- package/dist/wizard.js +1 -1
- package/package.json +6 -6
- package/dist/action-sheet-BouG2qh_.js +0 -360
- package/dist/attachment-MqczA38F.js +0 -292
- package/dist/detail-panel-EImAtksY.js +0 -327
- package/dist/drawer-CQagePr_.js +0 -830
- package/dist/import-export-center-CW8YVZev.js +0 -867
- package/dist/message-D1Dd6Y2k.js +0 -452
- package/dist/popover-1DlOu95x.js +0 -576
- package/dist/section-D_qOfdxR.js +0 -213
- package/dist/toolbar-BP7ka6lN.js +0 -243
- package/dist/tooltip-DrFiRlH8.js +0 -411
- package/dist/top-navigation-D8IHPOmm.js +0 -744
- package/dist/wizard-4c0X7Bx_.js +0 -838
package/dist/docs/message.json
CHANGED
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
"part": "typing",
|
|
476
476
|
"element": "span",
|
|
477
477
|
"required": false,
|
|
478
|
-
"purpose": "Three dots in a wave, role img, named “Typing
|
|
478
|
+
"purpose": "Three dots in a wave, role img, named “Typing”, inside the bubble."
|
|
479
479
|
},
|
|
480
480
|
{
|
|
481
481
|
"part": "retry",
|
|
@@ -666,6 +666,7 @@
|
|
|
666
666
|
"--slotted-control-font-size-lg",
|
|
667
667
|
"--slotted-control-font-size-md",
|
|
668
668
|
"--slotted-control-gap-md",
|
|
669
|
+
"--slotted-control-height-sm",
|
|
669
670
|
"--slotted-control-icon-size-sm",
|
|
670
671
|
"--slotted-control-inner-size-md",
|
|
671
672
|
"--slotted-control-radius",
|
|
@@ -712,6 +713,7 @@
|
|
|
712
713
|
"--slotted-message-state-layer-hover",
|
|
713
714
|
"--slotted-message-thread-avatar-size",
|
|
714
715
|
"--slotted-radius-full",
|
|
716
|
+
"--slotted-radius-lg",
|
|
715
717
|
"--slotted-radius-md",
|
|
716
718
|
"--slotted-radius-sm",
|
|
717
719
|
"--slotted-shadow-sm",
|
|
@@ -811,7 +813,7 @@
|
|
|
811
813
|
"title": "Actions the row reveals",
|
|
812
814
|
"note": "With actionsVisibility=\"hover\" the toolbar keeps its room and appears under the pointer and on focus anywhere in the row; on a screen that cannot hover it is always painted. Tab into the row to see it arrive.",
|
|
813
815
|
"language": "tsx",
|
|
814
|
-
"source": "<MessageFooter>\n <MessageActions>\n <IconButton aria-label=\"
|
|
816
|
+
"source": "<MessageFooter>\n <MessageActions>\n <IconButton aria-label=\"Copy reply\" variant=\"ghost\" size=\"sm\">\n <Icon>\n <Glyph name=\"copy\" />\n </Icon>\n </IconButton>\n </MessageActions>\n</MessageFooter>;\n",
|
|
815
817
|
"verdict": "excerpt"
|
|
816
818
|
},
|
|
817
819
|
{
|
|
@@ -819,8 +821,8 @@
|
|
|
819
821
|
"title": "What a reply is doing before it has words",
|
|
820
822
|
"note": "Steps done carry a tick and step back into the muted ink; the current one carries the shared ring and a band of light across its words. Under reduced motion the band stops and the words stand in the plain ink.",
|
|
821
823
|
"language": "tsx",
|
|
822
|
-
"source": "<Message status=\"streaming\">\n
|
|
823
|
-
"verdict": "
|
|
824
|
+
"source": "import { Glyph, Icon } from '@slotted/react/icon';\nimport { Message, MessageActivity, MessageActivityStep, MessageBody } from '@slotted/react/message';\nimport { Stack } from '@slotted/react/stack';\n\nexport default function MessageActivityExample() {\n return (\n <Stack gap={4}>\n <Message status=\"streaming\">\n <MessageBody>\n <MessageActivity>\n <MessageActivityStep\n status=\"complete\"\n icon={\n <Icon>\n <Glyph name=\"file-text\" />\n </Icon>\n }\n >\n Read the payout log for 28 September\n </MessageActivityStep>\n <MessageActivityStep\n status=\"complete\"\n icon={\n <Icon>\n <Glyph name=\"file-spreadsheet\" />\n </Icon>\n }\n >\n Matched 126 payouts to the bank file\n </MessageActivityStep>\n <MessageActivityStep\n status=\"current\"\n icon={\n <Icon>\n <Glyph name=\"search\" />\n </Icon>\n }\n >\n Looking for the cause of error R03\n </MessageActivityStep>\n <MessageActivityStep\n status=\"pending\"\n icon={\n <Icon>\n <Glyph name=\"pencil\" />\n </Icon>\n }\n >\n Drafting the reply\n </MessageActivityStep>\n </MessageActivity>\n </MessageBody>\n </Message>\n <Message>\n <MessageBody>\n <MessageActivity variant=\"plain\">\n <MessageActivityStep status=\"complete\">\n Checked the carrier calendar\n </MessageActivityStep>\n <MessageActivityStep>Comparing the three pickup windows</MessageActivityStep>\n </MessageActivity>\n </MessageBody>\n </Message>\n <Message>\n <MessageBody>\n <MessageActivity shimmer={false}>\n <MessageActivityStep>Waiting for the bank to confirm the credit</MessageActivityStep>\n </MessageActivity>\n </MessageBody>\n </Message>\n </Stack>\n );\n}\n",
|
|
825
|
+
"verdict": "example"
|
|
824
826
|
},
|
|
825
827
|
{
|
|
826
828
|
"id": "versions",
|
|
@@ -856,8 +858,8 @@
|
|
|
856
858
|
},
|
|
857
859
|
{
|
|
858
860
|
"id": "tones",
|
|
859
|
-
"title": "
|
|
860
|
-
"note": "accent and secondary write in the page’s ink; success, warning and danger in their own, because there the color of the words is the point — and the words say it too.",
|
|
861
|
+
"title": "Six tones",
|
|
862
|
+
"note": "accent and secondary write in the page’s ink; info, success, warning and danger in their own, because there the color of the words is the point — and the words say it too.",
|
|
861
863
|
"language": "tsx",
|
|
862
864
|
"source": "<Bubble tone=\"danger\">\n <BubbleContent>Step 5 failed and the worker did not come back.</BubbleContent>\n</Bubble>;\n",
|
|
863
865
|
"verdict": "excerpt"
|
|
@@ -867,37 +869,37 @@
|
|
|
867
869
|
"title": "Quick replies and links",
|
|
868
870
|
"note": "render turns the surface itself into a button or an a, and it keeps the painting, the hover, a distinct press and the focus ring. A link keeps middle-click and its destination.",
|
|
869
871
|
"language": "tsx",
|
|
870
|
-
"source": "<Bubble tone=\"accent\">\n
|
|
871
|
-
"verdict": "
|
|
872
|
+
"source": "import { Bubble, BubbleContent } from '@slotted/react/message';\nimport { Inline } from '@slotted/react/inline';\nimport { Stack } from '@slotted/react/stack';\nimport { Text } from '@slotted/react/typography';\nimport { useState } from 'react';\n\nexport default function MessageInteractiveExample() {\n const [choice, setChoice] = useState('No reply chosen yet.');\n\n return (\n <Stack gap={3}>\n <Text size=\"sm\" tone=\"muted\">\n {choice}\n </Text>\n <Inline gap={2}>\n <Bubble variant=\"outline\" tone=\"accent\">\n <BubbleContent\n render={(props) => (\n <button\n type=\"button\"\n {...props}\n onClick={() => {\n setChoice('Chosen: resend both payouts now.');\n }}\n />\n )}\n >\n Resend both payouts now\n </BubbleContent>\n </Bubble>\n <Bubble variant=\"outline\" tone=\"accent\">\n <BubbleContent\n render={(props) => (\n <button\n type=\"button\"\n {...props}\n onClick={() => {\n setChoice('Chosen: wait for the bank statement.');\n }}\n />\n )}\n >\n Wait for the statement\n </BubbleContent>\n </Bubble>\n </Inline>\n <Bubble>\n <BubbleContent render={(props) => <a href=\"#payout-7731\" {...props} />}>\n Open payout 7731\n </BubbleContent>\n </Bubble>\n </Stack>\n );\n}\n",
|
|
873
|
+
"verdict": "example"
|
|
872
874
|
},
|
|
873
875
|
{
|
|
874
876
|
"id": "quote",
|
|
875
877
|
"title": "Replying to a message",
|
|
876
878
|
"note": "The quote heads the surface in a block tinted with the surface’s own ink, author over up to three lines. With onJump it is a button that asks the scroller to take the reader to the quoted message.",
|
|
877
879
|
"language": "tsx",
|
|
878
|
-
"source": "<BubbleContent>\n
|
|
879
|
-
"verdict": "
|
|
880
|
+
"source": "import { Bubble, BubbleContent, BubbleQuote, Message, MessageBody } from '@slotted/react/message';\nimport { Stack } from '@slotted/react/stack';\nimport { Text } from '@slotted/react/typography';\nimport { useState } from 'react';\n\nexport default function MessageQuoteExample() {\n const [jumped, setJumped] = useState(false);\n\n return (\n <Stack gap={4}>\n <Message align=\"end\">\n <MessageBody>\n <Bubble>\n <BubbleContent>\n <BubbleQuote\n author=\"Marta Silva\"\n onJump={() => {\n setJumped(true);\n }}\n >\n The destination account does not exist at the bank.\n </BubbleQuote>\n Send me the IBAN when it arrives.\n </BubbleContent>\n </Bubble>\n </MessageBody>\n </Message>\n <Text size=\"sm\" tone=\"muted\">\n {jumped ? 'The scroller would now show the quoted message.' : 'Press the quote to jump.'}\n </Text>\n <Message>\n <MessageBody>\n <Bubble>\n <BubbleContent>\n <BubbleQuote author=\"You\">Send me the IBAN when it arrives.</BubbleQuote>\n It arrives this afternoon.\n </BubbleContent>\n </Bubble>\n </MessageBody>\n </Message>\n </Stack>\n );\n}\n",
|
|
881
|
+
"verdict": "example"
|
|
880
882
|
},
|
|
881
883
|
{
|
|
882
884
|
"id": "clamp",
|
|
883
885
|
"title": "A long reply, clamped",
|
|
884
886
|
"note": "maxLines shows the first lines and draws “Show more” only while the text overflows. The whole text stays in the DOM for copying and finding in the page; the chevron turns as it opens.",
|
|
885
887
|
"language": "tsx",
|
|
886
|
-
"source": "<Bubble maxLines={3}>\n
|
|
887
|
-
"verdict": "
|
|
888
|
+
"source": "import { Bubble, BubbleContent } from '@slotted/react/message';\nimport { Stack } from '@slotted/react/stack';\nimport { useState } from 'react';\n\nconst REPORT =\n 'Payout 7731 was returned by the bank with error R03. The IBAN on file does not match any account, ' +\n 'so the credit never reached supplier 3310. Finance resubmitted the payout on 29 September after ' +\n 'confirming the new IBAN by phone, and the bank accepted the file at 16:20. The credit is expected ' +\n 'on the next business day. Invoice 5502 stays open until the credit appears on the statement.';\n\nexport default function MessageClampExample() {\n const [open, setOpen] = useState(true);\n\n return (\n <Stack gap={4}>\n <Bubble maxLines={3}>\n <BubbleContent>{REPORT}</BubbleContent>\n </Bubble>\n <Bubble\n maxLines={3}\n revealed={open}\n onRevealedChange={(next) => {\n setOpen(next);\n }}\n >\n <BubbleContent>{REPORT}</BubbleContent>\n </Bubble>\n </Stack>\n );\n}\n",
|
|
889
|
+
"verdict": "example"
|
|
888
890
|
},
|
|
889
891
|
{
|
|
890
892
|
"id": "streaming",
|
|
891
893
|
"title": "A reply while it streams",
|
|
892
894
|
"note": "Words arrive in bursts. BubbleStream splits each arrival into words, and a burst enters as a wave of at most 320 ms, each word out of a blur; nothing is held back from the DOM. The dot breathes after the last word. The row is aria-busy, so the words are not read as they land. Under reduced motion every word lands settled and the dot stands lit.",
|
|
893
895
|
"language": "tsx",
|
|
894
|
-
"source": "<Message
|
|
895
|
-
"verdict": "
|
|
896
|
+
"source": "import { Button } from '@slotted/react/button';\nimport { Inline } from '@slotted/react/inline';\nimport {\n Bubble,\n BubbleCaret,\n BubbleContent,\n BubbleStream,\n BubbleTyping,\n Message,\n MessageBody,\n} from '@slotted/react/message';\nimport { Stack } from '@slotted/react/stack';\nimport { useEffect, useState } from 'react';\n\nconst ARRIVALS = [\n 'Payout 7731',\n 'Payout 7731 was returned by the bank',\n 'Payout 7731 was returned by the bank with error R03, which means that no account matches',\n 'Payout 7731 was returned by the bank with error R03, which means that no account matches the IBAN on file. Send the new IBAN to finance to resubmit the payout.',\n];\n\nexport default function MessageStreamingExample() {\n const [received, setReceived] = useState(1);\n\n useEffect(() => {\n if (received >= ARRIVALS.length) return;\n\n const timer = setTimeout(() => {\n setReceived(received + 1);\n }, 900);\n\n return () => {\n clearTimeout(timer);\n };\n }, [received]);\n\n const done = received >= ARRIVALS.length;\n\n function handleReplay() {\n setReceived(1);\n }\n\n return (\n <Stack gap={4}>\n <Message>\n <MessageBody>\n <Bubble>\n <BubbleContent>\n <BubbleTyping aria-label=\"Marta is typing\" />\n </BubbleContent>\n </Bubble>\n </MessageBody>\n </Message>\n <Message status={done ? undefined : 'streaming'}>\n <MessageBody>\n <Bubble>\n <BubbleContent>\n <BubbleStream text={ARRIVALS[received - 1] ?? ''} />\n {done ? null : <BubbleCaret />}\n </BubbleContent>\n </Bubble>\n </MessageBody>\n </Message>\n <Inline>\n <Button variant=\"outline\" size=\"sm\" onClick={handleReplay}>\n Replay\n </Button>\n </Inline>\n </Stack>\n );\n}\n",
|
|
897
|
+
"verdict": "example"
|
|
896
898
|
},
|
|
897
899
|
{
|
|
898
900
|
"id": "typing",
|
|
899
901
|
"title": "Someone is writing",
|
|
900
|
-
"note": "Three dots rise and brighten in a wave in the writer’s bubble, which
|
|
902
|
+
"note": "Three dots rise and brighten in a wave in the writer’s bubble, which arrives rising like any message. It is one image named for assistive technology.",
|
|
901
903
|
"language": "tsx",
|
|
902
904
|
"source": "<Bubble>\n <BubbleContent>\n <BubbleTyping aria-label=\"Marta is typing\" />\n </BubbleContent>\n</Bubble>;\n",
|
|
903
905
|
"verdict": "excerpt"
|
|
@@ -907,16 +909,64 @@
|
|
|
907
909
|
"title": "Reactions",
|
|
908
910
|
"note": "The pill straddles the lower edge on the side away from the sender and rises into the surface by half its inset, clear of the words. The reader’s own reaction takes the accent’s tint and edge; a disabled one stays legible.",
|
|
909
911
|
"language": "tsx",
|
|
910
|
-
"source": "<BubbleReactions>\n
|
|
911
|
-
"verdict": "
|
|
912
|
+
"source": "import {\n Bubble,\n BubbleContent,\n BubbleReaction,\n BubbleReactions,\n Message,\n MessageBody,\n} from '@slotted/react/message';\nimport { useState } from 'react';\n\nexport default function MessageReactionsExample() {\n const [confirmed, setConfirmed] = useState(true);\n\n return (\n <Message>\n <MessageBody>\n <Bubble>\n <BubbleContent>The warehouse confirmed the new pickup window for Friday.</BubbleContent>\n <BubbleReactions>\n <BubbleReaction\n count={confirmed ? 4 : 3}\n pressed={confirmed}\n onPressedChange={(next) => {\n setConfirmed(next);\n }}\n >\n Confirmed\n </BubbleReaction>\n <BubbleReaction count={1}>Needs review</BubbleReaction>\n <BubbleReaction count={2} disabled>\n Duplicate\n </BubbleReaction>\n </BubbleReactions>\n </Bubble>\n </MessageBody>\n </Message>\n );\n}\n",
|
|
913
|
+
"verdict": "example"
|
|
912
914
|
},
|
|
913
915
|
{
|
|
914
916
|
"id": "content",
|
|
915
917
|
"title": "Content nobody chose",
|
|
916
|
-
"note": "A URL of a hundred characters breaks where it must instead of pushing the bubble past its share; an Arabic line in
|
|
918
|
+
"note": "A URL of a hundred characters breaks where it must instead of pushing the bubble past its share; an Arabic line in an English thread reads from its own side; a two-letter reply is still a bubble, not a pill.",
|
|
917
919
|
"language": "tsx",
|
|
918
920
|
"source": "<Bubble>\n <BubbleContent>{text}</BubbleContent>\n</Bubble>;\n",
|
|
919
921
|
"verdict": "excerpt"
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"id": "basic",
|
|
925
|
+
"title": "basic.tsx",
|
|
926
|
+
"note": null,
|
|
927
|
+
"language": "tsx",
|
|
928
|
+
"source": "import { Avatar } from '@slotted/react/avatar';\nimport {\n Bubble,\n BubbleContent,\n Message,\n MessageAuthor,\n MessageAvatar,\n MessageBody,\n MessageHeader,\n MessageTime,\n} from '@slotted/react/message';\n\nexport default function MessageBasicExample() {\n return (\n <Message>\n <MessageAvatar>\n <Avatar\n name=\"Marta Silva\"\n src=\"https://api.dicebear.com/11.x/lorelei/svg?seed=Marta%20Silva&backgroundColor=b6e3f4,c0aede,d1d4f9,ffd5dc,ffdfbf\"\n size=\"sm\"\n />\n </MessageAvatar>\n <MessageBody>\n <MessageHeader>\n <MessageAuthor>Marta Silva</MessageAuthor>\n <MessageTime dateTime=\"2026-09-30T09:38\">09:38</MessageTime>\n </MessageHeader>\n <Bubble>\n <BubbleContent>The payout for order 4821 arrives this afternoon.</BubbleContent>\n </Bubble>\n </MessageBody>\n </Message>\n );\n}\n",
|
|
929
|
+
"verdict": "example"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"id": "conversation",
|
|
933
|
+
"title": "conversation.tsx",
|
|
934
|
+
"note": null,
|
|
935
|
+
"language": "tsx",
|
|
936
|
+
"source": "import { Avatar } from '@slotted/react/avatar';\nimport {\n Bubble,\n BubbleContent,\n BubbleMeta,\n Message,\n MessageAvatar,\n MessageBody,\n MessageGroup,\n MessageReceipt,\n MessageTime,\n} from '@slotted/react/message';\nimport { Stack } from '@slotted/react/stack';\n\nexport default function MessageConversationExample() {\n return (\n <Stack gap={4}>\n <MessageGroup>\n <Message>\n <MessageBody>\n <Bubble>\n <BubbleContent>Tuesday's payout came back with error R03.</BubbleContent>\n </Bubble>\n </MessageBody>\n </Message>\n <Message>\n <MessageBody>\n <Bubble>\n <BubbleContent>The destination account does not exist at the bank.</BubbleContent>\n </Bubble>\n </MessageBody>\n </Message>\n <Message>\n <MessageAvatar>\n <Avatar\n name=\"Marta Silva\"\n src=\"https://api.dicebear.com/11.x/lorelei/svg?seed=Marta%20Silva&backgroundColor=b6e3f4,c0aede,d1d4f9,ffd5dc,ffdfbf\"\n size=\"sm\"\n />\n </MessageAvatar>\n <MessageBody>\n <Bubble>\n <BubbleContent>Send me the new IBAN and I will resubmit it today.</BubbleContent>\n </Bubble>\n </MessageBody>\n </Message>\n </MessageGroup>\n <Message align=\"end\" status=\"read\">\n <MessageBody>\n <Bubble>\n <BubbleContent>\n Understood. The finance team will send it before noon.\n <BubbleMeta>\n <MessageTime dateTime=\"2026-09-30T09:41\">09:41</MessageTime>\n <MessageReceipt />\n </BubbleMeta>\n </BubbleContent>\n </Bubble>\n </MessageBody>\n </Message>\n </Stack>\n );\n}\n",
|
|
937
|
+
"verdict": "example"
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"id": "delivery",
|
|
941
|
+
"title": "delivery.tsx",
|
|
942
|
+
"note": null,
|
|
943
|
+
"language": "tsx",
|
|
944
|
+
"source": "import {\n Bubble,\n BubbleContent,\n BubbleMeta,\n BubbleRetry,\n Message,\n MessageBody,\n MessageFooter,\n MessageReceipt,\n MessageTime,\n} from '@slotted/react/message';\nimport { Stack } from '@slotted/react/stack';\nimport { useState } from 'react';\n\nexport default function MessageDeliveryExample() {\n const [failed, setFailed] = useState(true);\n\n return (\n <Stack gap={4}>\n <Message align=\"end\" status=\"sending\">\n <MessageBody>\n <Bubble>\n <BubbleContent>\n Sending: the credit note for invoice 5502.\n <BubbleMeta>\n <MessageTime dateTime=\"2026-09-30T10:02\">10:02</MessageTime>\n <MessageReceipt />\n </BubbleMeta>\n </BubbleContent>\n </Bubble>\n </MessageBody>\n </Message>\n <Message align=\"end\" status=\"sent\">\n <MessageBody>\n <Bubble>\n <BubbleContent>\n Sent: the refund for order 4821 is approved.\n <BubbleMeta>\n <MessageTime dateTime=\"2026-09-30T10:03\">10:03</MessageTime>\n <MessageReceipt />\n </BubbleMeta>\n </BubbleContent>\n </Bubble>\n </MessageBody>\n </Message>\n <Message align=\"end\" status=\"delivered\">\n <MessageBody>\n <Bubble>\n <BubbleContent>\n Delivered: the shipment label is attached.\n <BubbleMeta>\n <MessageTime dateTime=\"2026-09-30T10:04\">10:04</MessageTime>\n <MessageReceipt />\n </BubbleMeta>\n </BubbleContent>\n </Bubble>\n </MessageBody>\n </Message>\n <Message align=\"end\" status=\"read\">\n <MessageBody>\n <Bubble>\n <BubbleContent>\n Read: the payout is back on the bank file.\n <BubbleMeta>\n <MessageTime dateTime=\"2026-09-30T10:05\">10:05</MessageTime>\n <MessageReceipt />\n </BubbleMeta>\n </BubbleContent>\n </Bubble>\n </MessageBody>\n </Message>\n <Message\n align=\"end\"\n status={failed ? 'failed' : 'sending'}\n onRetry={() => {\n setFailed(false);\n }}\n >\n <MessageBody>\n <Bubble>\n <BubbleContent>The new IBAN for supplier 3310 is ready.</BubbleContent>\n <BubbleRetry />\n </Bubble>\n <MessageFooter>\n <MessageReceipt />\n </MessageFooter>\n </MessageBody>\n </Message>\n </Stack>\n );\n}\n",
|
|
945
|
+
"verdict": "example"
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"id": "footer",
|
|
949
|
+
"title": "footer.tsx",
|
|
950
|
+
"note": null,
|
|
951
|
+
"language": "tsx",
|
|
952
|
+
"source": "import { IconButton } from '@slotted/react/button';\nimport { Glyph } from '@slotted/react/icon';\nimport {\n Bubble,\n BubbleContent,\n Message,\n MessageActions,\n MessageBody,\n MessageFooter,\n MessageVersions,\n} from '@slotted/react/message';\nimport { Stack } from '@slotted/react/stack';\nimport { useState } from 'react';\n\nconst DRAFTS = [\n 'The payout failed because the destination account does not exist at the bank.',\n 'The bank returned the payout with error R03: no account matches the IBAN on file.',\n 'Payout 7731 was returned. The IBAN on file does not match any account at the bank.',\n];\n\nexport default function MessageFooterExample() {\n const [version, setVersion] = useState(0);\n\n return (\n <Stack gap={4}>\n <Message\n actionsVisibility=\"always\"\n version={version}\n versionCount={DRAFTS.length}\n onVersionChange={(next) => {\n setVersion(next);\n }}\n >\n <MessageBody>\n <Bubble>\n <BubbleContent>{DRAFTS[version]}</BubbleContent>\n </Bubble>\n <MessageFooter>\n <MessageVersions />\n <MessageActions>\n <IconButton aria-label=\"Copy reply\" variant=\"ghost\" size=\"sm\">\n <Glyph name=\"copy\" />\n </IconButton>\n <IconButton aria-label=\"Regenerate reply\" variant=\"ghost\" size=\"sm\">\n <Glyph name=\"rotate-cw\" />\n </IconButton>\n </MessageActions>\n </MessageFooter>\n </MessageBody>\n </Message>\n <Message actionsVisibility=\"hover\">\n <MessageBody>\n <Bubble>\n <BubbleContent>Hover the message or tab into it to reveal its actions.</BubbleContent>\n </Bubble>\n <MessageFooter>\n <MessageActions>\n <IconButton aria-label=\"Copy reply\" variant=\"ghost\" size=\"sm\">\n <Glyph name=\"copy\" />\n </IconButton>\n </MessageActions>\n </MessageFooter>\n </MessageBody>\n </Message>\n </Stack>\n );\n}\n",
|
|
953
|
+
"verdict": "example"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"id": "painting",
|
|
957
|
+
"title": "painting.tsx",
|
|
958
|
+
"note": null,
|
|
959
|
+
"language": "tsx",
|
|
960
|
+
"source": "import { Bubble, BubbleContent } from '@slotted/react/message';\nimport { Stack } from '@slotted/react/stack';\n\nexport default function MessagePaintingExample() {\n return (\n <Stack gap={3}>\n <Bubble variant=\"solid\" tone=\"accent\">\n <BubbleContent>Solid accent: order 4821 is ready to ship.</BubbleContent>\n </Bubble>\n <Bubble variant=\"soft\" tone=\"secondary\">\n <BubbleContent>Soft secondary: the carrier confirmed pickup at 14:00.</BubbleContent>\n </Bubble>\n <Bubble variant=\"outline\" tone=\"info\">\n <BubbleContent>Outline info: the customs form was attached to the shipment.</BubbleContent>\n </Bubble>\n <Bubble variant=\"plain\" tone=\"success\">\n <BubbleContent>Plain success: payout 7731 settled with the bank.</BubbleContent>\n </Bubble>\n <Bubble variant=\"soft\" tone=\"warning\">\n <BubbleContent>\n Soft warning: stock for SKU 2208 falls below its reorder point.\n </BubbleContent>\n </Bubble>\n <Bubble variant=\"solid\" tone=\"danger\">\n <BubbleContent>Solid danger: step 5 failed and the worker did not come back.</BubbleContent>\n </Bubble>\n </Stack>\n );\n}\n",
|
|
961
|
+
"verdict": "example"
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"id": "thread",
|
|
965
|
+
"title": "thread.tsx",
|
|
966
|
+
"note": null,
|
|
967
|
+
"language": "tsx",
|
|
968
|
+
"source": "import { Avatar } from '@slotted/react/avatar';\nimport {\n Bubble,\n BubbleContent,\n BubbleReaction,\n BubbleReactions,\n Message,\n MessageAuthor,\n MessageAvatar,\n MessageBody,\n MessageDefaultsProvider,\n MessageHeader,\n MessageTime,\n} from '@slotted/react/message';\nimport { Stack } from '@slotted/react/stack';\n\nexport default function MessageThreadExample() {\n return (\n <MessageDefaultsProvider layout=\"thread\">\n <Stack gap={4}>\n <Message>\n <MessageAvatar>\n <Avatar\n name=\"Emily Parker\"\n src=\"https://api.dicebear.com/11.x/lorelei/svg?seed=Emily%20Parker&backgroundColor=b6e3f4,c0aede,d1d4f9,ffd5dc,ffdfbf\"\n />\n </MessageAvatar>\n <MessageBody>\n <MessageHeader>\n <MessageAuthor>Emily Parker</MessageAuthor>\n <MessageTime dateTime=\"2026-09-30T09:12\">4 minutes ago</MessageTime>\n </MessageHeader>\n <Bubble>\n <BubbleContent>Can we name the SSO owner before the vendor review?</BubbleContent>\n <BubbleReactions>\n <BubbleReaction count={3}>Agree</BubbleReaction>\n </BubbleReactions>\n </Bubble>\n </MessageBody>\n </Message>\n <Message>\n <MessageAvatar>\n <Avatar\n name=\"Tomas Berg\"\n src=\"https://api.dicebear.com/11.x/lorelei/svg?seed=Tomas%20Berg&backgroundColor=b6e3f4,c0aede,d1d4f9,ffd5dc,ffdfbf\"\n />\n </MessageAvatar>\n <MessageBody>\n <MessageHeader>\n <MessageAuthor>Tomas Berg</MessageAuthor>\n <MessageTime dateTime=\"2026-09-30T09:15\">1 minute ago</MessageTime>\n </MessageHeader>\n <Bubble>\n <BubbleContent>Marta Silva owns it. I will add her to the review.</BubbleContent>\n </Bubble>\n </MessageBody>\n </Message>\n </Stack>\n </MessageDefaultsProvider>\n );\n}\n",
|
|
969
|
+
"verdict": "example"
|
|
920
970
|
}
|
|
921
971
|
]
|
|
922
972
|
}
|
package/dist/docs/message.md
CHANGED
|
@@ -11,16 +11,43 @@ import { Bubble, BubbleCaret, BubbleContent, BubbleMeta, BubbleQuote, BubbleReac
|
|
|
11
11
|
|
|
12
12
|
## Minimal example
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
```tsx
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
Example
|
|
15
|
+
|
|
16
|
+
```tsx
|
|
17
|
+
import { Avatar } from '@slotted/react/avatar';
|
|
18
|
+
import {
|
|
19
|
+
Bubble,
|
|
20
|
+
BubbleContent,
|
|
21
|
+
Message,
|
|
22
|
+
MessageAuthor,
|
|
23
|
+
MessageAvatar,
|
|
24
|
+
MessageBody,
|
|
25
|
+
MessageHeader,
|
|
26
|
+
MessageTime,
|
|
27
|
+
} from '@slotted/react/message';
|
|
28
|
+
|
|
29
|
+
export default function MessageBasicExample() {
|
|
30
|
+
return (
|
|
31
|
+
<Message>
|
|
32
|
+
<MessageAvatar>
|
|
33
|
+
<Avatar
|
|
34
|
+
name="Marta Silva"
|
|
35
|
+
src="https://api.dicebear.com/11.x/lorelei/svg?seed=Marta%20Silva&backgroundColor=b6e3f4,c0aede,d1d4f9,ffd5dc,ffdfbf"
|
|
36
|
+
size="sm"
|
|
37
|
+
/>
|
|
38
|
+
</MessageAvatar>
|
|
39
|
+
<MessageBody>
|
|
40
|
+
<MessageHeader>
|
|
41
|
+
<MessageAuthor>Marta Silva</MessageAuthor>
|
|
42
|
+
<MessageTime dateTime="2026-09-30T09:38">09:38</MessageTime>
|
|
43
|
+
</MessageHeader>
|
|
44
|
+
<Bubble>
|
|
45
|
+
<BubbleContent>The payout for order 4821 arrives this afternoon.</BubbleContent>
|
|
46
|
+
</Bubble>
|
|
47
|
+
</MessageBody>
|
|
48
|
+
</Message>
|
|
49
|
+
);
|
|
50
|
+
}
|
|
24
51
|
```
|
|
25
52
|
|
|
26
53
|
## Anatomy
|
|
@@ -161,323 +188,8 @@ Excerpt — not a complete module
|
|
|
161
188
|
|
|
162
189
|
## Tokens
|
|
163
190
|
|
|
164
|
-
`--slotted-avatar-size-md`, `--slotted-avatar-size-sm`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-md`, `--slotted-control-radius`, `--slotted-disabled-foreground`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-loop-slow`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-emphasized`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-message-activity-color-complete`, `--slotted-message-activity-gap`, `--slotted-message-activity-icon-border-color-current`, `--slotted-message-activity-icon-glyph-size`, `--slotted-message-activity-icon-radius`, `--slotted-message-activity-icon-size`, `--slotted-message-activity-icon-surface`, `--slotted-message-activity-rise`, `--slotted-message-activity-step-gap`, `--slotted-message-avatar-size`, `--slotted-message-bubble-padding-block`, `--slotted-message-bubble-padding-inline`, `--slotted-message-bubble-radius`, `--slotted-message-bubble-radius-joined`, `--slotted-message-bubble-share`, `--slotted-message-column-gap`, `--slotted-message-retry-state-layer`, `--slotted-message-run-gap`, `--slotted-message-stack-gap`, `--slotted-message-state-layer-active`, `--slotted-message-state-layer-hover`, `--slotted-message-thread-avatar-size`, `--slotted-radius-full`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-sm`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-surface`, `--slotted-surface-raised`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-on-solid`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-solid-active`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-info-border`, `--slotted-tone-info-on-solid`, `--slotted-tone-info-solid`, `--slotted-tone-info-surface`, `--slotted-tone-info-text`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-success-border`, `--slotted-tone-success-on-solid`, `--slotted-tone-success-solid`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-on-solid`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
191
|
+
`--slotted-avatar-size-md`, `--slotted-avatar-size-sm`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-md`, `--slotted-control-radius`, `--slotted-disabled-foreground`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-loop-slow`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-emphasized`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-message-activity-color-complete`, `--slotted-message-activity-gap`, `--slotted-message-activity-icon-border-color-current`, `--slotted-message-activity-icon-glyph-size`, `--slotted-message-activity-icon-radius`, `--slotted-message-activity-icon-size`, `--slotted-message-activity-icon-surface`, `--slotted-message-activity-rise`, `--slotted-message-activity-step-gap`, `--slotted-message-avatar-size`, `--slotted-message-bubble-padding-block`, `--slotted-message-bubble-padding-inline`, `--slotted-message-bubble-radius`, `--slotted-message-bubble-radius-joined`, `--slotted-message-bubble-share`, `--slotted-message-column-gap`, `--slotted-message-retry-state-layer`, `--slotted-message-run-gap`, `--slotted-message-stack-gap`, `--slotted-message-state-layer-active`, `--slotted-message-state-layer-hover`, `--slotted-message-thread-avatar-size`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-sm`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-surface`, `--slotted-surface-raised`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-on-solid`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-solid-active`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-info-border`, `--slotted-tone-info-on-solid`, `--slotted-tone-info-solid`, `--slotted-tone-info-surface`, `--slotted-tone-info-text`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-success-border`, `--slotted-tone-success-on-solid`, `--slotted-tone-success-solid`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-on-solid`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
165
192
|
|
|
166
193
|
## Examples
|
|
167
194
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
align lives on the row. A bubble in an end row paints the accent’s fill by itself; a bubble in a start row the secondary tint. Nothing is repeated on the bubble.
|
|
171
|
-
|
|
172
|
-
Excerpt — not a complete module
|
|
173
|
-
|
|
174
|
-
```tsx
|
|
175
|
-
<Message align="end">
|
|
176
|
-
<MessageBody>
|
|
177
|
-
<Bubble>
|
|
178
|
-
<BubbleContent>Great. I will resend as soon as it arrives.</BubbleContent>
|
|
179
|
-
</Bubble>
|
|
180
|
-
</MessageBody>
|
|
181
|
-
</Message>;
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
### The avatar at the foot of the words
|
|
185
|
-
|
|
186
|
-
The avatar sits on the line of the last bubble, not of the footer under it, and moves to the end side with the row. It is the avatar family’s small step, so it follows the density.
|
|
187
|
-
|
|
188
|
-
Excerpt — not a complete module
|
|
189
|
-
|
|
190
|
-
```tsx
|
|
191
|
-
<Message>
|
|
192
|
-
<MessageAvatar>
|
|
193
|
-
<Avatar name="Marta Silva" size="sm" />
|
|
194
|
-
</MessageAvatar>
|
|
195
|
-
<MessageBody>
|
|
196
|
-
<Bubble>
|
|
197
|
-
<BubbleContent>It arrives this afternoon.</BubbleContent>
|
|
198
|
-
</Bubble>
|
|
199
|
-
</MessageBody>
|
|
200
|
-
</Message>;
|
|
201
|
-
```
|
|
202
|
-
|
|
203
|
-
### A run from one sender
|
|
204
|
-
|
|
205
|
-
Three rows, one avatar on the last. The rows stand two pixels apart and the corners facing each other on the sender’s side draw in to four; the earlier rows keep the avatar column without an empty slot.
|
|
206
|
-
|
|
207
|
-
Excerpt — not a complete module
|
|
208
|
-
|
|
209
|
-
```tsx
|
|
210
|
-
<MessageGroup>
|
|
211
|
-
<Message>
|
|
212
|
-
<MessageBody>
|
|
213
|
-
<Bubble>
|
|
214
|
-
<BubbleContent>Tuesday's payout came back with error R03.</BubbleContent>
|
|
215
|
-
</Bubble>
|
|
216
|
-
</MessageBody>
|
|
217
|
-
</Message>
|
|
218
|
-
<Message>
|
|
219
|
-
<MessageAvatar>
|
|
220
|
-
<Avatar name="Marta Silva" size="sm" />
|
|
221
|
-
</MessageAvatar>
|
|
222
|
-
<MessageBody>
|
|
223
|
-
<Bubble>
|
|
224
|
-
<BubbleContent>It arrives this afternoon.</BubbleContent>
|
|
225
|
-
</Bubble>
|
|
226
|
-
</MessageBody>
|
|
227
|
-
</Message>
|
|
228
|
-
</MessageGroup>;
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
### Who spoke, and when
|
|
232
|
-
|
|
233
|
-
The header sets the name on the inset of the words, so the name stands over the first letter it names. The dot between name and hour is drawn by the stylesheet and never read aloud.
|
|
234
|
-
|
|
235
|
-
Excerpt — not a complete module
|
|
236
|
-
|
|
237
|
-
```tsx
|
|
238
|
-
<MessageHeader>
|
|
239
|
-
<MessageAuthor>Marta Silva</MessageAuthor>
|
|
240
|
-
<MessageTime dateTime="2026-09-30T09:38">09:38</MessageTime>
|
|
241
|
-
</MessageHeader>;
|
|
242
|
-
```
|
|
243
|
-
|
|
244
|
-
### Where a message is in its delivery
|
|
245
|
-
|
|
246
|
-
Inside the bubble the hour and the mark ride at the end of the last line: a breathing clock while sending, one tick, two ticks, and two ticks in full ink once read. A message that did not go says so in a word under it, with the retry control beside it.
|
|
247
|
-
|
|
248
|
-
Excerpt — not a complete module
|
|
249
|
-
|
|
250
|
-
```tsx
|
|
251
|
-
<Message align="end" status="read">
|
|
252
|
-
<MessageBody>
|
|
253
|
-
<Bubble>
|
|
254
|
-
<BubbleContent>
|
|
255
|
-
And I mark the invoice as paid only after the credit.
|
|
256
|
-
<BubbleMeta>
|
|
257
|
-
<MessageTime dateTime="2026-09-30T09:41">09:41</MessageTime>
|
|
258
|
-
<MessageReceipt />
|
|
259
|
-
</BubbleMeta>
|
|
260
|
-
</BubbleContent>
|
|
261
|
-
</Bubble>
|
|
262
|
-
</MessageBody>
|
|
263
|
-
</Message>;
|
|
264
|
-
```
|
|
265
|
-
|
|
266
|
-
### Actions the row reveals
|
|
267
|
-
|
|
268
|
-
With actionsVisibility="hover" the toolbar keeps its room and appears under the pointer and on focus anywhere in the row; on a screen that cannot hover it is always painted. Tab into the row to see it arrive.
|
|
269
|
-
|
|
270
|
-
Excerpt — not a complete module
|
|
271
|
-
|
|
272
|
-
```tsx
|
|
273
|
-
<MessageFooter>
|
|
274
|
-
<MessageActions>
|
|
275
|
-
<IconButton aria-label="Copiar" variant="ghost" size="sm">
|
|
276
|
-
<Icon>
|
|
277
|
-
<Glyph name="copy" />
|
|
278
|
-
</Icon>
|
|
279
|
-
</IconButton>
|
|
280
|
-
</MessageActions>
|
|
281
|
-
</MessageFooter>;
|
|
282
|
-
```
|
|
283
|
-
|
|
284
|
-
### What a reply is doing before it has words
|
|
285
|
-
|
|
286
|
-
Steps done carry a tick and step back into the muted ink; the current one carries the shared ring and a band of light across its words. Under reduced motion the band stops and the words stand in the plain ink.
|
|
287
|
-
|
|
288
|
-
Excerpt — not a complete module
|
|
289
|
-
|
|
290
|
-
```tsx
|
|
291
|
-
<Message status="streaming">
|
|
292
|
-
<MessageBody>
|
|
293
|
-
<MessageActivity>
|
|
294
|
-
<MessageActivityStep status="complete">Read the log from 14:00 to 14:10</MessageActivityStep>
|
|
295
|
-
<MessageActivityStep>Looking for the cause of p95…</MessageActivityStep>
|
|
296
|
-
</MessageActivity>
|
|
297
|
-
</MessageBody>
|
|
298
|
-
</Message>;
|
|
299
|
-
```
|
|
300
|
-
|
|
301
|
-
### Versions of one reply
|
|
302
|
-
|
|
303
|
-
The pager draws with two or more versions and stops at both ends. ArrowLeft and ArrowRight page from either control, mirrored in a right-to-left page; the label is a polite live region.
|
|
304
|
-
|
|
305
|
-
Excerpt — not a complete module
|
|
306
|
-
|
|
307
|
-
```tsx
|
|
308
|
-
<Message versionCount={3} version={version} onVersionChange={setVersion}>
|
|
309
|
-
<MessageBody>
|
|
310
|
-
<Bubble>
|
|
311
|
-
<BubbleContent>{drafts[version]}</BubbleContent>
|
|
312
|
-
</Bubble>
|
|
313
|
-
<MessageFooter>
|
|
314
|
-
<MessageVersions />
|
|
315
|
-
</MessageFooter>
|
|
316
|
-
</MessageBody>
|
|
317
|
-
</Message>;
|
|
318
|
-
```
|
|
319
|
-
|
|
320
|
-
### A comment thread
|
|
321
|
-
|
|
322
|
-
layout="thread" sets every row at the start with the avatar at the top, the name inline, the words unframed and a band under the pointer; the actions float at the row’s top end on a raised plate.
|
|
323
|
-
|
|
324
|
-
Excerpt — not a complete module
|
|
325
|
-
|
|
326
|
-
```tsx
|
|
327
|
-
<Message layout="thread">
|
|
328
|
-
<MessageAvatar>
|
|
329
|
-
<Avatar name="Emily Parker" />
|
|
330
|
-
</MessageAvatar>
|
|
331
|
-
<MessageBody>
|
|
332
|
-
<MessageHeader>
|
|
333
|
-
<MessageAuthor>Emily Parker</MessageAuthor>
|
|
334
|
-
<MessageTime dateTime="2026-09-30T09:12">4 minutes ago</MessageTime>
|
|
335
|
-
</MessageHeader>
|
|
336
|
-
<Bubble>
|
|
337
|
-
<BubbleContent>Can we name the SSO owner before the review?</BubbleContent>
|
|
338
|
-
</Bubble>
|
|
339
|
-
</MessageBody>
|
|
340
|
-
</Message>;
|
|
341
|
-
```
|
|
342
|
-
|
|
343
|
-
### Playground
|
|
344
|
-
|
|
345
|
-
One bubble with its variant, tone and clamp on the controls. A bubble outside a row takes the provider’s painting; inside one it takes the row’s side.
|
|
346
|
-
|
|
347
|
-
Excerpt — not a complete module
|
|
348
|
-
|
|
349
|
-
```tsx
|
|
350
|
-
<Bubble variant="soft" tone="secondary">
|
|
351
|
-
<BubbleContent>The destination account does not exist at the bank.</BubbleContent>
|
|
352
|
-
</Bubble>;
|
|
353
|
-
```
|
|
354
|
-
|
|
355
|
-
### Four paintings
|
|
356
|
-
|
|
357
|
-
solid is the tone’s fill, soft its tint with a rim that shows only in high contrast, outline its edge on the page, plain no box at all — the unframed answer that takes the whole row.
|
|
358
|
-
|
|
359
|
-
Excerpt — not a complete module
|
|
360
|
-
|
|
361
|
-
```tsx
|
|
362
|
-
<Bubble variant="solid" tone="accent">
|
|
363
|
-
…
|
|
364
|
-
</Bubble>;
|
|
365
|
-
<Bubble variant="soft">…</Bubble>;
|
|
366
|
-
<Bubble variant="outline">…</Bubble>;
|
|
367
|
-
<Bubble variant="plain">…</Bubble>;
|
|
368
|
-
```
|
|
369
|
-
|
|
370
|
-
### Five tones
|
|
371
|
-
|
|
372
|
-
accent and secondary write in the page’s ink; success, warning and danger in their own, because there the color of the words is the point — and the words say it too.
|
|
373
|
-
|
|
374
|
-
Excerpt — not a complete module
|
|
375
|
-
|
|
376
|
-
```tsx
|
|
377
|
-
<Bubble tone="danger">
|
|
378
|
-
<BubbleContent>Step 5 failed and the worker did not come back.</BubbleContent>
|
|
379
|
-
</Bubble>;
|
|
380
|
-
```
|
|
381
|
-
|
|
382
|
-
### Quick replies and links
|
|
383
|
-
|
|
384
|
-
render turns the surface itself into a button or an a, and it keeps the painting, the hover, a distinct press and the focus ring. A link keeps middle-click and its destination.
|
|
385
|
-
|
|
386
|
-
Excerpt — not a complete module
|
|
387
|
-
|
|
388
|
-
```tsx
|
|
389
|
-
<Bubble tone="accent">
|
|
390
|
-
<BubbleContent render={(props) => <button type="button" {...props} onClick={retryAll} />}>
|
|
391
|
-
Reenviar as duas agora
|
|
392
|
-
</BubbleContent>
|
|
393
|
-
</Bubble>;
|
|
394
|
-
```
|
|
395
|
-
|
|
396
|
-
### Replying to a message
|
|
397
|
-
|
|
398
|
-
The quote heads the surface in a block tinted with the surface’s own ink, author over up to three lines. With onJump it is a button that asks the scroller to take the reader to the quoted message.
|
|
399
|
-
|
|
400
|
-
Excerpt — not a complete module
|
|
401
|
-
|
|
402
|
-
```tsx
|
|
403
|
-
<BubbleContent>
|
|
404
|
-
<BubbleQuote
|
|
405
|
-
author="Marta Silva"
|
|
406
|
-
onJump={() => scroller.current?.scrollToMessage('m2', { highlight: true })}
|
|
407
|
-
>
|
|
408
|
-
The destination account does not exist at the bank.
|
|
409
|
-
</BubbleQuote>
|
|
410
|
-
Send me the IBAN when it arrives.
|
|
411
|
-
</BubbleContent>;
|
|
412
|
-
```
|
|
413
|
-
|
|
414
|
-
### A long reply, clamped
|
|
415
|
-
|
|
416
|
-
maxLines shows the first lines and draws “Show more” only while the text overflows. The whole text stays in the DOM for copying and finding in the page; the chevron turns as it opens.
|
|
417
|
-
|
|
418
|
-
Excerpt — not a complete module
|
|
419
|
-
|
|
420
|
-
```tsx
|
|
421
|
-
<Bubble maxLines={3}>
|
|
422
|
-
<BubbleContent>{longAnswer}</BubbleContent>
|
|
423
|
-
</Bubble>;
|
|
424
|
-
```
|
|
425
|
-
|
|
426
|
-
### A reply while it streams
|
|
427
|
-
|
|
428
|
-
Words arrive in bursts. BubbleStream splits each arrival into words, and a burst enters as a wave of at most 320 ms, each word out of a blur; nothing is held back from the DOM. The dot breathes after the last word. The row is aria-busy, so the words are not read as they land. Under reduced motion every word lands settled and the dot stands lit.
|
|
429
|
-
|
|
430
|
-
Excerpt — not a complete module
|
|
431
|
-
|
|
432
|
-
```tsx
|
|
433
|
-
<Message status="streaming">
|
|
434
|
-
<MessageBody>
|
|
435
|
-
<Bubble>
|
|
436
|
-
<BubbleContent>
|
|
437
|
-
<BubbleStream text={received} />
|
|
438
|
-
<BubbleCaret />
|
|
439
|
-
</BubbleContent>
|
|
440
|
-
</Bubble>
|
|
441
|
-
</MessageBody>
|
|
442
|
-
</Message>;
|
|
443
|
-
```
|
|
444
|
-
|
|
445
|
-
### Someone is writing
|
|
446
|
-
|
|
447
|
-
Three dots rise and brighten in a wave in the writer’s bubble, which trails two circles of its own fill and edge and arrives rising from them. It is one image named for assistive technology.
|
|
448
|
-
|
|
449
|
-
Excerpt — not a complete module
|
|
450
|
-
|
|
451
|
-
```tsx
|
|
452
|
-
<Bubble>
|
|
453
|
-
<BubbleContent>
|
|
454
|
-
<BubbleTyping aria-label="Marta is typing" />
|
|
455
|
-
</BubbleContent>
|
|
456
|
-
</Bubble>;
|
|
457
|
-
```
|
|
458
|
-
|
|
459
|
-
### Reactions
|
|
460
|
-
|
|
461
|
-
The pill straddles the lower edge on the side away from the sender and rises into the surface by half its inset, clear of the words. The reader’s own reaction takes the accent’s tint and edge; a disabled one stays legible.
|
|
462
|
-
|
|
463
|
-
Excerpt — not a complete module
|
|
464
|
-
|
|
465
|
-
```tsx
|
|
466
|
-
<BubbleReactions>
|
|
467
|
-
<BubbleReaction count={4} defaultPressed>
|
|
468
|
-
👍
|
|
469
|
-
</BubbleReaction>
|
|
470
|
-
</BubbleReactions>;
|
|
471
|
-
```
|
|
472
|
-
|
|
473
|
-
### Content nobody chose
|
|
474
|
-
|
|
475
|
-
A URL of a hundred characters breaks where it must instead of pushing the bubble past its share; an Arabic line in a Portuguese thread reads from its own side; a two-letter reply is still a bubble, not a pill.
|
|
476
|
-
|
|
477
|
-
Excerpt — not a complete module
|
|
478
|
-
|
|
479
|
-
```tsx
|
|
480
|
-
<Bubble>
|
|
481
|
-
<BubbleContent>{text}</BubbleContent>
|
|
482
|
-
</Bubble>;
|
|
483
|
-
```
|
|
195
|
+
See [message.examples.md](./message.examples.md).
|