@redvars/peacock 4.6.1 → 4.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion-item.js +58 -39
- package/dist/accordion-item.js.map +1 -1
- package/dist/accordion.js +9 -9
- package/dist/accordion.js.map +1 -1
- package/dist/agent.js +1937 -0
- package/dist/agent.js.map +1 -0
- package/dist/ai-badge.js +5 -8
- package/dist/ai-badge.js.map +1 -1
- package/dist/ai-summary.js +5 -8
- package/dist/ai-summary.js.map +1 -1
- package/dist/alert.js +6 -9
- package/dist/alert.js.map +1 -1
- package/dist/anchor-nav.js +6 -9
- package/dist/anchor-nav.js.map +1 -1
- package/dist/announce-Cqen_7FM.js +45 -0
- package/dist/announce-Cqen_7FM.js.map +1 -0
- package/dist/app-bar.js +6 -9
- package/dist/app-bar.js.map +1 -1
- package/dist/app-shell.js +8 -11
- package/dist/app-shell.js.map +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/assets/styles.css.map +1 -1
- package/dist/assets/theme.d.ts +2 -0
- package/dist/assets/theme.js +49 -29
- package/dist/assets/tokens.css +1 -1
- package/dist/assets/tokens.css.map +1 -1
- package/dist/assistant-panel.js +5 -8
- package/dist/assistant-panel.js.map +1 -1
- package/dist/assistant-step.js +4 -7
- package/dist/assistant-step.js.map +1 -1
- package/dist/assistant-steps.js +5 -8
- package/dist/assistant-steps.js.map +1 -1
- package/dist/{attachable-controller-DofeyflD.js → attachable-controller-seKf2eqC.js} +2 -2
- package/dist/{attachable-controller-DofeyflD.js.map → attachable-controller-seKf2eqC.js.map} +1 -1
- package/dist/avatar-group.js +5 -8
- package/dist/avatar-group.js.map +1 -1
- package/dist/avatar.js +6 -9
- package/dist/avatar.js.map +1 -1
- package/dist/badge.js +5 -8
- package/dist/badge.js.map +1 -1
- package/dist/banner.js +6 -9
- package/dist/banner.js.map +1 -1
- package/dist/{base-button-9tGu5RSC.js → base-button-CkV2vtVA.js} +2 -3
- package/dist/base-button-CkV2vtVA.js.map +1 -0
- package/dist/bottom-sheet.js +10 -13
- package/dist/bottom-sheet.js.map +1 -1
- package/dist/breadcrumb-item.js +8 -11
- package/dist/breadcrumb-item.js.map +1 -1
- package/dist/breadcrumb.js +7 -10
- package/dist/breadcrumb.js.map +1 -1
- package/dist/{ButtonConstants-CahP2_NA.js → button-constants-CahP2_NA.js} +1 -1
- package/dist/button-constants-CahP2_NA.js.map +1 -0
- package/dist/button-group.js +95 -17
- package/dist/button-group.js.map +1 -1
- package/dist/button.js +263 -41
- package/dist/button.js.map +1 -1
- package/dist/calendar-column-view.js +10 -13
- package/dist/calendar-column-view.js.map +1 -1
- package/dist/{calendar-header-DVrfThwr.js → calendar-header-CXz48-1c.js} +2 -2
- package/dist/{calendar-header-DVrfThwr.js.map → calendar-header-CXz48-1c.js.map} +1 -1
- package/dist/calendar-month-view.js +10 -13
- package/dist/calendar-month-view.js.map +1 -1
- package/dist/calendar-timeline.js +11 -14
- package/dist/calendar-timeline.js.map +1 -1
- package/dist/calendar.js +7 -10
- package/dist/calendar.js.map +1 -1
- package/dist/{canvas-base-BjiU3Ecl.js → canvas-base-BnbNbzej.js} +15 -15
- package/dist/canvas-base-BnbNbzej.js.map +1 -0
- package/dist/card-content.js +3 -6
- package/dist/card-content.js.map +1 -1
- package/dist/card.js +10 -12
- package/dist/card.js.map +1 -1
- package/dist/carousel.js +189 -17
- package/dist/carousel.js.map +1 -1
- package/dist/{cartesian-chart-iE3cmeGF.js → cartesian-chart-UW1CYKRS.js} +4 -4
- package/dist/{cartesian-chart-iE3cmeGF.js.map → cartesian-chart-UW1CYKRS.js.map} +1 -1
- package/dist/cb-divider.js +5 -8
- package/dist/cb-divider.js.map +1 -1
- package/dist/cb-group.js +9 -12
- package/dist/cb-group.js.map +1 -1
- package/dist/cb-rule.js +6 -6
- package/dist/chart-area.js +9 -12
- package/dist/chart-area.js.map +1 -1
- package/dist/chart-bar.js +9 -12
- package/dist/chart-bar.js.map +1 -1
- package/dist/{chart-base-CDyVDmz7.js → chart-base-D5ujPGcl.js} +8 -8
- package/dist/{chart-base-CDyVDmz7.js.map → chart-base-D5ujPGcl.js.map} +1 -1
- package/dist/chart-doughnut.js +8 -11
- package/dist/chart-doughnut.js.map +1 -1
- package/dist/chart-line.js +9 -12
- package/dist/chart-line.js.map +1 -1
- package/dist/chart-pie.js +9 -12
- package/dist/chart-pie.js.map +1 -1
- package/dist/chat-event.js +4 -7
- package/dist/chat-event.js.map +1 -1
- package/dist/chat-message.js +6 -9
- package/dist/chat-message.js.map +1 -1
- package/dist/chat-thread.js +5 -8
- package/dist/chat-thread.js.map +1 -1
- package/dist/checkbox-group.js +11 -14
- package/dist/checkbox-group.js.map +1 -1
- package/dist/checkbox.js +55 -37
- package/dist/checkbox.js.map +1 -1
- package/dist/chip-set.js +8 -11
- package/dist/chip-set.js.map +1 -1
- package/dist/chip.js +45 -22
- package/dist/chip.js.map +1 -1
- package/dist/circular-progress.js +52 -24
- package/dist/circular-progress.js.map +1 -1
- package/dist/citation.js +5 -8
- package/dist/citation.js.map +1 -1
- package/dist/{class-map-NDIkZErE.js → class-map-DN-g_e4M.js} +2 -2
- package/dist/{class-map-NDIkZErE.js.map → class-map-DN-g_e4M.js.map} +1 -1
- package/dist/clock.js +4 -7
- package/dist/clock.js.map +1 -1
- package/dist/code-editor.js +11 -15
- package/dist/code-editor.js.map +1 -1
- package/dist/code-group.js +5 -8
- package/dist/code-group.js.map +1 -1
- package/dist/code-highlighter.js +8 -11
- package/dist/code-highlighter.js.map +1 -1
- package/dist/color-field.js +13 -13
- package/dist/color-field.js.map +1 -1
- package/dist/color-picker.js +7 -10
- package/dist/color-picker.js.map +1 -1
- package/dist/{coming-soon-BbkKjSbP.js → coming-soon-D3KYDcUT.js} +2 -2
- package/dist/{coming-soon-BbkKjSbP.js.map → coming-soon-D3KYDcUT.js.map} +1 -1
- package/dist/command-palette.js +9 -12
- package/dist/command-palette.js.map +1 -1
- package/dist/comment-composer.js +16 -19
- package/dist/comment-composer.js.map +1 -1
- package/dist/condition-builder.js +10 -13
- package/dist/condition-builder.js.map +1 -1
- package/dist/{cb-group-base-CWctDJvy.js → condition-group-base-1g9O6qDB.js} +31 -34
- package/dist/condition-group-base-1g9O6qDB.js.map +1 -0
- package/dist/{cb-group-base-2Ps2CnBz.js → condition-group-base-DS76sprm.js} +3 -3
- package/dist/condition-group-base-DS76sprm.js.map +1 -0
- package/dist/confirm-dialog.js +8 -11
- package/dist/confirm-dialog.js.map +1 -1
- package/dist/container.js +5 -8
- package/dist/container.js.map +1 -1
- package/dist/copy-button.js +6 -10
- package/dist/copy-button.js.map +1 -1
- package/dist/currency-field.js +11 -12
- package/dist/currency-field.js.map +1 -1
- package/dist/custom-elements-jsdocs.json +1524 -1572
- package/dist/custom-elements.json +100135 -96288
- package/dist/{datasource-DxEA6jHW.js → datasource-C1SmuuOZ.js} +2 -2
- package/dist/{datasource-DxEA6jHW.js.map → datasource-C1SmuuOZ.js.map} +1 -1
- package/dist/date-field.js +14 -15
- package/dist/date-field.js.map +1 -1
- package/dist/{date-DPQOY8Zd.js → date-hLvScHFM.js} +2 -2
- package/dist/{date-DPQOY8Zd.js.map → date-hLvScHFM.js.map} +1 -1
- package/dist/date-picker.js +7 -10
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-field.js +14 -15
- package/dist/date-range-field.js.map +1 -1
- package/dist/datetime-field.js +13 -14
- package/dist/datetime-field.js.map +1 -1
- package/dist/define-element-DwIWgY_Y.js +2364 -0
- package/dist/define-element-DwIWgY_Y.js.map +1 -0
- package/dist/{delegate-Bw2wdPFP.js → delegate-BhEozvyn.js} +2 -2
- package/dist/{delegate-Bw2wdPFP.js.map → delegate-BhEozvyn.js.map} +1 -1
- package/dist/dependency-map.js +11 -14
- package/dist/dependency-map.js.map +1 -1
- package/dist/description-item.js +5 -8
- package/dist/description-item.js.map +1 -1
- package/dist/description-list.js +5 -8
- package/dist/description-list.js.map +1 -1
- package/dist/{diagram-D2aM93kf.js → diagram-DFO-X7yq.js} +10 -13
- package/dist/diagram-DFO-X7yq.js.map +1 -0
- package/dist/diagram-controls.js +6 -9
- package/dist/diagram-controls.js.map +1 -1
- package/dist/diagram-minimap.js +5 -8
- package/dist/diagram-minimap.js.map +1 -1
- package/dist/diagram.js +8 -8
- package/dist/diff-viewer.js +6 -9
- package/dist/diff-viewer.js.map +1 -1
- package/dist/{directive-helpers-Bx3mu42O.js → directive-helpers-DeGn4TbT.js} +2 -2
- package/dist/{directive-helpers-Bx3mu42O.js.map → directive-helpers-DeGn4TbT.js.map} +1 -1
- package/dist/discussion-activity.js +5 -8
- package/dist/discussion-activity.js.map +1 -1
- package/dist/discussion-comment.js +7 -11
- package/dist/discussion-comment.js.map +1 -1
- package/dist/{discussion-time-DqykqvNy.js → discussion-time-Bghw_Adc.js} +2 -2
- package/dist/{discussion-time-DqykqvNy.js.map → discussion-time-Bghw_Adc.js.map} +1 -1
- package/dist/discussion.js +15 -18
- package/dist/discussion.js.map +1 -1
- package/dist/divider.js +6 -9
- package/dist/divider.js.map +1 -1
- package/dist/{document-editor-BS6al7Hq.js → document-editor-CSS-wACs.js} +14 -17
- package/dist/document-editor-CSS-wACs.js.map +1 -0
- package/dist/document-editor.js +9 -9
- package/dist/draft-card.js +5 -8
- package/dist/draft-card.js.map +1 -1
- package/dist/dropdown-button.js +57 -31
- package/dist/dropdown-button.js.map +1 -1
- package/dist/elevation.js +3 -6
- package/dist/elevation.js.map +1 -1
- package/dist/{empty-MArzZMl4.js → empty-DEhaDrWj.js} +2 -2
- package/dist/{empty-MArzZMl4.js.map → empty-DEhaDrWj.js.map} +1 -1
- package/dist/{empty-cart-RTR3HBYT.js → empty-cart-BHaNZ2lY.js} +2 -2
- package/dist/{empty-cart-RTR3HBYT.js.map → empty-cart-BHaNZ2lY.js.map} +1 -1
- package/dist/{empty-inbox-TkdPARS5.js → empty-inbox-CJJaz9E6.js} +2 -2
- package/dist/{empty-inbox-TkdPARS5.js.map → empty-inbox-CJJaz9E6.js.map} +1 -1
- package/dist/erd.js +13 -16
- package/dist/erd.js.map +1 -1
- package/dist/{error-MDLh6Iqt.js → error-BemWzRq8.js} +2 -2
- package/dist/{error-MDLh6Iqt.js.map → error-BemWzRq8.js.map} +1 -1
- package/dist/{event-manager-DYfeN3VE.js → event-manager-BRD5ndh1.js} +2 -2
- package/dist/{event-manager-DYfeN3VE.js.map → event-manager-BRD5ndh1.js.map} +1 -1
- package/dist/fab-menu-item.js +189 -0
- package/dist/fab-menu-item.js.map +1 -0
- package/dist/fab-menu.js +326 -0
- package/dist/fab-menu.js.map +1 -0
- package/dist/fab.js +40 -32
- package/dist/fab.js.map +1 -1
- package/dist/{BaseField-DOCmylob.js → field-base-D9lh_aNl.js} +106 -21
- package/dist/field-base-D9lh_aNl.js.map +1 -0
- package/dist/field.js +7 -10
- package/dist/field.js.map +1 -1
- package/dist/fieldset.js +5 -8
- package/dist/fieldset.js.map +1 -1
- package/dist/file-upload.js +11 -14
- package/dist/file-upload.js.map +1 -1
- package/dist/filter-bar.js +9 -12
- package/dist/filter-bar.js.map +1 -1
- package/dist/flow.js +10 -13
- package/dist/flow.js.map +1 -1
- package/dist/focus-ring.js +5 -8
- package/dist/focus-ring.js.map +1 -1
- package/dist/{form-associated-BHbg72PG.js → form-associated-CZ4StgI6.js} +2 -3
- package/dist/{form-associated-BHbg72PG.js.map → form-associated-CZ4StgI6.js.map} +1 -1
- package/dist/{form-submitter-BIFqZ0wq.js → form-submitter-D16XUqJu.js} +3 -3
- package/dist/{form-submitter-BIFqZ0wq.js.map → form-submitter-D16XUqJu.js.map} +1 -1
- package/dist/form.js +7 -10
- package/dist/form.js.map +1 -1
- package/dist/{generative-view-DsSOPf26.js → generative-view-DYBvSwd_.js} +5 -8
- package/dist/generative-view-DYBvSwd_.js.map +1 -0
- package/dist/generative-view.js +3 -3
- package/dist/grid.js +4 -7
- package/dist/grid.js.map +1 -1
- package/dist/{highlight-Be0wu7kh.js → highlight-Do-Syp3T.js} +6 -9
- package/dist/highlight-Do-Syp3T.js.map +1 -0
- package/dist/highlight.js +4 -4
- package/dist/hover-card.js +9 -10
- package/dist/hover-card.js.map +1 -1
- package/dist/html-editor.js +15 -18
- package/dist/html-editor.js.map +1 -1
- package/dist/{hyperlink-DycWPKwU.js → hyperlink-DFN9NWCO.js} +2 -3
- package/dist/{hyperlink-DycWPKwU.js.map → hyperlink-DFN9NWCO.js.map} +1 -1
- package/dist/icon-button.js +38 -40
- package/dist/icon-button.js.map +1 -1
- package/dist/icon.js +8 -11
- package/dist/icon.js.map +1 -1
- package/dist/{if-defined-D9DEJR_6.js → if-defined-2i6tzDo8.js} +2 -2
- package/dist/{if-defined-D9DEJR_6.js.map → if-defined-2i6tzDo8.js.map} +1 -1
- package/dist/{illustration-DQ-_sz1l.js → illustration-C5AFfmfu.js} +24 -27
- package/dist/illustration-C5AFfmfu.js.map +1 -0
- package/dist/illustration.js +4 -4
- package/dist/image.js +5 -8
- package/dist/image.js.map +1 -1
- package/dist/{index-JdgBct78.js → index-BBxpsqx8.js} +7 -7
- package/dist/{index-JdgBct78.js.map → index-BBxpsqx8.js.map} +1 -1
- package/dist/{index-BnzqYRhq.js → index-CDtKB0In.js} +7 -7
- package/dist/{index-BnzqYRhq.js.map → index-CDtKB0In.js.map} +1 -1
- package/dist/{index-V2ozemrR.js → index-Tb0ky27z.js} +6 -6
- package/dist/{index-V2ozemrR.js.map → index-Tb0ky27z.js.map} +1 -1
- package/dist/index.js +137 -132
- package/dist/index.js.map +1 -1
- package/dist/{indicator-navigation-item-BsQE3kUr.js → indicator-navigation-item-aZsm-RpR.js} +22 -9
- package/dist/indicator-navigation-item-aZsm-RpR.js.map +1 -0
- package/dist/inline-edit.js +7 -10
- package/dist/inline-edit.js.map +1 -1
- package/dist/{BaseInput-Cv03GZLu.js → input-base-u60DF-pm.js} +21 -14
- package/dist/input-base-u60DF-pm.js.map +1 -0
- package/dist/input.js +609 -32
- package/dist/input.js.map +1 -1
- package/dist/item.js +5 -8
- package/dist/item.js.map +1 -1
- package/dist/json-viewer.js +9 -13
- package/dist/json-viewer.js.map +1 -1
- package/dist/kanban.js +7 -10
- package/dist/kanban.js.map +1 -1
- package/dist/kbd.js +4 -7
- package/dist/kbd.js.map +1 -1
- package/dist/linear-progress.js +58 -14
- package/dist/linear-progress.js.map +1 -1
- package/dist/link-button.js +35 -37
- package/dist/link-button.js.map +1 -1
- package/dist/link.js +6 -9
- package/dist/link.js.map +1 -1
- package/dist/list-item.js +9 -12
- package/dist/list-item.js.map +1 -1
- package/dist/list.js +10 -14
- package/dist/list.js.map +1 -1
- package/dist/listbox-option.js +5 -8
- package/dist/listbox-option.js.map +1 -1
- package/dist/listbox.js +8 -11
- package/dist/listbox.js.map +1 -1
- package/dist/{IndividualComponent-BK7XZjE2.js → lit-element-CKa37m3w.js} +2 -55
- package/dist/lit-element-CKa37m3w.js.map +1 -0
- package/dist/{live-D_5OfuGD.js → live-gbwOCSod.js} +3 -3
- package/dist/{live-D_5OfuGD.js.map → live-gbwOCSod.js.map} +1 -1
- package/dist/loader-full.js +90 -84
- package/dist/loader-full.js.map +1 -1
- package/dist/loader.js +95 -81
- package/dist/loader.js.map +1 -1
- package/dist/loading-indicator.js +301 -0
- package/dist/loading-indicator.js.map +1 -0
- package/dist/{maintenance-BZw7mQ0A.js → maintenance-tErBUSEw.js} +2 -2
- package/dist/{maintenance-BZw7mQ0A.js.map → maintenance-tErBUSEw.js.map} +1 -1
- package/dist/markdown-editor.js +15 -18
- package/dist/markdown-editor.js.map +1 -1
- package/dist/markdown.js +4 -7
- package/dist/markdown.js.map +1 -1
- package/dist/mention-input.js +14 -14
- package/dist/mention-input.js.map +1 -1
- package/dist/menu-item.js +44 -27
- package/dist/menu-item.js.map +1 -1
- package/dist/menu.js +21 -20
- package/dist/menu.js.map +1 -1
- package/dist/{modal-B78gUfEO.js → modal-ClWCCbxD.js} +8 -6
- package/dist/{modal-B78gUfEO.js.map → modal-ClWCCbxD.js.map} +1 -1
- package/dist/modal.js +57 -40
- package/dist/modal.js.map +1 -1
- package/dist/{NativeHyperlinkMixin-WdY0fM-H.js → native-hyperlink-mixin-DClKAwRB.js} +2 -3
- package/dist/native-hyperlink-mixin-DClKAwRB.js.map +1 -0
- package/dist/navigation-bar-item.js +8 -11
- package/dist/navigation-bar-item.js.map +1 -1
- package/dist/navigation-bar.js +8 -11
- package/dist/navigation-bar.js.map +1 -1
- package/dist/navigation-drawer-group.js +7 -10
- package/dist/navigation-drawer-group.js.map +1 -1
- package/dist/navigation-drawer-item.js +7 -10
- package/dist/navigation-drawer-item.js.map +1 -1
- package/dist/navigation-drawer.js +8 -11
- package/dist/navigation-drawer.js.map +1 -1
- package/dist/{navigation-item-base-5ljwtLG_.js → navigation-item-base-HiLyp0Jy.js} +6 -6
- package/dist/navigation-item-base-HiLyp0Jy.js.map +1 -0
- package/dist/navigation-rail-item.js +8 -11
- package/dist/navigation-rail-item.js.map +1 -1
- package/dist/navigation-rail.js +8 -11
- package/dist/navigation-rail.js.map +1 -1
- package/dist/{no-access-DOmzxO0C.js → no-access-D3L12uhZ.js} +2 -2
- package/dist/{no-access-DOmzxO0C.js.map → no-access-D3L12uhZ.js.map} +1 -1
- package/dist/{no-files-_DUjcOnS.js → no-files--1GlOwIi.js} +2 -2
- package/dist/{no-files-_DUjcOnS.js.map → no-files--1GlOwIi.js.map} +1 -1
- package/dist/{no-messages-W3p58prD.js → no-messages-RHcmrW_n.js} +2 -2
- package/dist/{no-messages-W3p58prD.js.map → no-messages-RHcmrW_n.js.map} +1 -1
- package/dist/{no-notifications-Egym20FL.js → no-notifications-3gareJzA.js} +2 -2
- package/dist/{no-notifications-Egym20FL.js.map → no-notifications-3gareJzA.js.map} +1 -1
- package/dist/{no-results-Czha8DJZ.js → no-results-RWt23viO.js} +2 -2
- package/dist/{no-results-Czha8DJZ.js.map → no-results-RWt23viO.js.map} +1 -1
- package/dist/{no-team-DdNiPdaJ.js → no-team-25HWP4Fw.js} +2 -2
- package/dist/{no-team-DdNiPdaJ.js.map → no-team-25HWP4Fw.js.map} +1 -1
- package/dist/{not-found-DYazH-nz.js → not-found-BUGJAd3z.js} +2 -2
- package/dist/{not-found-DYazH-nz.js.map → not-found-BUGJAd3z.js.map} +1 -1
- package/dist/notification-center.js +10 -13
- package/dist/notification-center.js.map +1 -1
- package/dist/notification-manager.js +8 -11
- package/dist/notification-manager.js.map +1 -1
- package/dist/number-counter.js +6 -9
- package/dist/number-counter.js.map +1 -1
- package/dist/number-field.js +25 -17
- package/dist/number-field.js.map +1 -1
- package/dist/{offline-C3W_TN1c.js → offline-BUqjpgON.js} +2 -2
- package/dist/{offline-C3W_TN1c.js.map → offline-BUqjpgON.js.map} +1 -1
- package/dist/option.js +11 -11
- package/dist/option.js.map +1 -1
- package/dist/{overlay-controller-BOk-kfil.js → overlay-controller-iVaiUqos.js} +20 -10
- package/dist/{overlay-controller-BOk-kfil.js.map → overlay-controller-iVaiUqos.js.map} +1 -1
- package/dist/page-header.js +6 -9
- package/dist/page-header.js.map +1 -1
- package/dist/pagination.js +6 -9
- package/dist/pagination.js.map +1 -1
- package/dist/panel.js +5 -8
- package/dist/panel.js.map +1 -1
- package/dist/password-field.js +11 -12
- package/dist/password-field.js.map +1 -1
- package/dist/password-rules.js +6 -9
- package/dist/password-rules.js.map +1 -1
- package/dist/phone-field.js +12 -14
- package/dist/phone-field.js.map +1 -1
- package/dist/{picker-field-BiM3iXAQ.js → picker-field-base-C33dJ4iZ.js} +17 -17
- package/dist/picker-field-base-C33dJ4iZ.js.map +1 -0
- package/dist/pin-input.js +14 -15
- package/dist/pin-input.js.map +1 -1
- package/dist/platform-DHfE4Fvo.js +954 -0
- package/dist/platform-DHfE4Fvo.js.map +1 -0
- package/dist/popover-content.js +9 -10
- package/dist/popover-content.js.map +1 -1
- package/dist/popover.js +5 -8
- package/dist/popover.js.map +1 -1
- package/dist/presence-indicator.js +6 -9
- package/dist/presence-indicator.js.map +1 -1
- package/dist/{base-progress-CqsyiVOV.js → progress-base-BeLu9-Tq.js} +24 -12
- package/dist/progress-base-BeLu9-Tq.js.map +1 -0
- package/dist/prompt-input.js +16 -19
- package/dist/prompt-input.js.map +1 -1
- package/dist/property-Dn3pvFDo.js +52 -0
- package/dist/property-Dn3pvFDo.js.map +1 -0
- package/dist/radio-group.js +7 -10
- package/dist/radio-group.js.map +1 -1
- package/dist/radio.js +52 -34
- package/dist/radio.js.map +1 -1
- package/dist/{range-utils-vgG1SJ2o.js → range-utils-Cw7ZRoWX.js} +2 -2
- package/dist/range-utils-Cw7ZRoWX.js.map +1 -0
- package/dist/rating.js +11 -14
- package/dist/rating.js.map +1 -1
- package/dist/redvars-loader.js +5 -8
- package/dist/redvars-loader.js.map +1 -1
- package/dist/relative-time.js +4 -7
- package/dist/relative-time.js.map +1 -1
- package/dist/{repeat-D_ERDRYT.js → repeat-D6FogcKA.js} +3 -3
- package/dist/{repeat-D_ERDRYT.js.map → repeat-D6FogcKA.js.map} +1 -1
- package/dist/resizable-panels.js +7 -10
- package/dist/resizable-panels.js.map +1 -1
- package/dist/{rich-text-input-BCZ46UF8.js → rich-text-input-base-BCmnkpuV.js} +33 -33
- package/dist/rich-text-input-base-BCmnkpuV.js.map +1 -0
- package/dist/ripple.js +7 -10
- package/dist/ripple.js.map +1 -1
- package/dist/{sanitize-svg-zWrzQaZj.js → sanitize-svg-CULgPfeE.js} +2 -2
- package/dist/{sanitize-svg-zWrzQaZj.js.map → sanitize-svg-CULgPfeE.js.map} +1 -1
- package/dist/{schema-D0PCeIEA.js → schema-poFmQ9Kg.js} +2 -2
- package/dist/{schema-D0PCeIEA.js.map → schema-poFmQ9Kg.js.map} +1 -1
- package/dist/scroll-area.js +7 -10
- package/dist/scroll-area.js.map +1 -1
- package/dist/search.js +13 -16
- package/dist/search.js.map +1 -1
- package/dist/segmented-button-group.js +7 -10
- package/dist/segmented-button-group.js.map +1 -1
- package/dist/segmented-button.js +13 -11
- package/dist/segmented-button.js.map +1 -1
- package/dist/select.js +104 -20
- package/dist/select.js.map +1 -1
- package/dist/{server-error-CaExaWmH.js → server-error-C7x8CCtT.js} +2 -2
- package/dist/{server-error-CaExaWmH.js.map → server-error-C7x8CCtT.js.map} +1 -1
- package/dist/shipped-icons.js +1 -1
- package/dist/side-sheet.js +8 -11
- package/dist/side-sheet.js.map +1 -1
- package/dist/signature-pad.js +10 -13
- package/dist/signature-pad.js.map +1 -1
- package/dist/site-footer-group.js +4 -7
- package/dist/site-footer-group.js.map +1 -1
- package/dist/site-footer.js +6 -9
- package/dist/site-footer.js.map +1 -1
- package/dist/site-header.js +10 -13
- package/dist/site-header.js.map +1 -1
- package/dist/site-nav-group.js +4 -7
- package/dist/site-nav-group.js.map +1 -1
- package/dist/site-nav-link.js +7 -10
- package/dist/site-nav-link.js.map +1 -1
- package/dist/site-nav-menu.js +7 -10
- package/dist/site-nav-menu.js.map +1 -1
- package/dist/skeleton.js +4 -7
- package/dist/skeleton.js.map +1 -1
- package/dist/{slash-controller-DAsDquPA.js → slash-controller-BFhzSjiR.js} +5 -5
- package/dist/{slash-controller-DAsDquPA.js.map → slash-controller-BFhzSjiR.js.map} +1 -1
- package/dist/slider.js +174 -82
- package/dist/slider.js.map +1 -1
- package/dist/snackbar.js +12 -16
- package/dist/snackbar.js.map +1 -1
- package/dist/{sparkle-BmtM0vbq.js → sparkle-DbxCXWsC.js} +2 -2
- package/dist/{sparkle-BmtM0vbq.js.map → sparkle-DbxCXWsC.js.map} +1 -1
- package/dist/sparkline.js +8 -11
- package/dist/sparkline.js.map +1 -1
- package/dist/split-button.js +42 -26
- package/dist/split-button.js.map +1 -1
- package/dist/src/__internal/agent/choice-surface.d.ts +23 -0
- package/dist/src/__internal/agent/toggle-surface.d.ts +34 -0
- package/dist/src/__internal/agent/value-surface.d.ts +13 -0
- package/dist/src/__internal/ai/suggestion-controller.d.ts +2 -0
- package/dist/src/__internal/aria/aria.d.ts +1 -1
- package/dist/src/__internal/diagram/canvas-base.d.ts +1 -1
- package/dist/src/{input/BaseField.d.ts → __internal/field-base.d.ts} +22 -3
- package/dist/src/__internal/indicator-navigation-item.d.ts +1 -1
- package/dist/src/{input/BaseInput.d.ts → __internal/input-base.d.ts} +10 -5
- package/dist/src/__internal/mixins/field.d.ts +2 -2
- package/dist/src/__internal/mixins/{NativeHyperlinkMixin.d.ts → native-hyperlink-mixin.d.ts} +1 -1
- package/dist/src/__internal/navigation-item-base.d.ts +1 -1
- package/dist/src/__internal/{picker-field.d.ts → picker-field-base.d.ts} +3 -3
- package/dist/src/__internal/rich-text/{rich-text-input.d.ts → rich-text-input-base.d.ts} +2 -2
- package/dist/src/__internal/toggle-base.d.ts +9 -2
- package/dist/src/accordion/accordion-item.d.ts +5 -0
- package/dist/src/agent.d.ts +8 -0
- package/dist/src/button/base-button/base-button.d.ts +1 -1
- package/dist/src/button/button/button.d.ts +10 -51
- package/dist/src/button/button-group/button-group.d.ts +12 -0
- package/dist/src/button/fab/fab.d.ts +1 -0
- package/dist/src/button/icon-button/icon-button.d.ts +1 -1
- package/dist/src/button/index.d.ts +1 -1
- package/dist/src/button/link-button/link-button.d.ts +1 -1
- package/dist/src/card/card.d.ts +1 -1
- package/dist/src/carousel/carousel.d.ts +22 -0
- package/dist/src/checkbox/checkbox.d.ts +3 -0
- package/dist/src/checkbox-group/checkbox-group.d.ts +2 -2
- package/dist/src/chip/chip/chip.d.ts +4 -0
- package/dist/src/chip/chip-set/chip-set.d.ts +2 -2
- package/dist/src/clock/clock.d.ts +1 -1
- package/dist/src/code-editor/code-editor.d.ts +2 -2
- package/dist/src/color-field/color-field.d.ts +3 -3
- package/dist/src/comment-composer/comment-composer.d.ts +2 -2
- package/dist/src/condition-builder/cb-group.d.ts +2 -2
- package/dist/src/condition-builder/cb-types.d.ts +3 -3
- package/dist/src/condition-builder/condition-builder.d.ts +2 -2
- package/dist/src/condition-builder/{cb-group-base.d.ts → condition-group-base.d.ts} +1 -1
- package/dist/src/copy-button/copy-button.d.ts +1 -1
- package/dist/src/currency-field/currency-field.d.ts +3 -3
- package/dist/src/date-field/date-field.d.ts +2 -2
- package/dist/src/date-field/range-utils.d.ts +1 -1
- package/dist/src/date-range-field/date-range-field.d.ts +2 -2
- package/dist/src/datetime-field/datetime-field.d.ts +2 -2
- package/dist/src/dependency-map/dependency-map.d.ts +2 -2
- package/dist/src/diagram/diagram.d.ts +2 -2
- package/dist/src/dropdown-button/dropdown-button.d.ts +5 -0
- package/dist/src/erd/erd.d.ts +2 -2
- package/dist/src/fab-menu/fab-menu-item.d.ts +30 -0
- package/dist/src/fab-menu/fab-menu.d.ts +64 -0
- package/dist/src/fab-menu/index.d.ts +2 -0
- package/dist/src/file-upload/file-upload.d.ts +2 -2
- package/dist/src/html-editor/html-editor.d.ts +2 -2
- package/dist/src/index.d.ts +211 -156
- package/dist/src/input/input.d.ts +10 -3
- package/dist/src/link/link.d.ts +1 -1
- package/dist/src/listbox/listbox.d.ts +2 -2
- package/dist/src/loading-indicator/index.d.ts +1 -0
- package/dist/src/loading-indicator/loading-indicator.d.ts +44 -0
- package/dist/src/loading-indicator/shapes.d.ts +29 -0
- package/dist/src/markdown-editor/markdown-editor.d.ts +2 -2
- package/dist/src/mention-input/mention-input.d.ts +3 -3
- package/dist/src/menu/menu-item/menu-item.d.ts +3 -0
- package/dist/src/modal/modal.d.ts +3 -0
- package/dist/src/number-field/number-field.d.ts +5 -3
- package/dist/src/password-field/password-field.d.ts +3 -3
- package/dist/src/phone-field/phone-field.d.ts +3 -3
- package/dist/src/pin-input/pin-input.d.ts +3 -3
- package/dist/src/progress/circular-progress/circular-progress.d.ts +5 -3
- package/dist/src/progress/linear-progress/linear-progress.d.ts +4 -3
- package/dist/src/progress/{base-progress.d.ts → progress-base.d.ts} +9 -2
- package/dist/src/prompt-input/prompt-input.d.ts +2 -2
- package/dist/src/radio/radio.d.ts +4 -1
- package/dist/src/rating/rating.d.ts +2 -2
- package/dist/src/search/search.d.ts +2 -2
- package/dist/src/select/select.d.ts +9 -2
- package/dist/src/signature-pad/signature-pad.d.ts +2 -2
- package/dist/src/slider/slider.d.ts +25 -5
- package/dist/src/split-button/split-button.d.ts +3 -0
- package/dist/src/stepper/step.d.ts +6 -0
- package/dist/src/switch/switch.d.ts +3 -0
- package/dist/src/tabs/tab.d.ts +6 -0
- package/dist/src/textarea/textarea.d.ts +3 -3
- package/dist/src/time-field/time-field.d.ts +2 -2
- package/dist/src/toolbar/toolbar.d.ts +20 -0
- package/dist/src/transfer-list/transfer-list.d.ts +2 -2
- package/dist/src/tree-chart/tree-chart.d.ts +2 -2
- package/dist/src/url-field/url-field.d.ts +3 -3
- package/dist/src/workflow/workflow.d.ts +2 -2
- package/dist/stack.js +4 -7
- package/dist/stack.js.map +1 -1
- package/dist/stat.js +5 -8
- package/dist/stat.js.map +1 -1
- package/dist/{state-BCeDVCI9.js → state-Bz6ycyYM.js} +2 -2
- package/dist/{state-BCeDVCI9.js.map → state-Bz6ycyYM.js.map} +1 -1
- package/dist/status-indicator.js +4 -7
- package/dist/status-indicator.js.map +1 -1
- package/dist/step.js +39 -20
- package/dist/step.js.map +1 -1
- package/dist/stepper.js +9 -9
- package/dist/stepper.js.map +1 -1
- package/dist/{style-map-CHOg6N_R.js → style-map-D1ZICebN.js} +2 -2
- package/dist/{style-map-CHOg6N_R.js.map → style-map-D1ZICebN.js.map} +1 -1
- package/dist/sub-menu.js +12 -12
- package/dist/sub-menu.js.map +1 -1
- package/dist/{success-CTqRKz2U.js → success-Dqol3Xwz.js} +2 -2
- package/dist/{success-CTqRKz2U.js.map → success-Dqol3Xwz.js.map} +1 -1
- package/dist/{suggestion-controller-7YRQqkaI.js → suggestion-controller-DhXsD9gH.js} +6 -2
- package/dist/suggestion-controller-DhXsD9gH.js.map +1 -0
- package/dist/svg.js +8 -11
- package/dist/svg.js.map +1 -1
- package/dist/switch.js +47 -26
- package/dist/switch.js.map +1 -1
- package/dist/tab-group.js +22 -11
- package/dist/tab-group.js.map +1 -1
- package/dist/tab-panel.js +30 -7
- package/dist/tab-panel.js.map +1 -1
- package/dist/tab.js +67 -26
- package/dist/tab.js.map +1 -1
- package/dist/table.js +14 -17
- package/dist/table.js.map +1 -1
- package/dist/tabs.js +13 -14
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +7 -9
- package/dist/tag.js.map +1 -1
- package/dist/test/button-group-press.test.d.ts +1 -0
- package/dist/test/fab-menu.test.d.ts +1 -0
- package/dist/test/loading-indicator.test.d.ts +1 -0
- package/dist/test/ui-sdk-agent.test.d.ts +1 -0
- package/dist/textarea.js +12 -13
- package/dist/textarea.js.map +1 -1
- package/dist/time-field.js +13 -14
- package/dist/time-field.js.map +1 -1
- package/dist/time-picker.js +7 -10
- package/dist/time-picker.js.map +1 -1
- package/dist/timeline-item.js +4 -7
- package/dist/timeline-item.js.map +1 -1
- package/dist/timeline.js +4 -7
- package/dist/timeline.js.map +1 -1
- package/dist/{toggle-base-BtjRAZ5z.js → toggle-base-DP3PSXbf.js} +22 -10
- package/dist/toggle-base-DP3PSXbf.js.map +1 -0
- package/dist/toggle-surface-CkMdGtyR.js +164 -0
- package/dist/toggle-surface-CkMdGtyR.js.map +1 -0
- package/dist/toolbar.js +107 -8
- package/dist/toolbar.js.map +1 -1
- package/dist/tooltip.js +9 -9
- package/dist/tooltip.js.map +1 -1
- package/dist/tour.js +9 -12
- package/dist/tour.js.map +1 -1
- package/dist/transfer-list.js +13 -16
- package/dist/transfer-list.js.map +1 -1
- package/dist/tree-chart.js +12 -15
- package/dist/tree-chart.js.map +1 -1
- package/dist/tree-item.js +6 -9
- package/dist/tree-item.js.map +1 -1
- package/dist/tree.js +5 -8
- package/dist/tree.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/typing-indicator.js +4 -7
- package/dist/typing-indicator.js.map +1 -1
- package/dist/{unsafe-html-Cy_JqoPT.js → unsafe-html-DPx6fCQn.js} +2 -2
- package/dist/{unsafe-html-Cy_JqoPT.js.map → unsafe-html-DPx6fCQn.js.map} +1 -1
- package/dist/{upload-BvrrKboG.js → upload-AgGMlvXZ.js} +2 -2
- package/dist/{upload-BvrrKboG.js.map → upload-AgGMlvXZ.js.map} +1 -1
- package/dist/url-field.js +11 -12
- package/dist/url-field.js.map +1 -1
- package/dist/user-menu.js +5 -8
- package/dist/user-menu.js.map +1 -1
- package/dist/{video-DPjOBk6I.js → video-DSQ07o3h.js} +8 -11
- package/dist/video-DSQ07o3h.js.map +1 -0
- package/dist/video.js +5 -5
- package/dist/virtual-list.js +7 -10
- package/dist/virtual-list.js.map +1 -1
- package/dist/{welcome-CFqBHGa5.js → welcome-Ba4SYcRr.js} +2 -2
- package/dist/{welcome-CFqBHGa5.js.map → welcome-Ba4SYcRr.js.map} +1 -1
- package/dist/workflow-timeline.js +5 -8
- package/dist/workflow-timeline.js.map +1 -1
- package/dist/workflow.js +13 -17
- package/dist/workflow.js.map +1 -1
- package/dist/workspace-switcher.js +6 -9
- package/dist/workspace-switcher.js.map +1 -1
- package/package.json +11 -5
- package/scss/tokens.css +364 -0
- package/src/__internal/agent/choice-surface.ts +88 -0
- package/src/__internal/agent/toggle-surface.ts +233 -0
- package/src/__internal/agent/value-surface.ts +76 -0
- package/src/__internal/ai/suggestion-controller.ts +5 -0
- package/src/__internal/chart/chart-base.scss +4 -2
- package/src/__internal/controllers/overlay-controller.ts +19 -9
- package/src/__internal/diagram/canvas-base.ts +1 -1
- package/src/{input/BaseField.ts → __internal/field-base.ts} +51 -3
- package/src/__internal/indicator-navigation-item.ts +1 -1
- package/src/{input/BaseInput.ts → __internal/input-base.ts} +9 -1
- package/src/__internal/mixins/field.ts +2 -2
- package/src/__internal/mixins/{NativeHyperlinkMixin.ts → native-hyperlink-mixin.ts} +1 -1
- package/src/__internal/navigation-item-base.ts +1 -1
- package/src/__internal/{picker-field.scss → picker-field-base.scss} +2 -2
- package/src/__internal/{picker-field.ts → picker-field-base.ts} +3 -3
- package/src/__internal/rich-text/editor-chrome.scss +3 -2
- package/src/__internal/rich-text/{rich-text-input.ts → rich-text-input-base.ts} +3 -3
- package/src/__internal/toggle-base.ts +16 -5
- package/src/accordion/accordion-item.scss +10 -6
- package/src/accordion/accordion-item.ts +53 -28
- package/src/accordion/accordion.ts +0 -2
- package/src/agent.ts +17 -0
- package/src/ai-badge/ai-badge.ts +0 -2
- package/src/ai-summary/ai-summary.ts +0 -2
- package/src/alert/alert.ts +0 -2
- package/src/anchor-nav/anchor-nav.ts +0 -2
- package/src/app-bar/app-bar.scss +2 -1
- package/src/app-bar/app-bar.ts +0 -2
- package/src/app-shell/app-shell.scss +2 -2
- package/src/app-shell/app-shell.ts +0 -2
- package/src/assistant-panel/assistant-panel.ts +0 -2
- package/src/assistant-steps/assistant-step.ts +0 -2
- package/src/assistant-steps/assistant-steps.ts +0 -2
- package/src/avatar/avatar.ts +0 -2
- package/src/avatar-group/avatar-group.ts +0 -2
- package/src/badge/badge.ts +0 -2
- package/src/banner/banner.ts +0 -2
- package/src/bottom-sheet/bottom-sheet.scss +4 -2
- package/src/bottom-sheet/bottom-sheet.ts +0 -2
- package/src/breadcrumb/breadcrumb/breadcrumb.ts +0 -2
- package/src/breadcrumb/breadcrumb-item/breadcrumb-item.scss +4 -2
- package/src/breadcrumb/breadcrumb-item/breadcrumb-item.ts +0 -2
- package/src/button/base-button/base-button.ts +1 -1
- package/src/button/button/button-base.scss +14 -12
- package/src/button/button/button-layers.scss +27 -5
- package/src/button/button/button.scss +5 -0
- package/src/button/button/button.ts +34 -8
- package/src/button/button-group/button-group.scss +6 -0
- package/src/button/button-group/button-group.ts +105 -2
- package/src/button/fab/fab-sizes.scss +2 -0
- package/src/button/fab/fab.scss +32 -17
- package/src/button/fab/fab.ts +2 -3
- package/src/button/icon-button/icon-button.ts +2 -4
- package/src/button/index.ts +1 -1
- package/src/button/link-button/link-button.ts +2 -4
- package/src/calendar/calendar-column-view.scss +3 -3
- package/src/calendar/calendar-column-view.ts +0 -2
- package/src/calendar/calendar-month-view.scss +3 -3
- package/src/calendar/calendar-month-view.ts +0 -2
- package/src/calendar/calendar.ts +0 -2
- package/src/calendar-timeline/calendar-timeline.scss +6 -3
- package/src/calendar-timeline/calendar-timeline.ts +0 -2
- package/src/card/card-content.ts +0 -2
- package/src/card/card.scss +2 -1
- package/src/card/card.ts +1 -3
- package/src/carousel/carousel.scss +71 -2
- package/src/carousel/carousel.ts +159 -9
- package/src/chart-area/chart-area.ts +0 -2
- package/src/chart-bar/chart-bar.ts +0 -2
- package/src/chart-doughnut/chart-doughnut.ts +0 -2
- package/src/chart-line/chart-line.ts +0 -2
- package/src/chart-pie/chart-pie.scss +4 -2
- package/src/chart-pie/chart-pie.ts +0 -2
- package/src/chat-message/chat-message.ts +0 -2
- package/src/chat-thread/chat-event.ts +0 -2
- package/src/chat-thread/chat-thread.ts +0 -2
- package/src/checkbox/checkbox.scss +13 -7
- package/src/checkbox/checkbox.ts +46 -28
- package/src/checkbox-group/checkbox-group.ts +2 -4
- package/src/chip/chip/chip.scss +41 -8
- package/src/chip/chip/chip.ts +5 -3
- package/src/chip/chip-set/chip-set.ts +2 -4
- package/src/chip/tag/tag.scss +2 -1
- package/src/chip/tag/tag.ts +0 -2
- package/src/citation/citation.ts +0 -2
- package/src/clock/clock.ts +1 -3
- package/src/code-editor/code-editor.ts +3 -5
- package/src/code-highlighter/code-group.ts +0 -2
- package/src/code-highlighter/code-highlighter.scss +2 -1
- package/src/code-highlighter/code-highlighter.ts +0 -2
- package/src/color-field/color-field.ts +4 -5
- package/src/color-picker/color-picker.scss +1 -1
- package/src/color-picker/color-picker.ts +0 -2
- package/src/command-palette/command-palette.ts +0 -2
- package/src/comment-composer/comment-composer.scss +2 -1
- package/src/comment-composer/comment-composer.ts +3 -5
- package/src/components.manifest.json +1427 -0
- package/src/condition-builder/cb-divider.ts +0 -2
- package/src/condition-builder/cb-group.ts +3 -5
- package/src/condition-builder/cb-rule.ts +10 -11
- package/src/condition-builder/cb-types.ts +3 -3
- package/src/condition-builder/condition-builder.ts +3 -5
- package/src/condition-builder/{cb-group-base.scss → condition-group-base.scss} +1 -1
- package/src/condition-builder/{cb-group-base.ts → condition-group-base.ts} +7 -7
- package/src/confirm-dialog/confirm-dialog.ts +1 -3
- package/src/container/container.ts +0 -2
- package/src/copy-button/copy-button.ts +1 -3
- package/src/currency-field/currency-field.ts +3 -5
- package/src/date-field/date-field.scss +1 -1
- package/src/date-field/date-field.ts +4 -4
- package/src/date-field/range-utils.ts +1 -1
- package/src/date-picker/date-picker.ts +0 -2
- package/src/date-range-field/date-range-field.scss +1 -1
- package/src/date-range-field/date-range-field.ts +4 -4
- package/src/datetime-field/datetime-field.scss +1 -1
- package/src/datetime-field/datetime-field.ts +4 -4
- package/src/dependency-map/dependency-map.scss +4 -2
- package/src/dependency-map/dependency-map.ts +2 -4
- package/src/description-list/description-item.ts +0 -2
- package/src/description-list/description-list.ts +0 -2
- package/src/diagram/diagram.scss +2 -1
- package/src/diagram/diagram.ts +2 -4
- package/src/diagram/flow.ts +0 -2
- package/src/diagram-controls/diagram-controls.ts +0 -2
- package/src/diagram-minimap/diagram-minimap.ts +0 -2
- package/src/diff-viewer/diff-viewer.ts +0 -2
- package/src/discussion/discussion-activity.ts +0 -2
- package/src/discussion/discussion-comment.ts +0 -2
- package/src/discussion/discussion.ts +0 -2
- package/src/divider/divider.ts +0 -2
- package/src/document-editor/document-editor.scss +1 -1
- package/src/document-editor/document-editor.ts +0 -2
- package/src/draft-card/draft-card.ts +0 -2
- package/src/dropdown-button/dropdown-button.scss +2 -1
- package/src/dropdown-button/dropdown-button.ts +49 -23
- package/src/elevation/elevation.ts +0 -2
- package/src/erd/erd.scss +8 -4
- package/src/erd/erd.ts +2 -4
- package/src/fab-menu/fab-menu-item.scss +99 -0
- package/src/fab-menu/fab-menu-item.ts +58 -0
- package/src/fab-menu/fab-menu.scss +119 -0
- package/src/fab-menu/fab-menu.ts +193 -0
- package/src/fab-menu/index.ts +2 -0
- package/src/field/field.scss +1 -1
- package/src/field/field.ts +0 -2
- package/src/fieldset/fieldset.ts +0 -2
- package/src/file-upload/file-upload.scss +2 -2
- package/src/file-upload/file-upload.ts +3 -5
- package/src/filter-bar/filter-bar.ts +0 -2
- package/src/focus-ring/focus-ring.ts +0 -2
- package/src/form/form.ts +0 -2
- package/src/generative-view/generative-view.ts +0 -2
- package/src/grid/grid.ts +0 -2
- package/src/highlight/highlight.ts +0 -2
- package/src/hover-card/hover-card.scss +9 -2
- package/src/hover-card/hover-card.ts +0 -2
- package/src/html-editor/html-editor.ts +3 -5
- package/src/icon/icon.ts +0 -2
- package/src/illustration/illustration.ts +0 -2
- package/src/image/image.ts +0 -2
- package/src/index.ts +290 -199
- package/src/inline-edit/inline-edit.scss +2 -2
- package/src/inline-edit/inline-edit.ts +0 -2
- package/src/input/input.scss +8 -0
- package/src/input/input.ts +36 -25
- package/src/item/item.ts +0 -2
- package/src/json-viewer/json-viewer.scss +2 -1
- package/src/json-viewer/json-viewer.ts +0 -2
- package/src/kanban/kanban.ts +0 -2
- package/src/kbd/kbd.ts +0 -2
- package/src/link/link.ts +1 -3
- package/src/list/list-item.ts +0 -2
- package/src/list/list.ts +0 -2
- package/src/listbox/listbox-option.ts +0 -2
- package/src/listbox/listbox.ts +2 -4
- package/src/loader.ts +59 -49
- package/src/loading-indicator/index.ts +1 -0
- package/src/loading-indicator/loading-indicator.scss +52 -0
- package/src/loading-indicator/loading-indicator.ts +164 -0
- package/src/loading-indicator/shapes.ts +104 -0
- package/src/markdown/markdown.ts +0 -2
- package/src/markdown-editor/markdown-editor.ts +3 -5
- package/src/mention-input/mention-input.ts +4 -5
- package/src/menu/menu/menu.scss +10 -6
- package/src/menu/menu/menu.ts +0 -2
- package/src/menu/menu-item/menu-item.ts +40 -22
- package/src/menu/sub-menu/sub-menu.ts +0 -2
- package/src/modal/modal.scss +8 -4
- package/src/modal/modal.ts +57 -41
- package/src/navigation-bar/navigation-bar-item.ts +0 -2
- package/src/navigation-bar/navigation-bar.ts +0 -2
- package/src/navigation-drawer/navigation-drawer-group.scss +2 -2
- package/src/navigation-drawer/navigation-drawer-group.ts +0 -2
- package/src/navigation-drawer/navigation-drawer-item.ts +0 -2
- package/src/navigation-drawer/navigation-drawer.scss +3 -2
- package/src/navigation-drawer/navigation-drawer.ts +0 -2
- package/src/navigation-rail/navigation-rail-item.scss +27 -5
- package/src/navigation-rail/navigation-rail-item.ts +0 -2
- package/src/navigation-rail/navigation-rail.ts +0 -2
- package/src/notification-center/notification-center.ts +0 -2
- package/src/notification-manager/notification-manager.ts +0 -2
- package/src/number-counter/number-counter.scss +1 -1
- package/src/number-counter/number-counter.ts +0 -2
- package/src/number-field/number-field.ts +12 -5
- package/src/page-header/page-header.ts +0 -2
- package/src/pagination/pagination.scss +2 -1
- package/src/pagination/pagination.ts +0 -2
- package/src/password-field/password-field.ts +3 -5
- package/src/password-rules/password-rules.ts +0 -2
- package/src/phone-field/phone-field.ts +3 -5
- package/src/pin-input/pin-input.ts +4 -6
- package/src/popover/popover-content.scss +7 -2
- package/src/popover/popover-content.ts +0 -2
- package/src/popover/popover.ts +0 -2
- package/src/presence-indicator/presence-indicator.ts +0 -2
- package/src/progress/circular-progress/circular-progress.scss +3 -2
- package/src/progress/circular-progress/circular-progress.ts +45 -16
- package/src/progress/linear-progress/linear-progress.scss +70 -2
- package/src/progress/linear-progress/linear-progress.ts +6 -5
- package/src/progress/{base-progress.ts → progress-base.ts} +12 -1
- package/src/prompt-input/prompt-input.scss +2 -1
- package/src/prompt-input/prompt-input.ts +3 -5
- package/src/radio/radio-group.ts +0 -2
- package/src/radio/radio.scss +8 -4
- package/src/radio/radio.ts +36 -16
- package/src/rating/rating.ts +3 -5
- package/src/redvars-loader/redvars-loader.ts +0 -2
- package/src/relative-time/relative-time.ts +0 -2
- package/src/resizable-panels/panel.ts +0 -2
- package/src/resizable-panels/resizable-panels.scss +2 -1
- package/src/resizable-panels/resizable-panels.ts +0 -2
- package/src/ripple/ripple.ts +0 -2
- package/src/scroll-area/scroll-area.scss +2 -1
- package/src/scroll-area/scroll-area.ts +0 -2
- package/src/search/search.scss +2 -1
- package/src/search/search.ts +3 -5
- package/src/segmented-button/segmented-button-group.ts +0 -2
- package/src/segmented-button/segmented-button.scss +8 -3
- package/src/segmented-button/segmented-button.ts +0 -2
- package/src/select/option.ts +0 -2
- package/src/select/select.scss +2 -1
- package/src/select/select.ts +49 -5
- package/src/side-sheet/side-sheet.scss +4 -2
- package/src/side-sheet/side-sheet.ts +0 -2
- package/src/signature-pad/signature-pad.ts +3 -5
- package/src/site-footer/site-footer-group.ts +0 -2
- package/src/site-footer/site-footer.ts +0 -2
- package/src/site-header/site-header.scss +4 -4
- package/src/site-header/site-header.ts +0 -2
- package/src/site-header/site-nav-group.ts +0 -2
- package/src/site-header/site-nav-link.ts +0 -2
- package/src/site-header/site-nav-menu.scss +2 -2
- package/src/site-header/site-nav-menu.ts +0 -2
- package/src/skeleton/skeleton.ts +0 -2
- package/src/slider/slider.scss +127 -64
- package/src/slider/slider.ts +77 -14
- package/src/snackbar/snackbar.scss +5 -2
- package/src/snackbar/snackbar.ts +0 -2
- package/src/sparkline/sparkline.scss +6 -3
- package/src/sparkline/sparkline.ts +0 -2
- package/src/split-button/split-button.scss +4 -2
- package/src/split-button/split-button.ts +34 -19
- package/src/stack/stack.ts +0 -2
- package/src/stat/stat.ts +0 -2
- package/src/status-indicator/status-indicator.ts +0 -2
- package/src/stepper/step.scss +2 -1
- package/src/stepper/step.ts +33 -12
- package/src/stepper/stepper.ts +0 -2
- package/src/svg/svg.ts +0 -2
- package/src/switch/switch.scss +21 -2
- package/src/switch/switch.ts +31 -13
- package/src/table/table.scss +8 -4
- package/src/table/table.ts +0 -2
- package/src/tabs/tab-group.ts +12 -4
- package/src/tabs/tab-panel.scss +31 -0
- package/src/tabs/tab-panel.ts +0 -2
- package/src/tabs/tab.scss +28 -17
- package/src/tabs/tab.ts +40 -14
- package/src/tabs/tabs.ts +0 -2
- package/src/textarea/textarea.ts +3 -5
- package/src/time-field/time-field.scss +1 -1
- package/src/time-field/time-field.ts +4 -4
- package/src/time-picker/time-picker.ts +0 -2
- package/src/timeline/timeline-item.ts +0 -2
- package/src/timeline/timeline.ts +0 -2
- package/src/toolbar/toolbar-colors.scss +11 -0
- package/src/toolbar/toolbar.scss +28 -0
- package/src/toolbar/toolbar.ts +74 -3
- package/src/tooltip/tooltip.scss +9 -3
- package/src/tooltip/tooltip.ts +0 -2
- package/src/tour/tour.scss +2 -2
- package/src/tour/tour.ts +0 -2
- package/src/transfer-list/transfer-list.ts +3 -5
- package/src/tree/tree-item.scss +2 -1
- package/src/tree/tree-item.ts +0 -2
- package/src/tree/tree.ts +0 -2
- package/src/tree-chart/tree-chart.scss +3 -3
- package/src/tree-chart/tree-chart.ts +2 -4
- package/src/typing-indicator/typing-indicator.ts +0 -2
- package/src/url-field/url-field.ts +3 -5
- package/src/user-menu/user-menu.ts +0 -2
- package/src/video/video.scss +2 -1
- package/src/video/video.ts +0 -2
- package/src/virtual-list/virtual-list.ts +0 -2
- package/src/workflow/workflow.scss +5 -5
- package/src/workflow/workflow.ts +2 -4
- package/src/workflow-timeline/workflow-timeline.ts +0 -2
- package/src/workspace-switcher/workspace-switcher.ts +0 -2
- package/dist/BaseField-DOCmylob.js.map +0 -1
- package/dist/BaseInput-Cv03GZLu.js.map +0 -1
- package/dist/ButtonConstants-CahP2_NA.js.map +0 -1
- package/dist/IndividualComponent-BK7XZjE2.js.map +0 -1
- package/dist/NativeHyperlinkMixin-WdY0fM-H.js.map +0 -1
- package/dist/base-button-9tGu5RSC.js.map +0 -1
- package/dist/base-progress-CqsyiVOV.js.map +0 -1
- package/dist/canvas-base-BjiU3Ecl.js.map +0 -1
- package/dist/cb-group-base-2Ps2CnBz.js.map +0 -1
- package/dist/cb-group-base-CWctDJvy.js.map +0 -1
- package/dist/diagram-D2aM93kf.js.map +0 -1
- package/dist/document-editor-BS6al7Hq.js.map +0 -1
- package/dist/generative-view-DsSOPf26.js.map +0 -1
- package/dist/highlight-Be0wu7kh.js.map +0 -1
- package/dist/illustration-DQ-_sz1l.js.map +0 -1
- package/dist/indicator-navigation-item-BsQE3kUr.js.map +0 -1
- package/dist/navigation-item-base-5ljwtLG_.js.map +0 -1
- package/dist/picker-field-BiM3iXAQ.js.map +0 -1
- package/dist/property-B2TG3KEE.js +0 -10
- package/dist/property-B2TG3KEE.js.map +0 -1
- package/dist/range-utils-vgG1SJ2o.js.map +0 -1
- package/dist/rich-text-input-BCZ46UF8.js.map +0 -1
- package/dist/src/IndividualComponent.d.ts +0 -9
- package/dist/suggestion-controller-7YRQqkaI.js.map +0 -1
- package/dist/toggle-base-BtjRAZ5z.js.map +0 -1
- package/dist/video-DPjOBk6I.js.map +0 -1
- package/src/IndividualComponent.ts +0 -10
- /package/dist/src/__internal/mixins/{MixinConstructor.d.ts → mixin-constructor.d.ts} +0 -0
- /package/dist/src/button/{ButtonConstants.d.ts → button-constants.d.ts} +0 -0
- /package/dist/src/button/{ButtonTypes.d.ts → button-types.d.ts} +0 -0
- /package/dist/src/clock/{ClockController.d.ts → clock-controller.d.ts} +0 -0
- /package/dist/src/{CssLoader.d.ts → css-loader.d.ts} +0 -0
- /package/dist/src/{LoaderUtils.d.ts → loader-utils.d.ts} +0 -0
- /package/src/__internal/mixins/{MixinConstructor.ts → mixin-constructor.ts} +0 -0
- /package/src/button/{ButtonConstants.ts → button-constants.ts} +0 -0
- /package/src/button/{ButtonTypes.ts → button-types.ts} +0 -0
- /package/src/clock/{ClockController.ts → clock-controller.ts} +0 -0
- /package/src/{CssLoader.ts → css-loader.ts} +0 -0
- /package/src/{LoaderUtils.ts → loader-utils.ts} +0 -0
|
@@ -1,12 +1,33 @@
|
|
|
1
1
|
@use '../../../scss/mixin';
|
|
2
2
|
|
|
3
3
|
// Mixin for the shared transition logic
|
|
4
|
+
// Size and shape move on the fast spatial spring (with a little overshoot);
|
|
5
|
+
// opacity uses the effects spring, which never overshoots.
|
|
4
6
|
@mixin button-transition {
|
|
5
7
|
transition-property:
|
|
6
|
-
inset, width, height, transform,
|
|
7
|
-
border-start-end-radius, border-end-start-radius, border-end-end-radius
|
|
8
|
-
|
|
9
|
-
transition-
|
|
8
|
+
inset, width, height, transform, border-start-start-radius,
|
|
9
|
+
border-start-end-radius, border-end-start-radius, border-end-end-radius,
|
|
10
|
+
opacity;
|
|
11
|
+
transition-duration:
|
|
12
|
+
var(--motion-spring-fast-spatial-duration),
|
|
13
|
+
var(--motion-spring-fast-spatial-duration),
|
|
14
|
+
var(--motion-spring-fast-spatial-duration),
|
|
15
|
+
var(--motion-spring-fast-spatial-duration),
|
|
16
|
+
var(--motion-spring-fast-spatial-duration),
|
|
17
|
+
var(--motion-spring-fast-spatial-duration),
|
|
18
|
+
var(--motion-spring-fast-spatial-duration),
|
|
19
|
+
var(--motion-spring-fast-spatial-duration),
|
|
20
|
+
var(--motion-spring-fast-effects-duration);
|
|
21
|
+
transition-timing-function:
|
|
22
|
+
var(--motion-spring-fast-spatial-easing),
|
|
23
|
+
var(--motion-spring-fast-spatial-easing),
|
|
24
|
+
var(--motion-spring-fast-spatial-easing),
|
|
25
|
+
var(--motion-spring-fast-spatial-easing),
|
|
26
|
+
var(--motion-spring-fast-spatial-easing),
|
|
27
|
+
var(--motion-spring-fast-spatial-easing),
|
|
28
|
+
var(--motion-spring-fast-spatial-easing),
|
|
29
|
+
var(--motion-spring-fast-spatial-easing),
|
|
30
|
+
var(--motion-spring-fast-effects-easing);
|
|
10
31
|
will-change: inset, transform, opacity;
|
|
11
32
|
}
|
|
12
33
|
|
|
@@ -150,7 +171,8 @@
|
|
|
150
171
|
|
|
151
172
|
.elevation {
|
|
152
173
|
pointer-events: none;
|
|
153
|
-
transition-duration:
|
|
174
|
+
transition-duration: var(--motion-spring-default-effects-duration);
|
|
175
|
+
transition-timing-function: var(--motion-spring-default-effects-easing);
|
|
154
176
|
--elevation-container-shape-start-start: var(
|
|
155
177
|
--_button-container-shape-start-start,
|
|
156
178
|
var(--_button-container-shape)
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { html, LitElement, nothing } from 'lit';
|
|
2
|
-
import
|
|
2
|
+
import '@ui-sdk/web/button';
|
|
3
|
+
import { property, query, state } from 'lit/decorators.js';
|
|
3
4
|
import { classMap } from 'lit/directives/class-map.js';
|
|
4
5
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
5
6
|
import { when } from 'lit/directives/when.js';
|
|
6
|
-
import IndividualComponent from '@/IndividualComponent.js';
|
|
7
7
|
import styles from './button.scss';
|
|
8
8
|
|
|
9
|
-
import type { ButtonSize, ButtonShape } from '@/button/
|
|
9
|
+
import type { ButtonSize, ButtonShape } from '@/button/button-types.js';
|
|
10
10
|
import { observerSlotChangesWithCallback } from '@/__internal/utils/observe-slot-change.js';
|
|
11
11
|
import {
|
|
12
12
|
dispatchActivationClick,
|
|
13
13
|
isActivationClick,
|
|
14
14
|
} from '@/__internal/utils/dispatch-event-utils.js';
|
|
15
|
-
import { DISABLED_REASON_ID } from '@/button/
|
|
15
|
+
import { DISABLED_REASON_ID } from '@/button/button-constants.js';
|
|
16
16
|
import { mixinDelegatesAria } from '@/__internal/aria/delegate.js';
|
|
17
17
|
import { ARIAMixinStrict } from '@/__internal/aria/aria.js';
|
|
18
18
|
import { mixinFormSubmitter } from '@/__internal/mixins/form-submitter.js';
|
|
@@ -30,7 +30,7 @@ export type {
|
|
|
30
30
|
ButtonShape,
|
|
31
31
|
ButtonVariant,
|
|
32
32
|
ButtonColor,
|
|
33
|
-
} from '@/button/
|
|
33
|
+
} from '@/button/button-types.js';
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* @label Button
|
|
@@ -81,7 +81,13 @@ export type {
|
|
|
81
81
|
* ```
|
|
82
82
|
* @tags display
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
/**
|
|
85
|
+
* ui-sdk's button fires a composed `action` event on each press. It would reach every shadow host
|
|
86
|
+
* above the button, and Peacock components such as `wc-generative-view` fire an `action` of their
|
|
87
|
+
* own, so keep it inside.
|
|
88
|
+
*/
|
|
89
|
+
const stopUiSdkEvent = (event: Event) => event.stopPropagation();
|
|
90
|
+
|
|
85
91
|
export class Button extends mixinButtonLevel(
|
|
86
92
|
mixinBaseButton(
|
|
87
93
|
mixinDelegatesAria(
|
|
@@ -152,6 +158,13 @@ export class Button extends mixinButtonLevel(
|
|
|
152
158
|
/** Cleanup returned by observerSlotChangesWithCallback for the label slot. */
|
|
153
159
|
private __labelSlotCleanup: (() => void) | null = null;
|
|
154
160
|
|
|
161
|
+
/**
|
|
162
|
+
* The slotted label's text. It names the inner button through `aria-label` when none is set:
|
|
163
|
+
* the browser already names it from the slotted text, but ui-sdk's agent bridge does not follow
|
|
164
|
+
* slots, and without a name an agent can't find the button.
|
|
165
|
+
*/
|
|
166
|
+
@state() private _slotLabel = '';
|
|
167
|
+
|
|
155
168
|
// ── Lifecycle ─────────────────────────────────────────────────────────────
|
|
156
169
|
|
|
157
170
|
override disconnectedCallback() {
|
|
@@ -195,11 +208,21 @@ export class Button extends mixinButtonLevel(
|
|
|
195
208
|
labelSlot,
|
|
196
209
|
has => {
|
|
197
210
|
this.toggleAttribute('has-label', has);
|
|
211
|
+
this._slotLabel = has ? this.__labelText(labelSlot) : '';
|
|
198
212
|
},
|
|
199
213
|
);
|
|
200
214
|
}
|
|
201
215
|
}
|
|
202
216
|
|
|
217
|
+
private __labelText(slot: HTMLSlotElement): string {
|
|
218
|
+
return slot
|
|
219
|
+
.assignedNodes({ flatten: true })
|
|
220
|
+
.map(node => node.textContent ?? '')
|
|
221
|
+
.join(' ')
|
|
222
|
+
.replace(/\s+/g, ' ')
|
|
223
|
+
.trim();
|
|
224
|
+
}
|
|
225
|
+
|
|
203
226
|
// ── Public methods ────────────────────────────────────────────────────────
|
|
204
227
|
|
|
205
228
|
override focus() {
|
|
@@ -245,7 +268,7 @@ export class Button extends mixinButtonLevel(
|
|
|
245
268
|
return html`<button
|
|
246
269
|
class=${classMap(cssClasses)}
|
|
247
270
|
id="button"
|
|
248
|
-
aria-label="${ariaLabel || nothing}"
|
|
271
|
+
aria-label="${ariaLabel || this._slotLabel || nothing}"
|
|
249
272
|
aria-haspopup="${ariaHasPopup || nothing}"
|
|
250
273
|
aria-expanded="${ariaExpanded || nothing}"
|
|
251
274
|
aria-describedby=${ifDefined(
|
|
@@ -318,7 +341,10 @@ export class Button extends mixinButtonLevel(
|
|
|
318
341
|
<wc-ripple class="ripple" for="button"></wc-ripple>
|
|
319
342
|
<wc-skeleton class="skeleton"></wc-skeleton>
|
|
320
343
|
|
|
321
|
-
|
|
344
|
+
<ui-button class="ui-button" @action=${stopUiSdkEvent}
|
|
345
|
+
>${this.renderButtonElement()}</ui-button
|
|
346
|
+
>
|
|
347
|
+
${this.renderTooltip()}
|
|
322
348
|
`;
|
|
323
349
|
}
|
|
324
350
|
}
|
|
@@ -10,6 +10,12 @@ $border-width: 0.0625rem;
|
|
|
10
10
|
gap: var(--button-group-spacing, var(--_button-group-spacing));
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
// Press feedback: the widths set while a button is pressed move on the fast spatial spring.
|
|
14
|
+
slot::slotted(*) {
|
|
15
|
+
transition: width var(--motion-spring-fast-spatial-duration)
|
|
16
|
+
var(--motion-spring-fast-spatial-easing);
|
|
17
|
+
}
|
|
18
|
+
|
|
13
19
|
// Size-specific rules (can be overridden by variant rules below)
|
|
14
20
|
:host([size='xs']) {
|
|
15
21
|
--_button-group-spacing: var(--spacing-200);
|
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
import { html, LitElement } from 'lit';
|
|
2
2
|
import { property } from 'lit/decorators.js';
|
|
3
|
-
import IndividualComponent from '@/IndividualComponent.js';
|
|
4
3
|
import styles from './button-group.scss';
|
|
5
4
|
import { Button, ButtonColor } from '../button/button.js';
|
|
6
5
|
import { IconButton } from '../icon-button/icon-button.js';
|
|
7
6
|
|
|
7
|
+
/** How much a pressed button widens, as a fraction of its width. */
|
|
8
|
+
const PRESS_GROWTH = 0.15;
|
|
9
|
+
|
|
10
|
+
/** Longer than the fast spatial spring takes to settle. */
|
|
11
|
+
const SETTLE_MS = 450;
|
|
12
|
+
|
|
13
|
+
function prefersReducedMotion(): boolean {
|
|
14
|
+
return (
|
|
15
|
+
window.matchMedia?.('(prefers-reduced-motion: reduce)').matches ?? false
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
|
|
8
19
|
/**
|
|
9
20
|
* @label Button Group
|
|
10
21
|
* @tag wc-button-group
|
|
@@ -18,6 +29,8 @@ import { IconButton } from '../icon-button/icon-button.js';
|
|
|
18
29
|
* <code>variant</code> when set, to every button, overriding what the buttons set themselves.</p>
|
|
19
30
|
* <p>By default the buttons sit with a small gap between them. With <code>connected</code> they sit
|
|
20
31
|
* 2px apart with rounded outer corners, for a set such as bold, italic and underline toggles.</p>
|
|
32
|
+
* <p>Pressing a button widens it while its neighbours make room, on a spring (not with reduced
|
|
33
|
+
* motion).</p>
|
|
21
34
|
* <p>The group is layout only: it adds no group role, keyboard handling or selection, so each
|
|
22
35
|
* button keeps its own focus stop and toggle state. For choosing one or several options from a
|
|
23
36
|
* set use <code>wc-segmented-button-group</code>.</p>
|
|
@@ -39,7 +52,6 @@ import { IconButton } from '../icon-button/icon-button.js';
|
|
|
39
52
|
*
|
|
40
53
|
* @tags controls
|
|
41
54
|
*/
|
|
42
|
-
@IndividualComponent
|
|
43
55
|
class ButtonGroup extends LitElement {
|
|
44
56
|
// Lit prefers CSS-in-JS for better performance and scoping.
|
|
45
57
|
// If you prefer keeping the SCSS file, you'll need a build tool (like Vite or Webpack)
|
|
@@ -84,6 +96,97 @@ class ButtonGroup extends LitElement {
|
|
|
84
96
|
this._syncButtonProperties();
|
|
85
97
|
}
|
|
86
98
|
|
|
99
|
+
// ── Press feedback (M3 Expressive) ─────────────────────────────────
|
|
100
|
+
// While a button is pressed it widens by PRESS_GROWTH of its width and its neighbours give up
|
|
101
|
+
// the same room, so the group keeps its overall width. Widths are set from a <style> in the
|
|
102
|
+
// shadow root (`::slotted(:nth-child(n))`), so the buttons' own attributes stay untouched.
|
|
103
|
+
|
|
104
|
+
private _pressStyle?: HTMLStyleElement;
|
|
105
|
+
|
|
106
|
+
/** Widths at rest, measured on press and kept until the release has settled. */
|
|
107
|
+
private _restWidths?: Map<HTMLElement, number>;
|
|
108
|
+
|
|
109
|
+
private _settleTimer?: ReturnType<typeof setTimeout>;
|
|
110
|
+
|
|
111
|
+
override connectedCallback() {
|
|
112
|
+
super.connectedCallback();
|
|
113
|
+
this.addEventListener('pointerdown', this._onPointerDown);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
override disconnectedCallback() {
|
|
117
|
+
super.disconnectedCallback();
|
|
118
|
+
this.removeEventListener('pointerdown', this._onPointerDown);
|
|
119
|
+
this._removeReleaseListeners();
|
|
120
|
+
clearTimeout(this._settleTimer);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
private _onPointerDown = (event: PointerEvent) => {
|
|
124
|
+
if (event.button !== 0 || prefersReducedMotion()) return;
|
|
125
|
+
const children = this._getSlottedElements();
|
|
126
|
+
if (children.length < 2) return;
|
|
127
|
+
const path = event.composedPath();
|
|
128
|
+
const pressed = children.find(child => path.includes(child));
|
|
129
|
+
if (!pressed || pressed.hasAttribute('disabled')) return;
|
|
130
|
+
|
|
131
|
+
clearTimeout(this._settleTimer);
|
|
132
|
+
if (!this._restWidths) {
|
|
133
|
+
this._restWidths = new Map(
|
|
134
|
+
children.map(child => [child, child.getBoundingClientRect().width]),
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
const rest = this._restWidths;
|
|
138
|
+
// Pin every button at its rest width first, so the change to the pressed widths animates.
|
|
139
|
+
this._applyWidths(rest);
|
|
140
|
+
|
|
141
|
+
const index = children.indexOf(pressed);
|
|
142
|
+
const neighbours = [children[index - 1], children[index + 1]].filter(
|
|
143
|
+
(child): child is HTMLElement =>
|
|
144
|
+
!!child && !child.hasAttribute('disabled'),
|
|
145
|
+
);
|
|
146
|
+
if (neighbours.length === 0) return;
|
|
147
|
+
const growth = (rest.get(pressed) ?? 0) * PRESS_GROWTH;
|
|
148
|
+
const target = new Map(rest);
|
|
149
|
+
target.set(pressed, (rest.get(pressed) ?? 0) + growth);
|
|
150
|
+
neighbours.forEach(child =>
|
|
151
|
+
target.set(child, (rest.get(child) ?? 0) - growth / neighbours.length),
|
|
152
|
+
);
|
|
153
|
+
requestAnimationFrame(() => this._applyWidths(target));
|
|
154
|
+
|
|
155
|
+
window.addEventListener('pointerup', this._onRelease);
|
|
156
|
+
window.addEventListener('pointercancel', this._onRelease);
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
private _onRelease = () => {
|
|
160
|
+
this._removeReleaseListeners();
|
|
161
|
+
const rest = this._restWidths;
|
|
162
|
+
if (!rest) return;
|
|
163
|
+
this._applyWidths(rest);
|
|
164
|
+
// Once the spring has settled, hand the widths back to the layout.
|
|
165
|
+
this._settleTimer = setTimeout(() => {
|
|
166
|
+
this._restWidths = undefined;
|
|
167
|
+
if (this._pressStyle) this._pressStyle.textContent = '';
|
|
168
|
+
}, SETTLE_MS);
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
private _removeReleaseListeners() {
|
|
172
|
+
window.removeEventListener('pointerup', this._onRelease);
|
|
173
|
+
window.removeEventListener('pointercancel', this._onRelease);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
private _applyWidths(widths: Map<HTMLElement, number>) {
|
|
177
|
+
if (!this._pressStyle) {
|
|
178
|
+
this._pressStyle = document.createElement('style');
|
|
179
|
+
this.shadowRoot?.append(this._pressStyle);
|
|
180
|
+
}
|
|
181
|
+
const all = Array.from(this.children);
|
|
182
|
+
this._pressStyle.textContent = Array.from(widths)
|
|
183
|
+
.map(
|
|
184
|
+
([child, width]) =>
|
|
185
|
+
`::slotted(:nth-child(${all.indexOf(child) + 1})) { width: ${width.toFixed(2)}px; min-width: 0; }`,
|
|
186
|
+
)
|
|
187
|
+
.join('\n');
|
|
188
|
+
}
|
|
189
|
+
|
|
87
190
|
private _getSlottedElements(): HTMLElement[] {
|
|
88
191
|
const slot = this.shadowRoot?.querySelector('slot');
|
|
89
192
|
return (slot?.assignedElements({ flatten: true }) ?? []) as HTMLElement[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* Small FAB: 40×40dp, shape-corner-medium */
|
|
2
2
|
:host([size='sm']) {
|
|
3
3
|
--fab-container-shape: var(--shape-corner-medium);
|
|
4
|
+
--fab-container-pressed-shape: var(--shape-corner-small);
|
|
4
5
|
--fab-container-size: 2.5rem;
|
|
5
6
|
--_button-icon-size: 1.5rem;
|
|
6
7
|
--fab-extended-min-width: 4rem;
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
/* Large FAB: 96×96dp, shape-corner-extra-large */
|
|
27
28
|
:host([size='lg']) {
|
|
28
29
|
--fab-container-shape: var(--shape-corner-extra-large);
|
|
30
|
+
--fab-container-pressed-shape: var(--shape-corner-large);
|
|
29
31
|
--fab-container-size: 6rem;
|
|
30
32
|
--_button-icon-size: 2.25rem;
|
|
31
33
|
--fab-extended-min-width: 6rem;
|
package/src/button/fab/fab.scss
CHANGED
|
@@ -2,17 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
@include mixin.base-styles;
|
|
4
4
|
|
|
5
|
+
// The corners morph on the fast spatial spring when the FAB is pressed.
|
|
6
|
+
@mixin spring-shape {
|
|
7
|
+
transition: border-radius var(--motion-spring-fast-spatial-duration)
|
|
8
|
+
var(--motion-spring-fast-spatial-easing);
|
|
9
|
+
}
|
|
10
|
+
|
|
5
11
|
:host {
|
|
6
12
|
position: relative;
|
|
7
13
|
display: inline-flex;
|
|
8
14
|
|
|
9
15
|
--fab-container-shape: var(--shape-corner-large);
|
|
16
|
+
--fab-container-pressed-shape: var(--shape-corner-medium);
|
|
10
17
|
--fab-container-elevation-level: 3;
|
|
11
18
|
|
|
12
|
-
--
|
|
13
|
-
|
|
14
|
-
--_button-container-shape-
|
|
15
|
-
--_button-container-shape-
|
|
19
|
+
--_fab-shape: var(--fab-container-shape);
|
|
20
|
+
|
|
21
|
+
--_button-container-shape-start-start: var(--_fab-shape);
|
|
22
|
+
--_button-container-shape-start-end: var(--_fab-shape);
|
|
23
|
+
--_button-container-shape-end-start: var(--_fab-shape);
|
|
24
|
+
--_button-container-shape-end-end: var(--_fab-shape);
|
|
16
25
|
--_button-container-shape-variant: var(--fab-container-shape-variant);
|
|
17
26
|
}
|
|
18
27
|
|
|
@@ -45,7 +54,8 @@
|
|
|
45
54
|
justify-content: center;
|
|
46
55
|
width: var(--fab-container-size);
|
|
47
56
|
height: var(--fab-container-size);
|
|
48
|
-
border-radius: var(--
|
|
57
|
+
border-radius: var(--_fab-shape);
|
|
58
|
+
@include spring-shape;
|
|
49
59
|
font-family: var(--font-family-sans) !important;
|
|
50
60
|
z-index: 0;
|
|
51
61
|
|
|
@@ -80,7 +90,8 @@
|
|
|
80
90
|
width: auto;
|
|
81
91
|
min-width: var(--fab-extended-min-width);
|
|
82
92
|
padding: 0 1rem;
|
|
83
|
-
border-radius: var(--
|
|
93
|
+
border-radius: var(--_fab-shape);
|
|
94
|
+
@include spring-shape;
|
|
84
95
|
}
|
|
85
96
|
|
|
86
97
|
/*
|
|
@@ -88,14 +99,15 @@
|
|
|
88
99
|
*/
|
|
89
100
|
.focus-ring {
|
|
90
101
|
z-index: 2;
|
|
91
|
-
--focus-ring-container-shape-start-start: var(--
|
|
92
|
-
--focus-ring-container-shape-start-end: var(--
|
|
93
|
-
--focus-ring-container-shape-end-start: var(--
|
|
94
|
-
--focus-ring-container-shape-end-end: var(--
|
|
102
|
+
--focus-ring-container-shape-start-start: var(--_fab-shape);
|
|
103
|
+
--focus-ring-container-shape-start-end: var(--_fab-shape);
|
|
104
|
+
--focus-ring-container-shape-end-start: var(--_fab-shape);
|
|
105
|
+
--focus-ring-container-shape-end-end: var(--_fab-shape);
|
|
95
106
|
}
|
|
96
107
|
|
|
97
108
|
.ripple {
|
|
98
|
-
border-radius: var(--
|
|
109
|
+
border-radius: var(--_fab-shape);
|
|
110
|
+
@include spring-shape;
|
|
99
111
|
--ripple-state-opacity: var(--_button-container-state-opacity, 0);
|
|
100
112
|
--ripple-pressed-color: var(--_button-label-text-color);
|
|
101
113
|
}
|
|
@@ -106,7 +118,8 @@
|
|
|
106
118
|
inset: 0;
|
|
107
119
|
background-color: var(--_button-container-color);
|
|
108
120
|
opacity: var(--_button-container-opacity, 1);
|
|
109
|
-
border-radius: var(--
|
|
121
|
+
border-radius: var(--_fab-shape);
|
|
122
|
+
@include spring-shape;
|
|
110
123
|
pointer-events: none;
|
|
111
124
|
}
|
|
112
125
|
|
|
@@ -115,11 +128,12 @@
|
|
|
115
128
|
--_button-container-elevation-level,
|
|
116
129
|
var(--fab-container-elevation-level)
|
|
117
130
|
);
|
|
118
|
-
transition-duration:
|
|
119
|
-
|
|
120
|
-
--elevation-container-shape-start-
|
|
121
|
-
--elevation-container-shape-end
|
|
122
|
-
--elevation-container-shape-end-
|
|
131
|
+
transition-duration: var(--motion-spring-default-effects-duration);
|
|
132
|
+
transition-timing-function: var(--motion-spring-default-effects-easing);
|
|
133
|
+
--elevation-container-shape-start-start: var(--_fab-shape);
|
|
134
|
+
--elevation-container-shape-start-end: var(--_fab-shape);
|
|
135
|
+
--elevation-container-shape-end-start: var(--_fab-shape);
|
|
136
|
+
--elevation-container-shape-end-end: var(--_fab-shape);
|
|
123
137
|
}
|
|
124
138
|
|
|
125
139
|
/* State management */
|
|
@@ -129,6 +143,7 @@
|
|
|
129
143
|
}
|
|
130
144
|
|
|
131
145
|
:host(:active):not([disabled]) {
|
|
146
|
+
--_fab-shape: var(--fab-container-pressed-shape);
|
|
132
147
|
--_button-container-elevation-level: 3;
|
|
133
148
|
--_button-container-state-opacity: 0.12;
|
|
134
149
|
}
|
package/src/button/fab/fab.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { property, query } from 'lit/decorators.js';
|
|
|
3
3
|
import { classMap } from 'lit/directives/class-map.js';
|
|
4
4
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
5
5
|
|
|
6
|
-
import IndividualComponent from '@/IndividualComponent.js';
|
|
7
6
|
import {
|
|
8
7
|
dispatchActivationClick,
|
|
9
8
|
isActivationClick,
|
|
@@ -12,7 +11,7 @@ import { isLink } from '@/__internal/utils/is-link.js';
|
|
|
12
11
|
import styles from './fab.scss';
|
|
13
12
|
import colorStyles from './fab-colors.scss';
|
|
14
13
|
import sizeStyles from './fab-sizes.scss';
|
|
15
|
-
import { DISABLED_REASON_ID } from '@/button/
|
|
14
|
+
import { DISABLED_REASON_ID } from '@/button/button-constants.js';
|
|
16
15
|
import {
|
|
17
16
|
iconButtonLabel,
|
|
18
17
|
mixinBaseButton,
|
|
@@ -40,6 +39,7 @@ import { ARIAMixinStrict } from '@/__internal/aria/aria.js';
|
|
|
40
39
|
* @cssprop --fab-container-color: Background color of the FAB container.
|
|
41
40
|
* @cssprop --fab-label-text-color: Text and icon color of the FAB label.
|
|
42
41
|
* @cssprop --fab-container-shape: Corner radius of the FAB. Defaults to var(--shape-corner-large).
|
|
42
|
+
* @cssprop --fab-container-pressed-shape: Corner radius while the FAB is pressed. The corners morph to it on a spring.
|
|
43
43
|
* @cssprop --fab-container-elevation-level: Elevation level of the FAB. Defaults to 3.
|
|
44
44
|
*
|
|
45
45
|
* @fires {MouseEvent} click - Dispatched when the FAB is clicked. Not dispatched while `loading`, `soft-disabled` or `skeleton`.
|
|
@@ -51,7 +51,6 @@ import { ARIAMixinStrict } from '@/__internal/aria/aria.js';
|
|
|
51
51
|
* ```
|
|
52
52
|
* @tags controls
|
|
53
53
|
*/
|
|
54
|
-
@IndividualComponent
|
|
55
54
|
export class Fab extends mixinBaseButton(
|
|
56
55
|
mixinHyperlink(
|
|
57
56
|
mixinDelegatesAria(
|
|
@@ -9,8 +9,7 @@ import {
|
|
|
9
9
|
dispatchActivationClick,
|
|
10
10
|
isActivationClick,
|
|
11
11
|
} from '@/__internal/utils/dispatch-event-utils.js';
|
|
12
|
-
import { DISABLED_REASON_ID } from '@/button/
|
|
13
|
-
import IndividualComponent from '@/IndividualComponent.js';
|
|
12
|
+
import { DISABLED_REASON_ID } from '@/button/button-constants.js';
|
|
14
13
|
import {
|
|
15
14
|
iconButtonLabel,
|
|
16
15
|
mixinBaseButton,
|
|
@@ -24,7 +23,7 @@ import { mixinFormSubmitter } from '@/__internal/mixins/form-submitter.js';
|
|
|
24
23
|
import { mixinFormAssociated } from '@/__internal/mixins/form-associated.js';
|
|
25
24
|
import { mixinElementInternals } from '@/__internal/mixins/element-internals.js';
|
|
26
25
|
import { ARIAMixinStrict } from '@/__internal/aria/aria.js';
|
|
27
|
-
import type { ButtonShape, ButtonSize } from '@/button/
|
|
26
|
+
import type { ButtonShape, ButtonSize } from '@/button/button-types.js';
|
|
28
27
|
|
|
29
28
|
/**
|
|
30
29
|
* @label Icon Button
|
|
@@ -71,7 +70,6 @@ import type { ButtonShape, ButtonSize } from '@/button/ButtonTypes.js';
|
|
|
71
70
|
* ```
|
|
72
71
|
* @tags display
|
|
73
72
|
*/
|
|
74
|
-
@IndividualComponent
|
|
75
73
|
export class IconButton extends mixinButtonLevel(
|
|
76
74
|
mixinBaseButton(
|
|
77
75
|
mixinHyperlink(
|
package/src/button/index.ts
CHANGED
|
@@ -2,16 +2,15 @@ import { html, LitElement, nothing, type PropertyValues } from 'lit';
|
|
|
2
2
|
import { property, query } from 'lit/decorators.js';
|
|
3
3
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
4
4
|
import { when } from 'lit/directives/when.js';
|
|
5
|
-
import IndividualComponent from '@/IndividualComponent.js';
|
|
6
5
|
import styles from './link-button.scss';
|
|
7
6
|
|
|
8
|
-
import type { ButtonShape, ButtonSize } from '@/button/
|
|
7
|
+
import type { ButtonShape, ButtonSize } from '@/button/button-types.js';
|
|
9
8
|
import { observerSlotChangesWithCallback } from '@/__internal/utils/observe-slot-change.js';
|
|
10
9
|
import {
|
|
11
10
|
dispatchActivationClick,
|
|
12
11
|
isActivationClick,
|
|
13
12
|
} from '@/__internal/utils/dispatch-event-utils.js';
|
|
14
|
-
import { DISABLED_REASON_ID } from '@/button/
|
|
13
|
+
import { DISABLED_REASON_ID } from '@/button/button-constants.js';
|
|
15
14
|
import { mixinDelegatesAria } from '@/__internal/aria/delegate.js';
|
|
16
15
|
import { ARIAMixinStrict } from '@/__internal/aria/aria.js';
|
|
17
16
|
import { mixinElementInternals } from '@/__internal/mixins/element-internals.js';
|
|
@@ -45,7 +44,6 @@ import {
|
|
|
45
44
|
* ```
|
|
46
45
|
* @tags display
|
|
47
46
|
*/
|
|
48
|
-
@IndividualComponent
|
|
49
47
|
export class LinkButton extends mixinButtonLevel(
|
|
50
48
|
mixinBaseButton(
|
|
51
49
|
mixinHyperlink(mixinDelegatesAria(mixinElementInternals(LitElement))),
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
align-items: center;
|
|
68
68
|
justify-content: center;
|
|
69
69
|
color: var(--color-on-surface);
|
|
70
|
-
transition: background
|
|
70
|
+
transition: background var(--motion-spring-fast-effects-duration) var(--motion-spring-fast-effects-easing);
|
|
71
71
|
|
|
72
72
|
&:hover {
|
|
73
73
|
background: var(--color-primary-90);
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
background: var(--calendar-event-bg-color);
|
|
310
310
|
border-inline-start: 0.25rem solid var(--calendar-event-border-color);
|
|
311
311
|
border-radius: var(--shape-corner-extra-small);
|
|
312
|
-
transition: background
|
|
312
|
+
transition: background var(--motion-spring-fast-effects-duration) var(--motion-spring-fast-effects-easing);
|
|
313
313
|
|
|
314
314
|
.event-title {
|
|
315
315
|
padding: 0.25rem 0.375rem;
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
border-radius: var(--shape-corner-full);
|
|
442
442
|
background: currentColor;
|
|
443
443
|
opacity: 0;
|
|
444
|
-
transition: opacity
|
|
444
|
+
transition: opacity var(--motion-spring-fast-effects-duration) var(--motion-spring-fast-effects-easing);
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
447
|
|
|
@@ -36,7 +36,6 @@ import type {
|
|
|
36
36
|
CalendarEventChangeDetail,
|
|
37
37
|
EventType,
|
|
38
38
|
} from './types.js';
|
|
39
|
-
import IndividualComponent from '@/IndividualComponent.js';
|
|
40
39
|
import { resolveLocale } from '@/__internal/i18n/locale.js';
|
|
41
40
|
import type { WeekDay } from '@/__internal/utils/date.js';
|
|
42
41
|
import styles from './calendar-column-view.scss';
|
|
@@ -99,7 +98,6 @@ const COMPACT_PREVIEW_MS = 45 * MINUTE_MS;
|
|
|
99
98
|
* @fires event-change - Internal, does not bubble; an event was dropped at a new time. `wc-calendar` re-fires it.
|
|
100
99
|
* @fires event-add - Internal, does not bubble; a range of empty time was drawn or clicked. `wc-calendar` re-fires it.
|
|
101
100
|
*/
|
|
102
|
-
@IndividualComponent
|
|
103
101
|
export class CalendarColumnView extends LitElement {
|
|
104
102
|
// ── Static
|
|
105
103
|
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
color: inherit;
|
|
125
125
|
font: inherit;
|
|
126
126
|
cursor: pointer;
|
|
127
|
-
transition: background
|
|
127
|
+
transition: background var(--motion-spring-fast-effects-duration) var(--motion-spring-fast-effects-easing);
|
|
128
128
|
|
|
129
129
|
&:hover {
|
|
130
130
|
background: var(--color-surface-container-highest);
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
border-inline-start: 0.25rem solid var(--calendar-event-border-color);
|
|
205
205
|
border-radius: var(--shape-corner-extra-small);
|
|
206
206
|
color: var(--calendar-event-text-color);
|
|
207
|
-
transition: background
|
|
207
|
+
transition: background var(--motion-spring-fast-effects-duration) var(--motion-spring-fast-effects-easing);
|
|
208
208
|
|
|
209
209
|
&.clickable {
|
|
210
210
|
&:hover {
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
border-radius: var(--shape-corner-full);
|
|
302
302
|
background: currentColor;
|
|
303
303
|
opacity: 0;
|
|
304
|
-
transition: opacity
|
|
304
|
+
transition: opacity var(--motion-spring-fast-effects-duration) var(--motion-spring-fast-effects-easing);
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
307
|
|
|
@@ -29,7 +29,6 @@ import type {
|
|
|
29
29
|
CalendarEventChangeDetail,
|
|
30
30
|
EventType,
|
|
31
31
|
} from './types.js';
|
|
32
|
-
import IndividualComponent from '@/IndividualComponent.js';
|
|
33
32
|
import { resolveLocale } from '@/__internal/i18n/locale.js';
|
|
34
33
|
import type { WeekDay } from '@/__internal/utils/date.js';
|
|
35
34
|
import styles from './calendar-month-view.scss';
|
|
@@ -80,7 +79,6 @@ interface MonthPreview {
|
|
|
80
79
|
* @fires event-change - Internal, does not bubble; an event was dropped on new days. `wc-calendar` re-fires it.
|
|
81
80
|
* @fires event-add - Internal, does not bubble; days were drawn across or a day clicked. `wc-calendar` re-fires it.
|
|
82
81
|
*/
|
|
83
|
-
@IndividualComponent
|
|
84
82
|
export class CalendarMonthView extends LitElement {
|
|
85
83
|
// ── Static
|
|
86
84
|
|
package/src/calendar/calendar.ts
CHANGED
|
@@ -17,7 +17,6 @@ import type {
|
|
|
17
17
|
CalendarViewType,
|
|
18
18
|
EventType,
|
|
19
19
|
} from './types.js';
|
|
20
|
-
import IndividualComponent from '@/IndividualComponent.js';
|
|
21
20
|
import { I18nController } from '@/__internal/i18n/i18n-controller.js';
|
|
22
21
|
import type { PeacockStrings } from '@/__internal/i18n/strings.js';
|
|
23
22
|
import {
|
|
@@ -137,7 +136,6 @@ export function applyCalendarChange<T extends EventType>(
|
|
|
137
136
|
* </script>
|
|
138
137
|
* ```
|
|
139
138
|
*/
|
|
140
|
-
@IndividualComponent
|
|
141
139
|
export class Calendar extends LitElement {
|
|
142
140
|
// ── Static
|
|
143
141
|
|
|
@@ -273,7 +273,8 @@
|
|
|
273
273
|
wc-icon {
|
|
274
274
|
--icon-size: 1.25rem;
|
|
275
275
|
font-size: 1.25rem;
|
|
276
|
-
transition: transform var(--duration
|
|
276
|
+
transition: transform var(--motion-spring-fast-spatial-duration)
|
|
277
|
+
var(--motion-spring-fast-spatial-easing);
|
|
277
278
|
}
|
|
278
279
|
|
|
279
280
|
&[aria-expanded='true'] wc-icon {
|
|
@@ -399,7 +400,8 @@
|
|
|
399
400
|
font-size: 0.75rem;
|
|
400
401
|
color: var(--calendar-timeline-event-text-color);
|
|
401
402
|
white-space: nowrap;
|
|
402
|
-
transition: background
|
|
403
|
+
transition: background var(--motion-spring-fast-effects-duration)
|
|
404
|
+
var(--motion-spring-fast-effects-easing);
|
|
403
405
|
container-type: inline-size;
|
|
404
406
|
|
|
405
407
|
.event-title {
|
|
@@ -505,7 +507,8 @@
|
|
|
505
507
|
border-radius: var(--shape-corner-full);
|
|
506
508
|
background: currentColor;
|
|
507
509
|
opacity: 0;
|
|
508
|
-
transition: opacity
|
|
510
|
+
transition: opacity var(--motion-spring-fast-effects-duration)
|
|
511
|
+
var(--motion-spring-fast-effects-easing);
|
|
509
512
|
}
|
|
510
513
|
}
|
|
511
514
|
|