@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
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { r as e } from "./i18n-D7xXDd8-.js";
|
|
2
|
+
import { n as t, t as n } from "./icon-D04-_QFA.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
import { l as r } from "./icon-button-N8Madx6i.js";
|
|
5
|
+
import { b as i } from "./field-C-HRhke0.js";
|
|
6
|
+
import { t as a } from "./visually-hidden-BUSrFZ1_.js";
|
|
7
|
+
import { keyedProps as ee } from "@slotted/core/selector-key";
|
|
8
|
+
import { createControllable as o } from "@slotted/core/state";
|
|
9
|
+
import { createContext as s, useContext as c, useEffect as l, useId as u, useRef as d, useState as f } from "react";
|
|
10
|
+
import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
11
|
+
import { switchMessages as g } from "@slotted/core/i18n";
|
|
12
|
+
//#region src/switch/switch-defaults.tsx
|
|
13
|
+
var _ = 2e3, v = s({
|
|
14
|
+
indicator: "mark",
|
|
15
|
+
labelPlacement: "end",
|
|
16
|
+
loadingDelay: 0,
|
|
17
|
+
size: "md",
|
|
18
|
+
variant: "plain"
|
|
19
|
+
});
|
|
20
|
+
function y() {
|
|
21
|
+
return c(v);
|
|
22
|
+
}
|
|
23
|
+
function b({ children: e, ...t }) {
|
|
24
|
+
let n = y();
|
|
25
|
+
return /* @__PURE__ */ m(v.Provider, {
|
|
26
|
+
value: {
|
|
27
|
+
indicator: t.indicator ?? n.indicator,
|
|
28
|
+
labelPlacement: t.labelPlacement ?? n.labelPlacement,
|
|
29
|
+
loadingDelay: t.loadingDelay ?? n.loadingDelay,
|
|
30
|
+
size: t.size ?? n.size,
|
|
31
|
+
variant: t.variant ?? n.variant
|
|
32
|
+
},
|
|
33
|
+
children: e
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/switch/switch.tsx
|
|
38
|
+
function x(e) {
|
|
39
|
+
return e.detail > 0 ? "pointer" : e.isTrusted ? "keyboard" : "programmatic";
|
|
40
|
+
}
|
|
41
|
+
function S({ "aria-describedby": s, "aria-invalid": c, "aria-readonly": v, "aria-required": b, checked: S, children: C, className: w, defaultChecked: T = !1, description: E, disabled: D, id: te, indicator: ne, invalid: re, labelPlacement: ie, loading: O = !1, loadingDelay: ae, messages: oe, onChange: se, onCheckedChange: ce, onClick: le, readOnly: ue, ref: k, render: A, size: j, style: M, variant: N, ...P }) {
|
|
42
|
+
let F = i(), I = y(), L = e(g, oe), R = d(null), z = u(), B = `${z}-pending`, V = `${z}-description`, H = te ?? F?.ids.control ?? `slotted-switch-${z}`, [U, W] = f(T), [de, G] = f(!1), K = S ?? U, q = d(K);
|
|
43
|
+
q.current = K;
|
|
44
|
+
let fe = j ?? F?.size ?? I.size, J = ne ?? I.indicator, pe = ie ?? I.labelPlacement, me = N ?? I.variant, he = r({
|
|
45
|
+
loading: O,
|
|
46
|
+
loadingDelay: ae ?? I.loadingDelay
|
|
47
|
+
}), Y = D ?? F?.disabled, X = ue ?? F?.readOnly, Z = re ?? F?.invalid, Q = F?.registerControl;
|
|
48
|
+
l(() => Q?.(), [Q]), l(() => {
|
|
49
|
+
let e = R.current?.form;
|
|
50
|
+
if (e == null) return;
|
|
51
|
+
let t = () => W(T);
|
|
52
|
+
return e.addEventListener("reset", t), () => e.removeEventListener("reset", t);
|
|
53
|
+
}, [T]), l(() => {
|
|
54
|
+
if (!O) {
|
|
55
|
+
G(!1);
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
let e = setTimeout(() => G(!0), _);
|
|
59
|
+
return () => clearTimeout(e);
|
|
60
|
+
}, [O]);
|
|
61
|
+
let ge = (e) => {
|
|
62
|
+
if (le?.(e), e.defaultPrevented) return;
|
|
63
|
+
if (Y === !0 || X === !0 || O) {
|
|
64
|
+
e.preventDefault();
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
let t = !K, n = o({
|
|
68
|
+
controlled: S,
|
|
69
|
+
initial: K,
|
|
70
|
+
onRequest: (e) => ce?.(e.value, e)
|
|
71
|
+
}), r = x({
|
|
72
|
+
detail: e.detail,
|
|
73
|
+
isTrusted: e.nativeEvent.isTrusted
|
|
74
|
+
});
|
|
75
|
+
if (n.request(t, r, e)) {
|
|
76
|
+
W(t);
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
e.preventDefault(), setTimeout(() => {
|
|
80
|
+
let e = R.current;
|
|
81
|
+
e !== null && e.checked !== q.current && (e.checked = q.current);
|
|
82
|
+
});
|
|
83
|
+
}, _e = /* @__PURE__ */ h(p, { children: [
|
|
84
|
+
/* @__PURE__ */ m("input", {
|
|
85
|
+
...P,
|
|
86
|
+
"aria-busy": O ? !0 : void 0,
|
|
87
|
+
"aria-describedby": [
|
|
88
|
+
s,
|
|
89
|
+
E === void 0 ? void 0 : V,
|
|
90
|
+
F?.describedBy,
|
|
91
|
+
O ? B : void 0
|
|
92
|
+
].filter(Boolean).join(" ") || void 0,
|
|
93
|
+
"aria-invalid": c ?? (Z === !0 || void 0),
|
|
94
|
+
"aria-readonly": v ?? (X === !0 || void 0),
|
|
95
|
+
"aria-required": b ?? (F?.required === !0 || void 0),
|
|
96
|
+
"data-part": "control",
|
|
97
|
+
"data-part-control": "",
|
|
98
|
+
disabled: Y,
|
|
99
|
+
id: H,
|
|
100
|
+
onChange: (e) => se?.(e),
|
|
101
|
+
onClick: ge,
|
|
102
|
+
ref: (e) => {
|
|
103
|
+
R.current = e, typeof k == "function" ? k(e) : k != null && (k.current = e);
|
|
104
|
+
},
|
|
105
|
+
role: "switch",
|
|
106
|
+
type: "checkbox",
|
|
107
|
+
...S === void 0 ? { defaultChecked: T } : { checked: S }
|
|
108
|
+
}),
|
|
109
|
+
/* @__PURE__ */ m("span", {
|
|
110
|
+
"data-part": "track",
|
|
111
|
+
"data-part-track": "",
|
|
112
|
+
children: /* @__PURE__ */ m("span", {
|
|
113
|
+
"data-part": "thumb",
|
|
114
|
+
"data-part-thumb": "",
|
|
115
|
+
children: J === "mark" ? /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(t, { name: "check" }) }) : null
|
|
116
|
+
})
|
|
117
|
+
}),
|
|
118
|
+
C === void 0 ? null : /* @__PURE__ */ m("label", {
|
|
119
|
+
"data-part": "label",
|
|
120
|
+
"data-part-label": "",
|
|
121
|
+
htmlFor: H,
|
|
122
|
+
children: C
|
|
123
|
+
}),
|
|
124
|
+
E === void 0 ? null : /* @__PURE__ */ m("p", {
|
|
125
|
+
"data-part": "description",
|
|
126
|
+
"data-part-description": "",
|
|
127
|
+
id: V,
|
|
128
|
+
children: E
|
|
129
|
+
}),
|
|
130
|
+
/* @__PURE__ */ m(a, {
|
|
131
|
+
id: B,
|
|
132
|
+
role: "status",
|
|
133
|
+
children: O && de ? L("loading") : ""
|
|
134
|
+
})
|
|
135
|
+
] }), $ = ee({
|
|
136
|
+
children: _e,
|
|
137
|
+
className: w,
|
|
138
|
+
style: M,
|
|
139
|
+
...K ? { "data-checked": "" } : {},
|
|
140
|
+
...Y === !0 ? { "data-disabled": "" } : {},
|
|
141
|
+
"data-indicator": J,
|
|
142
|
+
...Z === !0 ? { "data-invalid": "" } : {},
|
|
143
|
+
...he ? { "data-loading": "" } : {},
|
|
144
|
+
"data-label-placement": pe,
|
|
145
|
+
"data-variant": me,
|
|
146
|
+
"data-part": "root",
|
|
147
|
+
...X === !0 ? { "data-readonly": "" } : {},
|
|
148
|
+
"data-size": fe,
|
|
149
|
+
"data-ui": "switch"
|
|
150
|
+
});
|
|
151
|
+
return A === void 0 ? /* @__PURE__ */ m("span", { ...$ }) : A($);
|
|
152
|
+
}
|
|
153
|
+
//#endregion
|
|
154
|
+
export { y as i, _ as n, b as r, S as t };
|
package/dist/switch.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./switch-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./switch-DxMukg7F.js";
|
|
2
2
|
export { t as SWITCH_LOADING_ANNOUNCE_DELAY, r as Switch, n as SwitchDefaultsProvider, e as useSwitchDefaults };
|
|
@@ -2,21 +2,21 @@ import { r as e } from "./i18n-D7xXDd8-.js";
|
|
|
2
2
|
import { n as t, t as n } from "./icon-D04-_QFA.js";
|
|
3
3
|
import { n as r } from "./icon-button-N8Madx6i.js";
|
|
4
4
|
import { a as i, i as a, n as o, r as s } from "./tooltip-DrFiRlH8.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { a as c, d as l, f as u, l as d } from "./popover-1DlOu95x.js";
|
|
6
|
+
import { t as f } from "./checkbox-DsJhlB5c.js";
|
|
7
|
+
import { i as p } from "./skeleton-DeEOmm1y.js";
|
|
8
|
+
import { t as m } from "./text-field-CMOkJ9Z6.js";
|
|
9
9
|
import { t as h } from "./visually-hidden-BUSrFZ1_.js";
|
|
10
|
-
import { t as g } from "./date-picker-
|
|
11
|
-
import { t as _ } from "./date-range-picker-
|
|
12
|
-
import { t as ee } from "./datetime-picker-
|
|
13
|
-
import { t as v } from "./datetime-range-picker-
|
|
14
|
-
import { t as y } from "./number-field-
|
|
15
|
-
import { c as te, i as ne, n as re, o as ie, s as ae } from "./select-
|
|
16
|
-
import { t as oe } from "./time-picker-
|
|
17
|
-
import { t as se } from "./time-range-picker-
|
|
18
|
-
import { n as b, t as x } from "./radio-group-
|
|
19
|
-
import { t as S } from "./tags-input-
|
|
10
|
+
import { t as g } from "./date-picker-BvEbsbJC.js";
|
|
11
|
+
import { t as _ } from "./date-range-picker-uIr-yReE.js";
|
|
12
|
+
import { t as ee } from "./datetime-picker-DDYXqrjm.js";
|
|
13
|
+
import { t as v } from "./datetime-range-picker-CFTHW771.js";
|
|
14
|
+
import { t as y } from "./number-field-BQ54hXmk.js";
|
|
15
|
+
import { c as te, i as ne, n as re, o as ie, s as ae } from "./select-d448Wkzb.js";
|
|
16
|
+
import { t as oe } from "./time-picker-CGHPnust.js";
|
|
17
|
+
import { t as se } from "./time-range-picker-BMRtAqPy.js";
|
|
18
|
+
import { n as b, t as x } from "./radio-group-AW3xcYYh.js";
|
|
19
|
+
import { t as S } from "./tags-input-CqCeLtk-.js";
|
|
20
20
|
import { keyedProps as C, withSelectorKey as w } from "@slotted/core/selector-key";
|
|
21
21
|
import { createFocusOrigin as T } from "@slotted/core/focus";
|
|
22
22
|
import { createControllable as ce } from "@slotted/core/state";
|
|
@@ -412,10 +412,10 @@ function Qe({ ref: e, ...t }) {
|
|
|
412
412
|
ref: e
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
|
-
function $e({ align: e, blockAlign: t, numeric: n, ref: r, sticky: i, stickyOffset: a, style: o, text: s, value:
|
|
416
|
-
let
|
|
415
|
+
function $e({ align: e, blockAlign: t, numeric: n, ref: r, sticky: i, stickyOffset: a, style: o, text: s, value: c, ...l }) {
|
|
416
|
+
let u = J(), d = Re(), p = c ?? d.value;
|
|
417
417
|
return /* @__PURE__ */ M("td", {
|
|
418
|
-
...
|
|
418
|
+
...l,
|
|
419
419
|
...ze({
|
|
420
420
|
align: e,
|
|
421
421
|
blockAlign: t,
|
|
@@ -427,25 +427,25 @@ function $e({ align: e, blockAlign: t, numeric: n, ref: r, sticky: i, stickyOffs
|
|
|
427
427
|
"data-part": "selection",
|
|
428
428
|
"data-part-selection": "",
|
|
429
429
|
ref: r,
|
|
430
|
-
children: /* @__PURE__ */ M(
|
|
431
|
-
checked: p !== void 0 &&
|
|
432
|
-
disabled:
|
|
430
|
+
children: /* @__PURE__ */ M(f, {
|
|
431
|
+
checked: p !== void 0 && u.isSelected(p),
|
|
432
|
+
disabled: d.disabled,
|
|
433
433
|
onCheckedChange: (e, t) => {
|
|
434
434
|
if (p === void 0) return;
|
|
435
435
|
let n = t.source;
|
|
436
|
-
|
|
436
|
+
u.toggleSelected(p, {
|
|
437
437
|
range: n?.shiftKey === !0,
|
|
438
438
|
source: t.source
|
|
439
439
|
});
|
|
440
440
|
},
|
|
441
|
-
children: /* @__PURE__ */ M(h, { children:
|
|
441
|
+
children: /* @__PURE__ */ M(h, { children: u.t("selectRow", { row: p ?? "" }).trim() })
|
|
442
442
|
})
|
|
443
443
|
});
|
|
444
444
|
}
|
|
445
|
-
function et({ align: e, blockAlign: t, numeric: n, ref: r, sticky: i, stickyOffset: a, style: o, text: s, ...
|
|
446
|
-
let
|
|
445
|
+
function et({ align: e, blockAlign: t, numeric: n, ref: r, sticky: i, stickyOffset: a, style: o, text: s, ...c }) {
|
|
446
|
+
let l = J(), u = l.value.length;
|
|
447
447
|
return /* @__PURE__ */ M("th", {
|
|
448
|
-
...
|
|
448
|
+
...c,
|
|
449
449
|
...ze({
|
|
450
450
|
align: e,
|
|
451
451
|
blockAlign: t,
|
|
@@ -458,11 +458,11 @@ function et({ align: e, blockAlign: t, numeric: n, ref: r, sticky: i, stickyOffs
|
|
|
458
458
|
"data-part-selection": "",
|
|
459
459
|
ref: r,
|
|
460
460
|
scope: "col",
|
|
461
|
-
children: /* @__PURE__ */ M(
|
|
462
|
-
checked:
|
|
463
|
-
indeterminate:
|
|
464
|
-
onCheckedChange: (e, t) =>
|
|
465
|
-
children: /* @__PURE__ */ M(h, { children:
|
|
461
|
+
children: /* @__PURE__ */ M(f, {
|
|
462
|
+
checked: u > 0 && u === l.rows().length,
|
|
463
|
+
indeterminate: u > 0 && u < l.rows().length,
|
|
464
|
+
onCheckedChange: (e, t) => l.toggleSelectAll(t.source),
|
|
465
|
+
children: /* @__PURE__ */ M(h, { children: l.t("selectAll", { count: u }) })
|
|
466
466
|
})
|
|
467
467
|
});
|
|
468
468
|
}
|
|
@@ -562,7 +562,7 @@ function st({ children: e, ref: t, skeletonRows: n, ...r }) {
|
|
|
562
562
|
children: Array.from({ length: i.columns }, (e, n) => /* @__PURE__ */ M("td", {
|
|
563
563
|
"data-part": "cell",
|
|
564
564
|
"data-part-cell": "",
|
|
565
|
-
children: /* @__PURE__ */ M(
|
|
565
|
+
children: /* @__PURE__ */ M(p, {
|
|
566
566
|
inlineSize: R(t, n),
|
|
567
567
|
loading: !0
|
|
568
568
|
})
|
|
@@ -588,7 +588,7 @@ function lt(e, t) {
|
|
|
588
588
|
return K(e) === K(t);
|
|
589
589
|
}
|
|
590
590
|
function Y({ body: e, kind: t, operandName: n, operators: i, props: a, rangeOperand: o, singleCondition: s }) {
|
|
591
|
-
let { align:
|
|
591
|
+
let { align: f, collisionPadding: p, columnLabel: m, conditions: h = 2, defaultOpen: g, defaultOperator: _, defaultValue: ee, label: v, mount: y, onOpenChange: oe, onValueChange: se, open: S, portal: C, renderOperand: T, side: E, sideOffset: le, value: D } = a, ue = J(), fe = Le(), pe = de(), [O, P] = A(ee ?? null), F = D === void 0 ? O : D, I = _ ?? be(t), me = () => Se(t, I), [L, R] = A(F ?? me()), [ge, _e] = A(!1), z = S ?? ge, ve = k(null), B = ue.t, V = m ?? fe ?? "", ye = Ce(F), H = s ? 1 : h;
|
|
592
592
|
function G(e) {
|
|
593
593
|
he(ve.current?.ownerDocument).announce(e);
|
|
594
594
|
}
|
|
@@ -701,23 +701,23 @@ function Y({ body: e, kind: t, operandName: n, operators: i, props: a, rangeOper
|
|
|
701
701
|
})]
|
|
702
702
|
}, r);
|
|
703
703
|
}
|
|
704
|
-
return /* @__PURE__ */ N(
|
|
704
|
+
return /* @__PURE__ */ N(u, {
|
|
705
705
|
onOpenChange: (e, t) => Oe(e, t),
|
|
706
706
|
open: z,
|
|
707
|
-
...
|
|
708
|
-
...
|
|
707
|
+
...f === void 0 ? {} : { align: f },
|
|
708
|
+
...p === void 0 ? {} : { collisionPadding: p },
|
|
709
709
|
...g === void 0 ? {} : { defaultOpen: g },
|
|
710
710
|
...y === void 0 ? {} : { mount: y },
|
|
711
711
|
...C === void 0 ? {} : { portal: C },
|
|
712
712
|
...E === void 0 ? {} : { side: E },
|
|
713
713
|
...le === void 0 ? {} : { sideOffset: le },
|
|
714
|
-
children: [/* @__PURE__ */ M(
|
|
714
|
+
children: [/* @__PURE__ */ M(l, { render: (e) => /* @__PURE__ */ M("button", {
|
|
715
715
|
...w(e, "part", "filter"),
|
|
716
716
|
"aria-label": Ie,
|
|
717
717
|
...ye ? { "data-filtered": "" } : {},
|
|
718
718
|
type: "button",
|
|
719
719
|
children: /* @__PURE__ */ M(ct, {})
|
|
720
|
-
}) }), /* @__PURE__ */ M(
|
|
720
|
+
}) }), /* @__PURE__ */ M(d, { children: /* @__PURE__ */ M(c, {
|
|
721
721
|
"aria-label": Ie,
|
|
722
722
|
children: /* @__PURE__ */ N("div", {
|
|
723
723
|
"data-kind": t,
|
|
@@ -781,7 +781,7 @@ function Z(e, t) {
|
|
|
781
781
|
}
|
|
782
782
|
function ut(e) {
|
|
783
783
|
return /* @__PURE__ */ M(Y, {
|
|
784
|
-
body: ({ apply: e, condition: t, setOperand: n, t: r }) => /* @__PURE__ */ M(
|
|
784
|
+
body: ({ apply: e, condition: t, setOperand: n, t: r }) => /* @__PURE__ */ M(m, {
|
|
785
785
|
"aria-label": r("filterValue"),
|
|
786
786
|
onChange: (e) => n(0, e.target.value),
|
|
787
787
|
onKeyDown: X(e),
|
|
@@ -1017,23 +1017,23 @@ function _t({ apply: e, chosen: t, onChange: n, options: r, t: i }) {
|
|
|
1017
1017
|
}) : null] });
|
|
1018
1018
|
}
|
|
1019
1019
|
function vt({ announce: e, chosen: t, onChange: n, options: r, searchThreshold: i, searchable: a, t: o }) {
|
|
1020
|
-
let s = de(), [
|
|
1020
|
+
let s = de(), [c, l] = A(""), u = O(() => I({ sensitivity: "base" }), []), d = (e) => e === "" ? r : r.filter((t) => u.contains(t.label ?? t.value, e)), p = d(c), h = p.filter((e) => t.includes(e.value)), g = a ?? r.length >= i;
|
|
1021
1021
|
return /* @__PURE__ */ N(j, { children: [g ? /* @__PURE__ */ M("div", {
|
|
1022
1022
|
"data-part": "filter-search",
|
|
1023
1023
|
"data-part-filter-search": "",
|
|
1024
|
-
children: /* @__PURE__ */ M(
|
|
1024
|
+
children: /* @__PURE__ */ M(m, {
|
|
1025
1025
|
"aria-controls": `${s}-list`,
|
|
1026
1026
|
"aria-label": o("filterSearch"),
|
|
1027
1027
|
clearable: !0,
|
|
1028
1028
|
onChange: (t) => {
|
|
1029
1029
|
let n = t.target.value;
|
|
1030
|
-
|
|
1030
|
+
l(n), e(o("filterMatches", { count: d(n).length }));
|
|
1031
1031
|
},
|
|
1032
1032
|
placeholder: o("filterSearch"),
|
|
1033
1033
|
size: "sm",
|
|
1034
|
-
value:
|
|
1034
|
+
value: c
|
|
1035
1035
|
})
|
|
1036
|
-
}) : null,
|
|
1036
|
+
}) : null, p.length === 0 ? /* @__PURE__ */ M("p", {
|
|
1037
1037
|
"data-part": "filter-empty",
|
|
1038
1038
|
"data-part-filter-empty": "",
|
|
1039
1039
|
children: o("filterEmpty")
|
|
@@ -1045,22 +1045,22 @@ function vt({ announce: e, chosen: t, onChange: n, options: r, searchThreshold:
|
|
|
1045
1045
|
"data-covering": "",
|
|
1046
1046
|
"data-part": "filter-option",
|
|
1047
1047
|
"data-part-filter-option": "",
|
|
1048
|
-
children: [/* @__PURE__ */ M(
|
|
1049
|
-
checked: h.length > 0 && h.length ===
|
|
1050
|
-
indeterminate: h.length > 0 && h.length <
|
|
1048
|
+
children: [/* @__PURE__ */ M(f, {
|
|
1049
|
+
checked: h.length > 0 && h.length === p.length,
|
|
1050
|
+
indeterminate: h.length > 0 && h.length < p.length,
|
|
1051
1051
|
onCheckedChange: (e) => {
|
|
1052
|
-
let r =
|
|
1052
|
+
let r = p.map((e) => e.value);
|
|
1053
1053
|
n(e ? [.../* @__PURE__ */ new Set([...t, ...r])] : t.filter((e) => !r.includes(e)));
|
|
1054
1054
|
},
|
|
1055
1055
|
children: o("filterSelectAll")
|
|
1056
1056
|
}), /* @__PURE__ */ M("span", {
|
|
1057
1057
|
"data-count": "",
|
|
1058
|
-
children:
|
|
1058
|
+
children: p.length
|
|
1059
1059
|
})]
|
|
1060
|
-
}),
|
|
1060
|
+
}), p.map((e) => /* @__PURE__ */ N("div", {
|
|
1061
1061
|
"data-part": "filter-option",
|
|
1062
1062
|
"data-part-filter-option": "",
|
|
1063
|
-
children: [/* @__PURE__ */ M(
|
|
1063
|
+
children: [/* @__PURE__ */ M(f, {
|
|
1064
1064
|
checked: t.includes(e.value),
|
|
1065
1065
|
onCheckedChange: (r) => n(r ? [...t, e.value] : t.filter((t) => t !== e.value)),
|
|
1066
1066
|
children: e.label ?? e.value
|
package/dist/table.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as e, C as t, D as n, E as r, F as i, M as a, N as o, O as s, P as c, S as l, T as u, _ as d, a as f, b as p, c as m, d as h, f as g, g as _, h as v, i as y, j as b, k as x, l as S, m as C, n as w, o as T, p as E, r as D, s as O, t as k, u as A, v as j, w as M, x as N, y as P } from "./table-
|
|
1
|
+
import { A as e, C as t, D as n, E as r, F as i, M as a, N as o, O as s, P as c, S as l, T as u, _ as d, a as f, b as p, c as m, d as h, f as g, g as _, h as v, i as y, j as b, k as x, l as S, m as C, n as w, o as T, p as E, r as D, s as O, t as k, u as A, v as j, w as M, x as N, y as P } from "./table-BecApjeD.js";
|
|
2
2
|
export { e as TABLE_ROW_SELECTOR, b as Table, m as TableBody, k as TableBooleanFilter, S as TableCaption, A as TableCell, h as TableColumnActions, g as TableColumnHeader, x as TableContent, w as TableDateFilter, D as TableDateTimeFilter, c as TableDefaultsProvider, E as TableDetail, C as TableEmpty, v as TableExpander, _ as TableFooter, d as TableGroupRow, j as TableHead, P as TableLoader, p as TableMark, y as TableNumberFilter, N as TableRow, l as TableRowHeader, t as TableSelect, M as TableSelectAll, f as TableSetFilter, u as TableSort, r as TableSummary, T as TableTextFilter, O as TableTimeFilter, a as useOptionalTable, o as useTable, n as useTableColumn, i as useTableDefaults, s as useTableRow };
|
|
@@ -60,6 +60,7 @@ function O(e, t) {
|
|
|
60
60
|
"data-variant": e.variant,
|
|
61
61
|
"data-size": e.size,
|
|
62
62
|
"data-shape": e.shape,
|
|
63
|
+
"data-inline": t.inline ? "" : void 0,
|
|
63
64
|
"data-disabled": t.disabled ? "" : void 0,
|
|
64
65
|
"data-selected": t.selected ? "" : void 0
|
|
65
66
|
};
|
|
@@ -131,54 +132,56 @@ function N({ labelId: e, removal: r, wordId: i }) {
|
|
|
131
132
|
})]
|
|
132
133
|
});
|
|
133
134
|
}
|
|
134
|
-
function P({ appearance: e, children: t, disabled: n,
|
|
135
|
-
let
|
|
136
|
-
...
|
|
135
|
+
function P({ appearance: e, children: t, disabled: n, inline: r, removal: a, render: o, rootProps: s, selected: c }) {
|
|
136
|
+
let l = E(), u = i({
|
|
137
|
+
...s,
|
|
137
138
|
...O(e, {
|
|
138
139
|
disabled: n === !0,
|
|
139
|
-
|
|
140
|
+
inline: r,
|
|
141
|
+
selected: c
|
|
140
142
|
}),
|
|
141
143
|
children: t,
|
|
142
|
-
...
|
|
144
|
+
...s?.role === void 0 && l !== void 0 ? { role: l } : {},
|
|
143
145
|
onKeyDown: (e) => {
|
|
144
|
-
|
|
146
|
+
s?.onKeyDown?.(e), j(a)(e);
|
|
145
147
|
}
|
|
146
148
|
});
|
|
147
|
-
return
|
|
149
|
+
return o === void 0 ? /* @__PURE__ */ _("span", { ...u }) : o(u);
|
|
148
150
|
}
|
|
149
151
|
//#endregion
|
|
150
152
|
//#region src/tag/tag.tsx
|
|
151
|
-
function F({ children: e, disabled: t = !1, end: n,
|
|
152
|
-
let
|
|
153
|
-
shape:
|
|
154
|
-
size:
|
|
155
|
-
tone:
|
|
156
|
-
variant:
|
|
157
|
-
}),
|
|
153
|
+
function F({ children: e, disabled: t = !1, end: n, inline: r = !1, onRemove: i, removeDisabled: a = !1, messages: o, render: s, shape: c, size: l, start: u, tone: d, variant: f, ...m }) {
|
|
154
|
+
let h = D({
|
|
155
|
+
shape: c,
|
|
156
|
+
size: l,
|
|
157
|
+
tone: d,
|
|
158
|
+
variant: f
|
|
159
|
+
}), g = A({
|
|
158
160
|
disabled: t,
|
|
159
|
-
onRemove:
|
|
160
|
-
removeDisabled:
|
|
161
|
-
messages:
|
|
162
|
-
}),
|
|
161
|
+
onRemove: i,
|
|
162
|
+
removeDisabled: a,
|
|
163
|
+
messages: o
|
|
164
|
+
}), y = p(), b = `${y}label`, x = `${y}remove`;
|
|
163
165
|
return /* @__PURE__ */ v(P, {
|
|
164
|
-
appearance:
|
|
166
|
+
appearance: h,
|
|
165
167
|
disabled: t,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
168
|
+
inline: r,
|
|
169
|
+
removal: g,
|
|
170
|
+
render: s,
|
|
171
|
+
rootProps: m,
|
|
169
172
|
children: [/* @__PURE__ */ _("span", {
|
|
170
173
|
"data-part": "body",
|
|
171
174
|
"data-part-body": "",
|
|
172
175
|
children: /* @__PURE__ */ _(M, {
|
|
173
176
|
end: n,
|
|
174
|
-
labelId:
|
|
175
|
-
start:
|
|
177
|
+
labelId: b,
|
|
178
|
+
start: u,
|
|
176
179
|
children: e
|
|
177
180
|
})
|
|
178
|
-
}),
|
|
179
|
-
labelId:
|
|
180
|
-
removal:
|
|
181
|
-
wordId:
|
|
181
|
+
}), g.removable ? /* @__PURE__ */ _(N, {
|
|
182
|
+
labelId: b,
|
|
183
|
+
removal: g,
|
|
184
|
+
wordId: x
|
|
182
185
|
}) : null]
|
|
183
186
|
});
|
|
184
187
|
}
|
package/dist/tag.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./tag-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./tag-DCMsVXN6.js";
|
|
2
2
|
export { e as Tag, t as TagButton, r as TagDefaultsProvider, i as TagGroup, n as TagLink, o as TagToggle, a as useTagDefaults };
|
|
@@ -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 } from "./field-
|
|
3
|
+
import { b as i } from "./field-C-HRhke0.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { selectorKeyProps as a } from "@slotted/core/selector-key";
|
|
6
6
|
import { createArrowNavigation as o, createRemovalFocus as s } from "@slotted/core/focus";
|
package/dist/tags-input.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./tags-input-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./tags-input-CqCeLtk-.js";
|
|
2
2
|
export { t as TAGS_INPUT_FALLBACK, r as TagsInput, n as TagsInputDefaultsProvider, e as useTagsInputDefaults };
|
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
import { t as r } from "./spinner-ring-DyfaYloA.js";
|
|
4
|
-
import { b as i, h as a } from "./field-
|
|
4
|
+
import { b as i, h as a } from "./field-C-HRhke0.js";
|
|
5
5
|
import { keyedProps as o, withSelectorKey as ee } from "@slotted/core/selector-key";
|
|
6
6
|
import { createControllable as s } from "@slotted/core/state";
|
|
7
7
|
import { createContext as c, useContext as l, useEffect as u, useLayoutEffect as te, useRef as d, useState as f } from "react";
|
package/dist/text-field.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./text-field-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./text-field-CMOkJ9Z6.js";
|
|
2
2
|
export { r as TextField, t as TextFieldAction, n as TextFieldDefaultsProvider, e as useTextFieldDefaults };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as e, h as t } from "./field-
|
|
1
|
+
import { b as e, h as t } from "./field-C-HRhke0.js";
|
|
2
2
|
import { keyedProps as n } from "@slotted/core/selector-key";
|
|
3
3
|
import { createControllable as r } from "@slotted/core/state";
|
|
4
4
|
import { createContext as i, useContext as a, useEffect as o, useRef as s, useState as c } from "react";
|
package/dist/textarea.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./textarea-
|
|
1
|
+
import { n as e, r as t, t as n } from "./textarea-DfqPfXTr.js";
|
|
2
2
|
export { n as Textarea, e as TextareaDefaultsProvider, t as useTextareaDefaults };
|
|
@@ -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 } from "./field-
|
|
3
|
+
import { b as i } from "./field-C-HRhke0.js";
|
|
4
4
|
import { keyedProps as ee } from "@slotted/core/selector-key";
|
|
5
5
|
import { createControllable as te } from "@slotted/core/state";
|
|
6
6
|
import { createContext as a, useCallback as o, useContext as s, useEffect as c, useId as l, useImperativeHandle as ne, useMemo as u, useRef as d, useState as f } from "react";
|
package/dist/time-field.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./time-field-
|
|
1
|
+
import { n as e, r as t, t as n } from "./time-field-GyLQsxcc.js";
|
|
2
2
|
export { n as TimeField, e as TimeFieldDefaultsProvider, t as useTimeFieldDefaults };
|