@slotted/react 0.1.0-beta.43 → 0.1.0-beta.45
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-DsWhsSMU.js → app-shell-BBPY0_KK.js} +215 -194
- package/dist/app-shell.js +1 -1
- package/dist/{attachment-TZykYNu5.js → attachment-DJDXJrCx.js} +1 -1
- package/dist/attachment.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/{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-Bgf5tfCI.js → command-palette-DwjkexvN.js} +15 -7
- 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-DUft3rJb.js → data-grid-BlElqHOU.js} +19 -19
- package/dist/data-grid.js +1 -1
- package/dist/{data-list-Dv3orBtf.js → data-list-5zvM-DUz.js} +4 -3
- 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-Cke3ZFU3.js → detail-panel-Czs05E_D.js} +52 -50
- package/dist/detail-panel.js +1 -1
- 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 +353 -301
- package/dist/docs/app-shell.json +14 -13
- package/dist/docs/app-shell.md +13 -8
- package/dist/docs/avatar-group.examples.md +790 -0
- package/dist/docs/avatar-group.json +9 -9
- package/dist/docs/avatar-group.md +17 -516
- 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.json +2 -0
- package/dist/docs/button.md +1 -1
- package/dist/docs/calendar.json +0 -1
- package/dist/docs/calendar.md +1 -1
- package/dist/docs/carousel.json +2 -0
- package/dist/docs/carousel.md +1 -1
- package/dist/docs/clock.json +4 -4
- package/dist/docs/clock.md +2 -2
- package/dist/docs/collapsible.json +10 -1
- package/dist/docs/collapsible.md +1 -1
- package/dist/docs/color-picker.json +14 -1
- package/dist/docs/color-picker.md +2 -1
- package/dist/docs/description-list.json +7 -0
- package/dist/docs/description-list.md +1 -0
- package/dist/docs/drawer.examples.md +1 -1
- package/dist/docs/drawer.json +4 -4
- package/dist/docs/entity-picker.examples.md +123 -0
- package/dist/docs/entity-picker.json +9 -9
- package/dist/docs/entity-picker.md +15 -0
- package/dist/docs/event-calendar.json +7 -0
- package/dist/docs/event-calendar.md +1 -0
- package/dist/docs/filter-bar.json +1 -0
- package/dist/docs/filter-bar.md +1 -1
- package/dist/docs/floating-panel.json +7 -3
- package/dist/docs/floating-panel.md +23 -5
- package/dist/docs/hover-card.json +8 -1
- package/dist/docs/hover-card.md +5 -1
- package/dist/docs/import-export-center.examples.md +1 -1
- package/dist/docs/import-export-center.json +3 -13
- package/dist/docs/import-export-center.md +2 -3
- 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.json +3 -0
- package/dist/docs/list-item.md +1 -1
- package/dist/docs/markdown.json +1 -1
- package/dist/docs/markdown.md +5 -1
- package/dist/docs/media-viewer.examples.md +1 -1
- package/dist/docs/media-viewer.json +1 -1
- package/dist/docs/menu.examples.md +14 -2
- package/dist/docs/menu.json +1 -1
- package/dist/docs/message-scroller.examples.md +230 -64
- package/dist/docs/message-scroller.json +11 -11
- package/dist/docs/message-scroller.md +18 -5
- package/dist/docs/message.examples.md +14 -4
- package/dist/docs/message.json +7 -5
- package/dist/docs/message.md +6 -2
- package/dist/docs/navigation-menu.examples.md +16 -7
- package/dist/docs/navigation-menu.json +6 -6
- package/dist/docs/navigation-menu.md +1 -1
- package/dist/docs/page-header.examples.md +79 -58
- package/dist/docs/page-header.json +10 -2
- package/dist/docs/page-header.md +1 -1
- package/dist/docs/page.examples.md +31 -13
- package/dist/docs/page.json +1 -1
- 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/saved-views.examples.md +2 -13
- package/dist/docs/saved-views.json +8 -8
- package/dist/docs/saved-views.md +0 -1
- package/dist/docs/section.examples.md +25 -22
- package/dist/docs/section.json +1 -1
- package/dist/docs/segmented-control.json +2 -0
- package/dist/docs/segmented-control.md +1 -1
- package/dist/docs/side-navigation.examples.md +6 -1
- package/dist/docs/side-navigation.json +1 -1
- package/dist/docs/skeleton.json +2 -2
- package/dist/docs/skeleton.md +2 -2
- package/dist/docs/stat-card.examples.md +4 -4
- package/dist/docs/stat-card.json +4 -4
- package/dist/docs/status-indicator.json +0 -1
- package/dist/docs/status-indicator.md +1 -1
- package/dist/docs/stepper.json +1 -1
- package/dist/docs/stepper.md +2 -8
- 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/timeline.examples.md +6 -1
- package/dist/docs/timeline.json +1 -1
- 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 +14 -14
- package/dist/docs/toolbar.md +29 -458
- 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 +200 -98
- package/dist/docs/top-navigation.json +12 -12
- package/dist/docs/top-navigation.md +6 -1
- package/dist/docs/tree.examples.md +5 -2
- package/dist/docs/tree.json +2 -2
- package/dist/docs/typography.json +1 -1
- package/dist/docs/typography.md +33 -20
- package/dist/docs/visually-hidden.json +3 -3
- package/dist/docs/visually-hidden.md +68 -41
- package/dist/docs/wizard.json +1 -0
- package/dist/docs/wizard.md +1 -1
- package/dist/drawer-JP3p-QZB.js +879 -0
- package/dist/drawer.js +1 -1
- package/dist/{entity-picker-C78f3Z0o.js → entity-picker-BWpuo-mp.js} +334 -330
- package/dist/entity-picker.js +1 -1
- package/dist/{event-calendar-DJPoCi-O.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-D61wiQFP.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 +88 -88
- 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-8CtV4k44.js → markdown-BMda5ino.js} +13 -13
- package/dist/markdown.js +1 -1
- 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-jeAIQSZM.js → page-header-DK896DGD.js} +2 -2
- 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/{segmented-control-BSMVjukr.js → segmented-control-BLcGhQ4J.js} +2 -2
- 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-BQzBxz2B.js → side-navigation-Dw3-P12f.js} +3 -3
- 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-BpGZiFbG.js → stat-card-D6NMjkZM.js} +1 -1
- package/dist/stat-card.js +1 -1
- 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 +7 -7
- 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 +89 -87
- 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 +2 -2
- 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/{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-YSEQzBhD.js → top-navigation--OcOpGCy.js} +3 -3
- package/dist/top-navigation.js +1 -1
- package/dist/{tour-ALH5CYMY.js → tour-7-TXdrMv.js} +2 -2
- package/dist/tour.js +1 -1
- package/dist/{transfer-Cv5yQuTN.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/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.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/navigation-menu/navigation-menu-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/select/select-tags.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/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/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/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/drawer-CQagePr_.js +0 -830
- package/dist/import-export-center-mqvmlzwB.js +0 -875
- package/dist/popover-1DlOu95x.js +0 -576
- package/dist/toolbar-BP7ka6lN.js +0 -243
- package/dist/tooltip-DrFiRlH8.js +0 -411
- package/dist/wizard-Dfryz1id.js +0 -838
|
@@ -0,0 +1,615 @@
|
|
|
1
|
+
import { r as e } from "./i18n-D7xXDd8-.js";
|
|
2
|
+
import { n as t, t as n } from "./icon-D04-_QFA.js";
|
|
3
|
+
import { t as r } from "./use-media-query-DJY5h_K5.js";
|
|
4
|
+
import { n as i } from "./icon-button-DzPkQamc.js";
|
|
5
|
+
import { keyedProps as a, selectorKeyProps as o, withSelectorKey as s } from "@slotted/core/selector-key";
|
|
6
|
+
import { createFocusScope as c } from "@slotted/core/focus";
|
|
7
|
+
import { createControllable as l } from "@slotted/core/state";
|
|
8
|
+
import { Children as u, createContext as d, isValidElement as f, useCallback as p, useContext as m, useEffect as h, useId as g, useImperativeHandle as _, useLayoutEffect as v, useRef as y, useState as b } from "react";
|
|
9
|
+
import { Fragment as ee, jsx as x, jsxs as te } from "react/jsx-runtime";
|
|
10
|
+
import { createPresence as ne } from "@slotted/core/presence";
|
|
11
|
+
import { popoverMessages as S } from "@slotted/core/i18n";
|
|
12
|
+
import { SHEET_QUERY as re, attachGripDismiss as C } from "@slotted/core/extent";
|
|
13
|
+
import { createPortalRoot as ie, setPortalContainer as w } from "@slotted/core/portal";
|
|
14
|
+
import { createDismissableLayer as T } from "@slotted/core/dismissable-layer";
|
|
15
|
+
import { createPositioner as ae, notePointer as E, pointerFollow as oe } from "@slotted/core/positioner";
|
|
16
|
+
import { createPortal as se } from "react-dom";
|
|
17
|
+
//#region src/popover/popover-defaults.tsx
|
|
18
|
+
var D = {
|
|
19
|
+
align: "center",
|
|
20
|
+
alignOffset: 0,
|
|
21
|
+
arrow: !0,
|
|
22
|
+
arrowPadding: 12,
|
|
23
|
+
autoFocus: !0,
|
|
24
|
+
closeOnEscape: !0,
|
|
25
|
+
closeOnOutsidePress: !0,
|
|
26
|
+
collisionPadding: 8,
|
|
27
|
+
flip: !0,
|
|
28
|
+
followPointer: !1,
|
|
29
|
+
hideWhenDetached: !1,
|
|
30
|
+
mount: "active",
|
|
31
|
+
portal: !0,
|
|
32
|
+
shift: !0,
|
|
33
|
+
side: "bottom",
|
|
34
|
+
sideOffset: 0,
|
|
35
|
+
size: "md",
|
|
36
|
+
strategy: "absolute",
|
|
37
|
+
width: "auto"
|
|
38
|
+
}, O = d(D);
|
|
39
|
+
function k() {
|
|
40
|
+
return m(O);
|
|
41
|
+
}
|
|
42
|
+
function A({ children: e, container: t, ...n }) {
|
|
43
|
+
let r = {
|
|
44
|
+
...k(),
|
|
45
|
+
...j(n)
|
|
46
|
+
};
|
|
47
|
+
return h(() => {
|
|
48
|
+
if (t !== void 0) return w(t), () => w(null);
|
|
49
|
+
}, [t]), /* @__PURE__ */ x(O.Provider, {
|
|
50
|
+
value: r,
|
|
51
|
+
children: e
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
function j(e) {
|
|
55
|
+
let t = Object.entries(e).filter(([, e]) => e !== void 0);
|
|
56
|
+
return Object.fromEntries(t);
|
|
57
|
+
}
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region src/popover/popover.tsx
|
|
60
|
+
var M = d(void 0), N = d({ current: void 0 });
|
|
61
|
+
function ce() {
|
|
62
|
+
return m(N);
|
|
63
|
+
}
|
|
64
|
+
function P() {
|
|
65
|
+
let e = m(M);
|
|
66
|
+
if (e === void 0) throw Error("Every Popover part has to be inside a Popover.");
|
|
67
|
+
return e;
|
|
68
|
+
}
|
|
69
|
+
function F({ align: t, alignOffset: n, arrow: i, arrowPadding: a, autoFocus: o, children: s, closeOnEscape: c, closeOnOutsidePress: u, collisionPadding: d, defaultOpen: f, disabled: m, finalFocus: h, flip: v, followPointer: ee, hideWhenDetached: te, initialFocus: ne, messages: C, mount: ie, onOpenChange: w, open: T, portal: ae, presentation: E = "popover", ref: oe, shift: se, side: D, sideOffset: O, size: A, strategy: j, width: ce }) {
|
|
70
|
+
let P = k(), F = e(S, C), I = g(), L = r(E === "auto" ? re : null), [R, le] = b(f ?? !1), [z, B] = b(null), [V, ue] = b(null), [H, U] = b(null), [W, G] = b(null), [K, de] = b(!1), [q, J] = b(!1), [Y, X] = b(!1), Z = y(void 0), fe = m === !0, Q = (T ?? R) && !fe, pe = y(Q);
|
|
71
|
+
Q && (pe.current = !0);
|
|
72
|
+
let me = y({
|
|
73
|
+
current: Q,
|
|
74
|
+
onOpenChange: w,
|
|
75
|
+
open: T
|
|
76
|
+
});
|
|
77
|
+
me.current = {
|
|
78
|
+
current: Q,
|
|
79
|
+
onOpenChange: w,
|
|
80
|
+
open: T
|
|
81
|
+
};
|
|
82
|
+
let $ = p((e, t, n) => {
|
|
83
|
+
let r = me.current;
|
|
84
|
+
if (e === r.current) return;
|
|
85
|
+
let i = !1, a = l({
|
|
86
|
+
controlled: r.open,
|
|
87
|
+
initial: r.current,
|
|
88
|
+
onRequest: (e) => {
|
|
89
|
+
i = e.cancelled, r.onOpenChange?.(e.value, e);
|
|
90
|
+
}
|
|
91
|
+
}).request(e, t, n);
|
|
92
|
+
i || a && le(e);
|
|
93
|
+
}, []);
|
|
94
|
+
_(oe, () => ({
|
|
95
|
+
close: () => $(!1, "programmatic"),
|
|
96
|
+
open: () => $(!0, "programmatic"),
|
|
97
|
+
reposition: () => Z.current?.()
|
|
98
|
+
}), [$]);
|
|
99
|
+
let he = {
|
|
100
|
+
align: t ?? P.align,
|
|
101
|
+
alignOffset: n ?? P.alignOffset,
|
|
102
|
+
anchorNode: V,
|
|
103
|
+
arrowNode: H,
|
|
104
|
+
arrowPadding: a ?? P.arrowPadding,
|
|
105
|
+
autoFocus: o ?? P.autoFocus,
|
|
106
|
+
closeOnEscape: c ?? P.closeOnEscape,
|
|
107
|
+
closeOnOutsidePress: u ?? P.closeOnOutsidePress,
|
|
108
|
+
collisionPadding: d ?? P.collisionPadding,
|
|
109
|
+
contentId: `${I}panel`,
|
|
110
|
+
contentNode: W,
|
|
111
|
+
descriptionId: `${I}description`,
|
|
112
|
+
disabled: fe,
|
|
113
|
+
finalFocus: h,
|
|
114
|
+
flip: v ?? P.flip,
|
|
115
|
+
followPointer: ee ?? P.followPointer,
|
|
116
|
+
hasDescription: q,
|
|
117
|
+
hasFooter: Y,
|
|
118
|
+
hasTitle: K,
|
|
119
|
+
hideWhenDetached: te ?? P.hideWhenDetached,
|
|
120
|
+
initialFocus: ne,
|
|
121
|
+
mount: ie ?? P.mount,
|
|
122
|
+
open: Q,
|
|
123
|
+
portal: ae ?? P.portal,
|
|
124
|
+
seen: pe.current,
|
|
125
|
+
setAnchorNode: ue,
|
|
126
|
+
setArrowNode: U,
|
|
127
|
+
setContentNode: G,
|
|
128
|
+
setHasDescription: J,
|
|
129
|
+
setHasFooter: X,
|
|
130
|
+
setHasTitle: de,
|
|
131
|
+
setTriggerNode: B,
|
|
132
|
+
sheet: L,
|
|
133
|
+
shift: se ?? P.shift,
|
|
134
|
+
showArrow: i ?? P.arrow,
|
|
135
|
+
side: D ?? P.side,
|
|
136
|
+
sideOffset: O ?? P.sideOffset,
|
|
137
|
+
size: A ?? P.size,
|
|
138
|
+
strategy: j ?? P.strategy,
|
|
139
|
+
t: F,
|
|
140
|
+
titleId: `${I}title`,
|
|
141
|
+
toggle: $,
|
|
142
|
+
triggerNode: z,
|
|
143
|
+
width: ce ?? P.width
|
|
144
|
+
};
|
|
145
|
+
return /* @__PURE__ */ x(M.Provider, {
|
|
146
|
+
value: he,
|
|
147
|
+
children: /* @__PURE__ */ x(N.Provider, {
|
|
148
|
+
value: Z,
|
|
149
|
+
children: s
|
|
150
|
+
})
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region src/popover/popover-parts.tsx
|
|
155
|
+
function I(e, t) {
|
|
156
|
+
return (n) => {
|
|
157
|
+
e?.(n), n.defaultPrevented || t(n);
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
function L(e, ...t) {
|
|
161
|
+
for (let n of t) typeof n == "function" ? n(e) : n != null && (n.current = e);
|
|
162
|
+
}
|
|
163
|
+
function R(e, t) {
|
|
164
|
+
return e === void 0 ? null : typeof e == "string" ? t?.querySelector(e) ?? null : e instanceof Element ? e : e.current ?? null;
|
|
165
|
+
}
|
|
166
|
+
function le(e, t, n, r) {
|
|
167
|
+
if (n === "center" || r === "anchor" && (t === "top" || t === "bottom")) return 0;
|
|
168
|
+
let i = Number.parseFloat(e.ownerDocument.defaultView?.getComputedStyle(e).paddingTop ?? "") || 0;
|
|
169
|
+
return n === "start" ? -i : i;
|
|
170
|
+
}
|
|
171
|
+
function z({ children: e, ref: t, render: n, ...r }) {
|
|
172
|
+
let i = P(), a = (e) => {
|
|
173
|
+
i.toggle(!i.open, e.detail === 0 ? "keyboard" : "pointer", e.nativeEvent);
|
|
174
|
+
}, o = (e) => {
|
|
175
|
+
i.followPointer !== !1 && (e.type !== "pointermove" || i.followPointer !== "entry") && E(e.currentTarget, e);
|
|
176
|
+
}, s = {
|
|
177
|
+
...r,
|
|
178
|
+
children: e,
|
|
179
|
+
...i.contentNode === null ? {} : { "aria-controls": i.contentId },
|
|
180
|
+
"aria-expanded": i.open,
|
|
181
|
+
"aria-haspopup": "dialog",
|
|
182
|
+
...i.open ? { "data-open": "" } : {},
|
|
183
|
+
onClick: I(r.onClick, a),
|
|
184
|
+
onPointerDown: I(r.onPointerDown, o),
|
|
185
|
+
onPointerLeave: I(r.onPointerLeave, o),
|
|
186
|
+
onPointerMove: I(r.onPointerMove, o)
|
|
187
|
+
}, c = p((e) => {
|
|
188
|
+
i.setTriggerNode(e), L(e, t);
|
|
189
|
+
}, [t, i.setTriggerNode]);
|
|
190
|
+
return n === void 0 ? /* @__PURE__ */ x("button", {
|
|
191
|
+
type: "button",
|
|
192
|
+
...s,
|
|
193
|
+
ref: c
|
|
194
|
+
}) : n({
|
|
195
|
+
...s,
|
|
196
|
+
ref: c
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
function B({ children: e, ref: t, render: n, ...r }) {
|
|
200
|
+
let i = P(), a = p((e) => {
|
|
201
|
+
i.setAnchorNode(e), L(e, t);
|
|
202
|
+
}, [t, i.setAnchorNode]), o = {
|
|
203
|
+
...r,
|
|
204
|
+
children: e
|
|
205
|
+
};
|
|
206
|
+
return n === void 0 ? /* @__PURE__ */ x("div", {
|
|
207
|
+
...o,
|
|
208
|
+
ref: a
|
|
209
|
+
}) : n({
|
|
210
|
+
...o,
|
|
211
|
+
ref: a
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
function V({ children: e, ref: t, render: n, ...r }) {
|
|
215
|
+
let i = P(), o = ce(), [s, c] = b(null), [l, u] = b(null), [d, f] = b("unmounted"), [m, g] = b(!1), _ = y(null), S = y(i);
|
|
216
|
+
S.current = i, h(() => {
|
|
217
|
+
let e = ne({
|
|
218
|
+
present: S.current.open,
|
|
219
|
+
onStatusChange: f
|
|
220
|
+
});
|
|
221
|
+
return _.current = e, f(e.status), () => {
|
|
222
|
+
e.destroy(), _.current = null;
|
|
223
|
+
};
|
|
224
|
+
}, []), h(() => {
|
|
225
|
+
_.current?.sync(i.open);
|
|
226
|
+
}, [i.open]), h(() => {
|
|
227
|
+
_.current?.setNode(s);
|
|
228
|
+
}, [s]);
|
|
229
|
+
let re = i.mount === "eager" || i.mount === "lazy" && i.seen || i.open || d !== "unmounted";
|
|
230
|
+
h(() => {
|
|
231
|
+
let e = i.triggerNode;
|
|
232
|
+
if (e === null || m) return;
|
|
233
|
+
let t = () => g(!0);
|
|
234
|
+
return e.addEventListener("focusin", t), e.addEventListener("pointerdown", t), () => {
|
|
235
|
+
e.removeEventListener("focusin", t), e.removeEventListener("pointerdown", t);
|
|
236
|
+
};
|
|
237
|
+
}, [i.triggerNode, m]);
|
|
238
|
+
let C = re || m;
|
|
239
|
+
v(() => {
|
|
240
|
+
if (!C) {
|
|
241
|
+
u(null);
|
|
242
|
+
return;
|
|
243
|
+
}
|
|
244
|
+
let e = ie({
|
|
245
|
+
origin: i.anchorNode ?? i.triggerNode,
|
|
246
|
+
disabled: !i.portal
|
|
247
|
+
});
|
|
248
|
+
return u(e.container), () => e.release();
|
|
249
|
+
}, [
|
|
250
|
+
C,
|
|
251
|
+
i.anchorNode,
|
|
252
|
+
i.portal,
|
|
253
|
+
i.triggerNode
|
|
254
|
+
]);
|
|
255
|
+
let { align: w, alignOffset: E, arrowNode: D, arrowPadding: O, collisionPadding: k, flip: A, followPointer: j, hideWhenDetached: M, sheet: N, shift: F, side: I, sideOffset: z, strategy: B, width: V } = i, H = i.anchorNode ?? i.triggerNode, U = y(null), W = y(0), G = y(!1), K = p((e, t) => {
|
|
256
|
+
e.update().then(() => {
|
|
257
|
+
if (U.current !== e || !S.current.open || (t.setAttribute("data-open", ""), G.current)) return;
|
|
258
|
+
G.current = !0;
|
|
259
|
+
let n = t.ownerDocument.defaultView;
|
|
260
|
+
n !== null && S.current.autoFocus && W.current === 0 && (W.current = n.requestAnimationFrame(() => {
|
|
261
|
+
W.current = 0;
|
|
262
|
+
let { contentNode: e, initialFocus: t, open: n } = S.current;
|
|
263
|
+
n && (R(t, e) ?? e)?.focus();
|
|
264
|
+
}));
|
|
265
|
+
});
|
|
266
|
+
}, []);
|
|
267
|
+
v(() => {
|
|
268
|
+
if (s === null || H === null || N) return;
|
|
269
|
+
let e = ae(H, s, {
|
|
270
|
+
align: w,
|
|
271
|
+
alignOffset: E + le(s, I, w, V),
|
|
272
|
+
boundaryPadding: k,
|
|
273
|
+
flip: A,
|
|
274
|
+
follow: oe(j),
|
|
275
|
+
hideWhenDetached: M,
|
|
276
|
+
matchWidth: V === "anchor",
|
|
277
|
+
shift: F,
|
|
278
|
+
side: I,
|
|
279
|
+
sideOffset: z,
|
|
280
|
+
strategy: B,
|
|
281
|
+
...D ? {
|
|
282
|
+
arrow: D,
|
|
283
|
+
arrowPadding: O
|
|
284
|
+
} : {}
|
|
285
|
+
});
|
|
286
|
+
return o.current = () => void e.update(), U.current = e, S.current.open && K(e, s), () => {
|
|
287
|
+
o.current = void 0, e.destroy(), U.current = null, s.removeAttribute("data-open");
|
|
288
|
+
};
|
|
289
|
+
}, [
|
|
290
|
+
w,
|
|
291
|
+
E,
|
|
292
|
+
H,
|
|
293
|
+
D,
|
|
294
|
+
O,
|
|
295
|
+
k,
|
|
296
|
+
A,
|
|
297
|
+
j,
|
|
298
|
+
M,
|
|
299
|
+
s,
|
|
300
|
+
o,
|
|
301
|
+
N,
|
|
302
|
+
F,
|
|
303
|
+
I,
|
|
304
|
+
z,
|
|
305
|
+
B,
|
|
306
|
+
V,
|
|
307
|
+
K
|
|
308
|
+
]), v(() => {
|
|
309
|
+
let e = U.current;
|
|
310
|
+
if (e !== null && s !== null) {
|
|
311
|
+
if (i.open) {
|
|
312
|
+
K(e, s);
|
|
313
|
+
return;
|
|
314
|
+
}
|
|
315
|
+
s.removeAttribute("data-open"), W.current !== 0 && (s.ownerDocument.defaultView?.cancelAnimationFrame(W.current), W.current = 0);
|
|
316
|
+
}
|
|
317
|
+
}, [
|
|
318
|
+
s,
|
|
319
|
+
K,
|
|
320
|
+
i.open
|
|
321
|
+
]), h(() => {
|
|
322
|
+
if (s === null || !i.open || N) return;
|
|
323
|
+
let e = [i.triggerNode, i.anchorNode].filter((e) => e !== null), t = T(s, {
|
|
324
|
+
escape: i.closeOnEscape,
|
|
325
|
+
focusOutside: !1,
|
|
326
|
+
modal: !1,
|
|
327
|
+
outsidePress: i.closeOnOutsidePress,
|
|
328
|
+
scrollLock: !1,
|
|
329
|
+
...e.length > 0 ? { branches: e } : {},
|
|
330
|
+
onDismiss: (e) => {
|
|
331
|
+
S.current.toggle(!1, e.reason === "escape" ? "escape" : "outsidePress", e.source);
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
return () => t.destroy();
|
|
335
|
+
}, [
|
|
336
|
+
s,
|
|
337
|
+
i.anchorNode,
|
|
338
|
+
i.closeOnEscape,
|
|
339
|
+
i.closeOnOutsidePress,
|
|
340
|
+
i.open,
|
|
341
|
+
i.triggerNode,
|
|
342
|
+
N
|
|
343
|
+
]), ue(s), h(() => {
|
|
344
|
+
let { contentNode: e, finalFocus: t, open: n, triggerNode: r } = S.current;
|
|
345
|
+
if (!n && G.current) {
|
|
346
|
+
G.current = !1;
|
|
347
|
+
let n = s?.ownerDocument.activeElement ?? null;
|
|
348
|
+
if (s !== null && n !== null && !s.contains(n)) return;
|
|
349
|
+
(R(t, e) ?? r)?.focus();
|
|
350
|
+
}
|
|
351
|
+
}, [s, i.open]);
|
|
352
|
+
let de = () => {
|
|
353
|
+
let { toggle: e, triggerNode: t } = S.current;
|
|
354
|
+
e(!1, "keyboard"), t?.focus();
|
|
355
|
+
}, q = p((e) => {
|
|
356
|
+
c(e), L(e, t);
|
|
357
|
+
}, [t]);
|
|
358
|
+
if (!re || i.portal && l === null) return null;
|
|
359
|
+
let J = /* @__PURE__ */ x("span", {
|
|
360
|
+
"aria-hidden": "true",
|
|
361
|
+
"data-part": "focus-guard",
|
|
362
|
+
"data-part-focus-guard": "",
|
|
363
|
+
onFocus: de,
|
|
364
|
+
tabIndex: 0
|
|
365
|
+
}), Y = a({
|
|
366
|
+
...r,
|
|
367
|
+
children: /* @__PURE__ */ te(ee, { children: [
|
|
368
|
+
N ? /* @__PURE__ */ x("div", {
|
|
369
|
+
"aria-hidden": "true",
|
|
370
|
+
"data-part": "backdrop",
|
|
371
|
+
"data-part-backdrop": ""
|
|
372
|
+
}) : J,
|
|
373
|
+
e,
|
|
374
|
+
N ? null : J
|
|
375
|
+
] }),
|
|
376
|
+
"data-align": w,
|
|
377
|
+
"data-part": "root",
|
|
378
|
+
"data-presentation": N ? "sheet" : "popover",
|
|
379
|
+
"data-size": i.size,
|
|
380
|
+
"data-ui": "popover",
|
|
381
|
+
"data-width": i.width
|
|
382
|
+
}), X = n === void 0 ? /* @__PURE__ */ x("div", {
|
|
383
|
+
...Y,
|
|
384
|
+
ref: q
|
|
385
|
+
}) : n({
|
|
386
|
+
...Y,
|
|
387
|
+
ref: q
|
|
388
|
+
});
|
|
389
|
+
return l === null ? X : se(X, l);
|
|
390
|
+
}
|
|
391
|
+
function ue(e) {
|
|
392
|
+
let t = P(), n = y(t);
|
|
393
|
+
n.current = t;
|
|
394
|
+
let { closeOnEscape: r, closeOnOutsidePress: i, contentNode: a, open: o, sheet: s } = t, l = s && o ? a : null;
|
|
395
|
+
v(() => {
|
|
396
|
+
if (e !== null && l !== null) return e.setAttribute("data-open", ""), () => e.removeAttribute("data-open");
|
|
397
|
+
}, [e, l]), h(() => {
|
|
398
|
+
if (e === null || l === null) return;
|
|
399
|
+
let { triggerNode: t } = n.current, a = T(e, {
|
|
400
|
+
back: !0,
|
|
401
|
+
branches: t === null ? [] : [t],
|
|
402
|
+
content: l,
|
|
403
|
+
escape: r,
|
|
404
|
+
modal: !0,
|
|
405
|
+
onDismiss: ({ reason: e, source: t }) => {
|
|
406
|
+
let r = e === "escape" || e === "outsidePress" ? e : "dismiss";
|
|
407
|
+
n.current.toggle(!1, r, t);
|
|
408
|
+
},
|
|
409
|
+
outsidePress: i,
|
|
410
|
+
outsidePressEvent: "click"
|
|
411
|
+
}), o = c(l, {
|
|
412
|
+
initial: () => R(n.current.initialFocus, l) ?? l,
|
|
413
|
+
restore: () => R(n.current.finalFocus, l) ?? n.current.triggerNode
|
|
414
|
+
});
|
|
415
|
+
return o.enter(), () => {
|
|
416
|
+
a.destroy(), o.destroy();
|
|
417
|
+
};
|
|
418
|
+
}, [
|
|
419
|
+
r,
|
|
420
|
+
i,
|
|
421
|
+
e,
|
|
422
|
+
l
|
|
423
|
+
]), h(() => {
|
|
424
|
+
let t = l?.querySelector(":scope > [data-part=\"grip\"]");
|
|
425
|
+
if (l !== null && t != null) return C({
|
|
426
|
+
grip: t,
|
|
427
|
+
scrim: e?.querySelector(":scope > [data-part=\"backdrop\"]"),
|
|
428
|
+
sheet: l,
|
|
429
|
+
onDismiss: (e) => n.current.toggle(!1, "pointer", e)
|
|
430
|
+
});
|
|
431
|
+
}, [e, l]);
|
|
432
|
+
}
|
|
433
|
+
function H({ children: e, ref: t, render: n, ...r }) {
|
|
434
|
+
let i = P(), o = p((e) => {
|
|
435
|
+
i.setContentNode(e), L(e, t);
|
|
436
|
+
}, [t, i.setContentNode]), { "aria-label": s, ...c } = r, l = i.sheet && !i.hasTitle && s !== void 0, u = a({
|
|
437
|
+
...c,
|
|
438
|
+
...l ? {} : { "aria-label": s },
|
|
439
|
+
children: i.sheet ? /* @__PURE__ */ te(ee, { children: [
|
|
440
|
+
/* @__PURE__ */ x("span", {
|
|
441
|
+
"aria-hidden": "true",
|
|
442
|
+
"data-part": "grip",
|
|
443
|
+
"data-part-grip": ""
|
|
444
|
+
}),
|
|
445
|
+
l ? /* @__PURE__ */ x(U, { label: s }) : null,
|
|
446
|
+
e,
|
|
447
|
+
i.hasFooter ? null : /* @__PURE__ */ x(W, {})
|
|
448
|
+
] }) : e,
|
|
449
|
+
...i.hasTitle || l ? { "aria-labelledby": i.titleId } : {},
|
|
450
|
+
...i.sheet ? { "aria-modal": !0 } : {},
|
|
451
|
+
...i.hasDescription ? { "aria-describedby": i.descriptionId } : {},
|
|
452
|
+
"data-part": "content",
|
|
453
|
+
id: i.contentId,
|
|
454
|
+
role: r.role ?? "dialog",
|
|
455
|
+
tabIndex: -1
|
|
456
|
+
});
|
|
457
|
+
return n === void 0 ? /* @__PURE__ */ x("div", {
|
|
458
|
+
...u,
|
|
459
|
+
ref: o
|
|
460
|
+
}) : n({
|
|
461
|
+
...u,
|
|
462
|
+
ref: o
|
|
463
|
+
});
|
|
464
|
+
}
|
|
465
|
+
function U({ label: e }) {
|
|
466
|
+
let t = P();
|
|
467
|
+
return /* @__PURE__ */ x("div", {
|
|
468
|
+
"data-part": "header",
|
|
469
|
+
"data-part-header": "",
|
|
470
|
+
children: /* @__PURE__ */ x("div", {
|
|
471
|
+
"data-part": "title",
|
|
472
|
+
"data-part-title": "",
|
|
473
|
+
id: t.titleId,
|
|
474
|
+
children: e
|
|
475
|
+
})
|
|
476
|
+
});
|
|
477
|
+
}
|
|
478
|
+
function W() {
|
|
479
|
+
let e = P();
|
|
480
|
+
return /* @__PURE__ */ x("div", {
|
|
481
|
+
"data-part": "footer",
|
|
482
|
+
"data-part-footer": "",
|
|
483
|
+
children: /* @__PURE__ */ x(X, {
|
|
484
|
+
render: ({ children: e, ...t }) => /* @__PURE__ */ x(i, {
|
|
485
|
+
...t,
|
|
486
|
+
fullWidth: !0,
|
|
487
|
+
render: (e) => /* @__PURE__ */ x("button", { ...s(e, "part", "close") }),
|
|
488
|
+
tone: "secondary",
|
|
489
|
+
variant: "outline",
|
|
490
|
+
children: e
|
|
491
|
+
}),
|
|
492
|
+
children: e.t("close")
|
|
493
|
+
})
|
|
494
|
+
});
|
|
495
|
+
}
|
|
496
|
+
var G = d(!1);
|
|
497
|
+
function K({ children: e, ref: t, render: n, ...r }) {
|
|
498
|
+
let i = {
|
|
499
|
+
...r,
|
|
500
|
+
children: /* @__PURE__ */ x(G.Provider, {
|
|
501
|
+
value: !0,
|
|
502
|
+
children: e
|
|
503
|
+
}),
|
|
504
|
+
"data-part": "header",
|
|
505
|
+
...o("part", "header")
|
|
506
|
+
};
|
|
507
|
+
return n === void 0 ? /* @__PURE__ */ x("div", {
|
|
508
|
+
...i,
|
|
509
|
+
ref: t
|
|
510
|
+
}) : n(i);
|
|
511
|
+
}
|
|
512
|
+
function de({ children: e, ref: t, render: n, ...r }) {
|
|
513
|
+
let i = P(), { setHasTitle: o } = i;
|
|
514
|
+
h(() => (o(!0), () => o(!1)), [o]);
|
|
515
|
+
let s = a({
|
|
516
|
+
...r,
|
|
517
|
+
children: e,
|
|
518
|
+
"data-part": "title",
|
|
519
|
+
id: i.titleId
|
|
520
|
+
});
|
|
521
|
+
return n === void 0 ? /* @__PURE__ */ x("div", {
|
|
522
|
+
...s,
|
|
523
|
+
ref: t
|
|
524
|
+
}) : n(s);
|
|
525
|
+
}
|
|
526
|
+
function q({ children: e, ref: t, render: n, ...r }) {
|
|
527
|
+
let i = P(), { setHasDescription: o } = i;
|
|
528
|
+
h(() => (o(!0), () => o(!1)), [o]);
|
|
529
|
+
let s = a({
|
|
530
|
+
...r,
|
|
531
|
+
children: e,
|
|
532
|
+
"data-part": "description",
|
|
533
|
+
id: i.descriptionId
|
|
534
|
+
});
|
|
535
|
+
return n === void 0 ? /* @__PURE__ */ x("p", {
|
|
536
|
+
...s,
|
|
537
|
+
ref: t
|
|
538
|
+
}) : n(s);
|
|
539
|
+
}
|
|
540
|
+
function J({ children: e, ref: t, render: n, ...r }) {
|
|
541
|
+
let i = {
|
|
542
|
+
...r,
|
|
543
|
+
children: e,
|
|
544
|
+
"data-part": "body",
|
|
545
|
+
...o("part", "body")
|
|
546
|
+
};
|
|
547
|
+
return n === void 0 ? /* @__PURE__ */ x("div", {
|
|
548
|
+
...i,
|
|
549
|
+
ref: t
|
|
550
|
+
}) : n(i);
|
|
551
|
+
}
|
|
552
|
+
function Y({ children: e, ref: t, render: n, ...r }) {
|
|
553
|
+
let { setHasFooter: i } = P();
|
|
554
|
+
h(() => (i(!0), () => i(!1)), [i]);
|
|
555
|
+
let a = {
|
|
556
|
+
...r,
|
|
557
|
+
children: e,
|
|
558
|
+
"data-part": "footer",
|
|
559
|
+
...o("part", "footer")
|
|
560
|
+
};
|
|
561
|
+
return n === void 0 ? /* @__PURE__ */ x("div", {
|
|
562
|
+
...a,
|
|
563
|
+
ref: t
|
|
564
|
+
}) : n(a);
|
|
565
|
+
}
|
|
566
|
+
function X({ children: e, ref: r, render: i, ...o }) {
|
|
567
|
+
let s = P(), c = m(G), l = y(null), [u, d] = b(null);
|
|
568
|
+
v(() => {
|
|
569
|
+
l.current !== null && d((l.current.textContent ?? "").trim() !== "");
|
|
570
|
+
});
|
|
571
|
+
let f = u ?? Z(e), h = (e) => {
|
|
572
|
+
s.toggle(!1, "dismiss", e.nativeEvent);
|
|
573
|
+
}, g = p((e) => {
|
|
574
|
+
l.current = e, L(e, r);
|
|
575
|
+
}, [r]);
|
|
576
|
+
if (c && s.sheet) return null;
|
|
577
|
+
let _ = a({
|
|
578
|
+
...o,
|
|
579
|
+
"aria-label": o["aria-label"] ?? (f ? void 0 : s.t("close")),
|
|
580
|
+
children: e ?? /* @__PURE__ */ x(n, {
|
|
581
|
+
size: "sm",
|
|
582
|
+
children: /* @__PURE__ */ x(t, { name: "x" })
|
|
583
|
+
}),
|
|
584
|
+
"data-part": "close",
|
|
585
|
+
onClick: I(o.onClick, h)
|
|
586
|
+
});
|
|
587
|
+
return i === void 0 ? /* @__PURE__ */ x("button", {
|
|
588
|
+
type: "button",
|
|
589
|
+
..._,
|
|
590
|
+
ref: g
|
|
591
|
+
}) : i({
|
|
592
|
+
..._,
|
|
593
|
+
ref: g
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
function Z(e) {
|
|
597
|
+
return u.toArray(e).some((e) => typeof e == "string" || typeof e == "number" ? String(e).trim() !== "" : f(e) && Z(e.props.children));
|
|
598
|
+
}
|
|
599
|
+
function fe({ ref: e, render: t, ...n }) {
|
|
600
|
+
let r = P(), i = p((t) => {
|
|
601
|
+
r.setArrowNode(t), L(t, e);
|
|
602
|
+
}, [e, r.setArrowNode]);
|
|
603
|
+
if (!r.showArrow || r.sheet) return null;
|
|
604
|
+
let o = a({
|
|
605
|
+
...n,
|
|
606
|
+
"aria-hidden": !0,
|
|
607
|
+
"data-part": "arrow"
|
|
608
|
+
});
|
|
609
|
+
return t === void 0 ? /* @__PURE__ */ x("div", {
|
|
610
|
+
...o,
|
|
611
|
+
ref: i
|
|
612
|
+
}) : t(o);
|
|
613
|
+
}
|
|
614
|
+
//#endregion
|
|
615
|
+
export { H as a, K as c, z as d, F as f, k as g, A as h, X as i, V as l, D as m, fe as n, q as o, P as p, J as r, Y as s, B as t, de as u };
|
package/dist/popover.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, g as i, h as a, i as o, l as s, m as c, n as l, o as u, p as d, r as f, s as p, t as m, u as h } from "./popover-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, g as i, h as a, i as o, l as s, m as c, n as l, o as u, p as d, r as f, s as p, t as m, u as h } from "./popover-DED1MTi-.js";
|
|
2
2
|
export { c as POPOVER_FALLBACK, r as Popover, m as PopoverAnchor, l as PopoverArrow, f as PopoverBody, o as PopoverClose, e as PopoverContent, a as PopoverDefaultsProvider, u as PopoverDescription, p as PopoverFooter, t as PopoverHeader, s as PopoverLayer, h as PopoverTitle, n as PopoverTrigger, d as usePopover, i as usePopoverDefaults };
|
|
@@ -196,10 +196,13 @@ function D({ "aria-hidden": e, "aria-label": t, "aria-labelledby": n, buffer: r,
|
|
|
196
196
|
children: /* @__PURE__ */ l(s, { children: [
|
|
197
197
|
v(F),
|
|
198
198
|
y(F),
|
|
199
|
-
/* @__PURE__ */
|
|
199
|
+
/* @__PURE__ */ l("div", {
|
|
200
200
|
"data-part": "track",
|
|
201
201
|
"data-part-track": "",
|
|
202
|
-
children:
|
|
202
|
+
children: [F.geometry.buffer === null ? null : /* @__PURE__ */ c("div", {
|
|
203
|
+
"data-part": "buffer",
|
|
204
|
+
"data-part-buffer": ""
|
|
205
|
+
}), N ? /* @__PURE__ */ c("svg", {
|
|
203
206
|
"aria-hidden": "true",
|
|
204
207
|
"data-part": "indicator",
|
|
205
208
|
"data-part-indicator": "",
|
|
@@ -213,7 +216,7 @@ function D({ "aria-hidden": e, "aria-label": t, "aria-labelledby": n, buffer: r,
|
|
|
213
216
|
}, F.paint) : /* @__PURE__ */ c("div", {
|
|
214
217
|
"data-part": "indicator",
|
|
215
218
|
"data-part-indicator": ""
|
|
216
|
-
}, F.paint)
|
|
219
|
+
}, F.paint)]
|
|
217
220
|
})
|
|
218
221
|
] }),
|
|
219
222
|
...F.geometry.buffer === null ? {} : { "data-buffered": "" },
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, n as t, o as n, r, t as i } from "./progress-indicator-
|
|
1
|
+
import { a as e, n as t, o as n, r, t as i } from "./progress-indicator-Co8e7M5K.js";
|
|
2
2
|
export { r as Loader, t as ProgressBar, i as ProgressCircle, e as ProgressIndicatorDefaultsProvider, n as useProgressIndicatorDefaults };
|
|
@@ -2,7 +2,7 @@ import { r as e } from "./i18n-D7xXDd8-.js";
|
|
|
2
2
|
import { n as t, t as n } from "./icon-D04-_QFA.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { t as r } from "./spinner-ring-DyfaYloA.js";
|
|
5
|
-
import { b as i } from "./field-
|
|
5
|
+
import { b as i } from "./field-N0TiMbaI.js";
|
|
6
6
|
import { keyedProps as a, withSelectorKey as o } from "@slotted/core/selector-key";
|
|
7
7
|
import { createControllable as s } from "@slotted/core/state";
|
|
8
8
|
import { Fragment as c, createContext as l, isValidElement as u, useContext as d, useEffect as f, useRef as p, useState as m } from "react";
|
package/dist/prompt-composer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "./prompt-composer-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "./prompt-composer-CwjvdgBR.js";
|
|
2
2
|
export { c as PromptComposer, i as PromptComposerAction, o as PromptComposerAttach, r as PromptComposerDefaultsProvider, n as PromptComposerDictate, e as PromptComposerFooter, a as PromptComposerHeader, s as PromptComposerInput, t as PromptComposerSubmit, l as usePromptComposerDefaults };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, t } from "./icon-D04-_QFA.js";
|
|
2
|
-
import { b as n, f as r } from "./field-
|
|
3
|
-
import { r as i } from "./field-group-
|
|
2
|
+
import { b as n, f as r } from "./field-N0TiMbaI.js";
|
|
3
|
+
import { r as i } from "./field-group-BrnE6FvP.js";
|
|
4
4
|
import { keyedProps as a, withSelectorKey as o } from "@slotted/core/selector-key";
|
|
5
5
|
import { createControllable as s } from "@slotted/core/state";
|
|
6
6
|
import { createContext as c, useContext as l, useEffect as u, useId as d, useState as f } from "react";
|
package/dist/radio-group.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./radio-group-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./radio-group-D6bOV_ea.js";
|
|
2
2
|
export { i as Radio, n as RadioGroup, t as RadioGroupDefaultsProvider, r as useRadioGroup, e as useRadioGroupDefaults };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, r as t } from "./i18n-D7xXDd8-.js";
|
|
2
2
|
import { n, t as r } from "./icon-D04-_QFA.js";
|
|
3
|
-
import { b as i, f as a } from "./field-
|
|
3
|
+
import { b as i, f as a } from "./field-N0TiMbaI.js";
|
|
4
4
|
import { keyedProps as o, selectorKeyProps as s } from "@slotted/core/selector-key";
|
|
5
5
|
import { createControllable as ee } from "@slotted/core/state";
|
|
6
6
|
import { createContext as c, createElement as l, useContext as u, useEffect as te, useId as d, useImperativeHandle as ne, useRef as f, useState as p } from "react";
|
package/dist/rating.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./rating-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./rating-D8BvDdjM.js";
|
|
2
2
|
export { n as Rating, r as RatingDisplay, t as RatingProvider, i as RatingSummary, e as useRatingDefaults };
|