@slotted/react 0.1.0-beta.10 → 0.1.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action-bar-z2DPc1Wy.js +285 -0
- package/dist/action-bar.js +1 -1
- package/dist/action-sheet-BnedGewu.js +360 -0
- package/dist/action-sheet.js +1 -1
- package/dist/{alert-BTcqbG8w.js → alert-BTAXJ69M.js} +5 -5
- package/dist/alert.js +1 -1
- package/dist/{app-shell-BlkqQrOx.js → app-shell-Cb_kDBeV.js} +232 -173
- package/dist/app-shell.js +1 -1
- package/dist/{attachment-zlOPJvIm.js → attachment-D1O4qS8H.js} +28 -28
- package/dist/attachment.js +1 -1
- package/dist/{breadcrumb-DCGynpkb.js → breadcrumb-CnFjxxI2.js} +10 -10
- package/dist/breadcrumb.js +1 -1
- package/dist/{button-BCVjdzkn.js → button-D31perSu.js} +2 -2
- package/dist/button.js +2 -2
- package/dist/{calendar-qGUJ-kAy.js → calendar-DZyC1gAT.js} +8 -8
- package/dist/calendar.js +1 -1
- package/dist/{carousel-CjRTu8m7.js → carousel-Dso3gcYd.js} +14 -14
- package/dist/carousel.js +1 -1
- package/dist/cascader-BbajBwsX.js +1157 -0
- package/dist/cascader.js +1 -1
- package/dist/{chart-CPFq3jIE.js → chart-Bb6ctahn.js} +9 -9
- package/dist/chart.js +1 -1
- package/dist/{checkbox-CMY2KIih.js → checkbox-C_8GVtjD.js} +3 -3
- package/dist/{checkbox-group-DzMtLF7f.js → checkbox-group-DXCcusol.js} +2 -2
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{code-block-Bh_2Eg3M.js → code-block-C4mtsROE.js} +8 -8
- package/dist/code-block.js +1 -1
- package/dist/{color-picker-DlepH5co.js → color-picker-JZPnPb7s.js} +49 -49
- package/dist/color-picker.js +1 -1
- package/dist/{column-manager-CV9tCnKa.js → column-manager-BDUj-WIs.js} +31 -31
- package/dist/column-manager.js +1 -1
- package/dist/combobox-Dn69QwGX.js +904 -0
- package/dist/combobox.js +1 -1
- package/dist/command-palette-Dh1HKz_F.js +744 -0
- package/dist/command-palette.js +1 -1
- package/dist/{context-menu-Dbc0KkFp.js → context-menu-uJjEmAN3.js} +1 -1
- package/dist/context-menu.js +1 -1
- package/dist/{currency-field--wIfgVAx.js → currency-field-lHcrNJ7X.js} +13 -13
- package/dist/currency-field.js +1 -1
- package/dist/{dashboard-grid-D_LbWfdZ.js → dashboard-grid-z-SOm9H0.js} +65 -65
- package/dist/dashboard-grid.js +1 -1
- package/dist/{data-grid-XH5fGoGj.js → data-grid-DQCvXMJA.js} +1330 -1278
- package/dist/data-grid.js +1 -1
- package/dist/data-list-BgdkA3bD.js +587 -0
- package/dist/data-list.js +1 -1
- package/dist/{date-field-BrNyJBiJ.js → date-field-B2lQzE3p.js} +5 -5
- package/dist/date-field.js +1 -1
- package/dist/{date-picker-Nl55so0C.js → date-picker-DpTRb-Y1.js} +16 -16
- package/dist/date-picker.js +1 -1
- package/dist/{date-range-picker-DLkvfUJD.js → date-range-picker-CBUPJep5.js} +17 -17
- package/dist/date-range-picker.js +1 -1
- package/dist/{datetime-field-CZRhRDPb.js → datetime-field-BZ44uJ_B.js} +7 -7
- package/dist/datetime-field.js +1 -1
- package/dist/{datetime-picker-_GHra2WL.js → datetime-picker-BK_bV3Yr.js} +21 -21
- package/dist/datetime-picker.js +1 -1
- package/dist/{datetime-range-picker-Dy1A0Wqy.js → datetime-range-picker-ChdbRgzQ.js} +21 -21
- package/dist/datetime-range-picker.js +1 -1
- package/dist/{description-list-Cc4JYZ-3.js → description-list-CYlfHDwx.js} +11 -11
- package/dist/description-list.js +1 -1
- package/dist/{detail-panel-BI_wHSoz.js → detail-panel-DimjnPI8.js} +91 -91
- package/dist/detail-panel.js +1 -1
- package/dist/{dialog-B6MP7GYI.js → dialog-BB5MdJex.js} +108 -108
- package/dist/dialog.js +1 -1
- package/dist/docs/action-bar.json +4 -4
- package/dist/docs/action-bar.md +3 -3
- package/dist/docs/calendar.md +2 -2
- package/dist/docs/command-palette.json +1 -0
- package/dist/docs/command-palette.md +1 -1
- package/dist/docs/data-grid.examples.md +8 -2
- package/dist/docs/data-grid.json +25 -3
- package/dist/docs/data-grid.md +4 -1
- package/dist/docs/data-grid.props.md +2 -1
- package/dist/docs/detail-panel.json +4 -2
- package/dist/docs/detail-panel.md +15 -5
- package/dist/docs/dialog.json +1 -0
- package/dist/docs/dialog.md +1 -1
- package/dist/docs/drawer.json +6 -4
- package/dist/docs/drawer.md +3 -3
- package/dist/docs/event-calendar.md +2 -2
- package/dist/docs/guidelines/index.md +4 -3
- package/dist/docs/guidelines/layout-alignment.md +17 -7
- package/dist/docs/guidelines/list-pages.md +3 -3
- package/dist/docs/page-header.json +18 -2
- package/dist/docs/page-header.md +5 -3
- package/dist/docs/page.json +1 -0
- package/dist/docs/page.md +1 -1
- package/dist/docs/rating.md +1 -1
- package/dist/docs/section.json +1 -1
- package/dist/docs/section.md +1 -1
- package/dist/docs/skills/compose-screen/SKILL.md +12 -4
- package/dist/docs/skills/review-screen/SKILL.md +20 -18
- package/dist/docs/skills/theme-app/SKILL.md +12 -1
- package/dist/docs/toast.json +1 -0
- package/dist/docs/toast.md +1 -1
- package/dist/docs/tokens.md +1 -1
- package/dist/docs/toolbar.json +1 -1
- package/dist/docs/toolbar.md +1 -1
- package/dist/docs/typography.md +1 -1
- package/dist/{drawer-CkpFlKYa.js → drawer-fyPyxnYQ.js} +216 -206
- package/dist/drawer.js +1 -1
- package/dist/entity-picker-ClyhBTyK.js +1283 -0
- package/dist/entity-picker.js +1 -1
- package/dist/{event-calendar-BDjI5T44.js → event-calendar-COgC24UG.js} +23 -23
- package/dist/event-calendar.js +1 -1
- package/dist/{field-group-CCM2vPKL.js → field-group-Bj-EbPIU.js} +2 -2
- package/dist/field-group.js +1 -1
- package/dist/{field-CzSGs7wo.js → field-tnEZiRLg.js} +19 -19
- package/dist/field.js +1 -1
- package/dist/filter-bar-BRuCz79-.js +1342 -0
- package/dist/filter-bar.js +1 -1
- package/dist/{form-CDq04WDY.js → form-DEcJ7tHf.js} +1 -1
- package/dist/form.js +1 -1
- package/dist/{fullscreen-6GW4naDP.js → fullscreen-BwweNj3-.js} +13 -13
- package/dist/fullscreen.js +1 -1
- package/dist/{hover-card-aadyPXzF.js → hover-card-BWcU37Yp.js} +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/{i18n-DpW8lqJ1.js → i18n-D7xXDd8-.js} +11 -4
- package/dist/i18n.js +1 -1
- package/dist/{icon-button-CRB218_z.js → icon-button-DbSZKGT4.js} +73 -71
- package/dist/{import-export-center-DUrNwRKP.js → import-export-center-CYf0Qxl_.js} +291 -289
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +100 -100
- package/dist/{kbd-Z4YmSPRy.js → kbd-dNz8QHfL.js} +1 -1
- package/dist/kbd.js +1 -1
- package/dist/{link-BsSlZ1ts.js → link-DLPyg54C.js} +5 -5
- package/dist/link.js +1 -1
- package/dist/{listbox-VFcfZT70.js → listbox-BSqx_ARf.js} +1 -1
- package/dist/listbox.js +1 -1
- package/dist/{loading-overlay-BZPBDK4w.js → loading-overlay-BLIrcaoj.js} +9 -9
- package/dist/loading-overlay.js +1 -1
- package/dist/{markdown-BmCU_sOv.js → markdown-DccRb1xf.js} +17 -17
- package/dist/markdown.js +1 -1
- package/dist/{menu-parts-DS9JEUCt.js → menu-parts-CNNHRduK.js} +42 -42
- package/dist/menu.js +1 -1
- package/dist/{menubar-BV43BKep.js → menubar-Bdr6zigi.js} +1 -1
- package/dist/menubar.js +1 -1
- package/dist/message-BkTiWsUp.js +436 -0
- package/dist/message-scroller-akQEtQLn.js +218 -0
- package/dist/message-scroller.js +1 -1
- package/dist/message.js +1 -1
- package/dist/{multi-select-YaxhhH9y.js → multi-select-BvlJIEtz.js} +445 -443
- package/dist/multi-select.js +1 -1
- package/dist/{navigation-menu-parts-B64gKl8B.js → navigation-menu-parts-CEW4fgCo.js} +12 -12
- package/dist/navigation-menu.js +1 -1
- package/dist/{notification-center-Ci-OLWTO.js → notification-center-BQO0Ey3h.js} +40 -40
- package/dist/notification-center.js +1 -1
- package/dist/{number-field-BYQmPyM-.js → number-field-D1MqT8_A.js} +13 -13
- package/dist/number-field.js +1 -1
- package/dist/{otp-input-BKO0WPZc.js → otp-input-Cub9H9Di.js} +1 -1
- package/dist/otp-input.js +1 -1
- package/dist/{page-CfjGviUA.js → page-CwYmBoZQ.js} +1 -1
- package/dist/{page-header-w_PFLnLG.js → page-header-CMxCQqu_.js} +117 -114
- package/dist/page-header.js +1 -1
- package/dist/page.js +1 -1
- package/dist/{pagination-Cm9665gb.js → pagination-IEuos7H1.js} +12 -12
- package/dist/pagination.js +1 -1
- package/dist/{popover-D1krYeP-.js → popover-C7NpEzq6.js} +22 -22
- package/dist/popover.js +1 -1
- package/dist/prompt-composer-Cu8bj1Vb.js +276 -0
- package/dist/prompt-composer.js +1 -1
- package/dist/{prose-Bl5OjXTb.js → prose-CQN4Bqqh.js} +1 -1
- package/dist/prose.js +1 -1
- package/dist/{radio-group-D9VTBLUB.js → radio-group-BHlDgCLk.js} +2 -2
- package/dist/radio-group.js +1 -1
- package/dist/{rating-BRqsV5OF.js → rating-Cr0lXaAV.js} +15 -15
- package/dist/rating.js +1 -1
- package/dist/{saved-views-C_76obIv.js → saved-views-CyLSn8a2.js} +151 -151
- package/dist/saved-views.js +1 -1
- package/dist/{scroll-area-vrm2bbtZ.js → scroll-area-Fr0PmnRS.js} +1 -1
- package/dist/scroll-area.js +1 -1
- package/dist/{segmented-control-5DTOKO3g.js → segmented-control-uPnQYklX.js} +2 -2
- package/dist/segmented-control.js +1 -1
- package/dist/select-C0JYHwBy.js +1020 -0
- package/dist/select.js +1 -1
- package/dist/{side-navigation-MNMSkj9b.js → side-navigation-D8lRpHwj.js} +64 -64
- package/dist/side-navigation.js +1 -1
- package/dist/{skeleton-DyOwgYmF.js → skeleton-DeEOmm1y.js} +1 -1
- package/dist/skeleton.js +1 -1
- package/dist/{slider-OMe1DAC-.js → slider-BSI1xvjw.js} +2 -2
- package/dist/slider.js +1 -1
- package/dist/{sparkline-ChkaLVdY.js → sparkline-CYU4_lCD.js} +1 -1
- package/dist/sparkline.js +1 -1
- package/dist/spinner-ring-DyfaYloA.js +19 -0
- package/dist/{split-button-DbmRwfMC.js → split-button-CkbylOMN.js} +2 -2
- package/dist/split-button.js +1 -1
- package/dist/{stat-card-BSnsTmsq.js → stat-card-CAh4SdeY.js} +16 -16
- package/dist/stat-card.js +1 -1
- package/dist/{status-indicator-CyKhBdvN.js → status-indicator-BVMnpcm8.js} +4 -4
- package/dist/status-indicator.js +1 -1
- package/dist/{stepper-Cw1Auv3n.js → stepper-BLfvMz04.js} +16 -16
- package/dist/stepper.js +1 -1
- package/dist/styles/action-bar.css +1 -1
- package/dist/styles/action-sheet.css +2 -2
- package/dist/styles/button.css +2 -2
- package/dist/styles/cascader.css +2 -2
- package/dist/styles/chart.css +1 -1
- package/dist/styles/column-manager.css +3 -3
- package/dist/styles/command-palette.css +3 -3
- package/dist/styles/dashboard-grid.css +2 -2
- package/dist/styles/data-grid.css +3 -3
- package/dist/styles/data-list.css +2 -2
- package/dist/styles/detail-panel.css +4 -4
- package/dist/styles/dialog.css +1 -1
- package/dist/styles/drawer.css +1 -1
- package/dist/styles/entity-picker.css +1 -1
- package/dist/styles/event-calendar.css +1 -1
- package/dist/styles/filter-bar.css +3 -3
- package/dist/styles/import-export-center.css +4 -4
- package/dist/styles/index.css +12 -12
- package/dist/styles/markdown.css +2 -2
- package/dist/styles/multi-select.css +1 -1
- package/dist/styles/notification-center.css +3 -3
- package/dist/styles/page-header.css +2 -2
- package/dist/styles/page.css +1 -1
- package/dist/styles/prompt-composer.css +1 -1
- package/dist/styles/saved-views.css +2 -2
- package/dist/styles/split-button.css +2 -2
- package/dist/styles/table.css +2 -2
- package/dist/styles/tabs.css +1 -1
- package/dist/styles/timeline.css +1 -1
- package/dist/styles/toast.css +1 -1
- package/dist/styles/tour.css +2 -2
- package/dist/styles/transfer.css +2 -2
- package/dist/styles/upload.css +1 -1
- package/dist/styles/wizard.css +2 -2
- package/dist/styles.css +1 -1
- package/dist/{switch-CQ1rpuKa.js → switch-BHyKHqeI.js} +5 -5
- package/dist/switch.js +1 -1
- package/dist/{table-DpGTPtnb.js → table-C8zOHDcY.js} +30 -30
- package/dist/{table-of-contents-BFVERMZy.js → table-of-contents-BAIuPCdy.js} +8 -8
- package/dist/table-of-contents.js +1 -1
- package/dist/table.js +1 -1
- package/dist/{tag-aX7uyAN0.js → tag-XYGEPUHR.js} +14 -14
- package/dist/tag.js +1 -1
- package/dist/{tags-input-BgpS22sf.js → tags-input-ClYSd-No.js} +40 -40
- package/dist/tags-input.js +1 -1
- package/dist/text-field-Cguj75tn.js +205 -0
- package/dist/text-field.js +1 -1
- package/dist/{textarea-DNCjsQYd.js → textarea-BKsh_jAo.js} +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{time-field-Cm6iBjwH.js → time-field-BIE4WMpS.js} +7 -7
- package/dist/time-field.js +1 -1
- package/dist/{time-picker-Ce18FSO2.js → time-picker-CNfafRDF.js} +18 -18
- package/dist/time-picker.js +1 -1
- package/dist/{time-range-picker-kDnw4PQ3.js → time-range-picker-D7gM_Wno.js} +20 -20
- package/dist/time-range-picker.js +1 -1
- package/dist/timeline-BLadNUkS.js +449 -0
- package/dist/timeline.js +1 -1
- package/dist/{toast-58ex8PDK.js → toast-CjbiXiza.js} +16 -16
- package/dist/toast.js +1 -1
- package/dist/{toggle-group-YxVJlCnI.js → toggle-group-BZmghKac.js} +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/toolbar-BI4ZepBs.js +243 -0
- package/dist/toolbar.js +1 -1
- package/dist/{top-navigation-DorkYBnR.js → top-navigation-BTZpx5VA.js} +13 -13
- package/dist/top-navigation.js +1 -1
- package/dist/{tour-CwK_m_Jp.js → tour-_CQ1kYov.js} +23 -23
- package/dist/tour.js +1 -1
- package/dist/{transfer-DxGDWIEt.js → transfer-BVhBdIGp.js} +59 -59
- package/dist/transfer.js +1 -1
- package/dist/tree-DfI9UWLA.js +794 -0
- package/dist/tree.js +1 -1
- package/dist/types/action-bar/action-bar-overflow.d.ts.map +1 -1
- package/dist/types/action-bar/action-bar.types.d.ts +2 -2
- package/dist/types/action-sheet/action-sheet-parts.d.ts.map +1 -1
- package/dist/types/app-shell/app-shell-parts.d.ts.map +1 -1
- package/dist/types/app-shell/app-shell.d.ts.map +1 -1
- package/dist/types/app-shell/app-shell.types.d.ts +21 -14
- package/dist/types/app-shell/app-shell.types.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/button/button-indicator.d.ts.map +1 -1
- package/dist/types/button/spinner-ring.d.ts +8 -0
- package/dist/types/button/spinner-ring.d.ts.map +1 -0
- package/dist/types/cascader/cascader-surface.d.ts.map +1 -1
- package/dist/types/cascader/cascader.d.ts.map +1 -1
- package/dist/types/combobox/combobox-parts.d.ts.map +1 -1
- package/dist/types/command-palette/command-palette.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid-body.d.ts +7 -2
- package/dist/types/data-grid/data-grid-body.d.ts.map +1 -1
- package/dist/types/data-grid/data-grid-context.d.ts +2 -1
- 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 +12 -0
- package/dist/types/data-grid/data-grid.types.d.ts.map +1 -1
- package/dist/types/data-grid/index.d.ts +1 -1
- package/dist/types/data-grid/index.d.ts.map +1 -1
- package/dist/types/detail-panel/detail-panel-parts.d.ts +2 -1
- package/dist/types/detail-panel/detail-panel-parts.d.ts.map +1 -1
- package/dist/types/drawer/drawer-parts.d.ts.map +1 -1
- package/dist/types/entity-picker/entity-picker-control.d.ts.map +1 -1
- package/dist/types/filter-bar/filter-bar.d.ts.map +1 -1
- package/dist/types/i18n/slotted-provider.d.ts +6 -0
- package/dist/types/i18n/slotted-provider.d.ts.map +1 -1
- package/dist/types/import-export-center/import-export-center.d.ts.map +1 -1
- package/dist/types/message/message-parts.d.ts.map +1 -1
- package/dist/types/message-scroller/message-scroller.d.ts.map +1 -1
- package/dist/types/multi-select/multi-select-parts.d.ts.map +1 -1
- package/dist/types/page-header/page-header-defaults.d.ts +1 -1
- package/dist/types/page-header/page-header-defaults.d.ts.map +1 -1
- package/dist/types/page-header/page-header.d.ts +1 -1
- package/dist/types/page-header/page-header.d.ts.map +1 -1
- package/dist/types/page-header/page-header.types.d.ts +9 -0
- package/dist/types/page-header/page-header.types.d.ts.map +1 -1
- package/dist/types/prompt-composer/prompt-composer.d.ts.map +1 -1
- package/dist/types/select/select-parts.d.ts.map +1 -1
- package/dist/types/text-field/text-field.d.ts.map +1 -1
- package/dist/types/timeline/timeline-parts.d.ts.map +1 -1
- package/dist/types/timeline/timeline.d.ts.map +1 -1
- package/dist/types/toolbar/toolbar-overflow.d.ts.map +1 -1
- package/dist/types/toolbar/toolbar.types.d.ts +2 -2
- package/dist/types/tree/tree-parts.d.ts.map +1 -1
- package/dist/{upload-CEDsfMWz.js → upload-N2-nyO8x.js} +65 -65
- package/dist/upload.js +1 -1
- package/dist/{wizard-B3p7zCSj.js → wizard-CK1x2fs3.js} +16 -16
- package/dist/wizard.js +1 -1
- package/package.json +6 -6
- package/dist/action-bar-CJgBierN.js +0 -283
- package/dist/action-sheet-tRrjm7WQ.js +0 -358
- package/dist/cascader-DqlC1z5b.js +0 -1154
- package/dist/combobox-YWFkxaQ3.js +0 -902
- package/dist/command-palette-DXNq-zKN.js +0 -741
- package/dist/data-list-DZCN_uW1.js +0 -587
- package/dist/entity-picker-CFwLGQeU.js +0 -1281
- package/dist/filter-bar-G50WdRac.js +0 -1340
- package/dist/message-Dtck9RJy.js +0 -434
- package/dist/message-scroller-niUJ8RoL.js +0 -216
- package/dist/prompt-composer-sh_TXKYZ.js +0 -273
- package/dist/select-BFx5EgAa.js +0 -1018
- package/dist/text-field-DL_uhNXV.js +0 -203
- package/dist/timeline-pEL30Jp8.js +0 -446
- package/dist/toolbar-BtIyVbs4.js +0 -241
- package/dist/tree-DbLRyItM.js +0 -792
package/dist/filter-bar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./filter-bar-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./filter-bar-BRuCz79-.js";
|
|
2
2
|
export { r as FILTER_BAR_FALLBACK, t as FilterBar, n as FilterBarDefaultsProvider, e as useFilterBarDefaults };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e } from "./i18n-
|
|
1
|
+
import { r as e } from "./i18n-D7xXDd8-.js";
|
|
2
2
|
import { keyedProps as t } from "@slotted/core/selector-key";
|
|
3
3
|
import { createControllable as n } from "@slotted/core/state";
|
|
4
4
|
import { createContext as r, useCallback as i, useContext as a, useEffect as o, useId as ee, useImperativeHandle as te, useMemo as s, useRef as c, useState as l } from "react";
|
package/dist/form.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "./form-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "./form-DEcJ7tHf.js";
|
|
2
2
|
export { n as Form, i as FormActions, a as FormDefaultsProvider, t as FormSummary, e as useFormDefaults, r as useFormState };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { r as e } from "./i18n-D7xXDd8-.js";
|
|
2
|
+
import { n as t, t as n } from "./icon-DjqSEQ-o.js";
|
|
3
3
|
import { keyedProps as r } from "@slotted/core/selector-key";
|
|
4
4
|
import { createControllable as i } from "@slotted/core/state";
|
|
5
5
|
import { createContext as a, useContext as o, useEffect as s, useLayoutEffect as c, useRef as l, useState as u } from "react";
|
|
@@ -32,9 +32,9 @@ function y({ children: e, ...t }) {
|
|
|
32
32
|
function b(e) {
|
|
33
33
|
return e === null ? null : e instanceof HTMLElement ? e : e.current;
|
|
34
34
|
}
|
|
35
|
-
function x(
|
|
36
|
-
let _ = v(), y =
|
|
37
|
-
controlled:
|
|
35
|
+
function x(t, { fullscreen: n, defaultFullscreen: r = !1, onFullscreenChange: a, onFullscreenError: o, mode: d, navigationUI: f, messages: p } = {}) {
|
|
36
|
+
let _ = v(), y = e(m, p), [x, S] = u(r), [C, w] = u(null), [T, E] = u(null), [D, O] = u(!1), k = i({
|
|
37
|
+
controlled: n,
|
|
38
38
|
initial: x,
|
|
39
39
|
onRequest: (e) => a?.(e.value, e)
|
|
40
40
|
}), A = l(null), j = l(!1), M = l({
|
|
@@ -73,14 +73,14 @@ function x(e, { fullscreen: t, defaultFullscreen: r = !1, onFullscreenChange: a,
|
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
75
|
return c(() => {
|
|
76
|
-
let
|
|
77
|
-
if (!
|
|
78
|
-
O(g(
|
|
79
|
-
let n = h(
|
|
76
|
+
let e = b(t);
|
|
77
|
+
if (!e) return;
|
|
78
|
+
O(g(e.ownerDocument));
|
|
79
|
+
let n = h(e, F());
|
|
80
80
|
return A.current = n, () => {
|
|
81
81
|
A.current = null, n.destroy();
|
|
82
82
|
};
|
|
83
|
-
}, [
|
|
83
|
+
}, [t]), s(() => {
|
|
84
84
|
A.current?.update(F());
|
|
85
85
|
}), s(() => {
|
|
86
86
|
let e = A.current;
|
|
@@ -93,7 +93,7 @@ function x(e, { fullscreen: t, defaultFullscreen: r = !1, onFullscreenChange: a,
|
|
|
93
93
|
}, [
|
|
94
94
|
k.value,
|
|
95
95
|
C,
|
|
96
|
-
|
|
96
|
+
t
|
|
97
97
|
]), {
|
|
98
98
|
fullscreen: k.value,
|
|
99
99
|
mode: C,
|
|
@@ -154,13 +154,13 @@ function D(e) {
|
|
|
154
154
|
return e.detail === 0 ? "keyboard" : "pointer";
|
|
155
155
|
}
|
|
156
156
|
function O({ children: i, className: a, disabled: o = !1, icon: s, iconOnly: c = !1, onClick: l, ref: u, render: h, size: g, style: _, target: y, type: b = "button", variant: x, ...S }) {
|
|
157
|
-
let w = v(), T = C(), E = y ?? T, O = E?.fullscreen ?? !1, k = typeof i == "function" ? i(O) : i, A = typeof s == "function" ? s(O) : s, j =
|
|
157
|
+
let w = v(), T = C(), E = y ?? T, O = E?.fullscreen ?? !1, k = typeof i == "function" ? i(O) : i, A = typeof s == "function" ? s(O) : s, j = e(m), M = E?.t ?? j, N = r({
|
|
158
158
|
...S,
|
|
159
159
|
children: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("span", {
|
|
160
160
|
"aria-hidden": "true",
|
|
161
161
|
"data-part": "icon",
|
|
162
162
|
"data-part-icon": "",
|
|
163
|
-
children: A ?? /* @__PURE__ */ f(
|
|
163
|
+
children: A ?? /* @__PURE__ */ f(n, { children: /* @__PURE__ */ f(t, { name: O ? "minimize" : "maximize" }) })
|
|
164
164
|
}), /* @__PURE__ */ f("span", {
|
|
165
165
|
"data-part": "label",
|
|
166
166
|
"data-part-label": "",
|
package/dist/fullscreen.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 "./fullscreen-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./fullscreen-BwweNj3-.js";
|
|
2
2
|
export { o as Fullscreen, n as FullscreenContent, r as FullscreenDefaultsProvider, i as FullscreenTrigger, e as useFullscreen, t as useFullscreenContext, a as useFullscreenDefaults };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, f as t, l as n, n as r, p as i } from "./popover-
|
|
1
|
+
import { a as e, f as t, l as n, n as r, p as i } from "./popover-C7NpEzq6.js";
|
|
2
2
|
import { keyedProps as a } from "@slotted/core/selector-key";
|
|
3
3
|
import { tabbables as o } from "@slotted/core/focus";
|
|
4
4
|
import { createControllable as s } from "@slotted/core/state";
|
package/dist/hover-card.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 "./hover-card-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./hover-card-BWcU37Yp.js";
|
|
2
2
|
export { e as HOVER_CARD_FALLBACK, o as HoverCard, n as HoverCardContent, r as HoverCardDefaultsProvider, i as HoverCardTrigger, t as useHoverCard, a as useHoverCardDefaults };
|
|
@@ -44,11 +44,18 @@ function f() {
|
|
|
44
44
|
return t(c).translator;
|
|
45
45
|
}
|
|
46
46
|
function p(e, t) {
|
|
47
|
-
let
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
let i = f(), a = r(t);
|
|
48
|
+
a.current = t;
|
|
49
|
+
let o = t === void 0 ? "" : JSON.stringify(Object.entries(t).map(([e, t]) => [e, typeof t == "function" ? null : t]));
|
|
50
|
+
return n(() => {
|
|
51
|
+
let t = a.current;
|
|
52
|
+
if (t === void 0) return i.family(e);
|
|
53
|
+
let n = Object.fromEntries(Object.entries(t).map(([e, t]) => [e, typeof t == "function" ? (...t) => a.current[e](...t) : t]));
|
|
54
|
+
return i.family(e, n);
|
|
55
|
+
}, [
|
|
56
|
+
i,
|
|
50
57
|
e,
|
|
51
|
-
|
|
58
|
+
o
|
|
52
59
|
]);
|
|
53
60
|
}
|
|
54
61
|
//#endregion
|
package/dist/i18n.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./i18n-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./i18n-D7xXDd8-.js";
|
|
2
2
|
export { r as SlottedProvider, t as useLocale, n as useMessages, e as useTranslator };
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { n as e } from "./button-defaults-DNq_DDJh.js";
|
|
2
|
-
import { r as t } from "./i18n-
|
|
2
|
+
import { r as t } from "./i18n-D7xXDd8-.js";
|
|
3
3
|
/* empty css */
|
|
4
|
+
import { t as n } from "./spinner-ring-DyfaYloA.js";
|
|
4
5
|
/* empty css */
|
|
5
|
-
import { keyedProps as
|
|
6
|
-
import { createControllable as
|
|
7
|
-
import { useEffect as
|
|
8
|
-
import { Fragment as
|
|
9
|
-
import { buttonMessages as
|
|
6
|
+
import { keyedProps as r, selectorKeyProps as i } from "@slotted/core/selector-key";
|
|
7
|
+
import { createControllable as a } from "@slotted/core/state";
|
|
8
|
+
import { useEffect as o, useState as s } from "react";
|
|
9
|
+
import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
10
|
+
import { buttonMessages as d } from "@slotted/core/i18n";
|
|
10
11
|
//#region src/button/button-content.tsx
|
|
11
|
-
function
|
|
12
|
+
function f({ children: e, end: t, indicator: n, start: r }) {
|
|
12
13
|
let i = n != null, a = i && r !== void 0, o = i && !a && t !== void 0;
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
-
r === void 0 ? null : /* @__PURE__ */
|
|
14
|
+
return /* @__PURE__ */ u(c, { children: [
|
|
15
|
+
r === void 0 ? null : /* @__PURE__ */ u("span", {
|
|
15
16
|
"data-part": "start",
|
|
16
17
|
"data-part-start": "",
|
|
17
18
|
children: [r, a ? n : null]
|
|
18
19
|
}),
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
+
/* @__PURE__ */ l("span", {
|
|
20
21
|
"data-part": "label",
|
|
21
22
|
"data-part-label": "",
|
|
22
23
|
children: e
|
|
23
24
|
}),
|
|
24
|
-
t === void 0 ? null : /* @__PURE__ */
|
|
25
|
+
t === void 0 ? null : /* @__PURE__ */ u("span", {
|
|
25
26
|
"data-part": "end",
|
|
26
27
|
"data-part-end": "",
|
|
27
28
|
children: [t, o ? n : null]
|
|
@@ -31,28 +32,28 @@ function d({ children: e, end: t, indicator: n, start: r }) {
|
|
|
31
32
|
}
|
|
32
33
|
//#endregion
|
|
33
34
|
//#region src/button/button.constants.ts
|
|
34
|
-
var
|
|
35
|
+
var p = {
|
|
35
36
|
tone: "accent",
|
|
36
37
|
variant: "solid",
|
|
37
38
|
size: "md"
|
|
38
|
-
},
|
|
39
|
+
}, m = p, h = {
|
|
39
40
|
tone: "secondary",
|
|
40
41
|
variant: "ghost",
|
|
41
42
|
size: "md",
|
|
42
43
|
shape: "square"
|
|
43
|
-
},
|
|
44
|
+
}, g = {
|
|
44
45
|
tone: "secondary",
|
|
45
46
|
variant: "outline",
|
|
46
47
|
size: "md"
|
|
47
48
|
};
|
|
48
49
|
//#endregion
|
|
49
50
|
//#region src/button/button-root.ts
|
|
50
|
-
function
|
|
51
|
+
function _(e) {
|
|
51
52
|
return {
|
|
52
53
|
"data-ui": "button",
|
|
53
|
-
...
|
|
54
|
+
...i("ui", "button"),
|
|
54
55
|
"data-part": "root",
|
|
55
|
-
...
|
|
56
|
+
...i("part", "root"),
|
|
56
57
|
"data-tone": e.tone,
|
|
57
58
|
"data-variant": e.variant,
|
|
58
59
|
"data-size": e.size,
|
|
@@ -64,7 +65,7 @@ function g(e) {
|
|
|
64
65
|
"data-pressed": e.pressed ? "" : void 0
|
|
65
66
|
};
|
|
66
67
|
}
|
|
67
|
-
function
|
|
68
|
+
function v(t, n) {
|
|
68
69
|
let r = e();
|
|
69
70
|
return {
|
|
70
71
|
tone: t.tone ?? r.tone ?? n.tone,
|
|
@@ -72,22 +73,22 @@ function _(t, n) {
|
|
|
72
73
|
size: t.size ?? r.size ?? n.size
|
|
73
74
|
};
|
|
74
75
|
}
|
|
75
|
-
function
|
|
76
|
+
function y(e) {
|
|
76
77
|
e.preventDefault(), e.stopPropagation(), e.nativeEvent.stopImmediatePropagation?.();
|
|
77
78
|
}
|
|
78
|
-
function
|
|
79
|
+
function b({ disabled: e = !1, focusableWhenDisabled: t = !1, loading: n = !1 }) {
|
|
79
80
|
return {
|
|
80
81
|
refuses: e || n,
|
|
81
82
|
nativelyDisabled: e && !t,
|
|
82
83
|
ariaDisabled: e && t || n || void 0
|
|
83
84
|
};
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
+
function x(e) {
|
|
86
87
|
return e.detail === 0 ? "keyboard" : "pointer";
|
|
87
88
|
}
|
|
88
|
-
function
|
|
89
|
-
let [n, r] =
|
|
90
|
-
return
|
|
89
|
+
function S({ loading: e = !1, loadingDelay: t = 0 }) {
|
|
90
|
+
let [n, r] = s(!1);
|
|
91
|
+
return o(() => {
|
|
91
92
|
if (!e || t <= 0) {
|
|
92
93
|
r(!1);
|
|
93
94
|
return;
|
|
@@ -96,102 +97,103 @@ function x({ loading: e = !1, loadingDelay: t = 0 }) {
|
|
|
96
97
|
return () => clearTimeout(n);
|
|
97
98
|
}, [e, t]), e && (t <= 0 || n);
|
|
98
99
|
}
|
|
99
|
-
function
|
|
100
|
-
let [r,
|
|
100
|
+
function C({ defaultPressed: e = !1, onPressedChange: t, pressed: n }) {
|
|
101
|
+
let [r, i] = s(e), o = a({
|
|
101
102
|
controlled: n,
|
|
102
103
|
initial: r,
|
|
103
104
|
onRequest: (e) => t?.(e.value, e)
|
|
104
105
|
});
|
|
105
106
|
return {
|
|
106
|
-
pressed:
|
|
107
|
+
pressed: o.value,
|
|
107
108
|
requestToggle(e) {
|
|
108
|
-
let t = !
|
|
109
|
-
|
|
109
|
+
let t = !o.value;
|
|
110
|
+
o.request(t, x(e), e) && i(t);
|
|
110
111
|
}
|
|
111
112
|
};
|
|
112
113
|
}
|
|
113
|
-
function
|
|
114
|
+
function w({ defaultPressed: e, pressed: t }) {
|
|
114
115
|
return t !== void 0 || e !== void 0;
|
|
115
116
|
}
|
|
116
117
|
//#endregion
|
|
117
118
|
//#region src/button/button-indicator.tsx
|
|
118
|
-
function
|
|
119
|
-
return /* @__PURE__ */
|
|
119
|
+
function T({ label: e }) {
|
|
120
|
+
return /* @__PURE__ */ l("span", {
|
|
120
121
|
"aria-label": e,
|
|
121
122
|
"data-part": "indicator",
|
|
122
123
|
"data-part-indicator": "",
|
|
123
124
|
"data-ui": "spinner",
|
|
124
125
|
"data-ui-spinner": "",
|
|
125
|
-
role: "progressbar"
|
|
126
|
+
role: "progressbar",
|
|
127
|
+
children: n
|
|
126
128
|
});
|
|
127
129
|
}
|
|
128
130
|
//#endregion
|
|
129
131
|
//#region src/button/button.tsx
|
|
130
|
-
function
|
|
131
|
-
let A =
|
|
132
|
+
function E({ children: e, disabled: n = !1, end: i, focusableWhenDisabled: a = !1, fullWidth: o = !1, justify: s = "center", loading: c = !1, loadingDelay: u = 0, messages: m, onClick: h, onClickCapture: g, render: x, size: C, start: w, tone: E, type: D = "button", variant: O, ...k }) {
|
|
133
|
+
let A = v({
|
|
132
134
|
size: C,
|
|
133
135
|
tone: E,
|
|
134
136
|
variant: O
|
|
135
|
-
},
|
|
136
|
-
disabled:
|
|
137
|
+
}, p), j = b({
|
|
138
|
+
disabled: n,
|
|
137
139
|
focusableWhenDisabled: a,
|
|
138
|
-
loading:
|
|
139
|
-
}), M =
|
|
140
|
-
loading:
|
|
141
|
-
loadingDelay:
|
|
142
|
-
}), N = t(
|
|
140
|
+
loading: c
|
|
141
|
+
}), M = S({
|
|
142
|
+
loading: c,
|
|
143
|
+
loadingDelay: u
|
|
144
|
+
}), N = t(d, m), P = r({
|
|
143
145
|
...k,
|
|
144
|
-
...
|
|
145
|
-
disabled:
|
|
146
|
+
..._({
|
|
147
|
+
disabled: n,
|
|
146
148
|
fullWidth: o,
|
|
147
149
|
justify: s,
|
|
148
|
-
loading:
|
|
150
|
+
loading: c,
|
|
149
151
|
...A
|
|
150
152
|
}),
|
|
151
153
|
"aria-disabled": j.ariaDisabled,
|
|
152
|
-
children: /* @__PURE__ */
|
|
154
|
+
children: /* @__PURE__ */ l(f, {
|
|
153
155
|
end: i,
|
|
154
|
-
indicator: M ? /* @__PURE__ */
|
|
155
|
-
start:
|
|
156
|
+
indicator: M ? /* @__PURE__ */ l(T, { label: N("loading") }) : null,
|
|
157
|
+
start: w,
|
|
156
158
|
children: e
|
|
157
159
|
}),
|
|
158
160
|
disabled: j.nativelyDisabled,
|
|
159
161
|
onClick: (e) => {
|
|
160
|
-
if (j.refuses) return
|
|
162
|
+
if (j.refuses) return y(e);
|
|
161
163
|
h?.(e);
|
|
162
164
|
},
|
|
163
165
|
onClickCapture: (e) => {
|
|
164
|
-
if (j.refuses) return
|
|
165
|
-
|
|
166
|
+
if (j.refuses) return y(e);
|
|
167
|
+
g?.(e);
|
|
166
168
|
},
|
|
167
169
|
type: D
|
|
168
170
|
});
|
|
169
|
-
return
|
|
171
|
+
return x === void 0 ? /* @__PURE__ */ l("button", { ...P }) : x(P);
|
|
170
172
|
}
|
|
171
173
|
//#endregion
|
|
172
174
|
//#region src/button/icon-button.tsx
|
|
173
|
-
function
|
|
174
|
-
let M =
|
|
175
|
+
function D({ children: e, defaultPressed: n, disabled: i = !1, focusableWhenDisabled: a = !1, loading: o = !1, loadingDelay: s = 0, messages: c, onClick: f, onClickCapture: p, onPressedChange: m, pressed: g, render: x, shape: E = h.shape, size: D, tone: O, type: k = "button", variant: A, ...j }) {
|
|
176
|
+
let M = v({
|
|
175
177
|
size: D,
|
|
176
178
|
tone: O,
|
|
177
179
|
variant: A
|
|
178
|
-
},
|
|
180
|
+
}, h), N = b({
|
|
179
181
|
disabled: i,
|
|
180
182
|
focusableWhenDisabled: a,
|
|
181
183
|
loading: o
|
|
182
|
-
}), P =
|
|
184
|
+
}), P = S({
|
|
183
185
|
loading: o,
|
|
184
186
|
loadingDelay: s
|
|
185
|
-
}), F = t(
|
|
186
|
-
defaultPressed:
|
|
187
|
-
pressed:
|
|
188
|
-
}), L =
|
|
189
|
-
defaultPressed:
|
|
190
|
-
onPressedChange:
|
|
191
|
-
pressed:
|
|
192
|
-
}), R =
|
|
187
|
+
}), F = t(d, c), I = w({
|
|
188
|
+
defaultPressed: n,
|
|
189
|
+
pressed: g
|
|
190
|
+
}), L = C({
|
|
191
|
+
defaultPressed: n,
|
|
192
|
+
onPressedChange: m,
|
|
193
|
+
pressed: g
|
|
194
|
+
}), R = r({
|
|
193
195
|
...j,
|
|
194
|
-
...
|
|
196
|
+
..._({
|
|
195
197
|
disabled: i,
|
|
196
198
|
loading: o,
|
|
197
199
|
pressed: I ? L.pressed : void 0,
|
|
@@ -200,23 +202,23 @@ function E({ children: e, defaultPressed: r, disabled: i = !1, focusableWhenDisa
|
|
|
200
202
|
}),
|
|
201
203
|
"aria-disabled": N.ariaDisabled,
|
|
202
204
|
"aria-pressed": I ? L.pressed : void 0,
|
|
203
|
-
children: /* @__PURE__ */
|
|
205
|
+
children: /* @__PURE__ */ u("span", {
|
|
204
206
|
"data-part": "icon",
|
|
205
207
|
"data-part-icon": "",
|
|
206
|
-
children: [e, P ? /* @__PURE__ */
|
|
208
|
+
children: [e, P ? /* @__PURE__ */ l(T, { label: F("loading") }) : null]
|
|
207
209
|
}),
|
|
208
210
|
disabled: N.nativelyDisabled,
|
|
209
211
|
onClick: (e) => {
|
|
210
|
-
if (N.refuses) return
|
|
212
|
+
if (N.refuses) return y(e);
|
|
211
213
|
f?.(e), I && !e.defaultPrevented && L.requestToggle(e);
|
|
212
214
|
},
|
|
213
215
|
onClickCapture: (e) => {
|
|
214
|
-
if (N.refuses) return
|
|
216
|
+
if (N.refuses) return y(e);
|
|
215
217
|
p?.(e);
|
|
216
218
|
},
|
|
217
219
|
type: k
|
|
218
220
|
});
|
|
219
|
-
return
|
|
221
|
+
return x === void 0 ? /* @__PURE__ */ l("button", { ...R }) : x(R);
|
|
220
222
|
}
|
|
221
223
|
//#endregion
|
|
222
|
-
export {
|
|
224
|
+
export { b as a, S as c, g as d, f, y as i, C as l, E as n, _ as o, T as r, v as s, D as t, m as u };
|