@nubisco/ui 5.48.1 → 5.50.0
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/AccordionItem--XeLRz2P.js +119 -0
- package/dist/AccordionItem-BYSH6dZK.cjs +1 -0
- package/dist/ActionGroup-CZWoWOYj.cjs +1 -0
- package/dist/ActionGroup-DEeOrkKF.js +137 -0
- package/dist/{AiLabel-DywBjSzr.js → AiLabel-CSSIkvKP.js} +20 -20
- package/dist/{AiLabel-pRN10dQV.cjs → AiLabel-DSKUOcZs.cjs} +1 -1
- package/dist/{AiProvider-DY1xxZff.cjs → AiProvider-BLGmpN6e.cjs} +1 -1
- package/dist/{AiProvider-D8O_YaaP.js → AiProvider-BY5kxf6u.js} +6 -6
- package/dist/{AiUsage-HcYF6RQ2.js → AiUsage-BOrAXk2-.js} +2 -2
- package/dist/{AiUsage-DRj51zK5.cjs → AiUsage-fQqE0B6N.cjs} +1 -1
- package/dist/BackToTop-DgFlV4p4.cjs +1 -0
- package/dist/BackToTop-DrgXqZgF.js +51 -0
- package/dist/Banner-CazPCK0F.js +89 -0
- package/dist/Banner-CyU3PPnt.cjs +1 -0
- package/dist/{BarChart-IX4imFVT.cjs → BarChart-3YO4YfUt.cjs} +1 -1
- package/dist/{BarChart-tB6MOMoR.js → BarChart-CDvhhPk0.js} +4 -4
- package/dist/BatchActions-CLCwxCoa.js +86 -0
- package/dist/BatchActions-DfAPQSU6.cjs +1 -0
- package/dist/{Blueprint-46DWDZmu.js → Blueprint-CGGNppmS.js} +2 -2
- package/dist/{Blueprint-NyUNNf-G.cjs → Blueprint-DBIXzLYg.cjs} +1 -1
- package/dist/{BlueprintCard-DDNP1vkk.js → BlueprintCard-CqlU0QFY.js} +114 -116
- package/dist/BlueprintCard-DGUNttWj.cjs +1 -0
- package/dist/{BlueprintControls-D0MdXrVv.js → BlueprintControls-1l0QVtB7.js} +49 -75
- package/dist/BlueprintControls-C3ffD6W8.cjs +1 -0
- package/dist/{Board-CaFH4-Qw.js → Board-DEBP52eI.js} +178 -190
- package/dist/Board-DIbzPDsD.cjs +1 -0
- package/dist/BottomPanel-1EkHEQ_H.js +81 -0
- package/dist/BottomPanel-n2jWpFH7.cjs +1 -0
- package/dist/Breadcrumbs-CCPzuiiv.cjs +1 -0
- package/dist/Breadcrumbs-CQsziZK3.js +185 -0
- package/dist/{Briefing-CoDyU3k4.js → Briefing-0A1frO4v.js} +3 -3
- package/dist/{Briefing-B_ofl8Rt.cjs → Briefing-AqSz-ZdZ.cjs} +1 -1
- package/dist/{BriefingDestination-DAu5S2HI.cjs → BriefingDestination-CqyKzyXx.cjs} +1 -1
- package/dist/{BriefingDestination-CK4XdAOo.js → BriefingDestination-v3kNa6o_.js} +4 -4
- package/dist/Button-BHFtgOXA.cjs +1 -0
- package/dist/Button-tpOmP8iV.js +699 -0
- package/dist/ButtonSet-BV76HHgD.js +67 -0
- package/dist/ButtonSet-Bj9mIOW2.cjs +1 -0
- package/dist/Calendar-Bf0Nk0rA.js +153 -0
- package/dist/Calendar-D9J17bTp.cjs +1 -0
- package/dist/Card-C6KAn4tN.cjs +1 -0
- package/dist/Card-qNem4s60.js +162 -0
- package/dist/{Checkbox-DXQpih7I.js → Checkbox-BgXXVsCC.js} +1 -1
- package/dist/{Checkbox-7JJdh4sN.cjs → Checkbox-DPPln6oG.cjs} +1 -1
- package/dist/{CheckboxGroup-B8T3zLQC.cjs → CheckboxGroup-B2a3ezEK.cjs} +1 -1
- package/dist/{CheckboxGroup-BHn1hpzh.js → CheckboxGroup-Ck1ylAX9.js} +3 -3
- package/dist/ChipGroup-CVDk4ElV.js +74 -0
- package/dist/ChipGroup-DojKPHhq.cjs +1 -0
- package/dist/CloseButton-9TTFHFmx.cjs +1 -0
- package/dist/CloseButton-CdH12Hdn.js +48 -0
- package/dist/{ColorStrip-BW1nFTja.js → ColorStrip-CuF9ZGoO.js} +2 -2
- package/dist/{ColorStrip-AEg8dQbl.cjs → ColorStrip-bpguV5b2.cjs} +1 -1
- package/dist/CommandPalette-CCEzVWfb.cjs +1 -0
- package/dist/{CommandPalette-CD75Qytr.js → CommandPalette-D1DuzaA1.js} +100 -85
- package/dist/Confirm-CZNS6FNr.js +331 -0
- package/dist/Confirm-DbrEaYlJ.cjs +1 -0
- package/dist/{ContainedListItem-CSE8d5M6.js → ContainedListItem-8z2bmoRG.js} +20 -18
- package/dist/ContainedListItem-BKvHedZO.cjs +1 -0
- package/dist/ContentSwitcher-B-PUG0FE.js +99 -0
- package/dist/ContentSwitcher-CYSF2B-a.cjs +1 -0
- package/dist/CopyButton-CQ9tcyfs.js +60 -0
- package/dist/CopyButton-DRvJ4rf5.cjs +1 -0
- package/dist/DataTable-DDqMaOqP.js +545 -0
- package/dist/DataTable-DQUX-6li.cjs +1 -0
- package/dist/DatePicker-Du21bjhe.cjs +1 -0
- package/dist/DatePicker-fS84mRE6.js +761 -0
- package/dist/FileUploader-UzgK5RKz.cjs +1 -0
- package/dist/FileUploader-dzVu4iSo.js +195 -0
- package/dist/FloatingToolbar-BTmWtGU7.js +116 -0
- package/dist/FloatingToolbar-DDCJuaq0.cjs +1 -0
- package/dist/{Form-D6rgkJ_Y.cjs → Form-D2KHlP7N.cjs} +1 -1
- package/dist/{Form-1UVOFWaf.js → Form-igwYeEVI.js} +1 -1
- package/dist/{GanttChart-B_LqsmcR.cjs → GanttChart-ClFarMf-.cjs} +1 -1
- package/dist/{GanttChart-cZguVXW8.js → GanttChart-N05mLdsn.js} +3 -3
- package/dist/{ImageCropper-CJ2mCj9z.cjs → ImageCropper-CoYR_Hhy.cjs} +1 -1
- package/dist/{ImageCropper-BFKMYthJ.js → ImageCropper-wQknqxNK.js} +2 -2
- package/dist/ImagePicker-Dhj01jq7.cjs +1 -0
- package/dist/ImagePicker-zkoay3zZ.js +171 -0
- package/dist/InfoHint-BEzkNQTM.cjs +1 -0
- package/dist/InfoHint-BlHxrTw6.js +178 -0
- package/dist/InlineEdit-DBMKJ3xP.cjs +1 -0
- package/dist/InlineEdit-Y8i0ibjH.js +117 -0
- package/dist/{InlineLoading-D8T0WO05.js → InlineLoading-CDJ_ZJ6v.js} +1 -1
- package/dist/{InlineLoading-CB_1PwMx.cjs → InlineLoading-DKCzcjZJ.cjs} +1 -1
- package/dist/InputGroup-BYThVO5L.js +86 -0
- package/dist/InputGroup-BYoHNpY0.cjs +1 -0
- package/dist/InputGroup.context-BHj-IvcT.cjs +1 -0
- package/dist/InputGroup.context-Dd4e6fGT.js +28 -0
- package/dist/{InterpolationChart-CttBiNWU.js → InterpolationChart-BX8-UOeZ.js} +3 -3
- package/dist/{InterpolationChart-CYWJFUcs.cjs → InterpolationChart-DaqKUIWi.cjs} +1 -1
- package/dist/{LineChart-DNDSJQrB.cjs → LineChart-CGXpi9l8.cjs} +1 -1
- package/dist/{LineChart-J8gCM2Ba.js → LineChart-CplGrv8-.js} +4 -4
- package/dist/Menu-7EgnchVu.js +189 -0
- package/dist/Menu-Bs2Co1sl.cjs +1 -0
- package/dist/{MenuBarItem-BLdVIz0j.js → MenuBarItem-CQsy3y2I.js} +1 -1
- package/dist/{MenuBarItem-B8H9KfFo.cjs → MenuBarItem-Dd9hNBra.cjs} +1 -1
- package/dist/MenuItem-DFfE_k0L.cjs +1 -0
- package/dist/{MenuItem-BerQIsRQ.js → MenuItem-DMYDHaa0.js} +44 -28
- package/dist/Modal-BSGKOUi_.js +223 -0
- package/dist/Modal-D0hGHXic.cjs +1 -0
- package/dist/NotificationCenter-_CK8Eejg.js +587 -0
- package/dist/NotificationCenter-xg0ZCegj.cjs +1 -0
- package/dist/NumberInput-B-TvTlXI.js +383 -0
- package/dist/NumberInput-DaZI9hc3.cjs +1 -0
- package/dist/OverflowMenu-DFOJSaS7.cjs +1 -0
- package/dist/OverflowMenu-OCAeE3W0.js +126 -0
- package/dist/{PageHeader-CFMhwRcw.js → PageHeader-1wou3Him.js} +2 -2
- package/dist/{PageHeader-BVcTzPcW.cjs → PageHeader-BfUlrscM.cjs} +1 -1
- package/dist/{Pagination-zTp1lrSP.js → Pagination-CUat0BVv.js} +26 -26
- package/dist/{Pagination-VmE04nzc.cjs → Pagination-DypRMTsC.cjs} +1 -1
- package/dist/{Panel-7qPoq2lb.cjs → Panel-NC6_ZogV.cjs} +1 -1
- package/dist/{Panel-D5OHjaTP.js → Panel-zyzu638n.js} +1 -1
- package/dist/{PieChart-Ct8oicOS.cjs → PieChart-DQhs44eH.cjs} +1 -1
- package/dist/{PieChart-CAB3b8LE.js → PieChart-D_02nX0-.js} +3 -3
- package/dist/{PrimaryActionScope-B7VLsHzT.cjs → PrimaryActionScope-Dp2gvqwk.cjs} +1 -1
- package/dist/{PrimaryActionScope-CRdjZE0V.js → PrimaryActionScope-sogYOZXZ.js} +1 -1
- package/dist/{ProgressBar-DK-j6Bzv.js → ProgressBar-Bp-pe6sU.js} +2 -2
- package/dist/{ProgressBar-CfJJf7Sc.cjs → ProgressBar-z912Ppfm.cjs} +1 -1
- package/dist/{Radio-CWWt_o_F.js → Radio-DcMkavI8.js} +2 -2
- package/dist/{Radio-D0YjKuB2.cjs → Radio-DuvSK9tl.cjs} +1 -1
- package/dist/Search-BnGuTcHp.js +130 -0
- package/dist/Search-CfH1Q9GB.cjs +1 -0
- package/dist/Select-BxPZtw_Q.js +604 -0
- package/dist/Select-uwMyqZ2S.cjs +1 -0
- package/dist/Shell-B2y5hn9K.cjs +1 -0
- package/dist/Shell-Bh6s0T89.js +536 -0
- package/dist/ShellPanel-BDE6Y773.cjs +1 -0
- package/dist/ShellPanel-CB71IKMY.js +89 -0
- package/dist/{SidebarCollapseToggle-C6aLQTYv.cjs → SidebarCollapseToggle-CqVURaqs.cjs} +1 -1
- package/dist/{SidebarCollapseToggle-D5yQ-8Vu.js → SidebarCollapseToggle-Dm4QMGpc.js} +2 -2
- package/dist/{SidebarHeaderToggle-Bdh1Z9aF.cjs → SidebarHeaderToggle-KW1yBlpF.cjs} +1 -1
- package/dist/{SidebarHeaderToggle-C-QIOLnU.js → SidebarHeaderToggle-daU1HfJH.js} +3 -3
- package/dist/Skeleton-CMuZJ1dR.cjs +1 -0
- package/dist/{Skeleton-C1e02dcW.js → Skeleton-Hmb5a2G_.js} +48 -31
- package/dist/{Slider-BAXKJCNG.js → Slider-BP-oEeJs.js} +4 -4
- package/dist/{Slider-BaM5cclm.cjs → Slider-D3YgGPcY.cjs} +1 -1
- package/dist/{Spinner-PT95bjWq.cjs → Spinner-BTN06wsE.cjs} +1 -1
- package/dist/{Spinner-CbBPddUx.js → Spinner-C3MeCm2k.js} +1 -1
- package/dist/{Stat-C9XaqyaG.cjs → Stat-BoQUn69z.cjs} +1 -1
- package/dist/{Stat-DJJln4rH.js → Stat-Bz0NCLTm.js} +2 -2
- package/dist/{Stepper-DV0q0Dfv.cjs → Stepper-BLyPFPge.cjs} +1 -1
- package/dist/{Stepper-B4xqkWXg.js → Stepper-BXPgrQE8.js} +1 -1
- package/dist/{StepperStep-iGyGKnQL.cjs → StepperStep-DGeyZQXY.cjs} +1 -1
- package/dist/{StepperStep-BYhlgeb1.js → StepperStep-DLr_ctr4.js} +1 -1
- package/dist/SuggestionList-DjtF5POh.cjs +1 -0
- package/dist/SuggestionList-SYGj7Sjv.js +225 -0
- package/dist/{Switch-D3j7PPhY.cjs → Switch-CQj6AsQh.cjs} +1 -1
- package/dist/{Switch-CbYMiEbQ.js → Switch-CqLfdT_m.js} +2 -2
- package/dist/{TableOfContents-CM0HKSde.js → TableOfContents-BIzH0Twf.js} +24 -34
- package/dist/{TableOfContents-By2Non4K.cjs → TableOfContents-Ct-Kwm8X.cjs} +1 -1
- package/dist/{Tabs--lz44FBk.js → Tabs-B_bsdxWy.js} +1 -1
- package/dist/{Tabs-DKikiz0_.cjs → Tabs-CTMUPND5.cjs} +1 -1
- package/dist/TextInput-BVTKUEey.cjs +2 -0
- package/dist/TextInput-DqaVhKud.js +438 -0
- package/dist/Toast-BaMGYx8-.js +118 -0
- package/dist/Toast-BvZywdtO.cjs +1 -0
- package/dist/{Toaster-CJMQM8JU.cjs → Toaster-CYSWYmUm.cjs} +1 -1
- package/dist/{Toaster-DxBW9XQ0.js → Toaster-DtUkjQM_.js} +1 -1
- package/dist/Toolbar-BmJeXz4C.cjs +1 -0
- package/dist/Toolbar-tOeTdj8a.js +48 -0
- package/dist/Toolbar.context-Bli1SqM3.js +4 -0
- package/dist/Toolbar.context-D3Uj5o0_.cjs +1 -0
- package/dist/{Tree-DP2NPXOL.cjs → Tree-CeXSIcpy.cjs} +1 -1
- package/dist/{Tree-CkcFwDr7.js → Tree-RRVk_0QJ.js} +1 -1
- package/dist/{TreeNode-DCnlEEpj.js → TreeNode-D9fc2RE_.js} +1 -1
- package/dist/{TreeNode-CtklZefA.cjs → TreeNode-z6APXuvr.cjs} +1 -1
- package/dist/UserMenu-BGIIKwi6.cjs +1 -0
- package/dist/{UserMenu-CWRMaPGO.js → UserMenu-GGR8K7gP.js} +109 -102
- package/dist/Video-BxNkDWqi.cjs +1 -0
- package/dist/Video-DD01piHm.js +106 -0
- package/dist/Walkthrough-C_5h67cq.cjs +1 -0
- package/dist/Walkthrough-DpxYuLMU.js +333 -0
- package/dist/all.cjs +1 -1
- package/dist/all.mjs +272 -254
- package/dist/component-styles.json +88 -2
- package/dist/components/AccordionItem.cjs +1 -1
- package/dist/components/AccordionItem.mjs +1 -1
- package/dist/components/AccordionItem.vue.d.ts.map +1 -1
- package/dist/components/ActionGroup.cjs +1 -1
- package/dist/components/ActionGroup.d.ts +41 -9
- package/dist/components/ActionGroup.mjs +1 -1
- package/dist/components/ActionGroup.vue.d.ts +2 -2
- package/dist/components/ActionGroup.vue.d.ts.map +1 -1
- package/dist/components/AiLabel.cjs +1 -1
- package/dist/components/AiLabel.mjs +1 -1
- package/dist/components/AiProvider.cjs +1 -1
- package/dist/components/AiProvider.mjs +1 -1
- package/dist/components/AiUsage.cjs +1 -1
- package/dist/components/AiUsage.mjs +1 -1
- package/dist/components/BackToTop.cjs +1 -1
- package/dist/components/BackToTop.mjs +1 -1
- package/dist/components/BackToTop.vue.d.ts.map +1 -1
- package/dist/components/Badge.cjs +1 -1
- package/dist/components/Badge.mjs +1 -1
- package/dist/components/Banner.cjs +1 -1
- package/dist/components/Banner.mjs +1 -1
- package/dist/components/Banner.vue.d.ts.map +1 -1
- package/dist/components/BatchActions.cjs +1 -0
- package/dist/components/BatchActions.d.ts +43 -0
- package/dist/components/BatchActions.mjs +2 -0
- package/dist/components/BatchActions.vue.d.ts +30 -0
- package/dist/components/BatchActions.vue.d.ts.map +1 -0
- package/dist/components/Blueprint.cjs +1 -1
- package/dist/components/Blueprint.mjs +1 -1
- package/dist/components/Blueprint.vue.d.ts +2 -2
- package/dist/components/BlueprintBackground.cjs +1 -1
- package/dist/components/BlueprintBackground.mjs +1 -1
- package/dist/components/BlueprintCard.cjs +1 -1
- package/dist/components/BlueprintCard.mjs +1 -1
- package/dist/components/BlueprintCard.vue.d.ts.map +1 -1
- package/dist/components/BlueprintControls.cjs +1 -1
- package/dist/components/BlueprintControls.mjs +1 -1
- package/dist/components/BlueprintControls.vue.d.ts.map +1 -1
- package/dist/components/BlueprintMinimap.cjs +1 -1
- package/dist/components/BlueprintMinimap.mjs +1 -1
- package/dist/components/Board.cjs +1 -1
- package/dist/components/Board.mjs +1 -1
- package/dist/components/Board.vue.d.ts +2 -2
- package/dist/components/Board.vue.d.ts.map +1 -1
- package/dist/components/BottomPanel.cjs +1 -1
- package/dist/components/BottomPanel.mjs +1 -1
- package/dist/components/BottomPanel.vue.d.ts +2 -2
- package/dist/components/BottomPanel.vue.d.ts.map +1 -1
- package/dist/components/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs.mjs +1 -1
- package/dist/components/Breadcrumbs.vue.d.ts.map +1 -1
- package/dist/components/Briefing.cjs +1 -1
- package/dist/components/Briefing.mjs +1 -1
- package/dist/components/BriefingDestination.cjs +1 -1
- package/dist/components/BriefingDestination.mjs +1 -1
- package/dist/components/Button.cjs +1 -1
- package/dist/components/Button.d.ts +38 -1
- package/dist/components/Button.mjs +1 -1
- package/dist/components/Button.vue.d.ts +4 -0
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/ButtonSet.cjs +1 -0
- package/dist/components/ButtonSet.d.ts +43 -0
- package/dist/components/ButtonSet.mjs +2 -0
- package/dist/components/ButtonSet.vue.d.ts +11 -0
- package/dist/components/ButtonSet.vue.d.ts.map +1 -0
- package/dist/components/Calendar.cjs +1 -1
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Calendar.vue.d.ts +2 -2
- package/dist/components/Calendar.vue.d.ts.map +1 -1
- package/dist/components/Card.cjs +1 -1
- package/dist/components/Card.mjs +1 -1
- package/dist/components/Card.vue.d.ts +11 -10
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/CardGrid.cjs +1 -1
- package/dist/components/CardGrid.d.ts +15 -0
- package/dist/components/CardGrid.mjs +1 -1
- package/dist/components/Charts/BarChart.cjs +1 -1
- package/dist/components/Charts/BarChart.mjs +1 -1
- package/dist/components/Charts/GanttChart.cjs +1 -1
- package/dist/components/Charts/GanttChart.mjs +1 -1
- package/dist/components/Charts/InterpolationChart.cjs +1 -1
- package/dist/components/Charts/InterpolationChart.mjs +1 -1
- package/dist/components/Charts/LineChart.cjs +1 -1
- package/dist/components/Charts/LineChart.mjs +1 -1
- package/dist/components/Charts/PieChart.cjs +1 -1
- package/dist/components/Charts/PieChart.mjs +1 -1
- package/dist/components/Charts/Sparkline.cjs +1 -1
- package/dist/components/Charts/Sparkline.mjs +1 -1
- package/dist/components/Checkbox.cjs +1 -1
- package/dist/components/Checkbox.mjs +1 -1
- package/dist/components/CheckboxGroup.cjs +1 -1
- package/dist/components/CheckboxGroup.mjs +1 -1
- package/dist/components/ChipGroup.cjs +1 -0
- package/dist/components/ChipGroup.d.ts +29 -0
- package/dist/components/ChipGroup.mjs +2 -0
- package/dist/components/ChipGroup.vue.d.ts +14 -0
- package/dist/components/ChipGroup.vue.d.ts.map +1 -0
- package/dist/components/CloseButton.cjs +1 -0
- package/dist/components/CloseButton.d.ts +26 -0
- package/dist/components/CloseButton.mjs +2 -0
- package/dist/components/CloseButton.vue.d.ts +19 -0
- package/dist/components/CloseButton.vue.d.ts.map +1 -0
- package/dist/components/ColorStrip.cjs +1 -1
- package/dist/components/ColorStrip.mjs +1 -1
- package/dist/components/CommandPalette.cjs +1 -1
- package/dist/components/CommandPalette.mjs +1 -1
- package/dist/components/CommandPalette.vue.d.ts.map +1 -1
- package/dist/components/Confirm.cjs +1 -1
- package/dist/components/Confirm.d.ts +7 -5
- package/dist/components/Confirm.mjs +1 -1
- package/dist/components/Confirm.vue.d.ts +1 -1
- package/dist/components/Confirm.vue.d.ts.map +1 -1
- package/dist/components/ContainedList.cjs +1 -1
- package/dist/components/ContainedList.d.ts +7 -0
- package/dist/components/ContainedList.mjs +1 -1
- package/dist/components/ContainedListItem.cjs +1 -1
- package/dist/components/ContainedListItem.mjs +1 -1
- package/dist/components/ContainedListItem.vue.d.ts +1 -0
- package/dist/components/ContainedListItem.vue.d.ts.map +1 -1
- package/dist/components/ContentSwitcher.cjs +1 -0
- package/dist/components/ContentSwitcher.d.ts +36 -0
- package/dist/components/ContentSwitcher.mjs +2 -0
- package/dist/components/ContentSwitcher.vue.d.ts +13 -0
- package/dist/components/ContentSwitcher.vue.d.ts.map +1 -0
- package/dist/components/CopyButton.cjs +1 -1
- package/dist/components/CopyButton.mjs +1 -1
- package/dist/components/CopyButton.vue.d.ts.map +1 -1
- package/dist/components/DataTable.cjs +1 -1
- package/dist/components/DataTable.d.ts +12 -1
- package/dist/components/DataTable.mjs +1 -1
- package/dist/components/DataTable.vue.d.ts +1 -0
- package/dist/components/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DatePicker.cjs +1 -1
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/DatePicker.vue.d.ts +2 -2
- package/dist/components/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DefinitionList.cjs +1 -1
- package/dist/components/DefinitionList.mjs +1 -1
- package/dist/components/DefinitionListItem.cjs +1 -1
- package/dist/components/DefinitionListItem.mjs +1 -1
- package/dist/components/DragHandle.cjs +1 -1
- package/dist/components/DragHandle.mjs +1 -1
- package/dist/components/EmptyState.cjs +1 -1
- package/dist/components/EmptyState.mjs +1 -1
- package/dist/components/Field.cjs +1 -1
- package/dist/components/Field.mjs +1 -1
- package/dist/components/FileUploader.cjs +1 -1
- package/dist/components/FileUploader.mjs +1 -1
- package/dist/components/FileUploader.vue.d.ts.map +1 -1
- package/dist/components/Flag.cjs +1 -1
- package/dist/components/Flag.mjs +1 -1
- package/dist/components/FloatingToolbar.cjs +1 -1
- package/dist/components/FloatingToolbar.mjs +1 -1
- package/dist/components/FloatingToolbar.vue.d.ts +1 -3
- package/dist/components/FloatingToolbar.vue.d.ts.map +1 -1
- package/dist/components/Form.cjs +1 -1
- package/dist/components/Form.mjs +1 -1
- package/dist/components/Grid.cjs +1 -1
- package/dist/components/Grid.mjs +1 -1
- package/dist/components/Grid.vue.d.ts +1 -1
- package/dist/components/ImageCropper.cjs +1 -1
- package/dist/components/ImageCropper.mjs +1 -1
- package/dist/components/ImagePicker.cjs +1 -1
- package/dist/components/ImagePicker.mjs +1 -1
- package/dist/components/ImagePicker.vue.d.ts.map +1 -1
- package/dist/components/InfoHint.cjs +1 -1
- package/dist/components/InfoHint.mjs +1 -1
- package/dist/components/InfoHint.vue.d.ts.map +1 -1
- package/dist/components/InlineEdit.cjs +1 -1
- package/dist/components/InlineEdit.mjs +1 -1
- package/dist/components/InlineEdit.vue.d.ts.map +1 -1
- package/dist/components/InlineLoading.cjs +1 -1
- package/dist/components/InlineLoading.mjs +1 -1
- package/dist/components/InputGroup.cjs +1 -0
- package/dist/components/InputGroup.context.d.ts +54 -0
- package/dist/components/InputGroup.context.d.ts.map +1 -0
- package/dist/components/InputGroup.d.ts +37 -0
- package/dist/components/InputGroup.mjs +2 -0
- package/dist/components/InputGroup.vue.d.ts +27 -0
- package/dist/components/InputGroup.vue.d.ts.map +1 -0
- package/dist/components/JsonTree.cjs +1 -1
- package/dist/components/JsonTree.mjs +1 -1
- package/dist/components/Label.cjs +1 -1
- package/dist/components/Label.mjs +1 -1
- package/dist/components/Layer.cjs +1 -1
- package/dist/components/Layer.mjs +1 -1
- package/dist/components/Menu.cjs +1 -1
- package/dist/components/Menu.d.ts +21 -0
- package/dist/components/Menu.mjs +1 -1
- package/dist/components/Menu.vue.d.ts +2 -0
- package/dist/components/Menu.vue.d.ts.map +1 -1
- package/dist/components/MenuBar.cjs +1 -1
- package/dist/components/MenuBar.mjs +1 -1
- package/dist/components/MenuBarItem.cjs +1 -1
- package/dist/components/MenuBarItem.mjs +1 -1
- package/dist/components/MenuDivider.cjs +1 -1
- package/dist/components/MenuDivider.mjs +1 -1
- package/dist/components/MenuItem.cjs +1 -1
- package/dist/components/MenuItem.mjs +1 -1
- package/dist/components/MenuItem.vue.d.ts +1 -0
- package/dist/components/MenuItem.vue.d.ts.map +1 -1
- package/dist/components/Message.cjs +1 -1
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Modal.cjs +1 -1
- package/dist/components/Modal.d.ts +11 -7
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/Modal.vue.d.ts +3 -3
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenter.cjs +1 -1
- package/dist/components/NotificationCenter.d.ts +2 -1
- package/dist/components/NotificationCenter.mjs +1 -1
- package/dist/components/NotificationCenter.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenterItem.cjs +1 -1
- package/dist/components/NotificationCenterItem.mjs +1 -1
- package/dist/components/NubiscoMark.cjs +1 -1
- package/dist/components/NubiscoMark.mjs +1 -1
- package/dist/components/NubiscoPlatformMark.cjs +1 -1
- package/dist/components/NubiscoPlatformMark.mjs +1 -1
- package/dist/components/NumberInput.cjs +1 -1
- package/dist/components/NumberInput.mjs +1 -1
- package/dist/components/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/OverflowMenu.cjs +1 -0
- package/dist/components/OverflowMenu.d.ts +41 -0
- package/dist/components/OverflowMenu.mjs +2 -0
- package/dist/components/OverflowMenu.vue.d.ts +36 -0
- package/dist/components/OverflowMenu.vue.d.ts.map +1 -0
- package/dist/components/PageHeader.cjs +1 -1
- package/dist/components/PageHeader.mjs +1 -1
- package/dist/components/PageLayout.cjs +1 -1
- package/dist/components/PageLayout.mjs +1 -1
- package/dist/components/Pagination.cjs +1 -1
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/Panel.cjs +1 -1
- package/dist/components/Panel.mjs +1 -1
- package/dist/components/ProgressBar.cjs +1 -1
- package/dist/components/ProgressBar.mjs +1 -1
- package/dist/components/Radio.cjs +1 -1
- package/dist/components/Radio.mjs +1 -1
- package/dist/components/ReorderList.cjs +1 -1
- package/dist/components/ReorderList.mjs +1 -1
- package/dist/components/Search.cjs +1 -0
- package/dist/components/Search.d.ts +36 -0
- package/dist/components/Search.mjs +2 -0
- package/dist/components/Search.vue.d.ts +32 -0
- package/dist/components/Search.vue.d.ts.map +1 -0
- package/dist/components/Select.cjs +1 -1
- package/dist/components/Select.d.ts +4 -1
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Select.vue.d.ts +6 -6
- package/dist/components/Select.vue.d.ts.map +1 -1
- package/dist/components/Shell.cjs +1 -1
- package/dist/components/Shell.d.ts +1 -0
- package/dist/components/Shell.mjs +1 -1
- package/dist/components/Shell.vue.d.ts +2 -2
- package/dist/components/Shell.vue.d.ts.map +1 -1
- package/dist/components/ShellPanel.cjs +1 -1
- package/dist/components/ShellPanel.mjs +1 -1
- package/dist/components/ShellPanel.vue.d.ts +2 -2
- package/dist/components/ShellPanel.vue.d.ts.map +1 -1
- package/dist/components/SidebarBrand.cjs +1 -1
- package/dist/components/SidebarBrand.mjs +1 -1
- package/dist/components/SidebarCollapseToggle.cjs +1 -1
- package/dist/components/SidebarCollapseToggle.mjs +1 -1
- package/dist/components/SidebarHeaderToggle.cjs +1 -1
- package/dist/components/SidebarHeaderToggle.mjs +1 -1
- package/dist/components/SidebarHeaderToggle.vue.d.ts.map +1 -1
- package/dist/components/SidebarLink.cjs +1 -1
- package/dist/components/SidebarLink.mjs +1 -1
- package/dist/components/SidebarMenu.cjs +1 -1
- package/dist/components/SidebarMenu.mjs +1 -1
- package/dist/components/SidebarMenuGroup.cjs +1 -1
- package/dist/components/SidebarMenuGroup.mjs +1 -1
- package/dist/components/SidebarMenuItem.cjs +1 -1
- package/dist/components/SidebarMenuItem.mjs +1 -1
- package/dist/components/SidebarStatus.cjs +1 -1
- package/dist/components/SidebarStatus.mjs +1 -1
- package/dist/components/Skeleton.cjs +1 -1
- package/dist/components/Skeleton.d.ts +20 -1
- package/dist/components/Skeleton.mjs +1 -1
- package/dist/components/Skeleton.vue.d.ts +3 -0
- package/dist/components/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/Slider.cjs +1 -1
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Spinner.cjs +1 -1
- package/dist/components/Spinner.mjs +1 -1
- package/dist/components/Stat.cjs +1 -1
- package/dist/components/Stat.mjs +1 -1
- package/dist/components/Stepper.cjs +1 -1
- package/dist/components/Stepper.mjs +1 -1
- package/dist/components/StepperStep.cjs +1 -1
- package/dist/components/StepperStep.mjs +1 -1
- package/dist/components/StructuredList.cjs +1 -1
- package/dist/components/StructuredList.mjs +1 -1
- package/dist/components/StructuredList.vue.d.ts +2 -2
- package/dist/components/Submenu.cjs +1 -1
- package/dist/components/Submenu.mjs +1 -1
- package/dist/components/SuggestionList.cjs +1 -1
- package/dist/components/SuggestionList.d.ts +8 -0
- package/dist/components/SuggestionList.mjs +1 -1
- package/dist/components/SuggestionList.vue.d.ts +3 -0
- package/dist/components/SuggestionList.vue.d.ts.map +1 -1
- package/dist/components/Switch.cjs +1 -1
- package/dist/components/Switch.mjs +1 -1
- package/dist/components/TableOfContents.cjs +1 -1
- package/dist/components/TableOfContents.mjs +1 -1
- package/dist/components/TableOfContents.vue.d.ts.map +1 -1
- package/dist/components/Tabs.cjs +1 -1
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/TextInput.cjs +1 -1
- package/dist/components/TextInput.mjs +1 -1
- package/dist/components/TextInput.vue.d.ts +20 -4
- package/dist/components/TextInput.vue.d.ts.map +1 -1
- package/dist/components/Toast.cjs +1 -1
- package/dist/components/Toast.mjs +1 -1
- package/dist/components/Toast.vue.d.ts +4 -1
- package/dist/components/Toast.vue.d.ts.map +1 -1
- package/dist/components/Toaster.cjs +1 -1
- package/dist/components/Toaster.mjs +1 -1
- package/dist/components/Toolbar.cjs +1 -0
- package/dist/components/Toolbar.context.d.ts +22 -0
- package/dist/components/Toolbar.context.d.ts.map +1 -0
- package/dist/components/Toolbar.d.ts +26 -0
- package/dist/components/Toolbar.mjs +2 -0
- package/dist/components/Toolbar.vue.d.ts +24 -0
- package/dist/components/Toolbar.vue.d.ts.map +1 -0
- package/dist/components/Tree.cjs +1 -1
- package/dist/components/Tree.mjs +1 -1
- package/dist/components/TreeNode.cjs +1 -1
- package/dist/components/TreeNode.mjs +1 -1
- package/dist/components/TreeNode.vue.d.ts +1 -1
- package/dist/components/UserMenu.cjs +1 -1
- package/dist/components/UserMenu.mjs +1 -1
- package/dist/components/UserMenu.vue.d.ts.map +1 -1
- package/dist/components/Video.cjs +1 -1
- package/dist/components/Video.mjs +1 -1
- package/dist/components/Video.vue.d.ts.map +1 -1
- package/dist/components/Walkthrough.cjs +1 -1
- package/dist/components/Walkthrough.mjs +1 -1
- package/dist/components/Walkthrough.vue.d.ts.map +1 -1
- package/dist/components/Wireframe.cjs +1 -1
- package/dist/components/Wireframe.mjs +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/manifest.d.ts +9 -0
- package/dist/components/manifest.d.ts.map +1 -1
- package/dist/components/manifest.js +9 -0
- package/dist/composables/useBlueprint.composable.cjs +1 -1
- package/dist/composables/useBlueprint.composable.mjs +1 -1
- package/dist/composables/useConfirm.composable.cjs +1 -1
- package/dist/composables/useConfirm.composable.mjs +3 -3
- package/dist/composables/useInlineLoading.composable.cjs +1 -1
- package/dist/composables/useInlineLoading.composable.mjs +1 -1
- package/dist/composables/useLoadingAnnouncer.composable.cjs +1 -1
- package/dist/composables/useLoadingAnnouncer.composable.mjs +1 -1
- package/dist/composables/useNbStrings.composable.cjs +1 -1
- package/dist/composables/useNbStrings.composable.d.ts +77 -0
- package/dist/composables/useNbStrings.composable.d.ts.map +1 -1
- package/dist/composables/useNbStrings.composable.mjs +68 -0
- package/dist/composables/useRovingFocus.composable.cjs +1 -0
- package/dist/composables/useRovingFocus.composable.d.ts +22 -0
- package/dist/composables/useRovingFocus.composable.d.ts.map +1 -0
- package/dist/composables/useRovingFocus.composable.mjs +56 -0
- package/dist/directives/ToolTip.directive.d.ts +56 -0
- package/dist/directives/ToolTip.directive.d.ts.map +1 -1
- package/dist/global.d.ts +18 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +152 -143
- package/dist/main-Bo1B-xzL.cjs +4 -0
- package/dist/main-nO1LQzsc.js +744 -0
- package/dist/main.d.ts +21 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/styles/AccordionItem.css +1 -1
- package/dist/styles/ActionGroup.css +1 -1
- package/dist/styles/Banner.css +1 -1
- package/dist/styles/BatchActions.css +1 -0
- package/dist/styles/BlueprintCard.css +1 -1
- package/dist/styles/BlueprintControls.css +1 -1
- package/dist/styles/Board.css +1 -1
- package/dist/styles/BottomPanel.css +1 -1
- package/dist/styles/Breadcrumbs.css +1 -1
- package/dist/styles/Button.css +1 -1
- package/dist/styles/ButtonSet.css +1 -0
- package/dist/styles/Calendar.css +1 -1
- package/dist/styles/Card.css +1 -1
- package/dist/styles/ChipGroup.css +1 -0
- package/dist/styles/CommandPalette.css +1 -1
- package/dist/styles/Confirm.css +1 -1
- package/dist/styles/ContainedListItem.css +1 -1
- package/dist/styles/ContentSwitcher.css +1 -0
- package/dist/styles/DataTable.css +1 -1
- package/dist/styles/DatePicker.css +1 -1
- package/dist/styles/FileUploader.css +1 -1
- package/dist/styles/FloatingToolbar.css +1 -1
- package/dist/styles/ImagePicker.css +1 -1
- package/dist/styles/InfoHint.css +1 -1
- package/dist/styles/InlineEdit.css +1 -1
- package/dist/styles/InputGroup.css +1 -0
- package/dist/styles/MenuItem.css +1 -1
- package/dist/styles/Modal.css +1 -1
- package/dist/styles/NotificationCenter.css +1 -1
- package/dist/styles/NumberInput.css +1 -1
- package/dist/styles/OverflowMenu.css +1 -0
- package/dist/styles/Pagination.css +1 -1
- package/dist/styles/Search.css +1 -0
- package/dist/styles/Select.css +1 -1
- package/dist/styles/Shell.css +1 -1
- package/dist/styles/ShellPanel.css +1 -1
- package/dist/styles/SidebarHeaderToggle.css +1 -1
- package/dist/styles/Skeleton.css +1 -1
- package/dist/styles/SuggestionList.css +1 -1
- package/dist/styles/TableOfContents.css +1 -1
- package/dist/styles/TextInput.css +1 -1
- package/dist/styles/Toast.css +1 -1
- package/dist/styles/Toolbar.css +1 -0
- package/dist/styles/UserMenu.css +1 -1
- package/dist/styles/Walkthrough.css +1 -1
- package/dist/ui.css +45 -37
- package/dist/utils/actionFit.helper.cjs +1 -0
- package/dist/utils/actionFit.helper.d.ts +20 -0
- package/dist/utils/actionFit.helper.d.ts.map +1 -0
- package/dist/utils/actionFit.helper.mjs +13 -0
- package/package.json +2 -2
- package/src/styles/_theme.scss +11 -4
- package/src/styles/logic/_field.scss +22 -0
- package/src/styles/logic/_focus.scss +20 -0
- package/src/styles/logic/index.scss +1 -0
- package/src/utils/actionFit.helper.ts +40 -0
- package/dist/AccordionItem-DFwj28eL.js +0 -118
- package/dist/AccordionItem-DhZD2kJL.cjs +0 -1
- package/dist/ActionGroup-CJoBGUvw.js +0 -171
- package/dist/ActionGroup-CU9YQboQ.cjs +0 -1
- package/dist/BackToTop-C5gFfuu7.cjs +0 -1
- package/dist/BackToTop-DZhl6N_Q.js +0 -56
- package/dist/Banner-5uX-ujbu.js +0 -93
- package/dist/Banner-CiIQKSxv.cjs +0 -1
- package/dist/BlueprintCard-Cda5rPZu.cjs +0 -1
- package/dist/BlueprintControls-DnUoI9qp.cjs +0 -1
- package/dist/Board-BNB96CXm.cjs +0 -1
- package/dist/BottomPanel-CYxavAS0.cjs +0 -1
- package/dist/BottomPanel-vFcIk2nf.js +0 -115
- package/dist/Breadcrumbs-B-pjVWeD.js +0 -184
- package/dist/Breadcrumbs-CqDYLfIQ.cjs +0 -1
- package/dist/Button-C0N1cyOQ.cjs +0 -1
- package/dist/Button-CuwzIVWv.js +0 -132
- package/dist/Calendar-Bbk7bPW1.cjs +0 -1
- package/dist/Calendar-EiqHtUG2.js +0 -155
- package/dist/Card-B5FTcFEQ.cjs +0 -1
- package/dist/Card-DUTWbKv7.js +0 -143
- package/dist/CommandPalette-C8-2XCrf.cjs +0 -1
- package/dist/Confirm-BA-t4jPF.cjs +0 -1
- package/dist/Confirm-MmMvMttu.js +0 -313
- package/dist/ContainedListItem-Dj7TcGpO.cjs +0 -1
- package/dist/CopyButton-Bcc2BDJ8.js +0 -65
- package/dist/CopyButton-CwHAVKQ6.cjs +0 -1
- package/dist/DataTable-D4KrQH5E.js +0 -485
- package/dist/DataTable-DVJnvBQM.cjs +0 -1
- package/dist/DatePicker-BmuVSyZ3.cjs +0 -1
- package/dist/DatePicker-CagtB0Sd.js +0 -743
- package/dist/FileUploader-B9j-HmX3.js +0 -193
- package/dist/FileUploader-BolhAWrI.cjs +0 -1
- package/dist/FloatingToolbar-CYOuKLd7.js +0 -140
- package/dist/FloatingToolbar-DxUUozlf.cjs +0 -1
- package/dist/ImagePicker-CZEFzYC8.js +0 -171
- package/dist/ImagePicker-CebI8MDy.cjs +0 -1
- package/dist/InfoHint-DVrm41q9.js +0 -177
- package/dist/InfoHint-WYitTbYz.cjs +0 -1
- package/dist/InlineEdit-DViLVwtn.js +0 -116
- package/dist/InlineEdit-DfkmTudh.cjs +0 -1
- package/dist/Menu-CLDGxi-1.cjs +0 -1
- package/dist/Menu-C_UsGyKX.js +0 -177
- package/dist/MenuItem-CvpxnM4W.cjs +0 -1
- package/dist/Modal-1i_nDqvM.cjs +0 -1
- package/dist/Modal-CxIl02xU.js +0 -229
- package/dist/NotificationCenter-CXn7sGFw.cjs +0 -1
- package/dist/NotificationCenter-Cu_vs-jh.js +0 -584
- package/dist/NumberInput-CMxlZ54a.cjs +0 -1
- package/dist/NumberInput-Dy0leAIF.js +0 -324
- package/dist/Select-Bz4tf2H_.cjs +0 -1
- package/dist/Select-hL8I-aNK.js +0 -603
- package/dist/Shell-BxGBrQsM.js +0 -536
- package/dist/Shell-BzXh23BU.cjs +0 -1
- package/dist/ShellPanel-DzkkJYVd.js +0 -126
- package/dist/ShellPanel-XYKkAc5n.cjs +0 -1
- package/dist/Skeleton-CqZ9O0X0.cjs +0 -1
- package/dist/SuggestionList-BJjbVvt2.cjs +0 -1
- package/dist/SuggestionList-Bdx7CK__.js +0 -189
- package/dist/TextInput-BXyJQfGx.js +0 -348
- package/dist/TextInput-DKp819VS.cjs +0 -2
- package/dist/Toast-BKrvlON6.cjs +0 -1
- package/dist/Toast-fRHhhjZV.js +0 -115
- package/dist/UserMenu-GJHs1fKI.cjs +0 -1
- package/dist/Video-D1WOYCYH.cjs +0 -1
- package/dist/Video-DrDqaCXl.js +0 -104
- package/dist/Walkthrough-DXMDgB9t.cjs +0 -1
- package/dist/Walkthrough-D_vfYTWP.js +0 -327
- package/dist/main-BTximdIU.js +0 -1255
- package/dist/main-DkNxc78b.cjs +0 -4
- package/dist/motion-BjVtMTXD.cjs +0 -1
- package/dist/motion-C0h9XZQZ.js +0 -18
- /package/dist/{Badge-CfICqXrd.cjs → Badge-BYfdJcdD.cjs} +0 -0
- /package/dist/{Badge-BFsoJcCK.js → Badge-scjsdx_V.js} +0 -0
- /package/dist/{Blueprint.context-B3d5-4jD.cjs → Blueprint.context-BX56xsrT.cjs} +0 -0
- /package/dist/{Blueprint.context-B4bRLj7m.js → Blueprint.context-Bz6Jy1Ou.js} +0 -0
- /package/dist/{BlueprintBackground-5OOF-VpK.js → BlueprintBackground-DPjZeMwY.js} +0 -0
- /package/dist/{BlueprintBackground-D_JokLTK.cjs → BlueprintBackground-yHRGclEz.cjs} +0 -0
- /package/dist/{BlueprintMinimap-CACuVJqI.cjs → BlueprintMinimap-qskDNYyr.cjs} +0 -0
- /package/dist/{BlueprintMinimap-Ehrltju2.js → BlueprintMinimap-xnsyS1M8.js} +0 -0
- /package/dist/{Card.link-eRkbFiF1.cjs → Card.link-Bw2B_lPO.cjs} +0 -0
- /package/dist/{Card.link-CB8_CTbn.js → Card.link-CdvubtHJ.js} +0 -0
- /package/dist/{CardGrid-DzjiR2wg.cjs → CardGrid-DPaITpcU.cjs} +0 -0
- /package/dist/{CardGrid-BOhFOzTs.js → CardGrid-j0TFmVrQ.js} +0 -0
- /package/dist/{ChartLegend-C81jju4k.cjs → ChartLegend-COJeG-2B.cjs} +0 -0
- /package/dist/{ChartLegend-fsJqOyGj.js → ChartLegend-LDNukufA.js} +0 -0
- /package/dist/{CheckboxGroup.context-C8p21aqH.cjs → CheckboxGroup.context-ADwiY4gy.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-Cu0BA648.js → CheckboxGroup.context-C1QB-Zsq.js} +0 -0
- /package/dist/{ContainedList-DV8kZgTS.cjs → ContainedList-CBWwEmoK.cjs} +0 -0
- /package/dist/{ContainedList-7uMU4e4Z.js → ContainedList-PUA2OJ08.js} +0 -0
- /package/dist/{DefinitionList-DIPobaPW.js → DefinitionList-BOVcW-V7.js} +0 -0
- /package/dist/{DefinitionList-BuRW4drr.cjs → DefinitionList-CndoLDLs.cjs} +0 -0
- /package/dist/{DefinitionListItem-CbVnrShi.js → DefinitionListItem-C3VrLhWY.js} +0 -0
- /package/dist/{DefinitionListItem-Bf9amK8a.cjs → DefinitionListItem-CLztc8mQ.cjs} +0 -0
- /package/dist/{DragHandle-snItY92k.cjs → DragHandle-Bz2N22Sm.cjs} +0 -0
- /package/dist/{DragHandle-dCNBfHJe.js → DragHandle-Cc7WrUj7.js} +0 -0
- /package/dist/{EmptyState-B8EM9ynK.cjs → EmptyState-Db0Zrrk2.cjs} +0 -0
- /package/dist/{EmptyState-D-fku2DD.js → EmptyState-DhlJV0C6.js} +0 -0
- /package/dist/{Field-3S8uGW95.cjs → Field-COMPegVv.cjs} +0 -0
- /package/dist/{Field-DK5iec3Z.js → Field-D12Dja-u.js} +0 -0
- /package/dist/{Flag-myXFwopO.js → Flag-DyDqHJy3.js} +0 -0
- /package/dist/{Flag-CNx_cE4Q.cjs → Flag-gM91kXTi.cjs} +0 -0
- /package/dist/{Grid-jlgLOwom.js → Grid-B7d8x0tA.js} +0 -0
- /package/dist/{Grid-C0muGlj3.cjs → Grid-BOtE_jXr.cjs} +0 -0
- /package/dist/{JsonTree-Bmj8WtzK.cjs → JsonTree-MjCO8_Xk.cjs} +0 -0
- /package/dist/{JsonTree-BWfMcWOV.js → JsonTree-VbXpLPoG.js} +0 -0
- /package/dist/{Label-CTOPIIbR.cjs → Label-CjxnZgNy.cjs} +0 -0
- /package/dist/{Label-BDMCrURR.js → Label-xwHw_UbN.js} +0 -0
- /package/dist/{Layer-BJeI6Q6N.js → Layer-Btb-b9Mk.js} +0 -0
- /package/dist/{Layer-D-MNrLiB.cjs → Layer-D0NqQYM0.cjs} +0 -0
- /package/dist/{MenuBar-aLDr7-eJ.cjs → MenuBar-BVgGbppN.cjs} +0 -0
- /package/dist/{MenuBar-DyJufs5b.js → MenuBar-M2eiYZG0.js} +0 -0
- /package/dist/{MenuDivider-aZIXvYsH.js → MenuDivider-B3tNv2aj.js} +0 -0
- /package/dist/{MenuDivider-D75yF8o8.cjs → MenuDivider-BSMtwoUU.cjs} +0 -0
- /package/dist/{Message-Bija1nMK.cjs → Message-BJO4MjiQ.cjs} +0 -0
- /package/dist/{Message-BONOwoVY.js → Message-DCeg8qsC.js} +0 -0
- /package/dist/{NotificationCenterItem-zdOMnxv1.cjs → NotificationCenterItem-D0agavaK.cjs} +0 -0
- /package/dist/{NotificationCenterItem-BbbBFYEu.js → NotificationCenterItem-O6SR_6KR.js} +0 -0
- /package/dist/{NubiscoMark-Cf7Ek83E.cjs → NubiscoMark-3StsXBoJ.cjs} +0 -0
- /package/dist/{NubiscoMark-BLT8ULAl.js → NubiscoMark-XJWPWIc0.js} +0 -0
- /package/dist/{NubiscoPlatformMark-Dca7vi6H.js → NubiscoPlatformMark-BgQLjI89.js} +0 -0
- /package/dist/{NubiscoPlatformMark-CXMSQDYh.cjs → NubiscoPlatformMark-D8WIp4On.cjs} +0 -0
- /package/dist/{PageLayout-DQKfOSQq.js → PageLayout-BMcT2mzU.js} +0 -0
- /package/dist/{PageLayout-Dw4JYS3k.cjs → PageLayout-DHi1w1PD.cjs} +0 -0
- /package/dist/{PrimaryAction.context-BkYkcMlm.js → PrimaryAction.context-DZUcR5ER.js} +0 -0
- /package/dist/{PrimaryAction.context-2v_jcQAo.cjs → PrimaryAction.context-DnzRVqGH.cjs} +0 -0
- /package/dist/{ReorderList-B1CYGR0e.js → ReorderList-DmjW30Mw.js} +0 -0
- /package/dist/{ReorderList-DBW8TBu6.cjs → ReorderList-qScXc3-v.cjs} +0 -0
- /package/dist/{SidebarBrand-FHBO4Dw3.js → SidebarBrand-CZf-kRyZ.js} +0 -0
- /package/dist/{SidebarBrand-CX-BgI4X.cjs → SidebarBrand-D2u7hX-v.cjs} +0 -0
- /package/dist/{SidebarLink-xtGCDABj.js → SidebarLink-BuRBmv_k.js} +0 -0
- /package/dist/{SidebarLink-DTGVapwa.cjs → SidebarLink-CSTNfb2F.cjs} +0 -0
- /package/dist/{SidebarMenu-CnsOBXeM.cjs → SidebarMenu-CAthEmyy.cjs} +0 -0
- /package/dist/{SidebarMenu-D24o7HS-.js → SidebarMenu-CgWUHllQ.js} +0 -0
- /package/dist/{SidebarMenuGroup-DJasr_cx.cjs → SidebarMenuGroup-B9JGPBcF.cjs} +0 -0
- /package/dist/{SidebarMenuGroup-Bjc2IeK5.js → SidebarMenuGroup-DdWg57Wv.js} +0 -0
- /package/dist/{SidebarMenuItem-UFeKPTvc.js → SidebarMenuItem-BvvoDIjK.js} +0 -0
- /package/dist/{SidebarMenuItem-DP4L8ljr.cjs → SidebarMenuItem-eFnj5QoE.cjs} +0 -0
- /package/dist/{SidebarStatus-D-CfUYFc.js → SidebarStatus-CnTnYL4x.js} +0 -0
- /package/dist/{SidebarStatus-YfLW9xzC.cjs → SidebarStatus-CvjuggXO.cjs} +0 -0
- /package/dist/{Sparkline-MAi1Fh2T.cjs → Sparkline-B7kUEfuW.cjs} +0 -0
- /package/dist/{Sparkline-m3wbt-f1.js → Sparkline-CVzkzaOJ.js} +0 -0
- /package/dist/{Stepper.context-DUIDhN9Q.cjs → Stepper.context-Brnt5IZv.cjs} +0 -0
- /package/dist/{Stepper.context-DqfEvgGM.js → Stepper.context-CRKX8lxW.js} +0 -0
- /package/dist/{StructuredList-h9JFXpF4.cjs → StructuredList-BexC0c1Z.cjs} +0 -0
- /package/dist/{StructuredList-BSfuLANB.js → StructuredList-DuBBP01p.js} +0 -0
- /package/dist/{Submenu-Dxo3DUDA.cjs → Submenu-DRkHiWsD.cjs} +0 -0
- /package/dist/{Submenu-BnMaJKYm.js → Submenu-Dnj5MiFy.js} +0 -0
- /package/dist/{TextInput.context-DV1MgL_Q.js → TextInput.context-B-mipPOo.js} +0 -0
- /package/dist/{TextInput.context-UTLuljcO.cjs → TextInput.context-ChkcqMNM.cjs} +0 -0
- /package/dist/{TreeContext-TZ35sT5B.cjs → TreeContext-B2Io2oii.cjs} +0 -0
- /package/dist/{TreeContext--GZ21fCm.js → TreeContext-Cs4iAw0d.js} +0 -0
- /package/dist/{Wireframe-CL0rjsos.cjs → Wireframe-3fvc4I5-.cjs} +0 -0
- /package/dist/{Wireframe-BxUNaH2g.js → Wireframe-C_Ca3wCn.js} +0 -0
- /package/dist/{palette-CWU7exM6.js → palette-6bEW4KUN.js} +0 -0
- /package/dist/{palette-B7XEOMVB.cjs → palette-LbOzdAXj.cjs} +0 -0
- /package/dist/{pixi-scene-BKyneWmd.cjs → pixi-scene-CQ1qoZvX.cjs} +0 -0
- /package/dist/{pixi-scene-TbaBQ2-u.js → pixi-scene-DFCEvc1j.js} +0 -0
- /package/dist/{scales-CNW8JgKC.js → scales-BGzTviac.js} +0 -0
- /package/dist/{scales-B8IbC7t_.cjs → scales-BRSHTjbp.cjs} +0 -0
- /package/dist/{useChartSize-CftshgoY.js → useChartSize-05CLdiR0.js} +0 -0
- /package/dist/{useChartSize-B6Bes760.cjs → useChartSize-CUZ7BuGD.cjs} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-Dn1mqnqe.cjs → useLoadingAnnouncer.composable-CEPRjDi3.cjs} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-BAwecV1M.js → useLoadingAnnouncer.composable-c0XX_xNT.js} +0 -0
- /package/dist/{vue-i18n-DSR949qU.js → vue-i18n-DaD-yZmK.js} +0 -0
- /package/dist/{vue-i18n-DIvTc6LM.cjs → vue-i18n-ZdR0XDmN.cjs} +0 -0
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
-
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
|
-
import { useStableId as n } from "./composables/useStableId.composable.mjs";
|
|
4
|
-
import { useSurfaceLayer as r } from "./composables/useSurfaceLayer.composable.mjs";
|
|
5
|
-
import { usePhoneLayout as i } from "./composables/usePhoneLayout.composable.mjs";
|
|
6
|
-
import { placeAnchored as a, viewportSize as o } from "./utils/anchorPosition.helper.mjs";
|
|
7
|
-
import { Teleport as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, mergeProps as ee, nextTick as g, normalizeClass as _, onBeforeUnmount as te, openBlock as v, ref as y, renderSlot as b, toDisplayString as x, unref as ne, watch as S, withModifiers as C } from "vue";
|
|
8
|
-
import * as w from "@nubisco/ui/icons/info";
|
|
9
|
-
//#region src/components/InfoHint.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
-
var T = ["data-term"], E = [
|
|
11
|
-
"aria-label",
|
|
12
|
-
"aria-expanded",
|
|
13
|
-
"aria-describedby",
|
|
14
|
-
"disabled"
|
|
15
|
-
], D = {
|
|
16
|
-
key: 0,
|
|
17
|
-
class: "nb-info-hint--title"
|
|
18
|
-
}, O = { class: "nb-info-hint--body" }, k = /* @__PURE__ */ e(/* @__PURE__ */ h({
|
|
19
|
-
__name: "InfoHint",
|
|
20
|
-
props: {
|
|
21
|
-
text: { default: void 0 },
|
|
22
|
-
title: { default: void 0 },
|
|
23
|
-
term: { default: void 0 },
|
|
24
|
-
placement: { default: "top" },
|
|
25
|
-
size: { default: 16 },
|
|
26
|
-
icon: { default: void 0 },
|
|
27
|
-
label: { default: void 0 },
|
|
28
|
-
openDelay: { default: 120 },
|
|
29
|
-
closeDelay: { default: 140 },
|
|
30
|
-
teleportTo: { default: "body" },
|
|
31
|
-
disabled: {
|
|
32
|
-
type: Boolean,
|
|
33
|
-
default: !1
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
emits: [
|
|
37
|
-
"open",
|
|
38
|
-
"close",
|
|
39
|
-
"activate"
|
|
40
|
-
],
|
|
41
|
-
setup(e, { expose: h, emit: k }) {
|
|
42
|
-
let A = e, j = c(() => A.icon ?? w), M = k, N = `${n({})}-popover`, { layerProps: P } = r({ overlay: !0 }), F = y(null), I = y(null), L = y(!1), R = y(!1), z = y(A.placement), B = y({
|
|
43
|
-
top: 0,
|
|
44
|
-
left: 0,
|
|
45
|
-
arrowOffset: 50
|
|
46
|
-
}), V, H, U = c(() => ({
|
|
47
|
-
top: `${B.value.top}px`,
|
|
48
|
-
left: `${B.value.left}px`,
|
|
49
|
-
"--nb-info-hint-arrow-offset": `${B.value.arrowOffset}%`
|
|
50
|
-
}));
|
|
51
|
-
function W() {
|
|
52
|
-
clearTimeout(V), clearTimeout(H), V = void 0, H = void 0;
|
|
53
|
-
}
|
|
54
|
-
function G() {
|
|
55
|
-
let e = F.value, t = I.value;
|
|
56
|
-
if (!e || !t) return;
|
|
57
|
-
let n = a(e.getBoundingClientRect(), {
|
|
58
|
-
width: t.offsetWidth,
|
|
59
|
-
height: t.offsetHeight
|
|
60
|
-
}, {
|
|
61
|
-
side: A.placement,
|
|
62
|
-
viewport: o()
|
|
63
|
-
});
|
|
64
|
-
z.value = n.side, B.value = {
|
|
65
|
-
top: n.top,
|
|
66
|
-
left: n.left,
|
|
67
|
-
arrowOffset: n.arrowOffset
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
function K() {
|
|
71
|
-
A.disabled || L.value || (W(), L.value = !0, M("open"), g(() => {
|
|
72
|
-
G(), requestAnimationFrame(G);
|
|
73
|
-
}));
|
|
74
|
-
}
|
|
75
|
-
function q() {
|
|
76
|
-
L.value && (W(), L.value = !1, R.value = !1, M("close"));
|
|
77
|
-
}
|
|
78
|
-
function J() {
|
|
79
|
-
A.disabled || (clearTimeout(H), H = void 0, !L.value && (V = setTimeout(K, A.openDelay)));
|
|
80
|
-
}
|
|
81
|
-
function Y() {
|
|
82
|
-
clearTimeout(V), V = void 0, !R.value && (H = setTimeout(q, A.closeDelay));
|
|
83
|
-
}
|
|
84
|
-
function X() {
|
|
85
|
-
if (!A.disabled) {
|
|
86
|
-
if (R.value) {
|
|
87
|
-
q();
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
R.value = !0, K(), M("activate", A.term);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
function re(e) {
|
|
94
|
-
if (e.key === "Escape") {
|
|
95
|
-
L.value && (e.preventDefault(), q());
|
|
96
|
-
return;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
function ie() {
|
|
100
|
-
A.disabled || (clearTimeout(H), H = void 0, K());
|
|
101
|
-
}
|
|
102
|
-
function ae(e) {
|
|
103
|
-
if (R.value) return;
|
|
104
|
-
let t = e.relatedTarget;
|
|
105
|
-
t && I.value?.contains(t) || q();
|
|
106
|
-
}
|
|
107
|
-
function Z(e) {
|
|
108
|
-
let t = e.target;
|
|
109
|
-
t && (F.value?.contains(t) || I.value?.contains(t) || q());
|
|
110
|
-
}
|
|
111
|
-
function Q(e) {
|
|
112
|
-
e.key === "Escape" && q();
|
|
113
|
-
}
|
|
114
|
-
let { phone: oe } = i();
|
|
115
|
-
function $(e) {
|
|
116
|
-
if (oe.value && se(e.target)) {
|
|
117
|
-
q();
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
|
-
G();
|
|
121
|
-
}
|
|
122
|
-
function se(e) {
|
|
123
|
-
return e === document || e === window ? !0 : !(e instanceof Node) || I.value?.contains(e) ? !1 : !!F.value && e.contains(F.value);
|
|
124
|
-
}
|
|
125
|
-
return S(L, (e) => {
|
|
126
|
-
typeof document > "u" || (e ? (document.addEventListener("pointerdown", Z, !0), document.addEventListener("keydown", Q), window.addEventListener("resize", G), window.addEventListener("scroll", $, !0)) : (document.removeEventListener("pointerdown", Z, !0), document.removeEventListener("keydown", Q), window.removeEventListener("resize", G), window.removeEventListener("scroll", $, !0)));
|
|
127
|
-
}), S(() => A.disabled, (e) => {
|
|
128
|
-
e && q();
|
|
129
|
-
}), te(() => {
|
|
130
|
-
W(), !(typeof document > "u") && (document.removeEventListener("pointerdown", Z, !0), document.removeEventListener("keydown", Q), window.removeEventListener("resize", G), window.removeEventListener("scroll", $, !0));
|
|
131
|
-
}), h({
|
|
132
|
-
open: K,
|
|
133
|
-
close: q,
|
|
134
|
-
isOpen: L
|
|
135
|
-
}), (n, r) => (v(), d("span", {
|
|
136
|
-
class: "nb-info-hint",
|
|
137
|
-
"data-term": e.term || void 0
|
|
138
|
-
}, [f("button", {
|
|
139
|
-
ref_key: "triggerRef",
|
|
140
|
-
ref: F,
|
|
141
|
-
type: "button",
|
|
142
|
-
class: _(["nb-info-hint--trigger", { "nb-info-hint--trigger-open": L.value }]),
|
|
143
|
-
"aria-label": e.label ?? "More information",
|
|
144
|
-
"aria-expanded": L.value,
|
|
145
|
-
"aria-describedby": L.value ? N : void 0,
|
|
146
|
-
disabled: e.disabled,
|
|
147
|
-
onClick: C(X, ["stop"]),
|
|
148
|
-
onMousedown: r[0] ||= C(() => {}, ["stop"]),
|
|
149
|
-
onPointerdown: r[1] ||= C(() => {}, ["stop"]),
|
|
150
|
-
onKeydown: C(re, ["stop"]),
|
|
151
|
-
onMouseenter: J,
|
|
152
|
-
onMouseleave: Y,
|
|
153
|
-
onFocus: ie,
|
|
154
|
-
onBlur: ae
|
|
155
|
-
}, [m(t, {
|
|
156
|
-
name: j.value,
|
|
157
|
-
size: e.size,
|
|
158
|
-
weight: "regular"
|
|
159
|
-
}, null, 8, ["name", "size"])], 42, E), (v(), l(s, { to: e.teleportTo }, [L.value ? (v(), d("div", ee({
|
|
160
|
-
key: 0,
|
|
161
|
-
id: N,
|
|
162
|
-
ref_key: "popoverRef",
|
|
163
|
-
ref: I,
|
|
164
|
-
class: ["nb-info-hint--popover", `nb-info-hint--popover-${z.value}`]
|
|
165
|
-
}, ne(P), {
|
|
166
|
-
role: "tooltip",
|
|
167
|
-
style: U.value,
|
|
168
|
-
onClick: r[2] ||= C(() => {}, ["stop"]),
|
|
169
|
-
onMousedown: r[3] ||= C(() => {}, ["stop"]),
|
|
170
|
-
onPointerdown: r[4] ||= C(() => {}, ["stop"]),
|
|
171
|
-
onMouseenter: J,
|
|
172
|
-
onMouseleave: Y
|
|
173
|
-
}), [e.title ? (v(), d("p", D, x(e.title), 1)) : u("", !0), f("div", O, [b(n.$slots, "default", {}, () => [p(x(e.text), 1)], !0)])], 16)) : u("", !0)], 8, ["to"]))], 8, T));
|
|
174
|
-
}
|
|
175
|
-
}), [["__scopeId", "data-v-530bdf5a"]]);
|
|
176
|
-
//#endregion
|
|
177
|
-
export { k as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./composables/useStableId.composable.cjs`),i=require(`./composables/useSurfaceLayer.composable.cjs`),a=require(`./composables/usePhoneLayout.composable.cjs`),o=require(`./utils/anchorPosition.helper.cjs`);let s=require(`vue`),c=require(`@nubisco/ui/icons/info`);c=e.n(c);var l=[`data-term`],u=[`aria-label`,`aria-expanded`,`aria-describedby`,`disabled`],d={key:0,class:`nb-info-hint--title`},f={class:`nb-info-hint--body`},p=(0,s.defineComponent)({__name:`InfoHint`,props:{text:{default:void 0},title:{default:void 0},term:{default:void 0},placement:{default:`top`},size:{default:16},icon:{default:void 0},label:{default:void 0},openDelay:{default:120},closeDelay:{default:140},teleportTo:{default:`body`},disabled:{type:Boolean,default:!1}},emits:[`open`,`close`,`activate`],setup(e,{expose:t,emit:p}){let m=e,h=(0,s.computed)(()=>m.icon??c),g=p,_=`${r.useStableId({})}-popover`,{layerProps:v}=i.useSurfaceLayer({overlay:!0}),y=(0,s.ref)(null),b=(0,s.ref)(null),x=(0,s.ref)(!1),S=(0,s.ref)(!1),C=(0,s.ref)(m.placement),w=(0,s.ref)({top:0,left:0,arrowOffset:50}),T,E,D=(0,s.computed)(()=>({top:`${w.value.top}px`,left:`${w.value.left}px`,"--nb-info-hint-arrow-offset":`${w.value.arrowOffset}%`}));function O(){clearTimeout(T),clearTimeout(E),T=void 0,E=void 0}function k(){let e=y.value,t=b.value;if(!e||!t)return;let n=o.placeAnchored(e.getBoundingClientRect(),{width:t.offsetWidth,height:t.offsetHeight},{side:m.placement,viewport:o.viewportSize()});C.value=n.side,w.value={top:n.top,left:n.left,arrowOffset:n.arrowOffset}}function A(){m.disabled||x.value||(O(),x.value=!0,g(`open`),(0,s.nextTick)(()=>{k(),requestAnimationFrame(k)}))}function j(){x.value&&(O(),x.value=!1,S.value=!1,g(`close`))}function M(){m.disabled||(clearTimeout(E),E=void 0,!x.value&&(T=setTimeout(A,m.openDelay)))}function N(){clearTimeout(T),T=void 0,!S.value&&(E=setTimeout(j,m.closeDelay))}function P(){if(!m.disabled){if(S.value){j();return}S.value=!0,A(),g(`activate`,m.term)}}function F(e){if(e.key===`Escape`){x.value&&(e.preventDefault(),j());return}}function I(){m.disabled||(clearTimeout(E),E=void 0,A())}function L(e){if(S.value)return;let t=e.relatedTarget;t&&b.value?.contains(t)||j()}function R(e){let t=e.target;t&&(y.value?.contains(t)||b.value?.contains(t)||j())}function z(e){e.key===`Escape`&&j()}let{phone:B}=a.usePhoneLayout();function V(e){if(B.value&&H(e.target)){j();return}k()}function H(e){return e===document||e===window?!0:!(e instanceof Node)||b.value?.contains(e)?!1:!!y.value&&e.contains(y.value)}return(0,s.watch)(x,e=>{typeof document>`u`||(e?(document.addEventListener(`pointerdown`,R,!0),document.addEventListener(`keydown`,z),window.addEventListener(`resize`,k),window.addEventListener(`scroll`,V,!0)):(document.removeEventListener(`pointerdown`,R,!0),document.removeEventListener(`keydown`,z),window.removeEventListener(`resize`,k),window.removeEventListener(`scroll`,V,!0)))}),(0,s.watch)(()=>m.disabled,e=>{e&&j()}),(0,s.onBeforeUnmount)(()=>{O(),!(typeof document>`u`)&&(document.removeEventListener(`pointerdown`,R,!0),document.removeEventListener(`keydown`,z),window.removeEventListener(`resize`,k),window.removeEventListener(`scroll`,V,!0))}),t({open:A,close:j,isOpen:x}),(t,r)=>((0,s.openBlock)(),(0,s.createElementBlock)(`span`,{class:`nb-info-hint`,"data-term":e.term||void 0},[(0,s.createElementVNode)(`button`,{ref_key:`triggerRef`,ref:y,type:`button`,class:(0,s.normalizeClass)([`nb-info-hint--trigger`,{"nb-info-hint--trigger-open":x.value}]),"aria-label":e.label??`More information`,"aria-expanded":x.value,"aria-describedby":x.value?_:void 0,disabled:e.disabled,onClick:(0,s.withModifiers)(P,[`stop`]),onMousedown:r[0]||=(0,s.withModifiers)(()=>{},[`stop`]),onPointerdown:r[1]||=(0,s.withModifiers)(()=>{},[`stop`]),onKeydown:(0,s.withModifiers)(F,[`stop`]),onMouseenter:M,onMouseleave:N,onFocus:I,onBlur:L},[(0,s.createVNode)(n.t,{name:h.value,size:e.size,weight:`regular`},null,8,[`name`,`size`])],42,u),((0,s.openBlock)(),(0,s.createBlock)(s.Teleport,{to:e.teleportTo},[x.value?((0,s.openBlock)(),(0,s.createElementBlock)(`div`,(0,s.mergeProps)({key:0,id:_,ref_key:`popoverRef`,ref:b,class:[`nb-info-hint--popover`,`nb-info-hint--popover-${C.value}`]},(0,s.unref)(v),{role:`tooltip`,style:D.value,onClick:r[2]||=(0,s.withModifiers)(()=>{},[`stop`]),onMousedown:r[3]||=(0,s.withModifiers)(()=>{},[`stop`]),onPointerdown:r[4]||=(0,s.withModifiers)(()=>{},[`stop`]),onMouseenter:M,onMouseleave:N}),[e.title?((0,s.openBlock)(),(0,s.createElementBlock)(`p`,d,(0,s.toDisplayString)(e.title),1)):(0,s.createCommentVNode)(``,!0),(0,s.createElementVNode)(`div`,f,[(0,s.renderSlot)(t.$slots,`default`,{},()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.text),1)],!0)])],16)):(0,s.createCommentVNode)(``,!0)],8,[`to`]))],8,l))}}),m=t.t(p,[[`__scopeId`,`data-v-530bdf5a`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return m}});
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
-
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
|
-
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, nextTick as c, normalizeClass as l, openBlock as u, ref as d, toDisplayString as f, unref as p, withKeys as m, withModifiers as h } from "vue";
|
|
4
|
-
import { regular as g } from "@nubisco/ui/icons/pencil-simple";
|
|
5
|
-
//#region src/components/InlineEdit.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var _ = [
|
|
7
|
-
"id",
|
|
8
|
-
"value",
|
|
9
|
-
"aria-label",
|
|
10
|
-
"placeholder",
|
|
11
|
-
"onKeydown"
|
|
12
|
-
], v = [
|
|
13
|
-
"id",
|
|
14
|
-
"value",
|
|
15
|
-
"aria-label",
|
|
16
|
-
"placeholder",
|
|
17
|
-
"onKeydown"
|
|
18
|
-
], y = [
|
|
19
|
-
"id",
|
|
20
|
-
"aria-label",
|
|
21
|
-
"disabled"
|
|
22
|
-
], b = /* @__PURE__ */ e(/* @__PURE__ */ s({
|
|
23
|
-
__name: "InlineEdit",
|
|
24
|
-
props: {
|
|
25
|
-
modelValue: {},
|
|
26
|
-
label: {},
|
|
27
|
-
placeholder: { default: void 0 },
|
|
28
|
-
size: { default: "md" },
|
|
29
|
-
disabled: {
|
|
30
|
-
type: Boolean,
|
|
31
|
-
default: !1
|
|
32
|
-
},
|
|
33
|
-
multiline: {
|
|
34
|
-
type: Boolean,
|
|
35
|
-
default: !1
|
|
36
|
-
},
|
|
37
|
-
id: {}
|
|
38
|
-
},
|
|
39
|
-
emits: [
|
|
40
|
-
"update:modelValue",
|
|
41
|
-
"commit",
|
|
42
|
-
"cancel"
|
|
43
|
-
],
|
|
44
|
-
setup(e, { expose: s, emit: b }) {
|
|
45
|
-
let x = e, S = b, C = d(!1), w = d(null), T = "", E = n(() => ({
|
|
46
|
-
md: 16,
|
|
47
|
-
lg: 16,
|
|
48
|
-
xl: 20
|
|
49
|
-
})[x.size ?? "md"]);
|
|
50
|
-
function D() {
|
|
51
|
-
x.disabled || (T = x.modelValue, C.value = !0, c(() => {
|
|
52
|
-
k(), w.value?.focus(), w.value?.select();
|
|
53
|
-
}));
|
|
54
|
-
}
|
|
55
|
-
function O(e) {
|
|
56
|
-
S("update:modelValue", e.target.value);
|
|
57
|
-
}
|
|
58
|
-
function k() {
|
|
59
|
-
let e = w.value;
|
|
60
|
-
!x.multiline || !(e instanceof HTMLTextAreaElement) || (e.style.height = "auto", e.style.height = `${e.scrollHeight}px`);
|
|
61
|
-
}
|
|
62
|
-
function A(e) {
|
|
63
|
-
S("update:modelValue", e.target.value), k();
|
|
64
|
-
}
|
|
65
|
-
function j(e) {
|
|
66
|
-
e.shiftKey || e.isComposing || (e.preventDefault(), M());
|
|
67
|
-
}
|
|
68
|
-
function M() {
|
|
69
|
-
C.value && (C.value = !1, S("commit", x.modelValue));
|
|
70
|
-
}
|
|
71
|
-
function N() {
|
|
72
|
-
C.value && (C.value = !1, S("update:modelValue", T), S("cancel"));
|
|
73
|
-
}
|
|
74
|
-
return s({ start: D }), (n, s) => C.value && e.multiline ? (u(), a("textarea", {
|
|
75
|
-
key: 0,
|
|
76
|
-
id: e.id,
|
|
77
|
-
ref_key: "input",
|
|
78
|
-
ref: w,
|
|
79
|
-
class: l(["nb-inline-edit__input nb-inline-edit__input--multiline", `nb-inline-edit__input--${e.size}`]),
|
|
80
|
-
rows: "1",
|
|
81
|
-
value: e.modelValue,
|
|
82
|
-
"aria-label": e.label,
|
|
83
|
-
placeholder: e.placeholder,
|
|
84
|
-
onInput: A,
|
|
85
|
-
onBlur: M,
|
|
86
|
-
onKeydown: [m(j, ["enter"]), m(h(N, ["prevent"]), ["esc"])]
|
|
87
|
-
}, null, 42, _)) : C.value ? (u(), a("input", {
|
|
88
|
-
key: 1,
|
|
89
|
-
id: e.id,
|
|
90
|
-
ref_key: "input",
|
|
91
|
-
ref: w,
|
|
92
|
-
class: l(["nb-inline-edit__input", `nb-inline-edit__input--${e.size}`]),
|
|
93
|
-
value: e.modelValue,
|
|
94
|
-
"aria-label": e.label,
|
|
95
|
-
placeholder: e.placeholder,
|
|
96
|
-
onInput: O,
|
|
97
|
-
onBlur: M,
|
|
98
|
-
onKeydown: [m(h(M, ["prevent"]), ["enter"]), m(h(N, ["prevent"]), ["esc"])]
|
|
99
|
-
}, null, 42, v)) : (u(), a("button", {
|
|
100
|
-
key: 2,
|
|
101
|
-
id: e.id,
|
|
102
|
-
type: "button",
|
|
103
|
-
class: l(["nb-inline-edit__text", [`nb-inline-edit__text--${e.size}`, { "is-disabled": e.disabled }]]),
|
|
104
|
-
"aria-label": `${e.label}: ${e.modelValue || e.placeholder || "empty"}. Press Enter to edit.`,
|
|
105
|
-
disabled: e.disabled,
|
|
106
|
-
onClick: D
|
|
107
|
-
}, [o("span", { class: l({ "nb-inline-edit__placeholder": !e.modelValue }) }, f(e.modelValue || e.placeholder), 3), e.disabled ? i("", !0) : (u(), r(t, {
|
|
108
|
-
key: 0,
|
|
109
|
-
class: "nb-inline-edit__pencil",
|
|
110
|
-
name: p(g),
|
|
111
|
-
size: E.value
|
|
112
|
-
}, null, 8, ["name", "size"]))], 10, y));
|
|
113
|
-
}
|
|
114
|
-
}), [["__scopeId", "data-v-3500505d"]]);
|
|
115
|
-
//#endregion
|
|
116
|
-
export { b as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./Icon-CssV4E2-.cjs`);let n=require(`vue`),r=require(`@nubisco/ui/icons/pencil-simple`);var i=[`id`,`value`,`aria-label`,`placeholder`,`onKeydown`],a=[`id`,`value`,`aria-label`,`placeholder`,`onKeydown`],o=[`id`,`aria-label`,`disabled`],s=(0,n.defineComponent)({__name:`InlineEdit`,props:{modelValue:{},label:{},placeholder:{default:void 0},size:{default:`md`},disabled:{type:Boolean,default:!1},multiline:{type:Boolean,default:!1},id:{}},emits:[`update:modelValue`,`commit`,`cancel`],setup(e,{expose:s,emit:c}){let l=e,u=c,d=(0,n.ref)(!1),f=(0,n.ref)(null),p=``,m=(0,n.computed)(()=>({md:16,lg:16,xl:20})[l.size??`md`]);function h(){l.disabled||(p=l.modelValue,d.value=!0,(0,n.nextTick)(()=>{_(),f.value?.focus(),f.value?.select()}))}function g(e){u(`update:modelValue`,e.target.value)}function _(){let e=f.value;!l.multiline||!(e instanceof HTMLTextAreaElement)||(e.style.height=`auto`,e.style.height=`${e.scrollHeight}px`)}function v(e){u(`update:modelValue`,e.target.value),_()}function y(e){e.shiftKey||e.isComposing||(e.preventDefault(),b())}function b(){d.value&&(d.value=!1,u(`commit`,l.modelValue))}function x(){d.value&&(d.value=!1,u(`update:modelValue`,p),u(`cancel`))}return s({start:h}),(s,c)=>d.value&&e.multiline?((0,n.openBlock)(),(0,n.createElementBlock)(`textarea`,{key:0,id:e.id,ref_key:`input`,ref:f,class:(0,n.normalizeClass)([`nb-inline-edit__input nb-inline-edit__input--multiline`,`nb-inline-edit__input--${e.size}`]),rows:`1`,value:e.modelValue,"aria-label":e.label,placeholder:e.placeholder,onInput:v,onBlur:b,onKeydown:[(0,n.withKeys)(y,[`enter`]),(0,n.withKeys)((0,n.withModifiers)(x,[`prevent`]),[`esc`])]},null,42,i)):d.value?((0,n.openBlock)(),(0,n.createElementBlock)(`input`,{key:1,id:e.id,ref_key:`input`,ref:f,class:(0,n.normalizeClass)([`nb-inline-edit__input`,`nb-inline-edit__input--${e.size}`]),value:e.modelValue,"aria-label":e.label,placeholder:e.placeholder,onInput:g,onBlur:b,onKeydown:[(0,n.withKeys)((0,n.withModifiers)(b,[`prevent`]),[`enter`]),(0,n.withKeys)((0,n.withModifiers)(x,[`prevent`]),[`esc`])]},null,42,a)):((0,n.openBlock)(),(0,n.createElementBlock)(`button`,{key:2,id:e.id,type:`button`,class:(0,n.normalizeClass)([`nb-inline-edit__text`,[`nb-inline-edit__text--${e.size}`,{"is-disabled":e.disabled}]]),"aria-label":`${e.label}: ${e.modelValue||e.placeholder||`empty`}. Press Enter to edit.`,disabled:e.disabled,onClick:h},[(0,n.createElementVNode)(`span`,{class:(0,n.normalizeClass)({"nb-inline-edit__placeholder":!e.modelValue})},(0,n.toDisplayString)(e.modelValue||e.placeholder),3),e.disabled?(0,n.createCommentVNode)(``,!0):((0,n.openBlock)(),(0,n.createBlock)(t.t,{key:0,class:`nb-inline-edit__pencil`,name:(0,n.unref)(r.regular),size:m.value},null,8,[`name`,`size`]))],10,o))}}),c=e.t(s,[[`__scopeId`,`data-v-3500505d`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
|
package/dist/Menu-CLDGxi-1.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./composables/usePhoneLayout.composable.cjs`),t=require(`./composables/useFocusTrap.composable.cjs`);let n=require(`vue`);var r=(0,n.defineComponent)({__name:`Menu`,props:{open:{type:Boolean,default:!1},size:{default:`md`},minWidth:{default:160},maxWidth:{default:288}},emits:[`close`,`update:open`],setup(r,{expose:i,emit:a}){let o=r,s=a,c=(0,n.ref)(null),l=(0,n.ref)(-1),u=(0,n.reactive)([]),{phone:d}=e.usePhoneLayout();function f(e){return d.value?`min(${e}px, calc(100vw - 16px))`:`${e}px`}let p=(0,n.computed)(()=>({position:`fixed`,top:`${m.top}px`,left:`${m.left}px`,minWidth:f(o.minWidth),maxWidth:f(o.maxWidth),zIndex:d.value?`var(--nb-zindex-modal-dropdown)`:`var(--nb-zindex-menu)`})),m=(0,n.reactive)({top:0,left:0});function h(e){m.top=e.bottom,m.left=e.left,_()}function g(e,t){m.top=t,m.left=e,_()}function _(){o.open&&(0,n.nextTick)(O)}function v(){s(`close`),s(`update:open`,!1)}function y(e){return u.includes(e)||u.push(e),u.indexOf(e)}function b(e){let t=u.indexOf(e);t>=0&&u.splice(t,1)}let x=new Set;function S(e){x.add(e)}function C(e){x.delete(e)}(0,n.provide)(`nb-menu`,{size:o.size,close:v,highlightedIndex:l.value,registerItem:y,unregisterItem:b,registerSurface:S,unregisterSurface:C});function w(){return c.value?Array.from(c.value.querySelectorAll(`[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]`)).filter(e=>!e.closest(`.nb-submenu`)):[]}function T(e){let t=w();e>=0&&e<t.length&&(l.value=e,t[e].focus())}function E(e){if(e.key===`Escape`){if(e.defaultPrevented)return;e.preventDefault(),e.stopPropagation(),v();return}let t=w();if(!t.length)return;let n=t.indexOf(document.activeElement);n>=0&&(l.value=n);let r=e=>t[e]?.getAttribute(`aria-disabled`)!==`true`;function i(e,n){for(let i=1;i<=t.length;i++){let a=(e+n*i+t.length*i)%t.length;if(r(a))return a}return-1}if(e.key===`ArrowDown`){e.preventDefault(),e.stopPropagation();let t=i(l.value,1);t>=0&&T(t)}else if(e.key===`ArrowUp`){e.preventDefault(),e.stopPropagation();let t=i(l.value<0?0:l.value,-1);t>=0&&T(t)}else if(e.key===`Home`){e.preventDefault(),e.stopPropagation();let t=i(-1,1);t>=0&&T(t)}else if(e.key===`End`){e.preventDefault(),e.stopPropagation();let n=i(t.length,-1);n>=0&&T(n)}else if(e.key===`Tab`)v();else if(e.key.length===1&&e.key!==` `&&!e.ctrlKey&&!e.metaKey&&!e.altKey&&!e.target.closest(`input, textarea, [contenteditable]`)){let n=e.key.toLowerCase();for(let i=1;i<=t.length;i++){let a=(l.value+i+t.length)%t.length,o=(t[a].textContent??``).trim().toLowerCase();if(r(a)&&o.startsWith(n)){e.preventDefault(),e.stopPropagation(),T(a);break}}}}function D(e){let t=e.target;if(!(!c.value||c.value.contains(t))){for(let e of x)if(e.contains(t))return;v()}}function O(){if(!c.value)return;let e=c.value.getBoundingClientRect();e.right>window.innerWidth&&(m.left=Math.max(8,window.innerWidth-e.width-8)),e.bottom>window.innerHeight&&(m.top=Math.max(8,window.innerHeight-e.height-8));let t=window.innerHeight-m.top-8;c.value.style.maxHeight=`${t}px`}let k=null;function A(){k=document.activeElement instanceof HTMLElement&&document.activeElement!==document.body?document.activeElement:null}function j(e){if(!e||e===document.body||!e.isConnected||c.value?.contains(e))return!0;for(let t of x)if(t.contains(e))return!0;return!1}function M(){let e=k;if(k=null,!e?.isConnected)return;let n=t.openModalSurfaces(),r=n[n.length-1];r&&!r.contains(e)||j(document.activeElement)&&e.focus()}return(0,n.watch)(()=>o.open,e=>{e?(A(),l.value=-1,document.addEventListener(`mousedown`,D),(0,n.nextTick)(()=>{O(),w().length>0&&T(0)})):(l.value=-1,document.removeEventListener(`mousedown`,D),M())}),(0,n.onBeforeUnmount)(()=>{document.removeEventListener(`mousedown`,D)}),i({setPosition:h,setPositionXY:g,close:v,el:c}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)(n.Teleport,{to:`body`},[(0,n.createVNode)(n.Transition,{name:`nb-menu`},{default:(0,n.withCtx)(()=>[r.open?((0,n.openBlock)(),(0,n.createElementBlock)(`ul`,{key:0,ref_key:`menuRef`,ref:c,role:`menu`,class:(0,n.normalizeClass)([`nb-menu`,`nb-menu--${r.size}`]),style:(0,n.normalizeStyle)(p.value),onKeydown:E},[(0,n.renderSlot)(e.$slots,`default`)],38)):(0,n.createCommentVNode)(``,!0)]),_:3})]))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
package/dist/Menu-C_UsGyKX.js
DELETED
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import { usePhoneLayout as e } from "./composables/usePhoneLayout.composable.mjs";
|
|
2
|
-
import { openModalSurfaces as t } from "./composables/useFocusTrap.composable.mjs";
|
|
3
|
-
import { Teleport as n, Transition as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createVNode as c, defineComponent as l, nextTick as u, normalizeClass as d, normalizeStyle as f, onBeforeUnmount as p, openBlock as m, provide as h, reactive as g, ref as _, renderSlot as v, watch as y, withCtx as b } from "vue";
|
|
4
|
-
//#endregion
|
|
5
|
-
//#region src/components/Menu.vue
|
|
6
|
-
var x = /* @__PURE__ */ l({
|
|
7
|
-
__name: "Menu",
|
|
8
|
-
props: {
|
|
9
|
-
open: {
|
|
10
|
-
type: Boolean,
|
|
11
|
-
default: !1
|
|
12
|
-
},
|
|
13
|
-
size: { default: "md" },
|
|
14
|
-
minWidth: { default: 160 },
|
|
15
|
-
maxWidth: { default: 288 }
|
|
16
|
-
},
|
|
17
|
-
emits: ["close", "update:open"],
|
|
18
|
-
setup(l, { expose: x, emit: S }) {
|
|
19
|
-
let C = l, w = S, T = _(null), E = _(-1), D = g([]), { phone: O } = e();
|
|
20
|
-
function k(e) {
|
|
21
|
-
return O.value ? `min(${e}px, calc(100vw - 16px))` : `${e}px`;
|
|
22
|
-
}
|
|
23
|
-
let A = i(() => ({
|
|
24
|
-
position: "fixed",
|
|
25
|
-
top: `${j.top}px`,
|
|
26
|
-
left: `${j.left}px`,
|
|
27
|
-
minWidth: k(C.minWidth),
|
|
28
|
-
maxWidth: k(C.maxWidth),
|
|
29
|
-
zIndex: O.value ? "var(--nb-zindex-modal-dropdown)" : "var(--nb-zindex-menu)"
|
|
30
|
-
})), j = g({
|
|
31
|
-
top: 0,
|
|
32
|
-
left: 0
|
|
33
|
-
});
|
|
34
|
-
function M(e) {
|
|
35
|
-
j.top = e.bottom, j.left = e.left, P();
|
|
36
|
-
}
|
|
37
|
-
function N(e, t) {
|
|
38
|
-
j.top = t, j.left = e, P();
|
|
39
|
-
}
|
|
40
|
-
function P() {
|
|
41
|
-
C.open && u(G);
|
|
42
|
-
}
|
|
43
|
-
function F() {
|
|
44
|
-
w("close"), w("update:open", !1);
|
|
45
|
-
}
|
|
46
|
-
function I(e) {
|
|
47
|
-
return D.includes(e) || D.push(e), D.indexOf(e);
|
|
48
|
-
}
|
|
49
|
-
function L(e) {
|
|
50
|
-
let t = D.indexOf(e);
|
|
51
|
-
t >= 0 && D.splice(t, 1);
|
|
52
|
-
}
|
|
53
|
-
let R = /* @__PURE__ */ new Set();
|
|
54
|
-
function z(e) {
|
|
55
|
-
R.add(e);
|
|
56
|
-
}
|
|
57
|
-
function B(e) {
|
|
58
|
-
R.delete(e);
|
|
59
|
-
}
|
|
60
|
-
h("nb-menu", {
|
|
61
|
-
size: C.size,
|
|
62
|
-
close: F,
|
|
63
|
-
highlightedIndex: E.value,
|
|
64
|
-
registerItem: I,
|
|
65
|
-
unregisterItem: L,
|
|
66
|
-
registerSurface: z,
|
|
67
|
-
unregisterSurface: B
|
|
68
|
-
});
|
|
69
|
-
function V() {
|
|
70
|
-
return T.value ? Array.from(T.value.querySelectorAll("[role=\"menuitem\"], [role=\"menuitemcheckbox\"], [role=\"menuitemradio\"]")).filter((e) => !e.closest(".nb-submenu")) : [];
|
|
71
|
-
}
|
|
72
|
-
function H(e) {
|
|
73
|
-
let t = V();
|
|
74
|
-
e >= 0 && e < t.length && (E.value = e, t[e].focus());
|
|
75
|
-
}
|
|
76
|
-
function U(e) {
|
|
77
|
-
if (e.key === "Escape") {
|
|
78
|
-
if (e.defaultPrevented) return;
|
|
79
|
-
e.preventDefault(), e.stopPropagation(), F();
|
|
80
|
-
return;
|
|
81
|
-
}
|
|
82
|
-
let t = V();
|
|
83
|
-
if (!t.length) return;
|
|
84
|
-
let n = t.indexOf(document.activeElement);
|
|
85
|
-
n >= 0 && (E.value = n);
|
|
86
|
-
let r = (e) => t[e]?.getAttribute("aria-disabled") !== "true";
|
|
87
|
-
function i(e, n) {
|
|
88
|
-
for (let i = 1; i <= t.length; i++) {
|
|
89
|
-
let a = (e + n * i + t.length * i) % t.length;
|
|
90
|
-
if (r(a)) return a;
|
|
91
|
-
}
|
|
92
|
-
return -1;
|
|
93
|
-
}
|
|
94
|
-
if (e.key === "ArrowDown") {
|
|
95
|
-
e.preventDefault(), e.stopPropagation();
|
|
96
|
-
let t = i(E.value, 1);
|
|
97
|
-
t >= 0 && H(t);
|
|
98
|
-
} else if (e.key === "ArrowUp") {
|
|
99
|
-
e.preventDefault(), e.stopPropagation();
|
|
100
|
-
let t = i(E.value < 0 ? 0 : E.value, -1);
|
|
101
|
-
t >= 0 && H(t);
|
|
102
|
-
} else if (e.key === "Home") {
|
|
103
|
-
e.preventDefault(), e.stopPropagation();
|
|
104
|
-
let t = i(-1, 1);
|
|
105
|
-
t >= 0 && H(t);
|
|
106
|
-
} else if (e.key === "End") {
|
|
107
|
-
e.preventDefault(), e.stopPropagation();
|
|
108
|
-
let n = i(t.length, -1);
|
|
109
|
-
n >= 0 && H(n);
|
|
110
|
-
} else if (e.key === "Tab") F();
|
|
111
|
-
else if (e.key.length === 1 && e.key !== " " && !e.ctrlKey && !e.metaKey && !e.altKey && !e.target.closest("input, textarea, [contenteditable]")) {
|
|
112
|
-
let n = e.key.toLowerCase();
|
|
113
|
-
for (let i = 1; i <= t.length; i++) {
|
|
114
|
-
let a = (E.value + i + t.length) % t.length, o = (t[a].textContent ?? "").trim().toLowerCase();
|
|
115
|
-
if (r(a) && o.startsWith(n)) {
|
|
116
|
-
e.preventDefault(), e.stopPropagation(), H(a);
|
|
117
|
-
break;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
function W(e) {
|
|
123
|
-
let t = e.target;
|
|
124
|
-
if (!(!T.value || T.value.contains(t))) {
|
|
125
|
-
for (let e of R) if (e.contains(t)) return;
|
|
126
|
-
F();
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
function G() {
|
|
130
|
-
if (!T.value) return;
|
|
131
|
-
let e = T.value.getBoundingClientRect();
|
|
132
|
-
e.right > window.innerWidth && (j.left = Math.max(8, window.innerWidth - e.width - 8)), e.bottom > window.innerHeight && (j.top = Math.max(8, window.innerHeight - e.height - 8));
|
|
133
|
-
let t = window.innerHeight - j.top - 8;
|
|
134
|
-
T.value.style.maxHeight = `${t}px`;
|
|
135
|
-
}
|
|
136
|
-
let K = null;
|
|
137
|
-
function q() {
|
|
138
|
-
K = document.activeElement instanceof HTMLElement && document.activeElement !== document.body ? document.activeElement : null;
|
|
139
|
-
}
|
|
140
|
-
function J(e) {
|
|
141
|
-
if (!e || e === document.body || !e.isConnected || T.value?.contains(e)) return !0;
|
|
142
|
-
for (let t of R) if (t.contains(e)) return !0;
|
|
143
|
-
return !1;
|
|
144
|
-
}
|
|
145
|
-
function Y() {
|
|
146
|
-
let e = K;
|
|
147
|
-
if (K = null, !e?.isConnected) return;
|
|
148
|
-
let n = t(), r = n[n.length - 1];
|
|
149
|
-
r && !r.contains(e) || J(document.activeElement) && e.focus();
|
|
150
|
-
}
|
|
151
|
-
return y(() => C.open, (e) => {
|
|
152
|
-
e ? (q(), E.value = -1, document.addEventListener("mousedown", W), u(() => {
|
|
153
|
-
G(), V().length > 0 && H(0);
|
|
154
|
-
})) : (E.value = -1, document.removeEventListener("mousedown", W), Y());
|
|
155
|
-
}), p(() => {
|
|
156
|
-
document.removeEventListener("mousedown", W);
|
|
157
|
-
}), x({
|
|
158
|
-
setPosition: M,
|
|
159
|
-
setPositionXY: N,
|
|
160
|
-
close: F,
|
|
161
|
-
el: T
|
|
162
|
-
}), (e, t) => (m(), a(n, { to: "body" }, [c(r, { name: "nb-menu" }, {
|
|
163
|
-
default: b(() => [l.open ? (m(), s("ul", {
|
|
164
|
-
key: 0,
|
|
165
|
-
ref_key: "menuRef",
|
|
166
|
-
ref: T,
|
|
167
|
-
role: "menu",
|
|
168
|
-
class: d(["nb-menu", `nb-menu--${l.size}`]),
|
|
169
|
-
style: f(A.value),
|
|
170
|
-
onKeydown: U
|
|
171
|
-
}, [v(e.$slots, "default")], 38)) : o("", !0)]),
|
|
172
|
-
_: 3
|
|
173
|
-
})]));
|
|
174
|
-
}
|
|
175
|
-
});
|
|
176
|
-
//#endregion
|
|
177
|
-
export { x as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Icon-CssV4E2-.cjs`),t=require(`./Avatar-UO0ySqkY.cjs`);let n=require(`vue`),r=require(`@nubisco/ui/icons/check`);var i=[`role`,`aria-disabled`,`aria-checked`,`onKeydown`],a={key:1,class:`nb-menu-item__check-placeholder`},o=[`title`],s={key:2,class:`nb-menu-item__shortcut`},c=(0,n.defineComponent)({__name:`MenuItem`,props:{icon:{default:void 0},picture:{default:void 0},label:{},shortcut:{default:void 0},disabled:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},selectable:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},radioGroup:{default:void 0}},emits:[`select`,`highlight`],setup(c,{expose:l,emit:u}){let d=c,f=u,p=(0,n.ref)(null),m=(0,n.inject)(`nb-menu`,null),h=(0,n.computed)(()=>d.radioGroup?`menuitemradio`:d.selectable?`menuitemcheckbox`:`menuitem`),g=(0,n.computed)(()=>[`nb-menu-item`,{"nb-menu-item--disabled":d.disabled,"nb-menu-item--danger":d.danger,"nb-menu-item--selected":d.selected}]);function _(){d.disabled||(f(`select`),m?.close())}return(0,n.onMounted)(()=>{p.value&&m&&m.registerItem(p.value)}),(0,n.onBeforeUnmount)(()=>{p.value&&m&&m.unregisterItem(p.value)}),l({el:p}),(l,u)=>((0,n.openBlock)(),(0,n.createElementBlock)(`li`,{ref_key:`itemRef`,ref:p,class:(0,n.normalizeClass)(g.value),role:h.value,"aria-disabled":c.disabled||void 0,"aria-checked":c.selectable||c.radioGroup?c.selected:void 0,tabindex:-1,onClick:_,onKeydown:[(0,n.withKeys)((0,n.withModifiers)(_,[`prevent`]),[`enter`]),(0,n.withKeys)((0,n.withModifiers)(_,[`prevent`]),[`space`])],onMouseenter:u[0]||=e=>l.$emit(`highlight`)},[c.selectable&&c.selected?((0,n.openBlock)(),(0,n.createBlock)(e.t,{key:0,name:(0,n.unref)(r.regular),size:16,class:`nb-menu-item__check`},null,8,[`name`])):c.selectable?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,a)):(0,n.createCommentVNode)(``,!0),(0,n.renderSlot)(l.$slots,`leading`,{},()=>[c.picture===void 0?c.icon?((0,n.openBlock)(),(0,n.createBlock)(e.t,{key:1,name:c.icon,size:16,class:`nb-menu-item__icon`},null,8,[`name`])):(0,n.createCommentVNode)(``,!0):((0,n.openBlock)(),(0,n.createBlock)(t.t,{key:0,class:`nb-menu-item__icon nb-menu-item__picture`,name:c.label,picture:c.picture,size:16,decorative:``},null,8,[`name`,`picture`]))]),(0,n.createElementVNode)(`span`,{class:`nb-menu-item__label`,title:c.label||void 0},(0,n.toDisplayString)(c.label),9,o),c.shortcut?((0,n.openBlock)(),(0,n.createElementBlock)(`kbd`,s,(0,n.toDisplayString)(c.shortcut),1)):(0,n.createCommentVNode)(``,!0),(0,n.renderSlot)(l.$slots,`trailing`)],42,i))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
|
package/dist/Modal-1i_nDqvM.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./motion-BjVtMTXD.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./composables/useSurfaceLayer.composable.cjs`),i=require(`./Size.d-BQ4_AVQe.cjs`),a=require(`./Button-C0N1cyOQ.cjs`),o=require(`./composables/useFocusTrap.composable.cjs`),s=require(`./Grid-C0muGlj3.cjs`),c=require(`./composables/useNbStrings.composable.cjs`),l=require(`./composables/useVisualViewportVar.composable.cjs`),u=require(`./composables/useScrollLock.composable.cjs`);let d=require(`vue`),f=require(`@nubisco/ui/icons/x`);var p=e.n.short,m=[`[data-nb-confirm-floating]`,`.nb-select__dropdown`,`.nb-menu`,`.nb-date-picker__calendar`,`.nb-user-menu__panel`,`.nb-sidebar-menu-item__flyout`],h=new Set;function g(e){let t=e.trim();return t?(h.add(t),()=>{h.delete(t)}):()=>{}}function _(e=[]){return[...m,...h,...e].map(e=>e.trim()).filter(Boolean).join(`,`)}function v(e,t){if(!e)return;let n=`${t?0:p}ms`;e.style.transitionDuration=n;let r=e.parentElement;r instanceof HTMLElement&&(r.style.transitionDuration=n)}var y=[`role`,`aria-labelledby`,`aria-describedby`,`aria-busy`],b={key:0,class:`nb-modal--header`},x=[`aria-label`,`disabled`,`aria-disabled`],S=[`tabindex`,`role`,`aria-labelledby`],C=(0,d.defineComponent)({__name:`Modal`,props:{open:{type:Boolean,default:!1},title:{default:void 0},size:{default:i.r.Medium},closeOnOverlay:{type:Boolean,default:!0},role:{default:`dialog`},labelledBy:{default:void 0},describedBy:{default:void 0},busy:{type:Boolean,default:!1},closeDisabled:{type:Boolean,default:!1},closeAppearance:{default:`corner`},closeOnEscape:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},initialFocus:{type:[String,Function],default:void 0},floatingSelectors:{default:void 0}},emits:[`close`],setup(e,{expose:t,emit:i}){let p=c.useNbStrings(),m=e,h=i,g=(0,d.useSlots)(),v=(0,d.computed)(()=>!!g.header||!!m.title),C=`nb-modal-title-${(0,d.useId)()}`,w=(0,d.ref)(null),T=(0,d.ref)(null),{layerProps:E}=r.useSurfaceLayer({overlay:!0});function D(){m.closeOnOverlay&&h(`close`)}function O(){let e=m.initialFocus;return e?typeof e==`function`?e():w.value?.querySelector(e)??null:null}o.useFocusTrap({container:()=>w.value,active:()=>m.open&&m.trapFocus,initialFocus:O,floatingSelector:()=>_(m.floatingSelectors)}),l.useVisualViewportVar(()=>m.open);let k=!1;function A(){k||(k=!0,u.acquireScrollLock())}function j(){k&&(k=!1,u.releaseScrollLock())}let M=(0,d.ref)(!1);function N(){let e=T.value;if(!e)return;let t=e.scrollHeight-e.clientHeight;!M.value&&t>4?M.value=!0:M.value&&t<=0&&(M.value=!1)}let P=null,F=null;function I(){let e=T.value;e&&(L(),typeof ResizeObserver<`u`&&(P=new ResizeObserver(()=>N()),P.observe(e)),typeof MutationObserver<`u`&&(F=new MutationObserver(()=>N()),F.observe(e,{childList:!0,subtree:!0,characterData:!0})),N())}function L(){P?.disconnect(),P=null,F?.disconnect(),F=null}(0,d.watch)(()=>m.open,async e=>{e?A():j(),await(0,d.nextTick)(),e?I():(L(),M.value=!1)},{immediate:!0}),(0,d.onUnmounted)(()=>{j(),L()});function R(){let e=w.value;if(!e)return!1;let t=Array.from(document.querySelectorAll(`[aria-modal="true"]`));return t.length===0||t[t.length-1]===e}function z(e){e.key===`Escape`&&(e.defaultPrevented||!m.open||!m.closeOnEscape||m.closeDisabled||R()&&h(`close`))}return(0,d.onMounted)(()=>{document.addEventListener(`keydown`,z),m.open&&I()}),(0,d.onUnmounted)(()=>{document.removeEventListener(`keydown`,z)}),t({dialogEl:()=>w.value,bodyEl:()=>T.value}),(t,r)=>((0,d.openBlock)(),(0,d.createBlock)(d.Teleport,{to:`body`},[(0,d.createVNode)(d.Transition,{name:`nb-modal`},{default:(0,d.withCtx)(()=>[e.open?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,class:`nb-modal--overlay`,onClick:(0,d.withModifiers)(D,[`self`])},[(0,d.createElementVNode)(`div`,(0,d.mergeProps)({ref_key:`contentRef`,ref:w,class:[`nb-modal--content`,`nb-modal--content--${e.size}`]},(0,d.unref)(E),{role:e.role,"aria-modal":`true`,"aria-labelledby":e.labelledBy??(v.value?C:void 0),"aria-describedby":e.describedBy,"aria-busy":e.busy?`true`:void 0,tabindex:`-1`,onClick:r[2]||=(0,d.withModifiers)(()=>{},[`stop`])}),[v.value?((0,d.openBlock)(),(0,d.createElementBlock)(`header`,b,[(0,d.createElementVNode)(`span`,{id:C,class:`nb-modal--title`},[(0,d.renderSlot)(t.$slots,`header`,{},()=>[(0,d.createTextVNode)((0,d.toDisplayString)(e.title),1)],!0)]),e.closeAppearance===`button`?((0,d.openBlock)(),(0,d.createBlock)(a.t,{key:0,class:`nb-modal--close-button`,size:`sm`,variant:`ghost`,icon:(0,d.unref)(f.regular),"aria-label":(0,d.unref)(p).modalClose,disabled:e.closeDisabled,onClick:r[0]||=e=>h(`close`)},null,8,[`icon`,`aria-label`,`disabled`])):((0,d.openBlock)(),(0,d.createElementBlock)(`button`,{key:1,class:`nb-modal--close`,"aria-label":(0,d.unref)(p).modalClose,disabled:e.closeDisabled,"aria-disabled":e.closeDisabled?`true`:void 0,onClick:r[1]||=e=>h(`close`)},[(0,d.createVNode)(n.t,{name:(0,d.unref)(f.regular)},null,8,[`name`])],8,x))])):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`main`,{ref_key:`bodyRef`,ref:T,class:`nb-modal--body`,tabindex:M.value?0:void 0,role:M.value?`region`:void 0,"aria-labelledby":M.value?e.labelledBy??(v.value?C:void 0):void 0},[(0,d.renderSlot)(t.$slots,`default`,{},void 0,!0)],8,S),t.$slots.footer?((0,d.openBlock)(),(0,d.createBlock)(s.t,{key:1,is:`footer`,justify:`end`,class:`nb-modal--footer`,distributed:``},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`footer`,{},void 0,!0)]),_:3})):(0,d.createCommentVNode)(``,!0)],16,y)])):(0,d.createCommentVNode)(``,!0)]),_:3})]))}}),w=t.t(C,[[`__scopeId`,`data-v-ea6f67ce`]]);Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return w}});
|