@reapit/elements 5.0.0-beta.80 → 5.0.0-beta.82
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/codemods/apply-textarea-field-sizing/transform.js +345 -90
- package/dist/codemods/at-a-glance-article-card/transform.js +345 -90
- package/dist/codemods/bin.js +1345 -644
- package/dist/codemods/codemods.js +5 -1
- package/dist/codemods/manifest.json +5 -1
- package/dist/codemods/replace-deprecated-label/transform.js +345 -90
- package/dist/codemods/replace-deprecated-use-click-outside/transform.js +345 -90
- package/dist/codemods/replace-lab-radio/transform.js +345 -90
- package/dist/codemods/replace-lab-radio-group/transform.js +345 -90
- package/dist/codemods/replace-lab-table/transform.js +254077 -0
- package/dist/codemods/rewrite-combobox-imports/transform.js +345 -90
- package/dist/codemods/rewrite-text-font-imports/transform.js +345 -90
- package/dist/codemods/rewrite-v4-imports/transform.js +345 -90
- package/dist/codemods/rewrite-v5-imports/transform.js +345 -90
- package/dist/codemods/upgrade-deprecated-badge/transform.js +345 -90
- package/dist/codemods/upgrade-deprecated-button/transform.js +345 -90
- package/dist/codemods/upgrade-deprecated-button-group/transform.js +345 -90
- package/dist/codemods/upgrade-deprecated-icon/transform.js +345 -90
- package/dist/codemods/upgrade-deprecated-split-button/transform.js +345 -90
- package/dist/codemods/upgrade-deprecated-tag/transform.js +345 -90
- package/dist/codemods/upgrade-deprecated-use-media-query/transform.js +345 -90
- package/dist/js/accordion-BeA_kgW0.js +77 -0
- package/dist/js/add-BBxwy14C.js +16 -0
- package/dist/js/anchor-positioning-XqfCUAUX.js +177 -0
- package/dist/js/announcement-C0_ZZw_S.js +16 -0
- package/dist/js/app-logo-CswxzREO.js +1271 -0
- package/dist/js/app-switcher-CyBITTg3.js +16 -0
- package/dist/js/app-switcher-Dfkcll5d.js +217 -0
- package/dist/js/archive-m_qCIMIt.js +20 -0
- package/dist/js/arrow-down-CZk9-CZZ.js +16 -0
- package/dist/js/arrow-left-syNXYJVC.js +16 -0
- package/dist/js/arrow-right-BPoxtErp.js +16 -0
- package/dist/js/arrow-up-SXc8IM8-.js +16 -0
- package/dist/js/asterisk-DPsrUnu1.js +16 -0
- package/dist/js/at-a-glance-CJ_knIw_.js +417 -0
- package/dist/js/attachment-ODXfX1m-.js +16 -0
- package/dist/js/automation-CIVBJrOG.js +24 -0
- package/dist/js/avatar-rectangle-Rg2DA4ox.js +149 -0
- package/dist/js/bath-DNDYw8X3.js +16 -0
- package/dist/js/bed-Cl6u5OR8.js +16 -0
- package/dist/js/bill-Ce6-u5gS.js +20 -0
- package/dist/js/bill-bulk-Dz5haOYA.js +24 -0
- package/dist/js/bookmark-CTziU0Rp.js +16 -0
- package/dist/js/bookmark-bulk-zaQky9MI.js +20 -0
- package/dist/js/bottom-bar-DMN2mK4F.js +158 -0
- package/dist/js/button-jgaS-YWF.js +78 -0
- package/dist/js/buy-BEVLANWr.js +16 -0
- package/dist/js/calculator-BOHBXKMk.js +20 -0
- package/dist/js/calendar-mCJX_KU_.js +16 -0
- package/dist/js/calendar-user-DeqmIncM.js +16 -0
- package/dist/js/camera-EmvVfRfN.js +20 -0
- package/dist/js/car-Df4_-klY.js +20 -0
- package/dist/js/change-log-Br_6LhIu.js +20 -0
- package/dist/js/check-DeyRulIx.js +20 -0
- package/dist/js/check-outline-DIJ5VlE2.js +20 -0
- package/dist/js/checkbox-CxE0fZjb.js +16 -0
- package/dist/js/checkbox-disabled-C9-vSAve.js +16 -0
- package/dist/js/checkbox-indeterminate-Cbxeaxy4.js +20 -0
- package/dist/js/checkbox-selected-DyrR1kqy.js +16 -0
- package/dist/js/chevron-down-BJacFTxw.js +16 -0
- package/dist/js/chevron-left-DZfS0ota.js +16 -0
- package/dist/js/chevron-right-D0rSvaqZ.js +16 -0
- package/dist/js/chevron-up-mTVwguhM.js +16 -0
- package/dist/js/chip-group-BQqToHL0.js +56 -0
- package/dist/js/chip-select-Crk6ocz1.js +133 -0
- package/dist/js/circular-add-DfZYi9yG.js +20 -0
- package/dist/js/circular-add-solid-CMCmOgbL.js +20 -0
- package/dist/js/circular-remove-DknHlCCp.js +20 -0
- package/dist/js/circular-remove-solid-DjvH2Q1P.js +20 -0
- package/dist/js/clear-84fzj_oC.js +20 -0
- package/dist/js/close-DmeJ8DiA.js +16 -0
- package/dist/js/cloud-Baw0LjVp.js +16 -0
- package/dist/js/combobox-CFjF8VyQ.js +666 -0
- package/dist/js/compact-select-DwZUbwJq.js +75 -0
- package/dist/js/compliance-B3iJD-13.js +20 -0
- package/dist/js/consolidate-CpHZYSUV.js +16 -0
- package/dist/js/contact-CJcaRa0x.js +16 -0
- package/dist/js/contacts-BHo-yBwB.js +16 -0
- package/dist/js/contacts-alt-CGiCiHUQ.js +20 -0
- package/dist/js/copy-ON2rHvLU.js +20 -0
- package/dist/js/core/accordion.js +4 -11
- package/dist/js/core/alert-banner.js +97 -13
- package/dist/js/core/app-switcher.js +15 -21
- package/dist/js/core/at-a-glance.js +7 -33
- package/dist/js/core/autocomplete-control.js +67 -4
- package/dist/js/core/autocomplete.js +66 -6
- package/dist/js/core/avatar-rectangle.js +2 -11
- package/dist/js/core/avatar.js +17 -5
- package/dist/js/core/badge.js +66 -8
- package/dist/js/core/bottom-bar.js +7 -17
- package/dist/js/core/breadcrumbs.js +69 -12
- package/dist/js/core/button-group.js +45 -8
- package/dist/js/core/button.js +2 -11
- package/dist/js/core/checkbox-control.js +32 -4
- package/dist/js/core/checkbox-group-control.js +81 -8
- package/dist/js/core/checkbox-input.js +46 -7
- package/dist/js/core/checkbox.js +50 -7
- package/dist/js/core/chip-group.js +4 -6
- package/dist/js/core/chip-select-control.js +41 -4
- package/dist/js/core/chip-select.js +2 -14
- package/dist/js/core/chip.js +47 -7
- package/dist/js/core/compact-select-native.js +31 -7
- package/dist/js/core/compact-select.js +17 -5
- package/dist/js/core/date-time-control.js +44 -4
- package/dist/js/core/date-time-input.js +7 -4
- package/dist/js/core/description-list.js +2 -7
- package/dist/js/core/dialog.js +7 -7
- package/dist/js/core/divider.js +15 -5
- package/dist/js/core/drawer.js +139 -27
- package/dist/js/core/empty-data.js +3 -5
- package/dist/js/core/features.js +103 -13
- package/dist/js/core/filter-bar.js +83 -16
- package/dist/js/core/focused-layout.js +2 -15
- package/dist/js/core/folder-tabs.js +2 -14
- package/dist/js/core/form-control.js +2 -11
- package/dist/js/core/label-text.js +23 -5
- package/dist/js/core/link.js +21 -5
- package/dist/js/core/main-container.js +31 -6
- package/dist/js/core/menu.js +4 -18
- package/dist/js/core/office-switcher.js +145 -128
- package/dist/js/core/page-header.js +134 -24
- package/dist/js/core/page-layout.js +96 -15
- package/dist/js/core/pagination.js +6 -10
- package/dist/js/core/primary-tabs.js +51 -11
- package/dist/js/core/radio-group-control.js +115 -12
- package/dist/js/core/radio-input.js +40 -7
- package/dist/js/core/search-input.js +7 -5
- package/dist/js/core/secondary-tabs.js +55 -12
- package/dist/js/core/section-message.js +65 -10
- package/dist/js/core/select-control.js +67 -4
- package/dist/js/core/select-native-control.js +41 -4
- package/dist/js/core/select-native.js +38 -7
- package/dist/js/core/select.js +67 -6
- package/dist/js/core/side-bar.js +6 -39
- package/dist/js/core/skeleton.js +17 -5
- package/dist/js/core/split-button.js +8 -12
- package/dist/js/core/status-indicator.js +19 -5
- package/dist/js/core/supplementary-info.js +35 -7
- package/dist/js/core/switch-input.js +17 -5
- package/dist/js/core/switch.js +28 -6
- package/dist/js/core/table.js +11 -43
- package/dist/js/core/tag-group.js +32 -7
- package/dist/js/core/tag.js +29 -6
- package/dist/js/core/text-control.js +39 -4
- package/dist/js/core/text-input.js +2 -9
- package/dist/js/core/textarea-control.js +39 -4
- package/dist/js/core/textarea.js +2 -6
- package/dist/js/core/theme-provider.js +2 -5
- package/dist/js/core/tooltip.js +75 -8
- package/dist/js/core/top-bar.js +14 -101
- package/dist/js/dashboard-CQu_korf.js +16 -0
- package/dist/js/date-time-input-Cg9fvaOR.js +56 -0
- package/dist/js/deprecated/accordion.js +82 -16
- package/dist/js/deprecated/avatar.js +33 -7
- package/dist/js/deprecated/breadcrumb.js +43 -6
- package/dist/js/deprecated/card.js +164 -48
- package/dist/js/deprecated/chip.js +39 -9
- package/dist/js/deprecated/drawer.js +87 -18
- package/dist/js/deprecated/file-input.js +121 -14
- package/dist/js/deprecated/form-layout.js +59 -18
- package/dist/js/deprecated/grid.js +2 -82
- package/dist/js/deprecated/input-add-on.js +17 -5
- package/dist/js/deprecated/input-error.js +2 -4
- package/dist/js/deprecated/input-group.js +47 -6
- package/dist/js/deprecated/input.js +17 -6
- package/dist/js/deprecated/key-value-list.js +5 -9
- package/dist/js/deprecated/layout.js +53 -14
- package/dist/js/deprecated/loader.js +30 -8
- package/dist/js/deprecated/menu.js +2 -25
- package/dist/js/deprecated/mobile-controls.js +50 -9
- package/dist/js/deprecated/modal.js +72 -12
- package/dist/js/deprecated/multi-select.js +126 -20
- package/dist/js/deprecated/nav.js +243 -33
- package/dist/js/deprecated/page-header.js +101 -15
- package/dist/js/deprecated/pagination.js +95 -15
- package/dist/js/deprecated/persistent-notification.js +30 -10
- package/dist/js/deprecated/placeholder-image.js +2 -7
- package/dist/js/deprecated/progress-bar.js +83 -16
- package/dist/js/deprecated/reapit-logo.js +2 -4
- package/dist/js/deprecated/searchable-dropdown.js +13 -14
- package/dist/js/deprecated/secondary-nav.js +29 -7
- package/dist/js/deprecated/select.js +16 -5
- package/dist/js/deprecated/snack.js +44 -9
- package/dist/js/deprecated/status-indicator.js +16 -6
- package/dist/js/deprecated/steps.js +71 -11
- package/dist/js/deprecated/table.js +219 -48
- package/dist/js/deprecated/tabs.js +84 -18
- package/dist/js/deprecated/tile.js +16 -7
- package/dist/js/deprecated/toggle.js +76 -15
- package/dist/js/deprecated/tool-tip.js +30 -8
- package/dist/js/deprecated/typography.js +106 -40
- package/dist/js/deprecated/use-drawer.js +26 -15
- package/dist/js/deprecated/use-modal.js +24 -15
- package/dist/js/deprecated/use-nav-state.js +36 -41
- package/dist/js/deprecated/use-portal.js +12 -16
- package/dist/js/deprecated/use-snack.js +67 -35
- package/dist/js/deprecated/use-theme.js +22 -25
- package/dist/js/deprecated-flexbox-CeIDwxZW.js +4 -0
- package/dist/js/deprecated-spacing-BrAK8tP6.js +4 -0
- package/dist/js/deprecated-states-CV2MCsSF.js +4 -0
- package/dist/js/description-list-DH7xqGlv.js +60 -0
- package/dist/js/dialog-drWYMcCG.js +120 -0
- package/dist/js/{index-AHmiDD3r.js → dist-DLc9lUhF.js} +64 -84
- package/dist/js/dist-Du1lGuAB.js +17 -0
- package/dist/js/drag-indicator-49MpALvg.js +16 -0
- package/dist/js/drag-indicator-alt-CzISbldZ.js +16 -0
- package/dist/js/edit-BbkBOLW9.js +16 -0
- package/dist/js/email-BDARUIWx.js +16 -0
- package/dist/js/email-disabled-lf7dKUy1.js +16 -0
- package/dist/js/email-fill-V4KP075E.js +16 -0
- package/dist/js/empty-data-BlPm5FhG.js +70 -0
- package/dist/js/error-jkILHMUx.js +20 -0
- package/dist/js/euro-Bp6rOvsM.js +16 -0
- package/dist/js/events-Vt4PW_RV.js +9 -0
- package/dist/js/exit-D-2-UMoP.js +16 -0
- package/dist/js/expand-DlFXc2Oc.js +16 -0
- package/dist/js/export-DhspLTin.js +16 -0
- package/dist/js/favourite-D5NrU5BU.js +16 -0
- package/dist/js/feather-DDET6Lmh.js +16 -0
- package/dist/js/feed-Y_BT4A44.js +16 -0
- package/dist/js/file-attached-C2aJCAHa.js +16 -0
- package/dist/js/file-audio-D8lgBFGf.js +16 -0
- package/dist/js/file-document-CKD7fXDC.js +16 -0
- package/dist/js/file-download-DXLaVyVj.js +16 -0
- package/dist/js/file-excel--aOWxwxn.js +16 -0
- package/dist/js/file-gExn0WSm.js +16 -0
- package/dist/js/file-image-Cfq22P82.js +16 -0
- package/dist/js/file-pdf-DCylukAg.js +16 -0
- package/dist/js/file-powerpoint-C6DzswIb.js +20 -0
- package/dist/js/file-spreadsheet-CTPCzUkz.js +16 -0
- package/dist/js/file-upload-BcyKmmb6.js +16 -0
- package/dist/js/file-video-Cd2RHPtq.js +16 -0
- package/dist/js/file-word-DQh1nnHH.js +16 -0
- package/dist/js/file-zip-CYBzjZrz.js +16 -0
- package/dist/js/filter-oIVHu9EV.js +16 -0
- package/dist/js/focused-layout-DruJ75An.js +341 -0
- package/dist/js/folder-DPDsY6uY.js +16 -0
- package/dist/js/folder-tabs-BA2kyVMs.js +94 -0
- package/dist/js/form-control-DQtkYFeD.js +82 -0
- package/dist/js/forward-5bpaLVsP.js +16 -0
- package/dist/js/fullscreen-CChtjoBn.js +16 -0
- package/dist/js/fullscreen-exit-BT7AABAN.js +16 -0
- package/dist/js/grid-DZ8TDSFa.js +167 -0
- package/dist/js/handle-keyboard-event-ChH0fIIS.js +7 -0
- package/dist/js/help-BPDDwBiK.js +20 -0
- package/dist/js/icons/add.js +3 -6
- package/dist/js/icons/announcement.js +3 -6
- package/dist/js/icons/app-switcher.js +3 -6
- package/dist/js/icons/archive.js +3 -6
- package/dist/js/icons/arrow-down.js +3 -6
- package/dist/js/icons/arrow-left.js +3 -6
- package/dist/js/icons/arrow-right.js +3 -6
- package/dist/js/icons/arrow-up.js +3 -6
- package/dist/js/icons/asterisk.js +3 -6
- package/dist/js/icons/attachment.js +3 -6
- package/dist/js/icons/automation.js +3 -6
- package/dist/js/icons/bath.js +3 -6
- package/dist/js/icons/bed.js +3 -6
- package/dist/js/icons/bill-bulk.js +3 -6
- package/dist/js/icons/bill.js +3 -6
- package/dist/js/icons/bookmark-bulk.js +3 -6
- package/dist/js/icons/bookmark.js +3 -6
- package/dist/js/icons/buy.js +3 -6
- package/dist/js/icons/calculator.js +3 -6
- package/dist/js/icons/calendar-user.js +3 -6
- package/dist/js/icons/calendar.js +3 -6
- package/dist/js/icons/camera.js +3 -6
- package/dist/js/icons/car.js +3 -6
- package/dist/js/icons/change-log.js +3 -6
- package/dist/js/icons/check-outline.js +3 -6
- package/dist/js/icons/check.js +3 -6
- package/dist/js/icons/checkbox-disabled.js +3 -6
- package/dist/js/icons/checkbox-indeterminate.js +3 -6
- package/dist/js/icons/checkbox-selected.js +3 -6
- package/dist/js/icons/checkbox.js +3 -6
- package/dist/js/icons/chevron-down.js +3 -6
- package/dist/js/icons/chevron-left.js +3 -6
- package/dist/js/icons/chevron-right.js +3 -6
- package/dist/js/icons/chevron-up.js +3 -6
- package/dist/js/icons/circular-add-solid.js +3 -6
- package/dist/js/icons/circular-add.js +3 -6
- package/dist/js/icons/circular-remove-solid.js +3 -6
- package/dist/js/icons/circular-remove.js +3 -6
- package/dist/js/icons/clear.js +3 -6
- package/dist/js/icons/close.js +3 -6
- package/dist/js/icons/cloud.js +3 -6
- package/dist/js/icons/compliance.js +3 -6
- package/dist/js/icons/consolidate.js +3 -6
- package/dist/js/icons/contact.js +3 -6
- package/dist/js/icons/contacts-alt.js +3 -6
- package/dist/js/icons/contacts.js +3 -6
- package/dist/js/icons/copy.js +3 -6
- package/dist/js/icons/dashboard.js +3 -6
- package/dist/js/icons/drag-indicator-alt.js +3 -6
- package/dist/js/icons/drag-indicator.js +3 -6
- package/dist/js/icons/edit.js +3 -6
- package/dist/js/icons/email-disabled.js +3 -6
- package/dist/js/icons/email-fill.js +3 -6
- package/dist/js/icons/email.js +3 -6
- package/dist/js/icons/error.js +3 -6
- package/dist/js/icons/euro.js +3 -6
- package/dist/js/icons/exit.js +3 -6
- package/dist/js/icons/expand.js +3 -6
- package/dist/js/icons/export.js +3 -6
- package/dist/js/icons/favourite.js +3 -6
- package/dist/js/icons/feather.js +3 -6
- package/dist/js/icons/feed.js +3 -6
- package/dist/js/icons/file-attached.js +3 -6
- package/dist/js/icons/file-audio.js +3 -6
- package/dist/js/icons/file-document.js +3 -6
- package/dist/js/icons/file-download.js +3 -6
- package/dist/js/icons/file-excel.js +3 -6
- package/dist/js/icons/file-image.js +3 -6
- package/dist/js/icons/file-pdf.js +3 -6
- package/dist/js/icons/file-powerpoint.js +3 -6
- package/dist/js/icons/file-spreadsheet.js +3 -6
- package/dist/js/icons/file-upload.js +3 -6
- package/dist/js/icons/file-video.js +3 -6
- package/dist/js/icons/file-word.js +3 -6
- package/dist/js/icons/file-zip.js +3 -6
- package/dist/js/icons/file.js +3 -6
- package/dist/js/icons/filter.js +3 -6
- package/dist/js/icons/folder.js +3 -6
- package/dist/js/icons/forward.js +3 -6
- package/dist/js/icons/fullscreen-exit.js +3 -6
- package/dist/js/icons/fullscreen.js +3 -6
- package/dist/js/icons/help.js +3 -6
- package/dist/js/icons/info-outline.js +3 -6
- package/dist/js/icons/info.js +3 -6
- package/dist/js/icons/insights.js +3 -6
- package/dist/js/icons/inspection-template.js +3 -6
- package/dist/js/icons/inspection.js +3 -6
- package/dist/js/icons/insurance.js +3 -6
- package/dist/js/icons/key.js +3 -6
- package/dist/js/icons/keyboard.js +3 -6
- package/dist/js/icons/land-size.js +3 -6
- package/dist/js/icons/laptop.js +3 -6
- package/dist/js/icons/link.js +3 -6
- package/dist/js/icons/location-alt.js +3 -6
- package/dist/js/icons/location-disabled.js +3 -6
- package/dist/js/icons/location-outline.js +3 -6
- package/dist/js/icons/location.js +3 -6
- package/dist/js/icons/lock-outline.js +3 -6
- package/dist/js/icons/lock.js +3 -6
- package/dist/js/icons/maintenance-alt.js +3 -6
- package/dist/js/icons/maintenance.js +3 -6
- package/dist/js/icons/marketplace.js +3 -6
- package/dist/js/icons/menu-alt.js +3 -6
- package/dist/js/icons/menu-collapse.js +3 -6
- package/dist/js/icons/menu-expand.js +3 -6
- package/dist/js/icons/menu.js +3 -6
- package/dist/js/icons/message-alt.js +3 -6
- package/dist/js/icons/message-disabled.js +3 -6
- package/dist/js/icons/message-typing.js +3 -6
- package/dist/js/icons/message.js +3 -6
- package/dist/js/icons/mic-off.js +3 -6
- package/dist/js/icons/mic-on.js +3 -6
- package/dist/js/icons/minus.js +3 -6
- package/dist/js/icons/mobile.js +3 -6
- package/dist/js/icons/money.js +3 -6
- package/dist/js/icons/monitor.js +3 -6
- package/dist/js/icons/mood-happy.js +3 -6
- package/dist/js/icons/mood-neutral.js +3 -6
- package/dist/js/icons/mood-unhappy.js +3 -6
- package/dist/js/icons/more-vert.js +3 -6
- package/dist/js/icons/more.js +3 -6
- package/dist/js/icons/note.js +3 -6
- package/dist/js/icons/notification.js +3 -6
- package/dist/js/icons/payment.js +3 -6
- package/dist/js/icons/people-alt.js +3 -6
- package/dist/js/icons/phone-disabled.js +3 -6
- package/dist/js/icons/phone.js +3 -6
- package/dist/js/icons/photo.js +3 -6
- package/dist/js/icons/pin.js +3 -6
- package/dist/js/icons/pound.js +3 -6
- package/dist/js/icons/power-on.js +3 -6
- package/dist/js/icons/printer.js +3 -6
- package/dist/js/icons/priority-high.js +3 -6
- package/dist/js/icons/priority-low.js +3 -6
- package/dist/js/icons/priority-medium.js +3 -6
- package/dist/js/icons/property-checked.js +3 -6
- package/dist/js/icons/property.js +3 -6
- package/dist/js/icons/radio-disabled.js +3 -6
- package/dist/js/icons/radio-selected.js +3 -6
- package/dist/js/icons/radio.js +3 -6
- package/dist/js/icons/refresh.js +3 -6
- package/dist/js/icons/rent.js +3 -6
- package/dist/js/icons/repeat.js +3 -6
- package/dist/js/icons/reply-all.js +3 -6
- package/dist/js/icons/reply.js +3 -6
- package/dist/js/icons/report.js +3 -6
- package/dist/js/icons/restore.js +3 -6
- package/dist/js/icons/sale.js +3 -6
- package/dist/js/icons/search.js +3 -6
- package/dist/js/icons/send.js +3 -6
- package/dist/js/icons/separator-dot.js +3 -6
- package/dist/js/icons/separator-line.js +3 -6
- package/dist/js/icons/settings-alt.js +3 -6
- package/dist/js/icons/settings.js +3 -6
- package/dist/js/icons/share.js +3 -6
- package/dist/js/icons/skip.js +3 -6
- package/dist/js/icons/social-facebook.js +3 -6
- package/dist/js/icons/social-instagram.js +3 -6
- package/dist/js/icons/social-linkedin.js +3 -6
- package/dist/js/icons/social-x.js +3 -6
- package/dist/js/icons/social-youtube.js +3 -6
- package/dist/js/icons/sort-ascend.js +3 -6
- package/dist/js/icons/sort-descend.js +3 -6
- package/dist/js/icons/sort.js +3 -6
- package/dist/js/icons/sprout.js +3 -6
- package/dist/js/icons/star.js +3 -6
- package/dist/js/icons/status-bad.js +3 -6
- package/dist/js/icons/status-good.js +3 -6
- package/dist/js/icons/status-paused.js +3 -6
- package/dist/js/icons/status-unknown.js +3 -6
- package/dist/js/icons/status.js +3 -6
- package/dist/js/icons/tag.js +3 -6
- package/dist/js/icons/task.js +3 -6
- package/dist/js/icons/time.js +3 -6
- package/dist/js/icons/trash.js +3 -6
- package/dist/js/icons/unarchive.js +3 -6
- package/dist/js/icons/user-outline.js +3 -6
- package/dist/js/icons/user.js +3 -6
- package/dist/js/icons/video.js +3 -6
- package/dist/js/icons/view-disabled.js +3 -6
- package/dist/js/icons/view.js +3 -6
- package/dist/js/icons/w3w.js +3 -6
- package/dist/js/icons/walking.js +3 -6
- package/dist/js/icons/wand.js +3 -6
- package/dist/js/icons/warning-outline.js +3 -6
- package/dist/js/icons/warning.js +3 -6
- package/dist/js/icons/web.js +3 -6
- package/dist/js/icons/workflow.js +3 -6
- package/dist/js/image-BRiVL8Ks.js +82 -0
- package/dist/js/index.js +330 -2032
- package/dist/js/info-50UfoXW0.js +16 -0
- package/dist/js/info-outline-DuyI9Tud.js +20 -0
- package/dist/js/input-error-C3ihEaQ2.js +10 -0
- package/dist/js/insights-Cuy09kEE.js +16 -0
- package/dist/js/inspection-0YRxB7fH.js +20 -0
- package/dist/js/inspection-template-DpHYJvas.js +24 -0
- package/dist/js/insurance-CJ_JvJhY.js +20 -0
- package/dist/js/intent-C9ST8Lgy.js +17 -0
- package/dist/js/key-CWd4uZQI.js +16 -0
- package/dist/js/key-value-list-zoqFOL6c.js +47 -0
- package/dist/js/keyboard-e3eSXfKI.js +20 -0
- package/dist/js/lab/mobile-nav-item.js +82 -81
- package/dist/js/lab/search-input.js +49 -47
- package/dist/js/lab/select-custom.js +255 -242
- package/dist/js/lab/table.js +51 -247
- package/dist/js/land-size-s6iYYgi_.js +20 -0
- package/dist/js/laptop-CHtEkpGb.js +16 -0
- package/dist/js/line-clamp-Dnywnv-Q.js +69 -0
- package/dist/js/link-BR_LMDDi.js +20 -0
- package/dist/js/listbox-D8N2pj3f.js +325 -0
- package/dist/js/location-DXA24FLd.js +16 -0
- package/dist/js/location-alt-BmJvHuVm.js +16 -0
- package/dist/js/location-disabled-7vClqgC2.js +16 -0
- package/dist/js/location-outline-CwJRUO8T.js +24 -0
- package/dist/js/lock-BEAtAaty.js +20 -0
- package/dist/js/lock-outline-C1AZOPMm.js +20 -0
- package/dist/js/maintenance-DbA1Pwpv.js +16 -0
- package/dist/js/maintenance-alt-CpZAiFUT.js +16 -0
- package/dist/js/make-icon-Cez0iOAn.js +19 -0
- package/dist/js/marketplace-BB11I052.js +16 -0
- package/dist/js/menu-BAaCecQl.js +160 -0
- package/dist/js/menu-alt-OnXOi_JO.js +16 -0
- package/dist/js/menu-collapse-DU6LyeCn.js +16 -0
- package/dist/js/menu-expand-C8qBRZBr.js +16 -0
- package/dist/js/menu-iic-I9DJ.js +216 -0
- package/dist/js/menu-qO_n9LIp.js +16 -0
- package/dist/js/message-B8Lv5vQK.js +16 -0
- package/dist/js/message-alt-jWRsvNac.js +16 -0
- package/dist/js/message-disabled-C1Qe82ik.js +16 -0
- package/dist/js/message-typing-DgYAZWuM.js +16 -0
- package/dist/js/mic-off-Bm8oNtgZ.js +16 -0
- package/dist/js/mic-on-DwJ49tv9.js +16 -0
- package/dist/js/minus-B1EjPOv4.js +16 -0
- package/dist/js/mobile-C_Fhel44.js +20 -0
- package/dist/js/money-B4P6e8Wb.js +16 -0
- package/dist/js/monitor-BEtC35sk.js +20 -0
- package/dist/js/mood-happy-Oc38eLTR.js +20 -0
- package/dist/js/mood-neutral-lJ552HiW.js +20 -0
- package/dist/js/mood-unhappy-CZitlGCW.js +20 -0
- package/dist/js/more-C48vCcIp.js +16 -0
- package/dist/js/more-vert-CrVmchnW.js +16 -0
- package/dist/js/note-CgXc6lLt.js +16 -0
- package/dist/js/notification-CdxKzjPs.js +16 -0
- package/dist/js/pagination-CKAz2yiv.js +118 -0
- package/dist/js/payment-CiGr1F1v.js +20 -0
- package/dist/js/people-alt-DDqy3o69.js +24 -0
- package/dist/js/phone-Cd9OIYrK.js +16 -0
- package/dist/js/phone-disabled-DD1btdQA.js +16 -0
- package/dist/js/photo-D9oujcFA.js +20 -0
- package/dist/js/pin-dU1iOY6t.js +16 -0
- package/dist/js/placeholder-image-Bi5KGPBK.js +95 -0
- package/dist/js/polyfills/css-anchor-positioning/preload.js +5512 -6395
- package/dist/js/popover-DY4LMxoS.js +54 -0
- package/dist/js/pound-BLoFePcp.js +16 -0
- package/dist/js/power-on-td8bQPFF.js +16 -0
- package/dist/js/printer-CoAYV2gM.js +20 -0
- package/dist/js/priority-high-ajPteSke.js +16 -0
- package/dist/js/priority-low-DlaE6eGw.js +16 -0
- package/dist/js/priority-medium-xsmLvOyJ.js +16 -0
- package/dist/js/property-DwOpD6Ha.js +16 -0
- package/dist/js/property-checked-BIeaD_ll.js +20 -0
- package/dist/js/radio-CEPTmLgl.js +16 -0
- package/dist/js/radio-disabled-BXjjUUL5.js +16 -0
- package/dist/js/radio-selected-kBDbF0wL.js +20 -0
- package/dist/js/random-id-BxeKOQ7Q.js +12 -0
- package/dist/js/reapit-logo-Nv2hjKDw.js +8 -0
- package/dist/js/refresh-VYYZHENj.js +16 -0
- package/dist/js/rent-Cd-bHl3M.js +20 -0
- package/dist/js/repeat-DTipPiMM.js +16 -0
- package/dist/js/reply-DJYHlcW3.js +16 -0
- package/dist/js/reply-all-D0WhvN-c.js +16 -0
- package/dist/js/report-DxFlOmd3.js +16 -0
- package/dist/js/restore-CskXLGEw.js +16 -0
- package/dist/js/sale-9fov5ZI0.js +20 -0
- package/dist/js/search-DhLCx1EN.js +16 -0
- package/dist/js/search-input-By1Ic_Ny.js +70 -0
- package/dist/js/searchable-dropdown-BpO8AX4F.js +140 -0
- package/dist/js/send-DE5xpqzA.js +20 -0
- package/dist/js/separator-dot-C-ZguJ-W.js +16 -0
- package/dist/js/separator-line-B7JjpgmJ.js +16 -0
- package/dist/js/settings-BCXYPWjv.js +16 -0
- package/dist/js/settings-alt-P9XSMGWM.js +20 -0
- package/dist/js/share-DVGavR-C.js +16 -0
- package/dist/js/side-bar-BBvA_1C3.js +443 -0
- package/dist/js/skip-B0nDynz8.js +16 -0
- package/dist/js/social-facebook-CnKy7D74.js +16 -0
- package/dist/js/social-instagram-D2InKNeN.js +28 -0
- package/dist/js/social-linkedin-013BGt8o.js +20 -0
- package/dist/js/social-x-3FeZk2Ko.js +16 -0
- package/dist/js/social-youtube-DbKaeGP-.js +24 -0
- package/dist/js/sort-CmIP7GBQ.js +20 -0
- package/dist/js/sort-ascend-BKWnaZEd.js +16 -0
- package/dist/js/sort-descend-D8rryWGa.js +16 -0
- package/dist/js/split-button-DFBxwh1k.js +108 -0
- package/dist/js/sprout-BrV3YhyX.js +16 -0
- package/dist/js/star-DT9MUbRk.js +16 -0
- package/dist/js/status-CpBBOLUe.js +20 -0
- package/dist/js/status-bad-BA6keY5W.js +16 -0
- package/dist/js/status-good-CMhGIhie.js +16 -0
- package/dist/js/status-paused-BemTVyZF.js +16 -0
- package/dist/js/status-unknown-BhUurRv8.js +16 -0
- package/dist/js/style.css +2 -1
- package/dist/js/table-CHkmJDGJ.js +311 -0
- package/dist/js/tag-DpZ10WwA.js +20 -0
- package/dist/js/task-Bac57bn1.js +16 -0
- package/dist/js/text-input-DUNeI9tX.js +66 -0
- package/dist/js/textarea-7xBe0lxq.js +117 -0
- package/dist/js/theme-provider-CivqaPB6.js +14 -0
- package/dist/js/time-CYlLC4BM.js +20 -0
- package/dist/js/top-bar-CsrMPjFR.js +851 -0
- package/dist/js/trash-C2M6fnpg.js +16 -0
- package/dist/js/unarchive-Dbxw2fZf.js +16 -0
- package/dist/js/user-oYV0D6sh.js +24 -0
- package/dist/js/user-outline-C8xdBKqL.js +20 -0
- package/dist/js/utils/anchor-positioning.js +2 -7
- package/dist/js/utils/breakpoints.js +16 -16
- package/dist/js/utils/combobox.js +16 -67
- package/dist/js/utils/css-container-query.js +19 -3
- package/dist/js/utils/dialog.js +88 -14
- package/dist/js/utils/events.js +2 -4
- package/dist/js/utils/font.js +40 -8
- package/dist/js/utils/heading.js +19 -5
- package/dist/js/utils/image.js +191 -14
- package/dist/js/utils/keyboard-navigation.js +39 -8
- package/dist/js/utils/line-clamp.js +4 -6
- package/dist/js/utils/listbox.js +2 -25
- package/dist/js/utils/match-media.js +22 -6
- package/dist/js/utils/mutation-observer.js +20 -4
- package/dist/js/utils/path.js +38 -41
- package/dist/js/utils/popover.js +3 -10
- package/dist/js/utils/text.js +38 -7
- package/dist/js/utils/url-search-params.js +20 -23
- package/dist/js/video-Bax68ie6.js +16 -0
- package/dist/js/view-ChamRHTB.js +16 -0
- package/dist/js/view-disabled-kJVn6LUt.js +24 -0
- package/dist/js/w3w-Dh4ikaI9.js +20 -0
- package/dist/js/walking-B73-Xw3g.js +16 -0
- package/dist/js/wand-OdJ2BKhn.js +22 -0
- package/dist/js/warning-Iqo7845c.js +16 -0
- package/dist/js/warning-outline-BzflJhDf.js +20 -0
- package/dist/js/web-Cs3lnQLH.js +20 -0
- package/dist/js/workflow-BROuBit0.js +16 -0
- package/dist/types/core/app-switcher/app-avatar/app-avatar.d.ts.map +1 -1
- package/dist/types/core/app-switcher/config.d.ts +8 -4
- package/dist/types/core/app-switcher/config.d.ts.map +1 -1
- package/dist/types/core/focused-layout/product-logo/product-device.d.ts +1 -1
- package/dist/types/core/focused-layout/product-logo/product-device.d.ts.map +1 -1
- package/dist/types/core/focused-layout/product-logo/product-logo.stories.d.ts +1 -1
- package/dist/types/core/focused-layout/top-bar/styles.d.ts.map +1 -1
- package/dist/types/core/top-bar/brand-logo/app-logo.d.ts +1 -1
- package/dist/types/core/top-bar/brand-logo/app-logo.d.ts.map +1 -1
- package/dist/types/core/top-bar/brand-logo/brand-logo.stories.d.ts +1 -1
- package/dist/types/core/top-bar/top-bar.stories.d.ts +1 -1
- package/dist/types/deprecated/snack/__styles__/index.d.ts +2 -2
- package/dist/types/deprecated/snack/__styles__/index.d.ts.map +1 -1
- package/dist/types/deprecated/snack/snack.stories.d.ts.map +1 -1
- package/dist/types/deprecated/snack/use-snack-hook.story-component.d.ts.map +1 -1
- package/dist/types/deprecated/use-snack/index.d.ts.map +1 -1
- package/dist/types/lab/table/index.d.ts +0 -9
- package/dist/types/lab/table/index.d.ts.map +1 -1
- package/dist/types/lab/table/table-row-selection/table-row-selection.stories.d.ts.map +1 -1
- package/dist/types/utils/line-clamp/line-clamp.d.ts +8 -1
- package/dist/types/utils/line-clamp/line-clamp.d.ts.map +1 -1
- package/dist/types/utils/line-clamp/line-clamp.stories.d.ts +6 -0
- package/dist/types/utils/line-clamp/line-clamp.stories.d.ts.map +1 -1
- package/dist/types/utils/line-clamp/styles.d.ts.map +1 -1
- package/package.json +34 -18
- package/dist/js/accordion-B0734DAQ.js +0 -64
- package/dist/js/accordion-Btho-WcS.js +0 -85
- package/dist/js/anchor-button-BziZ6ILT.js +0 -8
- package/dist/js/anchor-positioning-mAfJClCi.js +0 -227
- package/dist/js/app-logo-DI6bR-xZ.js +0 -63
- package/dist/js/app-switcher-Bm90a8vK.js +0 -220
- package/dist/js/at-a-glance-BbS4ZV9w.js +0 -411
- package/dist/js/autocomplete-B52iohYn.js +0 -71
- package/dist/js/autocomplete-control-CZ4Vucbe.js +0 -60
- package/dist/js/avatar-BDtxrc67.js +0 -18
- package/dist/js/avatar-DIvtb4yk.js +0 -17
- package/dist/js/avatar-rectangle-D_4N7b3s.js +0 -61
- package/dist/js/badge-C_Za5PMD.js +0 -45
- package/dist/js/bottom-bar-DIdKkbsi.js +0 -165
- package/dist/js/breadcrumb-CAuX99Z8.js +0 -41
- package/dist/js/breadcrumbs-BWlvDhsp.js +0 -57
- package/dist/js/button-DYIdjjTt.js +0 -8
- package/dist/js/button-base-BxF98pDk.js +0 -66
- package/dist/js/button-group-C_HZw9c2.js +0 -36
- package/dist/js/card-components-BaP35QAh.js +0 -167
- package/dist/js/checkbox-cFCI8ez9.js +0 -57
- package/dist/js/checkbox-control-DpvEbZAD.js +0 -24
- package/dist/js/checkbox-group-control-BHPHLTNj.js +0 -86
- package/dist/js/checkbox-input-ClWQ-7ht.js +0 -34
- package/dist/js/chip-C_CmNher.js +0 -35
- package/dist/js/chip-DVE3cPRV.js +0 -59
- package/dist/js/chip-group-DqeYXW9V.js +0 -55
- package/dist/js/chip-select-DGFY8r8u.js +0 -150
- package/dist/js/chip-select-control-Cp624tcE.js +0 -38
- package/dist/js/combobox-BWpgpDF-.js +0 -764
- package/dist/js/compact-select-native-BQHpautP.js +0 -44
- package/dist/js/compact-select-wWObHy-3.js +0 -73
- package/dist/js/css-container-query-ClGjnGjY.js +0 -21
- package/dist/js/date-time-control-D3_FLY1i.js +0 -37
- package/dist/js/date-time-input-Chguwomu.js +0 -65
- package/dist/js/deprecated-flexbox-DQBOO02s.js +0 -32
- package/dist/js/deprecated-spacing-CGGxnk0m.js +0 -192
- package/dist/js/deprecated-states-CuyVqPko.js +0 -7
- package/dist/js/description-list-CDjbPlrm.js +0 -76
- package/dist/js/dialog-ClE5sN9s.js +0 -120
- package/dist/js/divider-BJNv9iOS.js +0 -14
- package/dist/js/drawer-C8OMQUV0.js +0 -155
- package/dist/js/drawer-DKjHTSTt.js +0 -109
- package/dist/js/empty-data-eg2wqs9C.js +0 -49
- package/dist/js/features-xSaxyxVa.js +0 -67
- package/dist/js/file-input-D989Qy72.js +0 -109
- package/dist/js/filter-bar-yQLqpYAP.js +0 -85
- package/dist/js/focused-layout-DnFFxxu0.js +0 -133
- package/dist/js/folder-tabs-B8v-UCrh.js +0 -66
- package/dist/js/font-CDwMaKtw.js +0 -18
- package/dist/js/form-control-DiJRG5Z3.js +0 -78
- package/dist/js/form-layout-B8x1cn9-.js +0 -50
- package/dist/js/get-closest-dialog-element-PaoHhqBs.js +0 -45
- package/dist/js/grid-responsive-513qfi3T.js +0 -190
- package/dist/js/handle-arrow-navigation-r7GKm-no.js +0 -33
- package/dist/js/handle-keyboard-event-DUi59qMJ.js +0 -7
- package/dist/js/heading-C1OwFzX8.js +0 -27
- package/dist/js/image-DZ3eoRyv.js +0 -252
- package/dist/js/index-BsMVp4qF.js +0 -19
- package/dist/js/input-B6HXxPfD.js +0 -24
- package/dist/js/input-add-on-DiRZvdY2.js +0 -16
- package/dist/js/input-error-D3b0rV0V.js +0 -10
- package/dist/js/input-group-eFcDWbI_.js +0 -32
- package/dist/js/intent-eC1XwIfy.js +0 -27
- package/dist/js/key-value-list-BOtu4g8-.js +0 -41
- package/dist/js/label-text-CdSGzVDN.js +0 -17
- package/dist/js/layout-9vWoOGXZ.js +0 -96
- package/dist/js/line-clamp-B8Z8vzU2.js +0 -71
- package/dist/js/link-0CvqUaSw.js +0 -14
- package/dist/js/listbox-LxpZYH0B.js +0 -349
- package/dist/js/loader-JabwMHpN.js +0 -30
- package/dist/js/main-container-BN8zxo5R.js +0 -36
- package/dist/js/make-icon-Cob4GLCf.js +0 -12
- package/dist/js/match-media-BhV24ZxC.js +0 -7
- package/dist/js/menu-B1QgNIUr.js +0 -249
- package/dist/js/menu-CP0Bep1V.js +0 -186
- package/dist/js/mobile-controls-D-uLuGMt.js +0 -82
- package/dist/js/modal-BEr2T5o_.js +0 -70
- package/dist/js/multi-select-B0ZJPy4i.js +0 -144
- package/dist/js/nav-responsive-CgrAMnq3.js +0 -345
- package/dist/js/open-dialog-KqBCcS5k.js +0 -28
- package/dist/js/page-header-Cs8b0-nW.js +0 -140
- package/dist/js/page-header-mgRtDaDf.js +0 -96
- package/dist/js/page-layout-CbWHKEPz.js +0 -84
- package/dist/js/pagination-CRNeoREJ.js +0 -122
- package/dist/js/pagination-DfWWGTQ_.js +0 -97
- package/dist/js/persistent-notification-CixRUCjB.js +0 -52
- package/dist/js/placeholder-image-BYVgWq1E.js +0 -94
- package/dist/js/popover-dzUc2bK7.js +0 -87
- package/dist/js/portal-BRXmp7vv.js +0 -107
- package/dist/js/primary-tabs-DVflfeAn.js +0 -44
- package/dist/js/progress-bar-D-DYT24o.js +0 -85
- package/dist/js/radio-group-control-DpWIWxQk.js +0 -121
- package/dist/js/radio-input-Dg2iV-qr.js +0 -32
- package/dist/js/random-id-Dlehz5dT.js +0 -13
- package/dist/js/reapit-logo-B_sih0aD.js +0 -5
- package/dist/js/search-input-BlrBgOkw.js +0 -85
- package/dist/js/searchable-dropdown-X5DnLmzW.js +0 -166
- package/dist/js/secondary-nav-BqwHmwNq.js +0 -34
- package/dist/js/secondary-tabs-BdLPg_Zq.js +0 -52
- package/dist/js/section-message-jmvLh2na.js +0 -68
- package/dist/js/select-Cv19V9Vm.js +0 -66
- package/dist/js/select-D194sGVo.js +0 -22
- package/dist/js/select-control-ClgSoo2Q.js +0 -65
- package/dist/js/select-native-ByyCCnDO.js +0 -44
- package/dist/js/select-native-control-BJdng5Wq.js +0 -37
- package/dist/js/side-bar-CXnSnr3R.js +0 -407
- package/dist/js/skeleton-DaNygrTq.js +0 -11
- package/dist/js/snack-Cenb_AYg.js +0 -29
- package/dist/js/split-button-CrofNP3Q.js +0 -108
- package/dist/js/status-indicator-B6n1wrFS.js +0 -25
- package/dist/js/status-indicator-BQ_3TDKw.js +0 -14
- package/dist/js/steps-B1wIDinq.js +0 -87
- package/dist/js/supplementary-info-WVrYl3ul.js +0 -30
- package/dist/js/switch-OFAtDhl3.js +0 -25
- package/dist/js/switch-input-BVVG6axB.js +0 -15
- package/dist/js/table-2CxL0Pev.js +0 -309
- package/dist/js/table-BbBqo5gH.js +0 -308
- package/dist/js/tabs-Bzg_b8Dg.js +0 -83
- package/dist/js/tag-BgwYyC_s.js +0 -26
- package/dist/js/tag-group-nkdvgi9Y.js +0 -26
- package/dist/js/text-Ceho0w2U.js +0 -31
- package/dist/js/text-control-CIDimADU.js +0 -37
- package/dist/js/text-input-CQ8ew1_x.js +0 -82
- package/dist/js/textarea-B43vehWa.js +0 -148
- package/dist/js/textarea-control-CP0F_JLO.js +0 -37
- package/dist/js/theme-provider-h96i6AvJ.js +0 -16
- package/dist/js/tile-BMppJP_J.js +0 -25
- package/dist/js/toggle-rMKyK3Pi.js +0 -98
- package/dist/js/tool-tip-B4g3Mdgd.js +0 -26
- package/dist/js/tooltip-Bj7DqYdo.js +0 -92
- package/dist/js/top-bar-BAtb9REF.js +0 -871
- package/dist/js/types-B3mWjCHF.js +0 -19
- package/dist/js/typography-DeZ1Nfkq.js +0 -110
- package/dist/js/units.wyw-in-js-DsSym_kZ.js +0 -54
- package/dist/js/use-dialog-open-controller-kj_mwIKH.js +0 -13
- package/dist/js/use-dialog-open-state-QCDyC33W.js +0 -18
- package/dist/js/use-match-media-3UiitAUD.js +0 -20
- package/dist/js/use-mutation-observer-hOVGFYZQ.js +0 -19
- package/dist/js/use-with-stop-propagation-C8IfNsCj.js +0 -12
- package/dist/types/lab/table/table/__tests__/table.test.d.ts +0 -2
- package/dist/types/lab/table/table/__tests__/table.test.d.ts.map +0 -1
- package/dist/types/lab/table/table/index.d.ts +0 -3
- package/dist/types/lab/table/table/index.d.ts.map +0 -1
- package/dist/types/lab/table/table/styles.d.ts +0 -2
- package/dist/types/lab/table/table/styles.d.ts.map +0 -1
- package/dist/types/lab/table/table/table.d.ts +0 -36
- package/dist/types/lab/table/table/table.d.ts.map +0 -1
- package/dist/types/lab/table/table/table.stories.d.ts +0 -8
- package/dist/types/lab/table/table/table.stories.d.ts.map +0 -1
- package/dist/types/lab/table/table-body/__tests__/table-body.test.d.ts +0 -2
- package/dist/types/lab/table/table-body/__tests__/table-body.test.d.ts.map +0 -1
- package/dist/types/lab/table/table-body/index.d.ts +0 -3
- package/dist/types/lab/table/table-body/index.d.ts.map +0 -1
- package/dist/types/lab/table/table-body/styles.d.ts +0 -2
- package/dist/types/lab/table/table-body/styles.d.ts.map +0 -1
- package/dist/types/lab/table/table-body/table-body.d.ts +0 -23
- package/dist/types/lab/table/table-body/table-body.d.ts.map +0 -1
- package/dist/types/lab/table/table-body/table-body.stories.d.ts +0 -8
- package/dist/types/lab/table/table-body/table-body.stories.d.ts.map +0 -1
- package/dist/types/lab/table/table-cell/__tests__/double-line-cell.test.d.ts +0 -2
- package/dist/types/lab/table/table-cell/__tests__/double-line-cell.test.d.ts.map +0 -1
- package/dist/types/lab/table/table-cell/__tests__/single-line-cell.test.d.ts +0 -2
- package/dist/types/lab/table/table-cell/__tests__/single-line-cell.test.d.ts.map +0 -1
- package/dist/types/lab/table/table-cell/double-line-cell.d.ts +0 -30
- package/dist/types/lab/table/table-cell/double-line-cell.d.ts.map +0 -1
- package/dist/types/lab/table/table-cell/double-line-cell.stories.d.ts +0 -33
- package/dist/types/lab/table/table-cell/double-line-cell.stories.d.ts.map +0 -1
- package/dist/types/lab/table/table-cell/index.d.ts +0 -4
- package/dist/types/lab/table/table-cell/index.d.ts.map +0 -1
- package/dist/types/lab/table/table-cell/single-line-cell.d.ts +0 -26
- package/dist/types/lab/table/table-cell/single-line-cell.d.ts.map +0 -1
- package/dist/types/lab/table/table-cell/single-line-cell.stories.d.ts +0 -22
- package/dist/types/lab/table/table-cell/single-line-cell.stories.d.ts.map +0 -1
- package/dist/types/lab/table/table-cell/styles.d.ts +0 -22
- package/dist/types/lab/table/table-cell/styles.d.ts.map +0 -1
- package/dist/types/lab/table/table-container/__tests__/table-container.test.d.ts +0 -2
- package/dist/types/lab/table/table-container/__tests__/table-container.test.d.ts.map +0 -1
- package/dist/types/lab/table/table-container/index.d.ts +0 -3
- package/dist/types/lab/table/table-container/index.d.ts.map +0 -1
- package/dist/types/lab/table/table-container/styles.d.ts +0 -2
- package/dist/types/lab/table/table-container/styles.d.ts.map +0 -1
- package/dist/types/lab/table/table-container/table-container.d.ts +0 -7
- package/dist/types/lab/table/table-container/table-container.d.ts.map +0 -1
- package/dist/types/lab/table/table-container/table-container.stories.d.ts +0 -8
- package/dist/types/lab/table/table-container/table-container.stories.d.ts.map +0 -1
- package/dist/types/lab/table/table-head/__tests__/table-head.test.d.ts +0 -2
- package/dist/types/lab/table/table-head/__tests__/table-head.test.d.ts.map +0 -1
- package/dist/types/lab/table/table-head/index.d.ts +0 -3
- package/dist/types/lab/table/table-head/index.d.ts.map +0 -1
- package/dist/types/lab/table/table-head/styles.d.ts +0 -2
- package/dist/types/lab/table/table-head/styles.d.ts.map +0 -1
- package/dist/types/lab/table/table-head/table-head.d.ts +0 -22
- package/dist/types/lab/table/table-head/table-head.d.ts.map +0 -1
- package/dist/types/lab/table/table-head/table-head.stories.d.ts +0 -11
- package/dist/types/lab/table/table-head/table-head.stories.d.ts.map +0 -1
- package/dist/types/lab/table/table-header-cell/__tests__/table-header-cell.test.d.ts +0 -2
- package/dist/types/lab/table/table-header-cell/__tests__/table-header-cell.test.d.ts.map +0 -1
- package/dist/types/lab/table/table-header-cell/index.d.ts +0 -3
- package/dist/types/lab/table/table-header-cell/index.d.ts.map +0 -1
- package/dist/types/lab/table/table-header-cell/styles.d.ts +0 -16
- package/dist/types/lab/table/table-header-cell/styles.d.ts.map +0 -1
- package/dist/types/lab/table/table-header-cell/table-header-cell.d.ts +0 -24
- package/dist/types/lab/table/table-header-cell/table-header-cell.d.ts.map +0 -1
- package/dist/types/lab/table/table-header-cell/table-header-cell.stories.d.ts +0 -11
- package/dist/types/lab/table/table-header-cell/table-header-cell.stories.d.ts.map +0 -1
- package/dist/types/lab/table/table-row/__tests__/table-row.test.d.ts +0 -2
- package/dist/types/lab/table/table-row/__tests__/table-row.test.d.ts.map +0 -1
- package/dist/types/lab/table/table-row/index.d.ts +0 -3
- package/dist/types/lab/table/table-row/index.d.ts.map +0 -1
- package/dist/types/lab/table/table-row/styles.d.ts +0 -6
- package/dist/types/lab/table/table-row/styles.d.ts.map +0 -1
- package/dist/types/lab/table/table-row/table-row.d.ts +0 -28
- package/dist/types/lab/table/table-row/table-row.d.ts.map +0 -1
- package/dist/types/lab/table/table-row/table-row.stories.d.ts +0 -8
- package/dist/types/lab/table/table-row/table-row.stories.d.ts.map +0 -1
- package/dist/types/lab/table/table-text/__tests__/table-text.test.d.ts +0 -2
- package/dist/types/lab/table/table-text/__tests__/table-text.test.d.ts.map +0 -1
- package/dist/types/lab/table/table-text/index.d.ts +0 -3
- package/dist/types/lab/table/table-text/index.d.ts.map +0 -1
- package/dist/types/lab/table/table-text/styles.d.ts +0 -4
- package/dist/types/lab/table/table-text/styles.d.ts.map +0 -1
- package/dist/types/lab/table/table-text/table-text.d.ts +0 -12
- package/dist/types/lab/table/table-text/table-text.d.ts.map +0 -1
- package/dist/types/lab/table/table-text/table-text.stories.d.ts +0 -50
- package/dist/types/lab/table/table-text/table-text.stories.d.ts.map +0 -1
- package/dist/types/lab/table/table-toolbar/__tests__/table-toolbar.test.d.ts +0 -2
- package/dist/types/lab/table/table-toolbar/__tests__/table-toolbar.test.d.ts.map +0 -1
- package/dist/types/lab/table/table-toolbar/index.d.ts +0 -3
- package/dist/types/lab/table/table-toolbar/index.d.ts.map +0 -1
- package/dist/types/lab/table/table-toolbar/styles.d.ts +0 -4
- package/dist/types/lab/table/table-toolbar/styles.d.ts.map +0 -1
- package/dist/types/lab/table/table-toolbar/table-toolbar.d.ts +0 -8
- package/dist/types/lab/table/table-toolbar/table-toolbar.d.ts.map +0 -1
- package/dist/types/lab/table/table-toolbar/table-toolbar.stories.d.ts +0 -24
- package/dist/types/lab/table/table-toolbar/table-toolbar.stories.d.ts.map +0 -1
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
import { t as e } from "./dist-DLc9lUhF.js";
|
|
2
|
+
import { useMutationObserver as t } from "./utils/mutation-observer.js";
|
|
3
|
+
import { Divider as n } from "./core/divider.js";
|
|
4
|
+
import { handleArrowNavigation as r } from "./utils/keyboard-navigation.js";
|
|
5
|
+
import { createContext as i, forwardRef as a, useCallback as o, useContext as s, useEffect as c, useId as l, useMemo as u, useRef as d, useState as f } from "react";
|
|
6
|
+
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
7
|
+
//#region src/utils/listbox/context.ts
|
|
8
|
+
var h = i(null);
|
|
9
|
+
function g() {
|
|
10
|
+
let e = s(h);
|
|
11
|
+
if (!e) throw Error("useListboxContext must be used within a Listbox");
|
|
12
|
+
return e;
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/utils/listbox/dom-helpers/common.ts
|
|
16
|
+
var _ = class e extends Error {
|
|
17
|
+
constructor(t) {
|
|
18
|
+
super(t), this.name = "ListboxError", Error.captureStackTrace && Error.captureStackTrace(this, e);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
function v(e) {
|
|
22
|
+
let t;
|
|
23
|
+
if (typeof e == "string") {
|
|
24
|
+
let n = document.getElementById(e);
|
|
25
|
+
if (!n) throw new _(`Listbox with id "${e}" does not exist in the document`);
|
|
26
|
+
t = n;
|
|
27
|
+
} else t = e;
|
|
28
|
+
let n = t.firstElementChild;
|
|
29
|
+
if (!(n instanceof HTMLSelectElement)) throw new _(`${typeof e == "string" ? `Listbox with id "${e}"` : "Listbox element"} does not contain a select element as its first child. Found: ${n?.constructor.name ?? "null"}`);
|
|
30
|
+
return n;
|
|
31
|
+
}
|
|
32
|
+
function y(e, t) {
|
|
33
|
+
let n = Array.from(e.options).find((e) => e.value === t);
|
|
34
|
+
if (!(n instanceof HTMLOptionElement)) throw new _(`Option with value "${t}" does not exist in select element. Available values: [${Array.from(e.options).map((e) => e.value).join(", ")}]`);
|
|
35
|
+
return n;
|
|
36
|
+
}
|
|
37
|
+
function b(e) {
|
|
38
|
+
let t = new Event("input", {
|
|
39
|
+
bubbles: !0,
|
|
40
|
+
cancelable: !0
|
|
41
|
+
});
|
|
42
|
+
e.dispatchEvent(t);
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/utils/listbox/dom-helpers/clear-listbox-value.ts
|
|
46
|
+
function x(e) {
|
|
47
|
+
let t = v(e), n = t.selectedOptions.length > 0;
|
|
48
|
+
for (let e of Array.from(t.selectedOptions)) e.selected = !1;
|
|
49
|
+
n && b(t);
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/utils/listbox/dom-helpers/get-listbox-value.ts
|
|
53
|
+
function S(e) {
|
|
54
|
+
let t = e instanceof HTMLSelectElement ? e : v(e), n = Array.from(t.selectedOptions).map((e) => e.value).filter((e) => e !== "");
|
|
55
|
+
return t.multiple ? n : n[0] ?? "";
|
|
56
|
+
}
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/utils/listbox/dom-helpers/selectors.ts
|
|
59
|
+
var C = ":is(button[role=\"option\"], summary)", w = `${C}:is([aria-checked="true"], [aria-selected="true"])`;
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region src/utils/listbox/dom-helpers/get-listbox-selected-options.ts
|
|
62
|
+
function T(e) {
|
|
63
|
+
return Array.from(e.querySelectorAll(w)).filter((e) => e instanceof HTMLButtonElement && e.value !== "");
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/utils/listbox/dom-helpers/is-listbox-option-selected.ts
|
|
67
|
+
function E(e) {
|
|
68
|
+
return e.ariaChecked === "true" || e.ariaSelected === "true";
|
|
69
|
+
}
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/utils/listbox/dom-helpers/set-listbox-option-selected-state.ts
|
|
72
|
+
function D(e, t, n) {
|
|
73
|
+
let r = v(e), i = y(r, t), a = i.selected;
|
|
74
|
+
i.selected = n(i.selected, r), a !== i.selected && b(r);
|
|
75
|
+
}
|
|
76
|
+
//#endregion
|
|
77
|
+
//#region src/utils/listbox/get-select-id.ts
|
|
78
|
+
function O(e) {
|
|
79
|
+
return `${e}-select`;
|
|
80
|
+
}
|
|
81
|
+
//#endregion
|
|
82
|
+
//#region src/utils/listbox/render-context.ts
|
|
83
|
+
var k = i(null);
|
|
84
|
+
function A() {
|
|
85
|
+
let e = s(k);
|
|
86
|
+
if (!e) throw Error("useListboxRenderContext must be used within a Listbox");
|
|
87
|
+
return e;
|
|
88
|
+
}
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region src/utils/listbox/option/update-option-selection.ts
|
|
91
|
+
var j = {
|
|
92
|
+
auto: (e, t) => t.multiple ? !e : !0,
|
|
93
|
+
toggle: (e) => !e,
|
|
94
|
+
select: () => !0
|
|
95
|
+
};
|
|
96
|
+
function M(e) {
|
|
97
|
+
return e === "auto" || e === "toggle" || e === "select";
|
|
98
|
+
}
|
|
99
|
+
function N(e) {
|
|
100
|
+
let { listboxId: t, selectAction: n } = e.currentTarget.dataset, r = e.currentTarget.value;
|
|
101
|
+
!t || typeof r != "string" || M(n) && D(t, r, j[n]);
|
|
102
|
+
}
|
|
103
|
+
//#endregion
|
|
104
|
+
//#region src/utils/listbox/option/option.tsx
|
|
105
|
+
function P({ as: e, children: t, disabled: n, onClick: r, value: i, ...a }) {
|
|
106
|
+
let o = e || "button", s = g(), c = A(), l = s.selectValue.includes(i) || i === "" && s.selectValue.length === 0;
|
|
107
|
+
if (c === "native") return l ? null : /* @__PURE__ */ p("option", {
|
|
108
|
+
value: i,
|
|
109
|
+
children: t
|
|
110
|
+
});
|
|
111
|
+
let u = (e) => {
|
|
112
|
+
r?.(e), N(e);
|
|
113
|
+
};
|
|
114
|
+
return /* @__PURE__ */ p(o, {
|
|
115
|
+
...a,
|
|
116
|
+
"aria-checked": s.multiple ? l : void 0,
|
|
117
|
+
"aria-selected": s.multiple ? void 0 : l,
|
|
118
|
+
"data-listbox-id": s.listboxId,
|
|
119
|
+
"data-select-action": s.selectAction,
|
|
120
|
+
disabled: s.disabled || n,
|
|
121
|
+
onClick: u,
|
|
122
|
+
role: "option",
|
|
123
|
+
tabIndex: -1,
|
|
124
|
+
type: "button",
|
|
125
|
+
value: i,
|
|
126
|
+
children: t
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
P.displayName = "Listbox.Option";
|
|
130
|
+
//#endregion
|
|
131
|
+
//#region src/utils/listbox/optgroup/optgroup.tsx
|
|
132
|
+
function F({ as: e, children: t, label: n, ...r }) {
|
|
133
|
+
return A() === "native" ? /* @__PURE__ */ p("optgroup", {
|
|
134
|
+
label: n,
|
|
135
|
+
children: t
|
|
136
|
+
}) : /* @__PURE__ */ p(e, {
|
|
137
|
+
...r,
|
|
138
|
+
label: n,
|
|
139
|
+
role: "group",
|
|
140
|
+
children: t
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
F.displayName = "Listbox.Optgroup";
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/utils/listbox/select/styles.ts
|
|
146
|
+
var I = /* @__PURE__ */ e("select")({
|
|
147
|
+
name: "ElListboxSelect",
|
|
148
|
+
class: "el-listbox-select",
|
|
149
|
+
propsAsIs: !1
|
|
150
|
+
}), L = a(function({ children: e, onChange: t, placeholder: n = "Select an option", multiple: r, value: i, ...a }, o) {
|
|
151
|
+
return /* @__PURE__ */ m(I, {
|
|
152
|
+
...a,
|
|
153
|
+
hidden: !0,
|
|
154
|
+
multiple: r,
|
|
155
|
+
onChange: t,
|
|
156
|
+
onInput: t,
|
|
157
|
+
ref: o,
|
|
158
|
+
value: r ? i : i[0] ?? "",
|
|
159
|
+
children: [
|
|
160
|
+
!r && /* @__PURE__ */ p("option", {
|
|
161
|
+
value: "",
|
|
162
|
+
children: n
|
|
163
|
+
}),
|
|
164
|
+
i.map((e) => /* @__PURE__ */ p("option", {
|
|
165
|
+
value: e,
|
|
166
|
+
children: e
|
|
167
|
+
}, e)),
|
|
168
|
+
/* @__PURE__ */ p(k.Provider, {
|
|
169
|
+
value: "native",
|
|
170
|
+
children: e
|
|
171
|
+
})
|
|
172
|
+
]
|
|
173
|
+
});
|
|
174
|
+
});
|
|
175
|
+
//#endregion
|
|
176
|
+
//#region src/utils/listbox/use-focus-management/handle-blur-event.ts
|
|
177
|
+
function R(e) {
|
|
178
|
+
let t = e.currentTarget, n = v(t);
|
|
179
|
+
t.contains(e.relatedTarget) || (t.tabIndex = 0, e.isTrusted && n.dispatchEvent(new FocusEvent("focusout", {
|
|
180
|
+
bubbles: !0,
|
|
181
|
+
cancelable: !0,
|
|
182
|
+
relatedTarget: e.relatedTarget
|
|
183
|
+
})));
|
|
184
|
+
}
|
|
185
|
+
//#endregion
|
|
186
|
+
//#region src/utils/listbox/use-focus-management/handle-focus-event.ts
|
|
187
|
+
function z(e) {
|
|
188
|
+
return e instanceof HTMLButtonElement;
|
|
189
|
+
}
|
|
190
|
+
function B(e) {
|
|
191
|
+
return e instanceof HTMLElement && e.matches(":focus-visible");
|
|
192
|
+
}
|
|
193
|
+
function V(e) {
|
|
194
|
+
let t = e.currentTarget, n = v(t), r = t.dataset.selectionFollowsFocus === "true", { relatedTarget: i, target: a } = e, o = B(a), s = !t.contains(i), c = t.contains(i) && z(a) && z(i);
|
|
195
|
+
if (o && c && r) {
|
|
196
|
+
a.click();
|
|
197
|
+
return;
|
|
198
|
+
}
|
|
199
|
+
if (s && (e.isTrusted && n.dispatchEvent(new FocusEvent("focusin", {
|
|
200
|
+
bubbles: !0,
|
|
201
|
+
cancelable: !0,
|
|
202
|
+
relatedTarget: e.relatedTarget
|
|
203
|
+
})), o)) {
|
|
204
|
+
t.tabIndex = -1;
|
|
205
|
+
let e = t.querySelector(w);
|
|
206
|
+
if (z(e)) {
|
|
207
|
+
e.focus();
|
|
208
|
+
return;
|
|
209
|
+
}
|
|
210
|
+
let n = t.querySelector(C);
|
|
211
|
+
z(n) && (n.focus(), r && n.click());
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
//#endregion
|
|
215
|
+
//#region src/utils/listbox/use-focus-management/use-focus-management.ts
|
|
216
|
+
function H({ onKeyDown: e }) {
|
|
217
|
+
return {
|
|
218
|
+
onBlur: (e) => {
|
|
219
|
+
R(e);
|
|
220
|
+
},
|
|
221
|
+
onFocus: (e) => {
|
|
222
|
+
V(e);
|
|
223
|
+
},
|
|
224
|
+
onKeyDown: (t) => {
|
|
225
|
+
e?.(t), r(t, { selectors: C });
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
//#endregion
|
|
230
|
+
//#region src/utils/listbox/use-selection-observer.tsx
|
|
231
|
+
function U(e, n) {
|
|
232
|
+
let r = d(n);
|
|
233
|
+
c(function() {
|
|
234
|
+
r.current = n;
|
|
235
|
+
}, [n]);
|
|
236
|
+
let i = o(() => {
|
|
237
|
+
let t = document.getElementById(e);
|
|
238
|
+
if (t) {
|
|
239
|
+
let n = S(e), i = T(t);
|
|
240
|
+
r.current(i, n);
|
|
241
|
+
}
|
|
242
|
+
}, [e]);
|
|
243
|
+
c(function() {
|
|
244
|
+
i();
|
|
245
|
+
}, []), t(e, i, W), t(O(e), i, G);
|
|
246
|
+
}
|
|
247
|
+
var W = {
|
|
248
|
+
attributeFilter: ["aria-checked", "aria-selected"],
|
|
249
|
+
subtree: !0
|
|
250
|
+
}, G = { childList: !0 };
|
|
251
|
+
//#endregion
|
|
252
|
+
//#region src/utils/listbox/use-select-state.tsx
|
|
253
|
+
function K({ defaultValue: e, multiple: t, onChange: n, value: r }) {
|
|
254
|
+
let [i, a] = f(() => q(r ?? e ?? [])), o = q(r ?? i);
|
|
255
|
+
return [t ? o : o.slice(0, 1), (e) => {
|
|
256
|
+
n?.(e), a(q(S(e.currentTarget)));
|
|
257
|
+
}];
|
|
258
|
+
}
|
|
259
|
+
function q(e) {
|
|
260
|
+
return typeof e == "string" ? [e] : e;
|
|
261
|
+
}
|
|
262
|
+
//#endregion
|
|
263
|
+
//#region src/utils/listbox/use-state.ts
|
|
264
|
+
function J(e) {
|
|
265
|
+
return f(e);
|
|
266
|
+
}
|
|
267
|
+
//#endregion
|
|
268
|
+
//#region src/utils/listbox/listbox.tsx
|
|
269
|
+
function Y({ "aria-disabled": e = !1, "aria-multiselectable": t = !1, "aria-orientation": n = "vertical", "aria-required": r = !1, as: i, children: a, className: o, defaultValue: s, id: c, name: d, onBlur: f, onChange: g, onFocus: _, onKeyDown: v, placeholder: y, selectAction: b = "auto", selectRef: x, selectionFollowsFocus: S = !t, style: C, value: w, ...T }) {
|
|
270
|
+
let E = i ?? "div", D = l(), A = c ?? D, [j, M] = K({
|
|
271
|
+
defaultValue: s,
|
|
272
|
+
multiple: t,
|
|
273
|
+
onChange: g,
|
|
274
|
+
value: w
|
|
275
|
+
}), N = H({ onKeyDown: v }), P = u(() => ({
|
|
276
|
+
disabled: e,
|
|
277
|
+
listboxId: A,
|
|
278
|
+
multiple: t,
|
|
279
|
+
selectAction: b,
|
|
280
|
+
selectValue: j
|
|
281
|
+
}), [
|
|
282
|
+
e,
|
|
283
|
+
A,
|
|
284
|
+
t,
|
|
285
|
+
b,
|
|
286
|
+
j
|
|
287
|
+
]);
|
|
288
|
+
return /* @__PURE__ */ p(E, {
|
|
289
|
+
...T,
|
|
290
|
+
...N,
|
|
291
|
+
"aria-disabled": e,
|
|
292
|
+
"aria-multiselectable": t,
|
|
293
|
+
"aria-orientation": n,
|
|
294
|
+
"aria-required": r,
|
|
295
|
+
"data-selection-follows-focus": S,
|
|
296
|
+
className: o,
|
|
297
|
+
id: A,
|
|
298
|
+
role: "listbox",
|
|
299
|
+
style: C,
|
|
300
|
+
tabIndex: 0,
|
|
301
|
+
children: /* @__PURE__ */ m(h.Provider, {
|
|
302
|
+
value: P,
|
|
303
|
+
children: [/* @__PURE__ */ p(L, {
|
|
304
|
+
disabled: e,
|
|
305
|
+
id: O(A),
|
|
306
|
+
multiple: t,
|
|
307
|
+
name: d,
|
|
308
|
+
onBlur: f,
|
|
309
|
+
onChange: M,
|
|
310
|
+
onFocus: _,
|
|
311
|
+
placeholder: y,
|
|
312
|
+
ref: x,
|
|
313
|
+
required: r,
|
|
314
|
+
value: j,
|
|
315
|
+
children: a
|
|
316
|
+
}), /* @__PURE__ */ p(k.Provider, {
|
|
317
|
+
value: "custom",
|
|
318
|
+
children: a
|
|
319
|
+
})]
|
|
320
|
+
})
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
Y.Divider = n, Y.Option = P, Y.Optgroup = F, Y.Select = L, Y.useSelectionObserver = U, Y.useState = J, Y.Context = h, Y.RenderContext = k, Y.useContext = g, Y.useRenderContext = A, Y.clearValue = x, Y.getSelectedOptions = T, Y.getValue = S, Y.setOptionSelectedState = D;
|
|
324
|
+
//#endregion
|
|
325
|
+
export { x as _, H as a, k as c, D as d, E as f, S as g, w as h, U as i, A as l, C as m, J as n, F as o, T as p, K as r, P as s, Y as t, O as u, h as v, g as y };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { t as e } from "./make-icon-Cez0iOAn.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/icons/location.tsx
|
|
6
|
+
var n = e("LocationIcon", (e) => /* @__PURE__ */ t("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: 24,
|
|
9
|
+
height: 24,
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
...e,
|
|
13
|
+
children: /* @__PURE__ */ t("path", { d: "M12 2a7 7 0 0 0-7 7c0 4.17 4.41 9.91 6.23 12.1a1 1 0 0 0 1.54 0C14.59 18.91 19 13.17 19 9a7 7 0 0 0-7-7Zm0 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z" })
|
|
14
|
+
}));
|
|
15
|
+
//#endregion
|
|
16
|
+
export { n as t };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { t as e } from "./make-icon-Cez0iOAn.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/icons/location-alt.tsx
|
|
6
|
+
var n = e("LocationAltIcon", (e) => /* @__PURE__ */ t("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: 24,
|
|
9
|
+
height: 24,
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
...e,
|
|
13
|
+
children: /* @__PURE__ */ t("path", { d: "M10.91 23.191v-2c-2.095-.237-3.902-1.117-5.422-2.641-1.52-1.524-2.397-3.327-2.63-5.41h-2v-2.18h2C3.096 8.865 3.977 7.058 5.5 5.538c1.523-1.52 3.327-2.397 5.41-2.63v-2h2.18v2c2.083.233 3.887 1.11 5.41 2.63 1.523 1.52 2.404 3.327 2.641 5.422h2v2.18h-2c-.233 2.083-1.11 3.886-2.629 5.41-1.52 1.524-3.327 2.404-5.422 2.641v2h-2.18ZM12 18.978c1.917 0 3.55-.675 4.902-2.026 1.35-1.35 2.026-2.985 2.026-4.902 0-1.917-.675-3.551-2.026-4.902-1.35-1.35-2.985-2.026-4.902-2.026-1.917 0-3.55.675-4.902 2.026-1.35 1.35-2.025 2.985-2.026 4.902 0 1.917.675 3.551 2.026 4.902 1.35 1.35 2.985 2.026 4.902 2.026Z" })
|
|
14
|
+
}));
|
|
15
|
+
//#endregion
|
|
16
|
+
export { n as t };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { t as e } from "./make-icon-Cez0iOAn.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/icons/location-disabled.tsx
|
|
6
|
+
var n = e("LocationDisabledIcon", (e) => /* @__PURE__ */ t("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: 24,
|
|
9
|
+
height: 24,
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
...e,
|
|
13
|
+
children: /* @__PURE__ */ t("path", { d: "M9.07 11.161a3 3 0 1 1 4.2-4.2l2.8-2.86a7 7 0 0 0-12 4.86 12.48 12.48 0 0 0 1.7 5.47l3.3-3.27Zm11.19-6.98a1 1 0 0 0-1.41 0L3.29 19.741a1 1 0 1 0 1.42 1.41l3.21-3.19c.91 1.3 1.78 2.4 2.38 3.12a1 1 0 0 0 1.54 0c1.82-2.21 6.23-7.95 6.23-12.12a7.615 7.615 0 0 0-.09-1.08l2.28-2.28a1 1 0 0 0 0-1.42Z" })
|
|
14
|
+
}));
|
|
15
|
+
//#endregion
|
|
16
|
+
export { n as t };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { t as e } from "./make-icon-Cez0iOAn.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/icons/location-outline.tsx
|
|
6
|
+
var r = e("LocationOutlineIcon", (e) => /* @__PURE__ */ n("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: 24,
|
|
9
|
+
height: 24,
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
...e,
|
|
13
|
+
children: [/* @__PURE__ */ t("path", {
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
d: "M12 7.018a2.9 2.9 0 0 1 2.9 2.9v.037a2.9 2.9 0 0 1-2.9 2.9 2.9 2.9 0 0 1-2.9-2.9l.002-.018-.002-.019a2.9 2.9 0 0 1 2.9-2.9Zm0 1.8a1.1 1.1 0 0 0-1.1 1.1l-.002.019.002.018a1.099 1.099 0 1 0 2.2 0v-.037a1.1 1.1 0 0 0-1.1-1.1Z",
|
|
16
|
+
clipRule: "evenodd"
|
|
17
|
+
}), /* @__PURE__ */ t("path", {
|
|
18
|
+
fillRule: "evenodd",
|
|
19
|
+
d: "M12 2.1a7.774 7.774 0 0 1 7.773 7.773v.172c0 1.04-.325 2.145-.788 3.205-.466 1.07-1.098 2.155-1.774 3.172-1.013 1.524-2.15 2.934-3.033 3.964l-.784.892c-.7.777-1.882.826-2.642.146l-.146-.146c-.896-.994-2.466-2.823-3.817-4.856-.676-1.017-1.308-2.102-1.774-3.172-.463-1.06-.788-2.165-.788-3.205v-.172A7.774 7.774 0 0 1 12 2.1Zm0 1.8a5.972 5.972 0 0 0-5.973 5.973v.172c0 .69.222 1.535.637 2.486.41.941.984 1.93 1.624 2.894 1.281 1.927 2.785 3.683 3.655 4.648.032.035.081.036.113.001.87-.966 2.375-2.722 3.656-4.65.64-.963 1.214-1.951 1.624-2.893.415-.951.637-1.796.637-2.486v-.172A5.972 5.972 0 0 0 12 3.9Z",
|
|
20
|
+
clipRule: "evenodd"
|
|
21
|
+
})]
|
|
22
|
+
}));
|
|
23
|
+
//#endregion
|
|
24
|
+
export { r as t };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { t as e } from "./make-icon-Cez0iOAn.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/icons/lock.tsx
|
|
6
|
+
var n = e("LockIcon", (e) => /* @__PURE__ */ t("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: 24,
|
|
9
|
+
height: 24,
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
...e,
|
|
13
|
+
children: /* @__PURE__ */ t("path", {
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
d: "M18 10V8A6 6 0 0 0 6 8v2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2ZM8 8a4 4 0 1 1 8 0v2H8V8Zm4 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",
|
|
16
|
+
clipRule: "evenodd"
|
|
17
|
+
})
|
|
18
|
+
}));
|
|
19
|
+
//#endregion
|
|
20
|
+
export { n as t };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { t as e } from "./make-icon-Cez0iOAn.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/icons/lock-outline.tsx
|
|
6
|
+
var r = e("LockOutlineIcon", (e) => /* @__PURE__ */ n("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: 24,
|
|
9
|
+
height: 24,
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
...e,
|
|
13
|
+
children: [/* @__PURE__ */ t("path", { d: "M13.5 16a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z" }), /* @__PURE__ */ t("path", {
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
d: "M18 8v2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2V8a6 6 0 1 1 12 0Zm-6-4a4 4 0 0 0-4 4v2h8V8a4 4 0 0 0-4-4Zm-6 8v8h12v-8H6Z",
|
|
16
|
+
clipRule: "evenodd"
|
|
17
|
+
})]
|
|
18
|
+
}));
|
|
19
|
+
//#endregion
|
|
20
|
+
export { r as t };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { t as e } from "./make-icon-Cez0iOAn.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/icons/maintenance.tsx
|
|
6
|
+
var n = e("MaintenanceIcon", (e) => /* @__PURE__ */ t("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: 24,
|
|
9
|
+
height: 24,
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
...e,
|
|
13
|
+
children: /* @__PURE__ */ t("path", { d: "M18.947 22.407a2 2 0 0 1-1.41-.58l-6.85-6.85a1.05 1.05 0 0 0-1-.25 6.78 6.78 0 0 1-3 .12 7 7 0 0 1-5-9.9 1 1 0 0 1 .74-.55 1 1 0 0 1 .78.29l3.74 3.72 1.42-1.41-3.73-3.74a1 1 0 0 1-.28-.87 1 1 0 0 1 .54-.7 7 7 0 0 1 9.9 5 6.78 6.78 0 0 1-.12 3c-.095.354 0 .732.25 1l6.85 6.85a2 2 0 0 1 0 2.82l-1.42 1.42a1.94 1.94 0 0 1-1.41.63Zm1.42-3.41-6.85-6.85a3 3 0 0 1-.77-2.92 4.82 4.82 0 0 0 .08-2.17 5 5 0 0 0-4-4 4.9 4.9 0 0 0-1.62 0l2.57 2.53a2 2 0 0 1 0 2.82l-1.42 1.42a2 2 0 0 1-2.82 0l-2.57-2.57a4.9 4.9 0 0 0 0 1.62 5 5 0 0 0 4 4 4.86 4.86 0 0 0 2.18-.08 3.06 3.06 0 0 1 .79-.1 3 3 0 0 1 2.13.87l6.85 6.84 1.45-1.41Z" })
|
|
14
|
+
}));
|
|
15
|
+
//#endregion
|
|
16
|
+
export { n as t };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { t as e } from "./make-icon-Cez0iOAn.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/icons/maintenance-alt.tsx
|
|
6
|
+
var n = e("MaintenanceAltIcon", (e) => /* @__PURE__ */ t("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: 24,
|
|
9
|
+
height: 24,
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
...e,
|
|
13
|
+
children: /* @__PURE__ */ t("path", { d: "m21.157 18.326-6.85-6.84a2 2 0 0 1-.5-2 6.11 6.11 0 0 0 .1-2.6 6 6 0 0 0-4.82-4.79 5.94 5.94 0 0 0-2.95.21.49.49 0 0 0-.18.82l3.2 3.2a1 1 0 0 1 0 1.4l-1.43 1.43a1 1 0 0 1-1.42 0l-3.18-3.2a.49.49 0 0 0-.82.18 5.94 5.94 0 0 0-.21 2.95 6 6 0 0 0 4.82 4.82 6.11 6.11 0 0 0 2.6-.1 2 2 0 0 1 2 .5l6.85 6.85a1 1 0 0 0 1.42 0l1.37-1.43a1 1 0 0 0 0-1.4Z" })
|
|
14
|
+
}));
|
|
15
|
+
//#endregion
|
|
16
|
+
export { n as t };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as e } from "./dist-Du1lGuAB.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/make-icon/styles.ts
|
|
4
|
+
var n = "el-icon";
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/icons/make-icon/make-icon.tsx
|
|
7
|
+
function r(r, i) {
|
|
8
|
+
function a({ className: r, color: a = "inherit", size: o = "100%", ...s }) {
|
|
9
|
+
return /* @__PURE__ */ t(i, {
|
|
10
|
+
...s,
|
|
11
|
+
className: e(n, r),
|
|
12
|
+
color: a,
|
|
13
|
+
"data-size": o
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return a.displayName = r, a;
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { r as t };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { t as e } from "./make-icon-Cez0iOAn.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/icons/marketplace.tsx
|
|
6
|
+
var n = e("MarketplaceIcon", (e) => /* @__PURE__ */ t("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: 24,
|
|
9
|
+
height: 24,
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
...e,
|
|
13
|
+
children: /* @__PURE__ */ t("path", { d: "M6.5 11a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Zm15.49-1.36c.28.47.06.86-.49.86h-8c-.5 0-.77-.39-.5-.86l4-6.78a.55.55 0 0 1 1 0l3.99 6.78ZM9.5 13.5a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h6Zm9 3H21a1 1 0 1 1 0 2h-2.5V21a1 1 0 1 1-2 0v-2.5H14a1 1 0 1 1 0-2h2.5V14a1 1 0 1 1 2 0v2.5Z" })
|
|
14
|
+
}));
|
|
15
|
+
//#endregion
|
|
16
|
+
export { n as t };
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { t as e } from "./dist-DLc9lUhF.js";
|
|
2
|
+
import { t } from "./dist-Du1lGuAB.js";
|
|
3
|
+
import { t as n } from "./popover-DY4LMxoS.js";
|
|
4
|
+
import { Divider as r } from "./core/divider.js";
|
|
5
|
+
import { handleArrowNavigation as i, handleLinkActivation as a } from "./utils/keyboard-navigation.js";
|
|
6
|
+
import { useCallback as o, useId as s } from "react";
|
|
7
|
+
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
8
|
+
//#region src/core/menu/group/styles.ts
|
|
9
|
+
var u = /* @__PURE__ */ e("div")({
|
|
10
|
+
name: "ElMenuGroup",
|
|
11
|
+
class: "el-menu-group",
|
|
12
|
+
propsAsIs: !1
|
|
13
|
+
}), d = /* @__PURE__ */ e("div")({
|
|
14
|
+
name: "ElMenuGroupLabelContainer",
|
|
15
|
+
class: "el-menu-group-label-container",
|
|
16
|
+
propsAsIs: !1
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/core/menu/group/group.tsx
|
|
20
|
+
function f({ "aria-label": e, children: t, label: n, role: r = "group", ...i }) {
|
|
21
|
+
let a = s();
|
|
22
|
+
return /* @__PURE__ */ l(u, {
|
|
23
|
+
...i,
|
|
24
|
+
"aria-label": e,
|
|
25
|
+
"aria-labelledby": e ? void 0 : a,
|
|
26
|
+
role: r,
|
|
27
|
+
children: [n && /* @__PURE__ */ c(d, {
|
|
28
|
+
id: a,
|
|
29
|
+
children: n
|
|
30
|
+
}), t]
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
f.displayName = "Menu.Group";
|
|
34
|
+
//#endregion
|
|
35
|
+
//#region src/core/menu/item/styles.ts
|
|
36
|
+
var p = "el-menu-item", m = /* @__PURE__ */ e("span")({
|
|
37
|
+
name: "ElMenuItemIconContainer",
|
|
38
|
+
class: "el-menu-item-icon-container",
|
|
39
|
+
propsAsIs: !1
|
|
40
|
+
}), h = /* @__PURE__ */ e("span")({
|
|
41
|
+
name: "ElMenuItemContentContainer",
|
|
42
|
+
class: "el-menu-item-content-container",
|
|
43
|
+
propsAsIs: !1
|
|
44
|
+
}), g = /* @__PURE__ */ e("span")({
|
|
45
|
+
name: "ElMenuItemLabel",
|
|
46
|
+
class: "el-menu-item-label",
|
|
47
|
+
propsAsIs: !1
|
|
48
|
+
}), _ = /* @__PURE__ */ e("span")({
|
|
49
|
+
name: "ElMenuItemLabelText",
|
|
50
|
+
class: "el-menu-item-label-text",
|
|
51
|
+
propsAsIs: !1
|
|
52
|
+
}), v = /* @__PURE__ */ e("span")({
|
|
53
|
+
name: "ElMenuItemBadgeContainer",
|
|
54
|
+
class: "el-menu-item-badge-container",
|
|
55
|
+
propsAsIs: !1
|
|
56
|
+
}), y = /* @__PURE__ */ e("span")({
|
|
57
|
+
name: "ElMenuItemSupplementaryInfo",
|
|
58
|
+
class: "el-menu-item-supplementary-info",
|
|
59
|
+
propsAsIs: !1
|
|
60
|
+
});
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region src/core/menu/item/item-base.tsx
|
|
63
|
+
function b({ "aria-disabled": e, as: n, badge: r, className: i, children: a, iconLeft: u, iconRight: d, onClick: f, role: b = "menuitem", supplementaryInfo: x, ...S }) {
|
|
64
|
+
let C = s(), w = s(), T = s(), E = o((e) => {
|
|
65
|
+
if (e.currentTarget.getAttribute("aria-disabled") === "true") {
|
|
66
|
+
e.preventDefault(), e.stopPropagation();
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
f?.(e);
|
|
70
|
+
}, [f]);
|
|
71
|
+
return /* @__PURE__ */ l(n, {
|
|
72
|
+
...S,
|
|
73
|
+
"aria-details": `${w} ${T}`,
|
|
74
|
+
"aria-disabled": !!S.disabled || !!e,
|
|
75
|
+
"aria-labelledby": C,
|
|
76
|
+
className: t(p, i),
|
|
77
|
+
onClick: E,
|
|
78
|
+
role: b,
|
|
79
|
+
children: [
|
|
80
|
+
u && /* @__PURE__ */ c(m, {
|
|
81
|
+
"aria-hidden": !0,
|
|
82
|
+
children: u
|
|
83
|
+
}),
|
|
84
|
+
/* @__PURE__ */ l(h, { children: [/* @__PURE__ */ l(g, { children: [a && /* @__PURE__ */ c(_, {
|
|
85
|
+
id: C,
|
|
86
|
+
children: a
|
|
87
|
+
}), r && /* @__PURE__ */ c(v, {
|
|
88
|
+
id: w,
|
|
89
|
+
children: r
|
|
90
|
+
})] }), x && /* @__PURE__ */ c(y, {
|
|
91
|
+
id: T,
|
|
92
|
+
children: x
|
|
93
|
+
})] }),
|
|
94
|
+
d && /* @__PURE__ */ c(m, {
|
|
95
|
+
"aria-hidden": !0,
|
|
96
|
+
children: d
|
|
97
|
+
})
|
|
98
|
+
]
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
//#endregion
|
|
102
|
+
//#region src/core/menu/item/anchor-item.tsx
|
|
103
|
+
function x(e) {
|
|
104
|
+
return /* @__PURE__ */ c(b, {
|
|
105
|
+
as: "a",
|
|
106
|
+
...e
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
x.displayName = "Menu.AnchorItem";
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region src/core/menu/item/item.tsx
|
|
112
|
+
function S(e) {
|
|
113
|
+
return /* @__PURE__ */ c(b, {
|
|
114
|
+
as: "button",
|
|
115
|
+
...e
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
S.displayName = "Menu.Item";
|
|
119
|
+
//#endregion
|
|
120
|
+
//#region src/core/menu/styles.ts
|
|
121
|
+
var C = "el-menu";
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region src/core/menu/use-close-menu-on-click.ts
|
|
124
|
+
function w(e) {
|
|
125
|
+
return o((t) => {
|
|
126
|
+
e?.(t), !t.defaultPrevented && t.isTrusted && t.target instanceof HTMLElement && (t.target.role === "menuitem" || t.target.closest("[role=\"menuitem\"]") !== null) && t.currentTarget.hidePopover();
|
|
127
|
+
}, [e]);
|
|
128
|
+
}
|
|
129
|
+
//#endregion
|
|
130
|
+
//#region src/core/menu/use-keyboard-navigation.ts
|
|
131
|
+
function T(e) {
|
|
132
|
+
return o((t) => {
|
|
133
|
+
e?.(t), !t.defaultPrevented && (a(t), i(t));
|
|
134
|
+
}, [e]);
|
|
135
|
+
}
|
|
136
|
+
//#endregion
|
|
137
|
+
//#region src/core/menu/menu.tsx
|
|
138
|
+
function E({ "aria-labelledby": e, children: r, className: i, gap: a = "--spacing-1", maxHeight: o, maxWidth: s, onClick: l, onKeyDown: u, placement: d = "top-start", ...f }) {
|
|
139
|
+
let p = w(l), m = T(u);
|
|
140
|
+
return /* @__PURE__ */ c(n, {
|
|
141
|
+
...f,
|
|
142
|
+
"aria-labelledby": e,
|
|
143
|
+
anchorId: e,
|
|
144
|
+
className: t(C, i),
|
|
145
|
+
elevation: "xl",
|
|
146
|
+
gap: `var(${a})`,
|
|
147
|
+
maxHeight: `var(${o})`,
|
|
148
|
+
maxWidth: `var(${s})`,
|
|
149
|
+
onClick: p,
|
|
150
|
+
onKeyDown: m,
|
|
151
|
+
placement: d,
|
|
152
|
+
positionTryFallbacks: "flip-block, flip-inline",
|
|
153
|
+
popover: "auto",
|
|
154
|
+
role: "menu",
|
|
155
|
+
children: r
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
E.AnchorItem = x, E.Divider = r, E.Group = f, E.Item = S, E.getClosestMenuElement = n.getClosestPopoverElement, E.getTriggerProps = n.getTriggerProps;
|
|
159
|
+
//#endregion
|
|
160
|
+
export { b as a, m as c, y as d, p as f, d as h, x as i, g as l, u as m, C as n, v as o, f as p, S as r, h as s, E as t, _ as u };
|