@slotted/react 0.1.0-beta.40 → 0.1.0-beta.42
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-n5D6mcmS.js → accordion-xW-aFeGb.js} +1 -1
- package/dist/accordion.js +1 -1
- package/dist/{action-bar-Cq4dt4hP.js → action-bar-BSUuY6pJ.js} +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/{action-sheet-dNnB26br.js → action-sheet-BouG2qh_.js} +1 -1
- package/dist/action-sheet.js +1 -1
- package/dist/{app-shell-ClwskWBN.js → app-shell-D54YkU7E.js} +127 -111
- package/dist/app-shell.js +2 -2
- package/dist/{attachment-AAjprQyU.js → attachment-MqczA38F.js} +1 -1
- package/dist/attachment.js +1 -1
- package/dist/{badge-pgYVOnZO.js → badge-DFskjsxA.js} +21 -20
- package/dist/badge.js +1 -1
- package/dist/calendar-YQ784o4d.js +617 -0
- package/dist/calendar.js +1 -1
- package/dist/{cascader-CivJ76VR.js → cascader-fq8fNWSr.js} +1 -1
- package/dist/cascader.js +1 -1
- package/dist/chart-vedR0BDN.js +1055 -0
- package/dist/chart.js +1 -1
- package/dist/{checkbox-D3E4gzMe.js → checkbox-DsJhlB5c.js} +3 -3
- package/dist/{checkbox-group-Dg5YN3fx.js → checkbox-group-pvX9R_yS.js} +2 -2
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{collapsible-CT4_3aXm.js → collapsible-KzBs5HvA.js} +2 -2
- package/dist/collapsible.js +1 -1
- package/dist/{color-picker-CaLcV-63.js → color-picker-i-MJ5VVs.js} +9 -9
- package/dist/color-picker.js +1 -1
- package/dist/column-manager-D028QbfO.js +586 -0
- package/dist/column-manager.js +1 -1
- package/dist/{combobox-C2qlkTw6.js → combobox-599heRN_.js} +1 -1
- package/dist/combobox.js +1 -1
- package/dist/{context-menu-WiKS4Zwv.js → context-menu-WM_tT9hz.js} +1 -1
- package/dist/context-menu.js +1 -1
- package/dist/{currency-field-BO2P6FPd.js → currency-field-rS36pjCO.js} +182 -145
- package/dist/currency-field.js +1 -1
- package/dist/dashboard-grid-Dh2Q3IQv.js +1201 -0
- package/dist/dashboard-grid.js +1 -1
- package/dist/{data-grid-B7UuUvBH.js → data-grid-D106baPp.js} +1425 -1399
- package/dist/data-grid.js +1 -1
- package/dist/{data-list-CyEq7M2D.js → data-list-BA0xrySM.js} +2 -2
- package/dist/data-list.js +1 -1
- package/dist/{date-field-CxubN_3u.js → date-field-BZ5JcvXJ.js} +1 -1
- package/dist/date-field.js +1 -1
- package/dist/{date-picker-DMcMFW_N.js → date-picker-BvEbsbJC.js} +29 -27
- package/dist/date-picker.js +2 -2
- package/dist/{date-range-picker-D9zo93NE.js → date-range-picker-uIr-yReE.js} +169 -164
- package/dist/date-range-picker.js +1 -1
- package/dist/{datetime-field-GMIqBuTa.js → datetime-field-DDs3mV9Z.js} +1 -1
- package/dist/datetime-field.js +1 -1
- package/dist/{datetime-picker-lOXZbAx_.js → datetime-picker-DDYXqrjm.js} +175 -164
- package/dist/datetime-picker.js +1 -1
- package/dist/{datetime-range-picker-DU5ctZbm.js → datetime-range-picker-CFTHW771.js} +194 -183
- package/dist/datetime-range-picker.js +1 -1
- package/dist/{detail-panel-DLgRhEFO.js → detail-panel-EImAtksY.js} +3 -3
- package/dist/detail-panel.js +1 -1
- package/dist/docs/accordion.examples.md +743 -0
- package/dist/docs/accordion.json +84 -28
- package/dist/docs/accordion.md +56 -152
- package/dist/docs/action-sheet.examples.md +771 -0
- package/dist/docs/action-sheet.json +91 -51
- package/dist/docs/action-sheet.md +72 -233
- package/dist/docs/app-shell.json +7 -0
- package/dist/docs/app-shell.md +1 -0
- package/dist/docs/badge.json +8 -0
- package/dist/docs/badge.md +1 -0
- package/dist/docs/breadcrumb.json +64 -16
- package/dist/docs/breadcrumb.md +489 -56
- package/dist/docs/calendar.json +8 -1
- package/dist/docs/calendar.md +2 -1
- package/dist/docs/chart.examples.md +48 -0
- package/dist/docs/chart.json +60 -7
- package/dist/docs/chart.md +9 -5
- package/dist/docs/collapsible.examples.md +575 -0
- package/dist/docs/collapsible.json +89 -49
- package/dist/docs/collapsible.md +47 -197
- package/dist/docs/context-menu.json +58 -18
- package/dist/docs/context-menu.md +442 -77
- package/dist/docs/currency-field.examples.md +1 -1
- package/dist/docs/currency-field.json +4 -4
- package/dist/docs/currency-field.md +3 -3
- package/dist/docs/data-grid.json +15 -1
- package/dist/docs/data-grid.md +1 -1
- package/dist/docs/data-grid.props.md +2 -0
- package/dist/docs/date-picker.json +9 -2
- package/dist/docs/date-picker.md +3 -2
- package/dist/docs/date-range-picker.json +9 -2
- package/dist/docs/date-range-picker.md +3 -2
- package/dist/docs/datetime-picker.json +9 -2
- package/dist/docs/datetime-picker.md +3 -2
- package/dist/docs/datetime-range-picker.json +9 -2
- package/dist/docs/datetime-range-picker.md +3 -2
- package/dist/docs/field.json +15 -1
- package/dist/docs/field.md +3 -1
- package/dist/docs/floating-panel.json +56 -0
- package/dist/docs/floating-panel.md +329 -8
- package/dist/docs/guidelines/async-feedback.md +11 -1
- package/dist/docs/guidelines/index.md +1 -0
- package/dist/docs/hover-card.json +65 -17
- package/dist/docs/hover-card.md +422 -64
- package/dist/docs/loading-overlay.examples.md +577 -0
- package/dist/docs/loading-overlay.json +55 -23
- package/dist/docs/loading-overlay.md +49 -168
- package/dist/docs/menu.json +67 -0
- package/dist/docs/menu.md +8 -1
- package/dist/docs/menubar.json +55 -15
- package/dist/docs/menubar.md +488 -42
- package/dist/docs/pagination.json +89 -33
- package/dist/docs/pagination.md +462 -55
- package/dist/docs/popover.json +41 -3
- package/dist/docs/popover.md +5 -2
- package/dist/docs/section.json +1 -1
- package/dist/docs/section.md +1 -1
- package/dist/docs/select.json +55 -1
- package/dist/docs/select.md +7 -2
- package/dist/docs/skills/theme-app/SKILL.md +3 -2
- package/dist/docs/skills/waiting-states/SKILL.md +4 -1
- package/dist/docs/stat-card.json +9 -1
- package/dist/docs/stat-card.md +2 -1
- package/dist/docs/switch.json +12 -5
- package/dist/docs/switch.md +5 -4
- package/dist/docs/tag.json +8 -0
- package/dist/docs/tag.md +1 -0
- package/dist/docs/time-picker.json +1 -1
- package/dist/docs/time-picker.md +1 -1
- package/dist/docs/time-range-picker.json +1 -1
- package/dist/docs/time-range-picker.md +1 -1
- package/dist/docs/toggle-group.examples.md +584 -0
- package/dist/docs/toggle-group.json +84 -20
- package/dist/docs/toggle-group.md +17 -182
- package/dist/docs/toggle.json +93 -37
- package/dist/docs/toggle.md +304 -51
- package/dist/{drawer-Du1aC1px.js → drawer-CQagePr_.js} +256 -256
- package/dist/drawer.js +1 -1
- package/dist/{entity-picker-BwJX0gNJ.js → entity-picker-CC4VoC3p.js} +2 -2
- package/dist/entity-picker.js +1 -1
- package/dist/{event-calendar-biSTH0yK.js → event-calendar-CjmF_e0H.js} +6 -6
- package/dist/event-calendar.js +1 -1
- package/dist/field-C-HRhke0.js +421 -0
- package/dist/{field-group-7zV68b3d.js → field-group-CU0PasvW.js} +1 -1
- package/dist/field-group.js +1 -1
- package/dist/field.js +1 -1
- package/dist/{filter-bar-BQZFgV0A.js → filter-bar-B3QJD7SZ.js} +25 -25
- package/dist/filter-bar.js +1 -1
- package/dist/{hover-card-D8OyhmEG.js → hover-card-CTItbEfH.js} +2 -2
- package/dist/hover-card.js +1 -1
- package/dist/{import-export-center-DWSEOV5Z.js → import-export-center-CW8YVZev.js} +3 -3
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +132 -132
- package/dist/{listbox-CWU3DiEt.js → listbox-ZqiJ2yer.js} +1 -1
- package/dist/listbox.js +1 -1
- package/dist/{loading-overlay-BLIrcaoj.js → loading-overlay-BxIktMtQ.js} +1 -1
- package/dist/loading-overlay.js +1 -1
- package/dist/{markdown-7wOBMXTl.js → markdown-BdskE4-L.js} +1 -1
- package/dist/markdown.js +1 -1
- package/dist/menu-parts-DXs5YuUA.js +932 -0
- package/dist/menu.js +1 -1
- package/dist/{menubar-k8Q4_p9l.js → menubar-CVoAFc6r.js} +2 -2
- package/dist/menubar.js +1 -1
- package/dist/{multi-select-DEd_92BC.js → multi-select-Dc2d6dDB.js} +1 -1
- package/dist/multi-select.js +1 -1
- package/dist/{number-field-BJKoidAE.js → number-field-BQ54hXmk.js} +1 -1
- package/dist/number-field.js +1 -1
- package/dist/{otp-input-Czz9Z6dQ.js → otp-input-DRooqa3f.js} +1 -1
- package/dist/otp-input.js +1 -1
- package/dist/{page-header-NN3Jq5vb.js → page-header-DmwBGwlm.js} +1 -1
- package/dist/page-header.js +1 -1
- package/dist/{pagination-D0PUAFYm.js → pagination-BRXuyPzo.js} +1 -1
- package/dist/pagination.js +1 -1
- package/dist/{picker-frame-_9ZqQOjf.js → picker-frame-B6sPCP5Y.js} +1 -1
- package/dist/popover-1DlOu95x.js +576 -0
- package/dist/popover.js +1 -1
- package/dist/{progress-indicator-D0acshNn.js → progress-indicator-DRr0Gj6w.js} +1 -0
- package/dist/progress-indicator.js +1 -1
- package/dist/{prompt-composer-Lsfcz_i9.js → prompt-composer-tYIs39rn.js} +1 -1
- package/dist/prompt-composer.js +1 -1
- package/dist/{radio-group-_ZRUgcI5.js → radio-group-AW3xcYYh.js} +2 -2
- package/dist/radio-group.js +1 -1
- package/dist/{rating-C6AkIIUi.js → rating-h3qdHLNi.js} +1 -1
- package/dist/rating.js +1 -1
- package/dist/{saved-views-BvRFgSdg.js → saved-views-nqn0SDXn.js} +8 -8
- package/dist/saved-views.js +1 -1
- package/dist/{section-CQPQf6RU.js → section-D_qOfdxR.js} +1 -0
- package/dist/section.js +1 -1
- package/dist/{segmented-control-D52GeOlS.js → segmented-control-CbK7SurB.js} +2 -2
- package/dist/segmented-control.js +1 -1
- package/dist/select-d448Wkzb.js +1124 -0
- package/dist/select.js +1 -1
- package/dist/{side-navigation-Cwi2FHOz.js → side-navigation-CKRETc8E.js} +99 -99
- package/dist/side-navigation.js +1 -1
- package/dist/{slider-DQqQ0skr.js → slider-DQ2CnxTO.js} +1 -1
- package/dist/slider.js +1 -1
- package/dist/{split-button-BYowsA6Q.js → split-button-D4MPKSB2.js} +1 -1
- package/dist/split-button.js +1 -1
- package/dist/{stat-card-CmpabaTc.js → stat-card-CL3Xe6pV.js} +4 -1
- package/dist/stat-card.js +1 -1
- package/dist/styles/action-bar.css +2 -2
- package/dist/styles/app-shell.css +4 -2
- package/dist/styles/attachment.css +3 -1
- package/dist/styles/badge.css +1 -1
- package/dist/styles/calendar.css +1 -1
- package/dist/styles/cascader.css +3 -1
- package/dist/styles/chart.css +3 -1
- package/dist/styles/checkbox-group.css +2 -0
- package/dist/styles/checkbox.css +2 -0
- package/dist/styles/color-picker.css +3 -3
- package/dist/styles/column-manager.css +3 -3
- package/dist/styles/combobox.css +2 -0
- package/dist/styles/context-menu.css +1 -1
- package/dist/styles/currency-field.css +2 -0
- package/dist/styles/dashboard-grid.css +3 -3
- package/dist/styles/data-grid.css +8 -8
- package/dist/styles/data-list.css +3 -1
- package/dist/styles/date-field.css +2 -0
- package/dist/styles/date-picker.css +4 -2
- package/dist/styles/date-range-picker.css +4 -2
- package/dist/styles/datetime-field.css +2 -0
- package/dist/styles/datetime-picker.css +4 -2
- package/dist/styles/datetime-range-picker.css +4 -2
- package/dist/styles/detail-panel.css +5 -3
- package/dist/styles/entity-picker.css +4 -2
- package/dist/styles/event-calendar.css +5 -3
- package/dist/styles/field-group.css +2 -0
- package/dist/styles/field.css +2 -0
- package/dist/styles/filter-bar.css +7 -7
- package/dist/styles/floating-panel.css +1 -1
- package/dist/styles/hover-card.css +1 -1
- package/dist/styles/import-export-center.css +9 -7
- package/dist/styles/index.css +22 -20
- package/dist/styles/listbox.css +2 -0
- package/dist/styles/loading-overlay.css +3 -1
- package/dist/styles/markdown.css +2 -0
- package/dist/styles/menu.css +1 -1
- package/dist/styles/menubar.css +1 -1
- package/dist/styles/multi-select.css +3 -1
- package/dist/styles/number-field.css +2 -0
- package/dist/styles/otp-input.css +2 -0
- package/dist/styles/page-header.css +3 -1
- package/dist/styles/pagination.css +1 -1
- package/dist/styles/popover.css +1 -1
- package/dist/styles/progress-indicator.css +3 -1
- package/dist/styles/prompt-composer.css +2 -0
- package/dist/styles/radio-group.css +2 -0
- package/dist/styles/rating.css +2 -0
- package/dist/styles/saved-views.css +3 -3
- package/dist/styles/section.css +1 -1
- package/dist/styles/segmented-control.css +2 -0
- package/dist/styles/select.css +4 -2
- package/dist/styles/side-navigation.css +4 -2
- package/dist/styles/slider.css +2 -0
- package/dist/styles/split-button.css +1 -1
- package/dist/styles/stat-card.css +1 -1
- package/dist/styles/switch.css +9 -1
- package/dist/styles/table.css +6 -6
- package/dist/styles/tag.css +1 -1
- package/dist/styles/tags-input.css +3 -1
- package/dist/styles/text-field.css +2 -0
- package/dist/styles/textarea.css +3 -1
- package/dist/styles/time-field.css +2 -0
- package/dist/styles/time-picker.css +3 -1
- package/dist/styles/time-range-picker.css +3 -1
- package/dist/styles/toast.css +3 -1
- package/dist/styles/toggle-group.css +3 -1
- package/dist/styles/toolbar.css +1 -1
- package/dist/styles/top-navigation.css +4 -2
- package/dist/styles/transfer.css +2 -0
- package/dist/styles/upload.css +5 -1
- package/dist/styles/wizard.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/switch-DxMukg7F.js +154 -0
- package/dist/switch.js +1 -1
- package/dist/{table-MGb3iZY_.js → table-BecApjeD.js} +50 -50
- package/dist/table.js +1 -1
- package/dist/{tag-BYzDYvM_.js → tag-DCMsVXN6.js} +31 -28
- package/dist/tag.js +1 -1
- package/dist/{tags-input-O87zTh7h.js → tags-input-CqCeLtk-.js} +1 -1
- package/dist/tags-input.js +1 -1
- package/dist/{text-field-Cnjc7LB5.js → text-field-CMOkJ9Z6.js} +1 -1
- package/dist/text-field.js +1 -1
- package/dist/{textarea-DcA7jwOM.js → textarea-DfqPfXTr.js} +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{time-field-BanhrUvf.js → time-field-GyLQsxcc.js} +1 -1
- package/dist/time-field.js +1 -1
- package/dist/time-picker-CGHPnust.js +315 -0
- package/dist/time-picker.js +1 -1
- package/dist/{time-range-picker-ar40oPcf.js → time-range-picker-BMRtAqPy.js} +119 -117
- package/dist/time-range-picker.js +1 -1
- package/dist/{toast-Cg28GkqX.js → toast-aM_ga1mc.js} +1 -1
- package/dist/toast.js +1 -1
- package/dist/{toggle-zDTD5G3H.js → toggle-DSEEtL3Y.js} +7 -2
- package/dist/{toggle-group-D7GQyNQP.js → toggle-group-DZEWkVRo.js} +8 -3
- package/dist/toggle-group.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/{toolbar-DOV4BKY8.js → toolbar-BP7ka6lN.js} +1 -1
- package/dist/toolbar.js +1 -1
- package/dist/{top-navigation-C73WDqLg.js → top-navigation-D8IHPOmm.js} +1 -1
- package/dist/top-navigation.js +1 -1
- package/dist/{transfer-CuLlF_nY.js → transfer-sKUvmEKe.js} +5 -5
- package/dist/transfer.js +1 -1
- package/dist/types/app-shell/app-shell-parts.d.ts +7 -0
- package/dist/types/app-shell/app-shell-parts.d.ts.map +1 -1
- package/dist/types/app-shell/index.d.ts +1 -1
- package/dist/types/app-shell/index.d.ts.map +1 -1
- package/dist/types/badge/badge.d.ts +1 -1
- package/dist/types/badge/badge.d.ts.map +1 -1
- package/dist/types/badge/badge.types.d.ts +6 -0
- package/dist/types/badge/badge.types.d.ts.map +1 -1
- package/dist/types/calendar/calendar-day-cell.d.ts +3 -1
- package/dist/types/calendar/calendar-day-cell.d.ts.map +1 -1
- package/dist/types/calendar/calendar-defaults.d.ts +1 -1
- package/dist/types/calendar/calendar-defaults.d.ts.map +1 -1
- package/dist/types/calendar/calendar.d.ts +1 -1
- package/dist/types/calendar/calendar.d.ts.map +1 -1
- package/dist/types/calendar/calendar.types.d.ts +8 -0
- package/dist/types/calendar/calendar.types.d.ts.map +1 -1
- package/dist/types/calendar/use-clock-today.d.ts +10 -0
- package/dist/types/calendar/use-clock-today.d.ts.map +1 -0
- package/dist/types/chart/chart-help.d.ts +11 -0
- package/dist/types/chart/chart-help.d.ts.map +1 -0
- package/dist/types/chart/chart.d.ts.map +1 -1
- package/dist/types/chart/index.d.ts +1 -1
- package/dist/types/chart/index.d.ts.map +1 -1
- package/dist/types/currency-field/currency-field.d.ts +3 -3
- package/dist/types/currency-field/currency-field.d.ts.map +1 -1
- package/dist/types/currency-field/currency-field.types.d.ts +4 -3
- package/dist/types/currency-field/currency-field.types.d.ts.map +1 -1
- package/dist/types/dashboard-grid/dashboard-widget-help.d.ts +3 -1
- package/dist/types/dashboard-grid/dashboard-widget-help.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid-body.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid-context.d.ts +4 -0
- package/dist/types/data-grid/data-grid-context.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid-header.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid.d.ts +1 -1
- package/dist/types/data-grid/data-grid.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid.types.d.ts +13 -0
- package/dist/types/data-grid/data-grid.types.d.ts.map +1 -1
- package/dist/types/date-picker/date-picker-defaults.d.ts.map +1 -1
- package/dist/types/date-picker/date-picker-panel.d.ts +2 -0
- package/dist/types/date-picker/date-picker-panel.d.ts.map +1 -1
- package/dist/types/date-picker/date-picker.d.ts.map +1 -1
- package/dist/types/date-picker/date-picker.types.d.ts +9 -0
- package/dist/types/date-picker/date-picker.types.d.ts.map +1 -1
- package/dist/types/date-picker/use-date-picker.d.ts +6 -3
- package/dist/types/date-picker/use-date-picker.d.ts.map +1 -1
- package/dist/types/date-range-picker/date-range-panel.d.ts +2 -0
- package/dist/types/date-range-picker/date-range-panel.d.ts.map +1 -1
- package/dist/types/date-range-picker/date-range-picker-defaults.d.ts.map +1 -1
- package/dist/types/date-range-picker/date-range-picker.d.ts.map +1 -1
- package/dist/types/date-range-picker/date-range-picker.types.d.ts +9 -0
- package/dist/types/date-range-picker/date-range-picker.types.d.ts.map +1 -1
- package/dist/types/date-range-picker/use-date-range-picker.d.ts +1 -0
- package/dist/types/date-range-picker/use-date-range-picker.d.ts.map +1 -1
- package/dist/types/datetime-picker/datetime-picker-defaults.d.ts.map +1 -1
- package/dist/types/datetime-picker/datetime-picker-panel.d.ts +2 -0
- package/dist/types/datetime-picker/datetime-picker-panel.d.ts.map +1 -1
- package/dist/types/datetime-picker/datetime-picker.d.ts.map +1 -1
- package/dist/types/datetime-picker/datetime-picker.types.d.ts +9 -0
- package/dist/types/datetime-picker/datetime-picker.types.d.ts.map +1 -1
- package/dist/types/datetime-picker/use-datetime-picker.d.ts +2 -1
- package/dist/types/datetime-picker/use-datetime-picker.d.ts.map +1 -1
- package/dist/types/datetime-range-picker/datetime-range-panel.d.ts +2 -0
- package/dist/types/datetime-range-picker/datetime-range-panel.d.ts.map +1 -1
- package/dist/types/datetime-range-picker/datetime-range-picker-defaults.d.ts.map +1 -1
- package/dist/types/datetime-range-picker/datetime-range-picker.d.ts.map +1 -1
- package/dist/types/datetime-range-picker/datetime-range-picker.types.d.ts +9 -0
- package/dist/types/datetime-range-picker/datetime-range-picker.types.d.ts.map +1 -1
- package/dist/types/datetime-range-picker/use-datetime-range-picker.d.ts +2 -1
- package/dist/types/datetime-range-picker/use-datetime-range-picker.d.ts.map +1 -1
- package/dist/types/field/field-defaults.d.ts +1 -1
- package/dist/types/field/field-defaults.d.ts.map +1 -1
- package/dist/types/field/field-help-sheet.d.ts +15 -0
- package/dist/types/field/field-help-sheet.d.ts.map +1 -0
- package/dist/types/field/field-parts.d.ts +1 -1
- package/dist/types/field/field-parts.d.ts.map +1 -1
- package/dist/types/field/field.types.d.ts +11 -0
- package/dist/types/field/field.types.d.ts.map +1 -1
- package/dist/types/field/index.d.ts +1 -1
- package/dist/types/field/index.d.ts.map +1 -1
- package/dist/types/menu/index.d.ts +1 -1
- package/dist/types/menu/index.d.ts.map +1 -1
- package/dist/types/menu/menu-defaults.d.ts.map +1 -1
- package/dist/types/menu/menu-parts.d.ts.map +1 -1
- package/dist/types/menu/menu-sheet-step.d.ts +6 -0
- package/dist/types/menu/menu-sheet-step.d.ts.map +1 -0
- package/dist/types/menu/menu.d.ts +1 -1
- package/dist/types/menu/menu.d.ts.map +1 -1
- package/dist/types/menu/menu.types.d.ts +15 -0
- package/dist/types/menu/menu.types.d.ts.map +1 -1
- package/dist/types/menu/use-menu-sheet.d.ts +9 -0
- package/dist/types/menu/use-menu-sheet.d.ts.map +1 -0
- package/dist/types/pagination/pagination-parts.d.ts.map +1 -1
- package/dist/types/picker-panel/picker-footer.d.ts +8 -2
- package/dist/types/picker-panel/picker-footer.d.ts.map +1 -1
- package/dist/types/picker-panel/picker-layer.d.ts +4 -1
- package/dist/types/picker-panel/picker-layer.d.ts.map +1 -1
- package/dist/types/picker-panel/use-media-query.d.ts +2 -2
- package/dist/types/picker-panel/use-media-query.d.ts.map +1 -1
- package/dist/types/picker-panel/use-picker-layer.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-parts.d.ts +2 -1
- package/dist/types/popover/popover-parts.d.ts.map +1 -1
- package/dist/types/popover/popover.d.ts +4 -2
- package/dist/types/popover/popover.d.ts.map +1 -1
- package/dist/types/popover/popover.types.d.ts +17 -0
- package/dist/types/popover/popover.types.d.ts.map +1 -1
- package/dist/types/progress-indicator/loader.d.ts +1 -0
- package/dist/types/progress-indicator/loader.d.ts.map +1 -1
- package/dist/types/section/section.d.ts.map +1 -1
- package/dist/types/section/section.types.d.ts +4 -2
- package/dist/types/section/section.types.d.ts.map +1 -1
- package/dist/types/select/index.d.ts +1 -1
- package/dist/types/select/index.d.ts.map +1 -1
- package/dist/types/select/select-defaults.d.ts.map +1 -1
- package/dist/types/select/select-parts.d.ts.map +1 -1
- package/dist/types/select/select.d.ts +6 -2
- package/dist/types/select/select.d.ts.map +1 -1
- package/dist/types/select/select.types.d.ts +9 -0
- package/dist/types/select/select.types.d.ts.map +1 -1
- package/dist/types/select/use-select-sheet.d.ts +9 -0
- package/dist/types/select/use-select-sheet.d.ts.map +1 -0
- package/dist/types/stat-card/stat-card-parts.d.ts.map +1 -1
- package/dist/types/switch/switch-defaults.d.ts.map +1 -1
- package/dist/types/switch/switch.d.ts +2 -1
- package/dist/types/switch/switch.d.ts.map +1 -1
- package/dist/types/switch/switch.types.d.ts +9 -0
- package/dist/types/switch/switch.types.d.ts.map +1 -1
- package/dist/types/tag/tag-chip.d.ts +4 -1
- package/dist/types/tag/tag-chip.d.ts.map +1 -1
- package/dist/types/tag/tag.d.ts +1 -1
- package/dist/types/tag/tag.d.ts.map +1 -1
- package/dist/types/tag/tag.types.d.ts +6 -0
- package/dist/types/tag/tag.types.d.ts.map +1 -1
- package/dist/types/time-picker/time-picker-panel.d.ts +3 -1
- package/dist/types/time-picker/time-picker-panel.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-panel.d.ts +2 -0
- package/dist/types/time-range-picker/time-range-panel.d.ts.map +1 -1
- package/dist/types/time-range-picker/time-range-picker.d.ts.map +1 -1
- package/dist/types/toggle/toggle.d.ts.map +1 -1
- package/dist/types/toggle/toggle.types.d.ts +4 -1
- package/dist/types/toggle/toggle.types.d.ts.map +1 -1
- package/dist/types/toggle-group/toggle-group-parts.d.ts.map +1 -1
- package/dist/types/toggle-group/toggle-group.types.d.ts +4 -1
- package/dist/types/toggle-group/toggle-group.types.d.ts.map +1 -1
- package/dist/{upload-DggJrkQ7.js → upload-CuMOaPK3.js} +2 -2
- package/dist/upload.js +1 -1
- package/dist/use-date-picker-DdSX3RE4.js +137 -0
- package/dist/use-media-query-DJY5h_K5.js +15 -0
- package/dist/use-picker-draft-I_pxqYsc.js +384 -0
- package/dist/{wizard-BokOrtwq.js → wizard-4c0X7Bx_.js} +1 -1
- package/dist/wizard.js +1 -1
- package/package.json +6 -6
- package/dist/calendar-D3QZDlm0.js +0 -598
- package/dist/chart-DwXqQZjQ.js +0 -1027
- package/dist/column-manager-BBGczWQe.js +0 -586
- package/dist/dashboard-grid-DAY_CjCW.js +0 -1191
- package/dist/field-vOVzvq5t.js +0 -368
- package/dist/menu-parts-DgL617_H.js +0 -814
- package/dist/picker-jump-BcTRIJs6.js +0 -70
- package/dist/popover-BfEn2wdZ.js +0 -500
- package/dist/select-BkUuIVBK.js +0 -1017
- package/dist/switch-C2krbZHI.js +0 -147
- package/dist/time-picker-z4GSRuha.js +0 -313
- package/dist/use-date-picker-DL8tRXji.js +0 -63
- package/dist/use-picker-draft-Bw8VFaj0.js +0 -377
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { n as e, r as t } from "./i18n-D7xXDd8-.js";
|
|
2
|
-
import { b as n } from "./field-
|
|
2
|
+
import { b as n } from "./field-C-HRhke0.js";
|
|
3
3
|
import { t as r } from "./clock-DzkQa57Q.js";
|
|
4
|
-
import { a as i, i as a, l as o, n as s, o as c, r as l, t as u } from "./use-picker-draft-
|
|
4
|
+
import { a as i, i as a, l as o, n as s, o as c, r as l, t as u } from "./use-picker-draft-I_pxqYsc.js";
|
|
5
5
|
import { n as d, r as f, t as p } from "./picker-range-head-B4tsDOc5.js";
|
|
6
6
|
import { t as m } from "./picker-group-CrNRKUxz.js";
|
|
7
|
-
import { t as h } from "./time-field-
|
|
8
|
-
import { t as g } from "./picker-frame-
|
|
7
|
+
import { t as h } from "./time-field-GyLQsxcc.js";
|
|
8
|
+
import { t as g } from "./picker-frame-B6sPCP5Y.js";
|
|
9
9
|
import { keyedProps as _ } from "@slotted/core/selector-key";
|
|
10
10
|
import { createContext as v, createElement as y, useContext as b, useEffect as x, useImperativeHandle as S, useMemo as C, useRef as w, useState as T } from "react";
|
|
11
11
|
import { Fragment as ee, jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
12
12
|
import { clockMessages as O, pickerPanelMessages as k, timeRangePickerMessages as te } from "@slotted/core/i18n";
|
|
13
|
-
import { SECONDS_PER_DAY as ne, clockFinest as re, clockModel as ie, closingTimes as ae, compareTime as A, createTimeFormat as j, dayPeriod as oe, durationLabel as se, isSameTime as M, nowIn as
|
|
13
|
+
import { SECONDS_PER_DAY as ne, clockFinest as re, clockModel as ie, closingTimes as ae, compareTime as A, createTimeFormat as j, dayPeriod as oe, durationLabel as se, isSameTime as M, nowIn as ce, presetValue as le, refusalOfTimes as ue, rulerKeyTarget as de, rulerScale as fe, rulerShare as N, rulerTimeAt as pe, secondsOfDay as me, shortTimeRun as he, stepTimeRun as P, timeRangeProblems as ge, timeRangeSeconds as F, timeRunOf as I, toISOTime as _e } from "@slotted/core/date";
|
|
14
14
|
//#region src/picker-panel/picker-ruler.tsx
|
|
15
|
-
function
|
|
15
|
+
function L(e) {
|
|
16
16
|
let { end: n, hourCycle: r, locale: i, model: a, onMove: o, start: s, step: c } = e, l = t(k), u = w(null), d = j({
|
|
17
17
|
locale: i,
|
|
18
18
|
hourCycle: r
|
|
@@ -21,7 +21,7 @@ function R(e) {
|
|
|
21
21
|
end: n
|
|
22
22
|
};
|
|
23
23
|
function p(e, t) {
|
|
24
|
-
let n = f[e], r = getComputedStyle(t.currentTarget).direction === "rtl", i = n &&
|
|
24
|
+
let n = f[e], r = getComputedStyle(t.currentTarget).direction === "rtl", i = n && de({
|
|
25
25
|
key: t.key,
|
|
26
26
|
rtl: r
|
|
27
27
|
}, n, a, c);
|
|
@@ -30,10 +30,10 @@ function R(e) {
|
|
|
30
30
|
function m(e, t) {
|
|
31
31
|
let n = u.current;
|
|
32
32
|
if (!t.currentTarget.hasPointerCapture(t.pointerId) || n === null) return;
|
|
33
|
-
let r = n.getBoundingClientRect(), i = (t.clientX - r.left) / r.width, s = getComputedStyle(n).direction === "rtl", c =
|
|
33
|
+
let r = n.getBoundingClientRect(), i = (t.clientX - r.left) / r.width, s = getComputedStyle(n).direction === "rtl", c = pe(s ? 1 - i : i, a);
|
|
34
34
|
c !== null && o(e, c, t);
|
|
35
35
|
}
|
|
36
|
-
let [h, g] = [s, n].map((e) => e === null ? null :
|
|
36
|
+
let [h, g] = [s, n].map((e) => e === null ? null : N(e)), _ = h != null && g != null && g > h;
|
|
37
37
|
return /* @__PURE__ */ D("div", {
|
|
38
38
|
"data-part": "ruler",
|
|
39
39
|
"data-part-ruler": "",
|
|
@@ -61,7 +61,7 @@ function R(e) {
|
|
|
61
61
|
"aria-label": l(`${e}Handle`),
|
|
62
62
|
"aria-valuemax": ne - 1,
|
|
63
63
|
"aria-valuemin": 0,
|
|
64
|
-
"aria-valuenow":
|
|
64
|
+
"aria-valuenow": me(t),
|
|
65
65
|
"aria-valuetext": d.describe(t),
|
|
66
66
|
"data-part": "ruler-handle",
|
|
67
67
|
"data-part-ruler-handle": "",
|
|
@@ -69,7 +69,7 @@ function R(e) {
|
|
|
69
69
|
onPointerDown: (e) => e.currentTarget.setPointerCapture(e.pointerId),
|
|
70
70
|
onPointerMove: (t) => m(e, t),
|
|
71
71
|
role: "slider",
|
|
72
|
-
style: { insetInlineStart: `${String(
|
|
72
|
+
style: { insetInlineStart: `${String(N(t))}%` },
|
|
73
73
|
tabIndex: 0
|
|
74
74
|
}, e);
|
|
75
75
|
})
|
|
@@ -78,13 +78,13 @@ function R(e) {
|
|
|
78
78
|
"aria-hidden": "true",
|
|
79
79
|
"data-part": "ruler-scale",
|
|
80
80
|
"data-part-ruler-scale": "",
|
|
81
|
-
children:
|
|
81
|
+
children: fe(d).map((e) => /* @__PURE__ */ E("span", { children: e }, e))
|
|
82
82
|
})]
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region src/time-range-picker/time-range-panel.tsx
|
|
87
|
-
function
|
|
87
|
+
function ve(e) {
|
|
88
88
|
let { clock: n, clockRefs: i, confirm: o, field: c, footer: u, labels: f, locale: g, narrow: _, panel: v } = e, { position: b, step: x } = e, S = t(k), C = v.presets.length > 0 || v.durations.length > 0, w = (e) => ({
|
|
89
89
|
...v[e],
|
|
90
90
|
current: b === e,
|
|
@@ -109,6 +109,7 @@ function _e(e) {
|
|
|
109
109
|
footer: /* @__PURE__ */ E(a, {
|
|
110
110
|
canApply: v.canApply,
|
|
111
111
|
canClear: v.canClear,
|
|
112
|
+
clearable: e.clearable,
|
|
112
113
|
confirm: o,
|
|
113
114
|
hint: v.refusal ?? u ?? v.hint,
|
|
114
115
|
invalid: v.refusal !== null,
|
|
@@ -129,7 +130,7 @@ function _e(e) {
|
|
|
129
130
|
span: v.span,
|
|
130
131
|
start: w("start")
|
|
131
132
|
}),
|
|
132
|
-
/* @__PURE__ */ E(
|
|
133
|
+
/* @__PURE__ */ E(L, {
|
|
133
134
|
end: v.draft?.end ?? null,
|
|
134
135
|
hourCycle: n.hourCycle,
|
|
135
136
|
locale: g,
|
|
@@ -158,69 +159,69 @@ function _e(e) {
|
|
|
158
159
|
}
|
|
159
160
|
//#endregion
|
|
160
161
|
//#region src/time-range-picker/time-range-words.ts
|
|
161
|
-
var
|
|
162
|
+
var ye = [
|
|
162
163
|
"night",
|
|
163
164
|
"morning",
|
|
164
165
|
"afternoon",
|
|
165
166
|
"evening"
|
|
166
167
|
];
|
|
167
|
-
function
|
|
168
|
+
function R(e) {
|
|
168
169
|
return e === null || e.start === null && e.end === null ? null : e;
|
|
169
170
|
}
|
|
170
|
-
function
|
|
171
|
+
function z(e, t) {
|
|
171
172
|
return e === null || t === null ? e === t : M(e.start, t.start) && M(e.end, t.end);
|
|
172
173
|
}
|
|
173
|
-
function
|
|
174
|
+
function B(e) {
|
|
174
175
|
return j(e);
|
|
175
176
|
}
|
|
176
|
-
function
|
|
177
|
+
function V(e, t) {
|
|
177
178
|
return e === null ? {
|
|
178
179
|
empty: !0,
|
|
179
180
|
meta: "",
|
|
180
181
|
text: "–"
|
|
181
182
|
} : {
|
|
182
183
|
empty: !1,
|
|
183
|
-
meta: t.clock(
|
|
184
|
-
text:
|
|
184
|
+
meta: t.clock(ye[oe(e.hour)]).toLocaleLowerCase(t.locale),
|
|
185
|
+
text: B(t).format(e)
|
|
185
186
|
};
|
|
186
187
|
}
|
|
187
|
-
function
|
|
188
|
-
let n = e?.start && e.end ?
|
|
188
|
+
function H(e, t) {
|
|
189
|
+
let n = e?.start && e.end ? F(e.start, e.end) : 0;
|
|
189
190
|
return t.lengthLabel(Math.max(0, n), t.locale);
|
|
190
191
|
}
|
|
191
|
-
function
|
|
192
|
+
function U({ lengthLabel: e, locale: t, rules: n, t: r, words: i }) {
|
|
192
193
|
let { maxLength: a, minLength: o, options: s, step: c } = n, l = (n) => e(n, t);
|
|
193
194
|
return o !== void 0 && a !== void 0 ? r("limit.between", {
|
|
194
195
|
min: l(o),
|
|
195
196
|
max: l(a)
|
|
196
197
|
}) : o === void 0 ? a === void 0 ? s === void 0 ? i("every", { length: se(c, t, "second") }) : "" : r("limit.atMost", { max: l(a) }) : r("limit.atLeast", { min: l(o) });
|
|
197
198
|
}
|
|
198
|
-
function
|
|
199
|
-
let n =
|
|
199
|
+
function W(e, t) {
|
|
200
|
+
let n = ue(e, t.rules);
|
|
200
201
|
return n === null ? null : n.reason === "over" || n.reason === "short" ? t.words(n.reason, { length: t.lengthLabel(n.by, t.locale) }) : t.t(n.reason);
|
|
201
202
|
}
|
|
202
|
-
function
|
|
203
|
-
return t === null || e === null ? "" :
|
|
203
|
+
function G({ end: e, start: t }, n) {
|
|
204
|
+
return t === null || e === null ? "" : he(t, e, n.locale, n);
|
|
204
205
|
}
|
|
205
|
-
function
|
|
206
|
+
function be(e, t) {
|
|
206
207
|
if (e === null) return null;
|
|
207
|
-
let n =
|
|
208
|
+
let n = B(t), [r, i] = [e.start, e.end].map((e) => e && n.format(e));
|
|
208
209
|
return `${r ?? ""} – ${i ?? ""}`.trim();
|
|
209
210
|
}
|
|
210
|
-
function
|
|
211
|
+
function xe(e, t) {
|
|
211
212
|
if (!e?.start || !e.end) return t.t("choose");
|
|
212
|
-
let n =
|
|
213
|
+
let n = B(t), r = {
|
|
213
214
|
start: n.describe(e.start),
|
|
214
215
|
end: n.describe(e.end)
|
|
215
216
|
};
|
|
216
|
-
return
|
|
217
|
+
return F(e.start, e.end) < 0 ? t.t("changeReversed", r) : t.t("change", {
|
|
217
218
|
...r,
|
|
218
|
-
length:
|
|
219
|
+
length: H(e, t)
|
|
219
220
|
});
|
|
220
221
|
}
|
|
221
222
|
//#endregion
|
|
222
223
|
//#region src/time-range-picker/use-time-range-panel.ts
|
|
223
|
-
var
|
|
224
|
+
var K = [
|
|
224
225
|
900,
|
|
225
226
|
1800,
|
|
226
227
|
2700,
|
|
@@ -230,9 +231,9 @@ var q = [
|
|
|
230
231
|
10800,
|
|
231
232
|
14400
|
|
232
233
|
];
|
|
233
|
-
function
|
|
234
|
+
function Se(e) {
|
|
234
235
|
let { confirm: t, held: n, layer: r, onPosition: i, onWrite: a, position: o, words: s } = e, { granularity: c, locale: l, rules: d } = s, { draft: f, setDraft: p } = u({
|
|
235
|
-
equals:
|
|
236
|
+
equals: z,
|
|
236
237
|
isOpen: r.isOpen,
|
|
237
238
|
value: n
|
|
238
239
|
}), m = f?.start ?? null, h = f?.end ?? null, g = m !== null && h !== null, _ = w(null);
|
|
@@ -242,7 +243,7 @@ function xe(e) {
|
|
|
242
243
|
let v = C(() => ie({
|
|
243
244
|
...d,
|
|
244
245
|
isTimeUnavailable: d.unavailable
|
|
245
|
-
}), [d]), y =
|
|
246
|
+
}), [d]), y = W(f, s);
|
|
246
247
|
function b(e, t, n = "select") {
|
|
247
248
|
a(e, n, t), S("start", t), r.finish(t);
|
|
248
249
|
}
|
|
@@ -250,7 +251,7 @@ function xe(e) {
|
|
|
250
251
|
e !== o && i(e, "select", t);
|
|
251
252
|
}
|
|
252
253
|
function T(e, n) {
|
|
253
|
-
p(
|
|
254
|
+
p(R(e)), !t && e.start && e.end && W(e, s) === null && a(e, "select", n);
|
|
254
255
|
}
|
|
255
256
|
function ee(e, n) {
|
|
256
257
|
p(e), S("start", n), t || b(e, n);
|
|
@@ -261,7 +262,7 @@ function xe(e) {
|
|
|
261
262
|
end: h,
|
|
262
263
|
[e]: n
|
|
263
264
|
}, a = e === "start" ? "end" : "start", o = r.unit === "slot" || r.unit === re(c, d.step);
|
|
264
|
-
p(
|
|
265
|
+
p(R(i)), o && (i[a] === null ? (S(a, r.source), _.current = a) : !t && W(i, s) === null && b(i, r.source));
|
|
265
266
|
}
|
|
266
267
|
function D(e, t, n) {
|
|
267
268
|
let r = {
|
|
@@ -271,7 +272,7 @@ function xe(e) {
|
|
|
271
272
|
};
|
|
272
273
|
r.start !== null && r.end !== null && A(r.start, r.end) >= 0 || (S(e, n), T(r, n));
|
|
273
274
|
}
|
|
274
|
-
let O = g ?
|
|
275
|
+
let O = g ? F(m, h) : 0;
|
|
275
276
|
return {
|
|
276
277
|
canApply: y === null && (g || f === null && n !== null),
|
|
277
278
|
canClear: f !== null,
|
|
@@ -281,8 +282,8 @@ function xe(e) {
|
|
|
281
282
|
closing: ae(m, d),
|
|
282
283
|
draft: f,
|
|
283
284
|
drag: D,
|
|
284
|
-
durations: (e.durations ??
|
|
285
|
-
let t =
|
|
285
|
+
durations: (e.durations ?? K).map((e) => {
|
|
286
|
+
let t = I(m, e, d);
|
|
286
287
|
return {
|
|
287
288
|
disabled: t === null,
|
|
288
289
|
label: s.lengthLabel(e, l),
|
|
@@ -292,38 +293,38 @@ function xe(e) {
|
|
|
292
293
|
selected: g && O === e
|
|
293
294
|
};
|
|
294
295
|
}),
|
|
295
|
-
end:
|
|
296
|
+
end: V(h, s),
|
|
296
297
|
enter: (e, t, n) => {
|
|
297
298
|
e !== o && i(e, t, n);
|
|
298
299
|
},
|
|
299
|
-
hint:
|
|
300
|
+
hint: U(s),
|
|
300
301
|
model: v,
|
|
301
302
|
press: E,
|
|
302
303
|
presets: (e.presets ?? []).map((e) => {
|
|
303
|
-
let t =
|
|
304
|
+
let t = le(e);
|
|
304
305
|
return {
|
|
305
|
-
disabled:
|
|
306
|
+
disabled: W(t, s) !== null,
|
|
306
307
|
label: e.label,
|
|
307
308
|
onPress: (e) => ee(t, e),
|
|
308
|
-
result:
|
|
309
|
-
selected:
|
|
309
|
+
result: G(t, s),
|
|
310
|
+
selected: z(f, t)
|
|
310
311
|
};
|
|
311
312
|
}),
|
|
312
313
|
refusal: y,
|
|
313
314
|
span: {
|
|
314
|
-
canDecrease: f !== null &&
|
|
315
|
-
canIncrease: f !== null &&
|
|
315
|
+
canDecrease: f !== null && P(f, -1, d) !== null,
|
|
316
|
+
canIncrease: f !== null && P(f, 1, d) !== null,
|
|
316
317
|
empty: O <= 0,
|
|
317
318
|
onStep: (e, t) => {
|
|
318
|
-
let n = f &&
|
|
319
|
+
let n = f && P(f, e, d);
|
|
319
320
|
n !== null && T(n, t);
|
|
320
321
|
},
|
|
321
|
-
text:
|
|
322
|
+
text: H(f, s)
|
|
322
323
|
},
|
|
323
|
-
start:
|
|
324
|
+
start: V(m, s),
|
|
324
325
|
type: (e, n, r) => {
|
|
325
326
|
if (M(f?.[e] ?? null, n)) return;
|
|
326
|
-
let i =
|
|
327
|
+
let i = R({
|
|
327
328
|
start: m,
|
|
328
329
|
end: h,
|
|
329
330
|
[e]: n
|
|
@@ -335,27 +336,27 @@ function xe(e) {
|
|
|
335
336
|
}
|
|
336
337
|
//#endregion
|
|
337
338
|
//#region src/time-range-picker/time-range-picker-defaults.tsx
|
|
338
|
-
var
|
|
339
|
-
function
|
|
339
|
+
var q = 900;
|
|
340
|
+
function J(e, t) {
|
|
340
341
|
return se(e, t);
|
|
341
342
|
}
|
|
342
|
-
var
|
|
343
|
+
var Y = v({
|
|
343
344
|
confirm: !0,
|
|
344
345
|
granularity: "minute",
|
|
345
346
|
hourCycle: void 0,
|
|
346
|
-
lengthLabel:
|
|
347
|
+
lengthLabel: J,
|
|
347
348
|
placement: "bottom-start",
|
|
348
349
|
size: "md",
|
|
349
350
|
step: 900,
|
|
350
351
|
timeZone: void 0,
|
|
351
352
|
variant: "outline"
|
|
352
353
|
});
|
|
353
|
-
function
|
|
354
|
-
return b(
|
|
354
|
+
function X() {
|
|
355
|
+
return b(Y);
|
|
355
356
|
}
|
|
356
|
-
function
|
|
357
|
-
let n =
|
|
358
|
-
return /* @__PURE__ */ E(
|
|
357
|
+
function Z({ children: e, ...t }) {
|
|
358
|
+
let n = X();
|
|
359
|
+
return /* @__PURE__ */ E(Y.Provider, {
|
|
359
360
|
value: {
|
|
360
361
|
confirm: t.confirm ?? n.confirm,
|
|
361
362
|
granularity: t.granularity ?? n.granularity,
|
|
@@ -372,13 +373,13 @@ function Q({ children: e, ...t }) {
|
|
|
372
373
|
}
|
|
373
374
|
//#endregion
|
|
374
375
|
//#region src/time-range-picker/use-time-range-picker.ts
|
|
375
|
-
var
|
|
376
|
+
var Q = {
|
|
376
377
|
hour: 12,
|
|
377
378
|
minute: 0,
|
|
378
379
|
second: 0
|
|
379
380
|
};
|
|
380
|
-
function
|
|
381
|
-
let r = n(), i =
|
|
381
|
+
function Ce(t) {
|
|
382
|
+
let r = n(), i = X(), a = e(), o = t.timeZone ?? i.timeZone, s = $(t.referenceTime, o), c = t.disabled ?? r?.disabled, l = t.readOnly ?? r?.readOnly;
|
|
382
383
|
return {
|
|
383
384
|
confirm: t.confirm ?? i.confirm,
|
|
384
385
|
disabled: c,
|
|
@@ -398,7 +399,7 @@ function Se(t) {
|
|
|
398
399
|
variant: t.variant ?? i.variant
|
|
399
400
|
};
|
|
400
401
|
}
|
|
401
|
-
function
|
|
402
|
+
function we(e, n) {
|
|
402
403
|
let r = t(te, e.messages), i = t(O), a = t(k), { granularity: o, hourCycle: s, lengthLabel: c, locale: l, step: u } = n, { contiguous: d = !0, isTimeUnavailable: f, max: p, maxLength: m, min: h, minLength: g, options: _ } = e;
|
|
403
404
|
return {
|
|
404
405
|
clock: i,
|
|
@@ -429,10 +430,10 @@ function Ce(e, n) {
|
|
|
429
430
|
words: a
|
|
430
431
|
};
|
|
431
432
|
}
|
|
432
|
-
function
|
|
433
|
-
let [n, r] = T(
|
|
433
|
+
function $(e, t) {
|
|
434
|
+
let [n, r] = T(Q);
|
|
434
435
|
return x(() => {
|
|
435
|
-
let e =
|
|
436
|
+
let e = ce(t);
|
|
436
437
|
r((t) => M(t, e) ? t : e);
|
|
437
438
|
}, [t]), e ?? {
|
|
438
439
|
...n,
|
|
@@ -442,24 +443,24 @@ function we(e, t) {
|
|
|
442
443
|
//#endregion
|
|
443
444
|
//#region src/time-range-picker/time-range-picker.tsx
|
|
444
445
|
function Te(e) {
|
|
445
|
-
let { className: t, clearable: n = !1, confirm: r, contiguous: a, defaultOpen: s = !1, defaultPosition: l, defaultValue: u, disabled: d, durations: p, endName: m, footer: h, granularity: v, hourCycle: y, invalid: b, isTimeUnavailable: x, lengthLabel: C, locale: T, max: O, maxLength: k, messages: te, min: ne, minLength: re, onOpenChange: ie, onPositionChange: ae, onValueChange: A, open: j, options: oe, placement: se, position: M, presets:
|
|
446
|
+
let { className: t, clearable: n = !1, confirm: r, contiguous: a, defaultOpen: s = !1, defaultPosition: l, defaultValue: u, disabled: d, durations: p, endName: m, footer: h, granularity: v, hourCycle: y, invalid: b, isTimeUnavailable: x, lengthLabel: C, locale: T, max: O, maxLength: k, messages: te, min: ne, minLength: re, onOpenChange: ie, onPositionChange: ae, onValueChange: A, open: j, options: oe, placement: se, position: M, presets: ce, readOnly: le, ref: ue, referenceTime: de, relative: fe, render: N, renderSlot: pe, required: me, size: he, startName: P, step: F, style: I, timeZone: _e, value: L, variant: ye, ...B } = e, V = Ce(e), H = n && V.required !== !0, U = we(e, V), [W, G] = f(e), K = w(null), q = {
|
|
446
447
|
start: w(null),
|
|
447
448
|
end: w(null)
|
|
448
449
|
}, { held: J, requestValue: Y } = i({
|
|
449
|
-
defaultValue:
|
|
450
|
-
equals:
|
|
450
|
+
defaultValue: R(u ?? null),
|
|
451
|
+
equals: z,
|
|
451
452
|
onValueChange: A,
|
|
452
453
|
rootRef: K,
|
|
453
|
-
value:
|
|
454
|
+
value: L === void 0 ? void 0 : R(L)
|
|
454
455
|
}), X = c({
|
|
455
456
|
defaultOpen: s,
|
|
456
457
|
focusPanel: () => q[W].current?.focus(),
|
|
457
458
|
onOpenChange: ie,
|
|
458
459
|
open: j,
|
|
459
|
-
placement:
|
|
460
|
+
placement: V.placement,
|
|
460
461
|
rootRef: K
|
|
461
|
-
}), Z =
|
|
462
|
-
...
|
|
462
|
+
}), Z = Se({
|
|
463
|
+
...V,
|
|
463
464
|
clockRefs: q,
|
|
464
465
|
durations: p,
|
|
465
466
|
held: J,
|
|
@@ -467,31 +468,31 @@ function Te(e) {
|
|
|
467
468
|
onPosition: G,
|
|
468
469
|
onWrite: Y,
|
|
469
470
|
position: W,
|
|
470
|
-
presets:
|
|
471
|
+
presets: ce,
|
|
471
472
|
words: U
|
|
472
473
|
});
|
|
473
|
-
S(
|
|
474
|
+
S(ue, () => ({
|
|
474
475
|
close: () => X.setOpen(!1, "keyboard", void 0),
|
|
475
476
|
focus: () => X.triggerRef.current?.focus(),
|
|
476
477
|
open: () => X.show("keyboard", void 0)
|
|
477
478
|
}));
|
|
478
|
-
let { t: Q } = U, $ =
|
|
479
|
-
granularity:
|
|
480
|
-
hourCycle:
|
|
481
|
-
locale:
|
|
479
|
+
let { t: Q } = U, $ = xe(J, U), Te = ge(J, U.rules).length > 0, De = b ?? (Te ? !0 : V.fieldInvalid), Oe = {
|
|
480
|
+
granularity: V.granularity,
|
|
481
|
+
hourCycle: V.hourCycle,
|
|
482
|
+
locale: V.locale,
|
|
482
483
|
max: O,
|
|
483
484
|
min: ne,
|
|
484
|
-
readOnly: !
|
|
485
|
+
readOnly: !V.editable
|
|
485
486
|
};
|
|
486
|
-
function
|
|
487
|
+
function ke(e) {
|
|
487
488
|
Y(null, "clear", e), G("start", "clear", e), X.triggerRef.current?.focus();
|
|
488
489
|
}
|
|
489
|
-
let
|
|
490
|
+
let Ae = /* @__PURE__ */ E(g, {
|
|
490
491
|
clearLabel: Q("clear"),
|
|
491
|
-
editable:
|
|
492
|
+
editable: V.editable,
|
|
492
493
|
glyph: "clock",
|
|
493
494
|
layer: X,
|
|
494
|
-
onClear:
|
|
495
|
+
onClear: H && J !== null ? ke : void 0,
|
|
495
496
|
placeholder: Q("choose"),
|
|
496
497
|
posted: {
|
|
497
498
|
end: {
|
|
@@ -499,65 +500,66 @@ function Te(e) {
|
|
|
499
500
|
value: Ee(J?.end)
|
|
500
501
|
},
|
|
501
502
|
start: {
|
|
502
|
-
name:
|
|
503
|
+
name: P,
|
|
503
504
|
value: Ee(J?.start)
|
|
504
505
|
}
|
|
505
506
|
},
|
|
506
507
|
spoken: $,
|
|
507
|
-
summary:
|
|
508
|
-
}),
|
|
509
|
-
...
|
|
510
|
-
children:
|
|
508
|
+
summary: be(J, U)
|
|
509
|
+
}), je = _({
|
|
510
|
+
...B,
|
|
511
|
+
children: Ae,
|
|
511
512
|
className: t,
|
|
512
|
-
style:
|
|
513
|
-
...
|
|
514
|
-
...
|
|
515
|
-
...
|
|
516
|
-
...
|
|
513
|
+
style: I,
|
|
514
|
+
...V.disabled === !0 ? { "data-disabled": "" } : {},
|
|
515
|
+
...De === !0 ? { "data-invalid": "" } : {},
|
|
516
|
+
...V.readOnly === !0 ? { "data-readonly": "" } : {},
|
|
517
|
+
...V.required === !0 ? { "data-required": "" } : {},
|
|
517
518
|
...X.isOpen ? { "data-open": "" } : {},
|
|
518
|
-
"data-granularity":
|
|
519
|
+
"data-granularity": V.granularity,
|
|
519
520
|
"data-part": "root",
|
|
520
|
-
"data-size":
|
|
521
|
+
"data-size": V.size,
|
|
521
522
|
"data-ui": "time-range-picker",
|
|
522
|
-
"data-variant":
|
|
523
|
+
"data-variant": V.variant,
|
|
523
524
|
ref: K
|
|
524
525
|
});
|
|
525
|
-
return /* @__PURE__ */ D(ee, { children: [
|
|
526
|
+
return /* @__PURE__ */ D(ee, { children: [N === void 0 ? /* @__PURE__ */ E("div", { ...je }) : N(je), /* @__PURE__ */ E(o, {
|
|
526
527
|
label: $,
|
|
527
528
|
layer: X,
|
|
528
529
|
onApply: (e) => Z.canApply && Z.write(Z.draft, e),
|
|
529
|
-
children: /* @__PURE__ */ E(
|
|
530
|
+
children: /* @__PURE__ */ E(ve, {
|
|
531
|
+
clearable: H,
|
|
530
532
|
clock: {
|
|
531
|
-
...
|
|
533
|
+
...Oe,
|
|
532
534
|
isTimeUnavailable: x,
|
|
533
|
-
now:
|
|
535
|
+
now: V.now,
|
|
534
536
|
options: oe,
|
|
535
|
-
renderSlot:
|
|
536
|
-
step:
|
|
537
|
+
renderSlot: pe,
|
|
538
|
+
step: V.step
|
|
537
539
|
},
|
|
538
540
|
clockRefs: q,
|
|
539
|
-
confirm:
|
|
541
|
+
confirm: V.confirm,
|
|
540
542
|
field: {
|
|
541
|
-
...
|
|
542
|
-
referenceTime:
|
|
543
|
-
relative:
|
|
544
|
-
timeZone:
|
|
543
|
+
...Oe,
|
|
544
|
+
referenceTime: de,
|
|
545
|
+
relative: fe,
|
|
546
|
+
timeZone: V.timeZone
|
|
545
547
|
},
|
|
546
548
|
footer: h,
|
|
547
549
|
labels: {
|
|
548
550
|
start: Q("start"),
|
|
549
551
|
end: Q("end")
|
|
550
552
|
},
|
|
551
|
-
locale:
|
|
553
|
+
locale: V.locale,
|
|
552
554
|
narrow: X.narrow,
|
|
553
555
|
panel: Z,
|
|
554
556
|
position: W,
|
|
555
|
-
step:
|
|
557
|
+
step: V.step
|
|
556
558
|
})
|
|
557
559
|
})] });
|
|
558
560
|
}
|
|
559
561
|
function Ee(e) {
|
|
560
|
-
return e == null ? "" :
|
|
562
|
+
return e == null ? "" : _e(e);
|
|
561
563
|
}
|
|
562
564
|
//#endregion
|
|
563
|
-
export {
|
|
565
|
+
export { X as a, J as i, q as n, z as o, Z as r, Te as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "./time-range-picker-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "./time-range-picker-BMRtAqPy.js";
|
|
2
2
|
export { n as TIME_RANGE_PICKER_STEP, a as TimeRangePicker, i as TimeRangePickerDefaultsProvider, r as isSameTimeRange, t as timeRangePickerLengthLabel, e as useTimeRangePickerDefaults };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./i18n-D7xXDd8-.js";
|
|
2
2
|
import { n as t, t as n } from "./icon-D04-_QFA.js";
|
|
3
|
-
import { r } from "./progress-indicator-
|
|
3
|
+
import { r } from "./progress-indicator-DRr0Gj6w.js";
|
|
4
4
|
import { keyedProps as i, withSelectorKey as a } from "@slotted/core/selector-key";
|
|
5
5
|
import { createRemovalFocus as o } from "@slotted/core/focus";
|
|
6
6
|
import { createContext as s, useCallback as c, useContext as l, useEffect as u, useMemo as d, useRef as f, useState as p, useSyncExternalStore as m } from "react";
|
package/dist/toast.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _ } from "./toast-
|
|
1
|
+
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _ } from "./toast-aM_ga1mc.js";
|
|
2
2
|
export { i as TOAST_HOTKEY, s as Toast, t as ToastActions, d as ToastClose, m as ToastContent, f as ToastDefaultsProvider, n as ToastDescription, c as ToastIcon, g as ToastProgress, h as ToastRegion, r as ToastTitle, l as ToasterProvider, o as createToaster, a as toast, e as useToastDefaults, u as useToastQueue, p as useToastRegion, _ as useToaster };
|
|
@@ -37,7 +37,7 @@ function f({ children: n, className: r, defaultPressed: c = !1, disabled: u = !1
|
|
|
37
37
|
"data-part": "icon",
|
|
38
38
|
"data-part-icon": "",
|
|
39
39
|
children: f
|
|
40
|
-
}),
|
|
40
|
+
}), /* @__PURE__ */ o("span", {
|
|
41
41
|
"data-part": "label",
|
|
42
42
|
"data-part-label": "",
|
|
43
43
|
children: n
|
|
@@ -61,7 +61,12 @@ function f({ children: n, className: r, defaultPressed: c = !1, disabled: u = !1
|
|
|
61
61
|
disabled: u,
|
|
62
62
|
ref: g,
|
|
63
63
|
type: b
|
|
64
|
-
}) : _(
|
|
64
|
+
}) : _({
|
|
65
|
+
...D,
|
|
66
|
+
disabled: u,
|
|
67
|
+
ref: g,
|
|
68
|
+
type: b
|
|
69
|
+
});
|
|
65
70
|
}
|
|
66
71
|
//#endregion
|
|
67
72
|
export { u as n, l as r, f as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as e } from "./field-
|
|
1
|
+
import { b as e } from "./field-C-HRhke0.js";
|
|
2
2
|
import { keyedProps as t } from "@slotted/core/selector-key";
|
|
3
3
|
import { createRovingTabindex as n } from "@slotted/core/focus";
|
|
4
4
|
import { createControllable as r } from "@slotted/core/state";
|
|
@@ -120,7 +120,7 @@ function b({ children: e, className: n, disabled: r, icon: i, onClick: a, ref: o
|
|
|
120
120
|
"data-part": "icon",
|
|
121
121
|
"data-part-icon": "",
|
|
122
122
|
children: i
|
|
123
|
-
}),
|
|
123
|
+
}), /* @__PURE__ */ u("span", {
|
|
124
124
|
"data-part": "label",
|
|
125
125
|
"data-part-label": "",
|
|
126
126
|
children: e
|
|
@@ -139,7 +139,12 @@ function b({ children: e, className: n, disabled: r, icon: i, onClick: a, ref: o
|
|
|
139
139
|
disabled: v,
|
|
140
140
|
ref: o,
|
|
141
141
|
type: f ?? "button"
|
|
142
|
-
}) : s(
|
|
142
|
+
}) : s({
|
|
143
|
+
...b,
|
|
144
|
+
disabled: v,
|
|
145
|
+
ref: o,
|
|
146
|
+
type: f ?? "button"
|
|
147
|
+
});
|
|
143
148
|
}
|
|
144
149
|
//#endregion
|
|
145
150
|
export { p as a, m as i, v as n, g as r, b as t };
|
package/dist/toggle-group.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./toggle-group-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./toggle-group-DZEWkVRo.js";
|
|
2
2
|
export { n as ToggleGroup, t as ToggleGroupDefaultsProvider, i as ToggleGroupItem, r as useToggleGroup, e as useToggleGroupDefaults };
|
package/dist/toggle.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./toggle-
|
|
1
|
+
import { n as e, r as t, t as n } from "./toggle-DSEEtL3Y.js";
|
|
2
2
|
export { n as Toggle, e as ToggleDefaultsProvider, t as useToggleDefaults };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./i18n-D7xXDd8-.js";
|
|
2
2
|
import { n as t, t as n } from "./icon-D04-_QFA.js";
|
|
3
|
-
import { _ as r, g as i, n as a, t as o } from "./menu-parts-
|
|
3
|
+
import { _ as r, g as i, n as a, t as o } from "./menu-parts-DXs5YuUA.js";
|
|
4
4
|
import { keyedProps as s } from "@slotted/core/selector-key";
|
|
5
5
|
import { TOOLBAR_ITEM_SELECTOR as c, createRovingTabindex as l, toolbarOwnedKeys as u } from "@slotted/core/focus";
|
|
6
6
|
import { Fragment as d, createContext as f, useCallback as p, useContext as m, useEffect as h, useId as g, useMemo as _, useRef as v, useState as y } from "react";
|
package/dist/toolbar.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 } from "./toolbar-
|
|
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 } from "./toolbar-BP7ka6lN.js";
|
|
2
2
|
export { a as Toolbar, s as ToolbarDefaultsProvider, c as ToolbarGroup, i as ToolbarItem, e as ToolbarOverflow, o as ToolbarSeparator, n as ToolbarSpacer, t as useToolbarDefaults, r as useToolbarOverflow };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./i18n-D7xXDd8-.js";
|
|
2
2
|
import { n as t, t as n } from "./icon-D04-_QFA.js";
|
|
3
|
-
import { i as r } from "./app-shell-
|
|
3
|
+
import { i as r } from "./app-shell-D54YkU7E.js";
|
|
4
4
|
import { a as i, i as a, n as o, r as s } from "./tooltip-DrFiRlH8.js";
|
|
5
5
|
import { f as c, m as l, s as u } from "./navigation-menu-parts-CRLmigjy.js";
|
|
6
6
|
import { definedProps as d, keyedProps as f, withSelectorKey as p } from "@slotted/core/selector-key";
|
package/dist/top-navigation.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as e, S as t, T as n, _ as r, a as i, b as a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, w as S, x as C, y as w } from "./top-navigation-
|
|
1
|
+
import { C as e, S as t, T as n, _ as r, a as i, b as a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, w as S, x as C, y as w } from "./top-navigation-D8IHPOmm.js";
|
|
2
2
|
export { w as TOP_NAVIGATION_COLLAPSE_AT, a as TOP_NAVIGATION_CONTROL_SELECTOR, e as TOP_NAVIGATION_FALLBACK, C as TopNavigation, y as TopNavigationAccount, m as TopNavigationAction, _ as TopNavigationActions, d as TopNavigationBrand, i as TopNavigationContext, h as TopNavigationCount, S as TopNavigationDefaultsProvider, v as TopNavigationHelp, o as TopNavigationHome, f as TopNavigationItem, b as TopNavigationLink, s as TopNavigationList, c as TopNavigationMark, g as TopNavigationName, p as TopNavigationNav, u as TopNavigationNotifications, l as TopNavigationSearch, r as TopNavigationTrigger, t as useTopNavigation, n as useTopNavigationDefaults, x as useTopNavigationItem };
|