@nubisco/ui 5.48.1 → 5.49.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-48ZXZCsn.cjs +1 -0
- package/dist/ActionGroup-DzQjn3ir.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-BrjUMTRk.cjs} +1 -1
- package/dist/{AiProvider-D8O_YaaP.js → AiProvider-Db47uagx.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-0P-b3qLI.js +84 -0
- package/dist/BatchActions-FDPiGUNh.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-Cda5rPZu.cjs → BlueprintCard-D3h_rGhj.cjs} +1 -1
- package/dist/{BlueprintCard-DDNP1vkk.js → BlueprintCard-_FItugFc.js} +107 -107
- package/dist/{BlueprintControls-D0MdXrVv.js → BlueprintControls-1l0QVtB7.js} +49 -75
- package/dist/BlueprintControls-C3ffD6W8.cjs +1 -0
- package/dist/{Board-CaFH4-Qw.js → Board-CSVCzJ1s.js} +178 -190
- package/dist/Board-gUICo94e.cjs +1 -0
- package/dist/BottomPanel-1EkHEQ_H.js +81 -0
- package/dist/BottomPanel-n2jWpFH7.cjs +1 -0
- package/dist/Breadcrumbs-BgMh5bfe.js +185 -0
- package/dist/Breadcrumbs-DN_2wxQS.cjs +1 -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-BQxQlmjs.cjs +1 -0
- package/dist/Confirm-DLhI3VVh.js +331 -0
- package/dist/{ContainedListItem-Dj7TcGpO.cjs → ContainedListItem-DjHEyhf8.cjs} +1 -1
- package/dist/{ContainedListItem-CSE8d5M6.js → ContainedListItem-DtTZOm-_.js} +1 -1
- 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-CHztTxz1.cjs +1 -0
- package/dist/DataTable-Dp3WZihu.js +545 -0
- package/dist/DatePicker-BLRQEI-6.js +755 -0
- package/dist/DatePicker-CJlffHeM.cjs +1 -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-DIAJy1Sv.cjs +1 -0
- package/dist/InputGroup-DQxpFFlP.js +86 -0
- package/dist/InputGroup.context-BTt6zUkj.cjs +1 -0
- package/dist/InputGroup.context-CJAWx5GI.js +16 -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-CcQpTOd3.js +189 -0
- package/dist/Menu-SlBztEy3.cjs +1 -0
- package/dist/{MenuBarItem-B8H9KfFo.cjs → MenuBarItem-BIDXX-uX.cjs} +1 -1
- package/dist/{MenuBarItem-BLdVIz0j.js → MenuBarItem-BlT1hN-b.js} +1 -1
- 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-CcXqTINb.cjs +1 -0
- package/dist/NumberInput-DfrhQayO.js +383 -0
- package/dist/OverflowMenu-BlZ_wEja.js +124 -0
- package/dist/OverflowMenu-CaC5E0Oy.cjs +1 -0
- package/dist/{PageHeader-BVcTzPcW.cjs → PageHeader-2jBgITYE.cjs} +1 -1
- package/dist/{PageHeader-CFMhwRcw.js → PageHeader-DgjItuag.js} +2 -2
- package/dist/{Pagination-VmE04nzc.cjs → Pagination-B1km1o28.cjs} +1 -1
- package/dist/{Pagination-zTp1lrSP.js → Pagination-DA1Nglqx.js} +26 -26
- 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-BUgIh9TX.js +130 -0
- package/dist/Search-D4SG2q3c.cjs +1 -0
- package/dist/Select-Cf0T4gIu.js +604 -0
- package/dist/Select-DhwcDMnf.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-BaM5cclm.cjs → Slider-D9glvyrU.cjs} +1 -1
- package/dist/{Slider-BAXKJCNG.js → Slider-D9hgB8GJ.js} +4 -4
- 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-BM2Zc2_R.cjs +2 -0
- package/dist/TextInput-DVpNJNwY.js +406 -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 +271 -253
- 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.mjs +1 -1
- package/dist/components/ContainedListItem.cjs +1 -1
- package/dist/components/ContainedListItem.mjs +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 +50 -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 +11 -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/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 +66 -0
- package/dist/composables/useNbStrings.composable.d.ts.map +1 -1
- package/dist/composables/useNbStrings.composable.mjs +61 -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/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/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 +43 -35
- 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/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/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/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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});function e(e,t,n,r){if(t<=0||(e=>e.reduce((e,t)=>e+t,0)+r*Math.max(0,e.length-1))(e)<=t)return e.length;let i=n,a=0;for(let n of e){let e=i+r+n;if(e>t)break;i=e,a++}return a}exports.fitActions=e;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How many actions fit in a row, in reading order, for an action group that
|
|
3
|
+
* folds by width (`overflow: 'auto'`).
|
|
4
|
+
*
|
|
5
|
+
* All of them when they fit side by side. Otherwise as many as fit with the
|
|
6
|
+
* overflow trigger after them, because once one action folds the trigger
|
|
7
|
+
* takes a slot of its own. Never fewer than none: a row too narrow for even
|
|
8
|
+
* the trigger still shows the trigger, and the actions are all in its menu.
|
|
9
|
+
*
|
|
10
|
+
* A row with no width of its own (not laid out yet, hidden, a test
|
|
11
|
+
* environment) keeps every action: an unmeasured row is never folded by
|
|
12
|
+
* mistake.
|
|
13
|
+
*
|
|
14
|
+
* @param widths Each action's width in px, in reading order.
|
|
15
|
+
* @param available The room the row has, in px.
|
|
16
|
+
* @param trigger The overflow trigger's width, in px.
|
|
17
|
+
* @param gap The space between neighbours, in px.
|
|
18
|
+
*/
|
|
19
|
+
export declare function fitActions(widths: number[], available: number, trigger: number, gap: number): number;
|
|
20
|
+
//# sourceMappingURL=actionFit.helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionFit.helper.d.ts","sourceRoot":"","sources":["../../src/utils/actionFit.helper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,UAAU,CACxB,MAAM,EAAE,MAAM,EAAE,EAChB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,MAAM,GACV,MAAM,CAgBR"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/utils/actionFit.helper.ts
|
|
2
|
+
function e(e, t, n, r) {
|
|
3
|
+
if (t <= 0 || ((e) => e.reduce((e, t) => e + t, 0) + r * Math.max(0, e.length - 1))(e) <= t) return e.length;
|
|
4
|
+
let i = n, a = 0;
|
|
5
|
+
for (let n of e) {
|
|
6
|
+
let e = i + r + n;
|
|
7
|
+
if (e > t) break;
|
|
8
|
+
i = e, a++;
|
|
9
|
+
}
|
|
10
|
+
return a;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { e as fitActions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nubisco/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.49.0",
|
|
4
4
|
"description": "Vue 3 UI component library",
|
|
5
5
|
"packageManager": "pnpm@12.3.4+sha512.961aa41fb077da3a04a441d9f8e15ebc0c96da8ef710b2eb67bf9ee7cb0610eabd48f1fd85f51cffe73846785fa0f87c56a3a872a1d893f8446741b5cce45457",
|
|
6
6
|
"repository": {
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
"@eslint/js": "^10.0.1",
|
|
190
190
|
"@fontsource/ibm-plex-mono": "^5.3.0",
|
|
191
191
|
"@fontsource/ibm-plex-sans": "^5.3.0",
|
|
192
|
-
"@nubisco/docs-sdk": "^0.
|
|
192
|
+
"@nubisco/docs-sdk": "^0.4.0",
|
|
193
193
|
"@phosphor-icons/core": "^2.1.1",
|
|
194
194
|
"@playwright/test": "^1.63.0",
|
|
195
195
|
"@semantic-release/changelog": "^6.0.3",
|
package/src/styles/_theme.scss
CHANGED
|
@@ -420,10 +420,17 @@
|
|
|
420
420
|
--nb-c-port-border: var(--nb-c-field-border);
|
|
421
421
|
// Parameter rows inside a card: one layer deeper than the card itself.
|
|
422
422
|
--nb-c-node-row-bg: var(--nb-c-layer-2);
|
|
423
|
-
//
|
|
424
|
-
//
|
|
425
|
-
//
|
|
426
|
-
|
|
423
|
+
// One control-height scale, shared with NbButton: a field and a button
|
|
424
|
+
// of the same `size` are the same height, so one can sit flush beside
|
|
425
|
+
// the other (NbInputGroup) without either being nudged. NbButton reads
|
|
426
|
+
// the same base-unit multiples (xs 3, sm 4, md 5, lg 6).
|
|
427
|
+
//
|
|
428
|
+
// xs is the compact size for dense surfaces (inspectors, toolbars). It
|
|
429
|
+
// was 3.5 units (28px), the one step where a field and a button of the
|
|
430
|
+
// same size disagreed, against the 24px xs button. At 24px it sits
|
|
431
|
+
// exactly on the WCAG 2.5.8 target minimum, so it is for dense surfaces
|
|
432
|
+
// only. See the "Building an inspector" guide before reaching for it.
|
|
433
|
+
--nb-field-height-xs: calc(var(--nb-base-unit) * 3);
|
|
427
434
|
--nb-field-height-sm: calc(var(--nb-base-unit) * 4);
|
|
428
435
|
--nb-field-height-md: calc(var(--nb-base-unit) * 5);
|
|
429
436
|
--nb-field-height-lg: calc(var(--nb-base-unit) * 6);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// The corners of a field box.
|
|
2
|
+
///
|
|
3
|
+
/// One radius for all four corners is what a field draws on its own:
|
|
4
|
+
/// `--nb-field-radius`, which is zero in square and a capsule in rounded.
|
|
5
|
+
/// The corners are split into a start pair and an end pair so that
|
|
6
|
+
/// `NbInputGroup` can square the inner edges of the controls it joins,
|
|
7
|
+
/// a field with a button flush against it, without the field knowing it is
|
|
8
|
+
/// in a group. The group sets `--nb-field-radius-start` or
|
|
9
|
+
/// `--nb-field-radius-end` to zero on the inner side, and the field reads them
|
|
10
|
+
/// here. Logical corners, so the inner edge stays inner right to left.
|
|
11
|
+
///
|
|
12
|
+
/// Outside a group neither property is set, both fall back to the field's
|
|
13
|
+
/// own radius, and the box draws exactly what `border-radius` drew before.
|
|
14
|
+
///
|
|
15
|
+
/// @param {String} $radius - the field's own corner
|
|
16
|
+
/// @group @nubisco/logic
|
|
17
|
+
@mixin radius($radius: var(--nb-field-radius, 0)) {
|
|
18
|
+
border-start-start-radius: var(--nb-field-radius-start, #{$radius});
|
|
19
|
+
border-end-start-radius: var(--nb-field-radius-start, #{$radius});
|
|
20
|
+
border-start-end-radius: var(--nb-field-radius-end, #{$radius});
|
|
21
|
+
border-end-end-radius: var(--nb-field-radius-end, #{$radius});
|
|
22
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// The control focus ring, drawn inside the control.
|
|
2
|
+
///
|
|
3
|
+
/// Two bands, the way Carbon draws it: 2px of `--nb-c-focus-ring` at the
|
|
4
|
+
/// edge, then 1px of the surface inside it. The inner band is what keeps the
|
|
5
|
+
/// ring legible on a filled control whose fill is close to the ring colour
|
|
6
|
+
/// (a primary button), and it is invisible on a transparent one, where it
|
|
7
|
+
/// matches what is behind it. One colour for every control, whatever its
|
|
8
|
+
/// variant, so a keyboard user follows a single ring across the page.
|
|
9
|
+
///
|
|
10
|
+
/// Drawn with `outline` so forced colours keeps the outer band. The inner
|
|
11
|
+
/// band is a `box-shadow` and drops out there, which is fine: it only exists
|
|
12
|
+
/// to separate the ring from a fill that forced colours removes anyway.
|
|
13
|
+
///
|
|
14
|
+
/// @param {Color} $inner - the inner band, the surface by default
|
|
15
|
+
/// @group @nubisco/logic
|
|
16
|
+
@mixin ring($inner: var(--nb-c-surface)) {
|
|
17
|
+
outline: 2px solid var(--nb-c-focus-ring);
|
|
18
|
+
outline-offset: -2px;
|
|
19
|
+
box-shadow: inset 0 0 0 3px #{$inner};
|
|
20
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How many actions fit in a row, in reading order, for an action group that
|
|
3
|
+
* folds by width (`overflow: 'auto'`).
|
|
4
|
+
*
|
|
5
|
+
* All of them when they fit side by side. Otherwise as many as fit with the
|
|
6
|
+
* overflow trigger after them, because once one action folds the trigger
|
|
7
|
+
* takes a slot of its own. Never fewer than none: a row too narrow for even
|
|
8
|
+
* the trigger still shows the trigger, and the actions are all in its menu.
|
|
9
|
+
*
|
|
10
|
+
* A row with no width of its own (not laid out yet, hidden, a test
|
|
11
|
+
* environment) keeps every action: an unmeasured row is never folded by
|
|
12
|
+
* mistake.
|
|
13
|
+
*
|
|
14
|
+
* @param widths Each action's width in px, in reading order.
|
|
15
|
+
* @param available The room the row has, in px.
|
|
16
|
+
* @param trigger The overflow trigger's width, in px.
|
|
17
|
+
* @param gap The space between neighbours, in px.
|
|
18
|
+
*/
|
|
19
|
+
export function fitActions(
|
|
20
|
+
widths: number[],
|
|
21
|
+
available: number,
|
|
22
|
+
trigger: number,
|
|
23
|
+
gap: number,
|
|
24
|
+
): number {
|
|
25
|
+
const total = (list: number[]) =>
|
|
26
|
+
list.reduce((sum, width) => sum + width, 0) +
|
|
27
|
+
gap * Math.max(0, list.length - 1)
|
|
28
|
+
|
|
29
|
+
if (available <= 0 || total(widths) <= available) return widths.length
|
|
30
|
+
|
|
31
|
+
let used = trigger
|
|
32
|
+
let count = 0
|
|
33
|
+
for (const width of widths) {
|
|
34
|
+
const next = used + gap + width
|
|
35
|
+
if (next > available) break
|
|
36
|
+
used = next
|
|
37
|
+
count++
|
|
38
|
+
}
|
|
39
|
+
return count
|
|
40
|
+
}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./Accordion.context-DG649PsQ.js";
|
|
2
|
-
import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
|
-
import { t as n } from "./Icon-B2tiGiqZ.js";
|
|
4
|
-
import { useStableId as r } from "./composables/useStableId.composable.mjs";
|
|
5
|
-
import { t as i } from "./InfoHint-DVrm41q9.js";
|
|
6
|
-
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, inject as m, normalizeClass as h, onBeforeUnmount as g, openBlock as _, ref as v, renderSlot as y, toDisplayString as b, unref as x, useSlots as S } from "vue";
|
|
7
|
-
import { regular as C } from "@nubisco/ui/icons/caret-down";
|
|
8
|
-
//#region src/components/AccordionItem.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
-
var w = ["aria-level"], T = [
|
|
10
|
-
"id",
|
|
11
|
-
"aria-expanded",
|
|
12
|
-
"aria-controls",
|
|
13
|
-
"aria-describedby",
|
|
14
|
-
"disabled"
|
|
15
|
-
], E = { class: "nb-accordion-item__title" }, D = {
|
|
16
|
-
key: 1,
|
|
17
|
-
class: "nb-accordion-item__meta"
|
|
18
|
-
}, O = ["id"], k = {
|
|
19
|
-
key: 2,
|
|
20
|
-
class: "nb-accordion-item__actions"
|
|
21
|
-
}, A = [
|
|
22
|
-
"id",
|
|
23
|
-
"aria-labelledby",
|
|
24
|
-
"hidden",
|
|
25
|
-
"inert"
|
|
26
|
-
], j = { class: "nb-accordion-item__body" }, M = /* @__PURE__ */ t(/* @__PURE__ */ p({
|
|
27
|
-
__name: "AccordionItem",
|
|
28
|
-
props: {
|
|
29
|
-
id: { default: void 0 },
|
|
30
|
-
title: { default: "" },
|
|
31
|
-
icon: { default: void 0 },
|
|
32
|
-
meta: { default: "" },
|
|
33
|
-
info: { default: void 0 },
|
|
34
|
-
disabled: {
|
|
35
|
-
type: Boolean,
|
|
36
|
-
default: !1
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
setup(t) {
|
|
40
|
-
let p = t, M = S(), N = o(() => !!p.meta || !!M.meta), P = o(() => !!p.info || !!M.actions), F = m(e, null), I = r(p), L = o(() => F?.headingLevel?.value ?? 3), R = o(() => I), z = v(null), B = o(() => F?.open.value.includes(R.value) ?? !1);
|
|
41
|
-
F && g(F.register(R.value, () => z.value));
|
|
42
|
-
function V() {
|
|
43
|
-
p.disabled || F?.toggle(R.value);
|
|
44
|
-
}
|
|
45
|
-
let H = {
|
|
46
|
-
ArrowUp: "prev",
|
|
47
|
-
ArrowDown: "next",
|
|
48
|
-
Home: "first",
|
|
49
|
-
End: "last"
|
|
50
|
-
};
|
|
51
|
-
function U(e) {
|
|
52
|
-
let t = H[e.key];
|
|
53
|
-
!t || !F || (e.preventDefault(), F.focusSibling(R.value, t));
|
|
54
|
-
}
|
|
55
|
-
return (e, r) => (_(), l("div", { class: h(["nb-accordion-item", {
|
|
56
|
-
"nb-accordion-item--open": B.value,
|
|
57
|
-
"nb-accordion-item--disabled": t.disabled
|
|
58
|
-
}]) }, [u("div", {
|
|
59
|
-
class: h(["nb-accordion-item__heading", { "nb-accordion-item__heading--aside": P.value }]),
|
|
60
|
-
role: "heading",
|
|
61
|
-
"aria-level": L.value
|
|
62
|
-
}, [u("button", {
|
|
63
|
-
id: `${R.value}-header`,
|
|
64
|
-
ref_key: "headerRef",
|
|
65
|
-
ref: z,
|
|
66
|
-
type: "button",
|
|
67
|
-
class: "nb-accordion-item__header",
|
|
68
|
-
"aria-expanded": B.value,
|
|
69
|
-
"aria-controls": `${R.value}-panel`,
|
|
70
|
-
"aria-describedby": P.value && N.value ? `${R.value}-meta` : void 0,
|
|
71
|
-
disabled: t.disabled,
|
|
72
|
-
onClick: V,
|
|
73
|
-
onKeydown: U
|
|
74
|
-
}, [
|
|
75
|
-
f(n, {
|
|
76
|
-
class: "nb-accordion-item__chevron",
|
|
77
|
-
name: x(C),
|
|
78
|
-
size: 16,
|
|
79
|
-
"aria-hidden": "true"
|
|
80
|
-
}, null, 8, ["name"]),
|
|
81
|
-
t.icon ? (_(), s(n, {
|
|
82
|
-
key: 0,
|
|
83
|
-
name: t.icon,
|
|
84
|
-
size: 16
|
|
85
|
-
}, null, 8, ["name"])) : c("", !0),
|
|
86
|
-
u("span", E, [y(e.$slots, "title", {}, () => [d(b(t.title), 1)], !0)]),
|
|
87
|
-
!P.value && N.value ? (_(), l("span", D, [y(e.$slots, "meta", {}, () => [d(b(t.meta), 1)], !0)])) : c("", !0)
|
|
88
|
-
], 40, T), P.value ? (_(), l(a, { key: 0 }, [
|
|
89
|
-
t.info ? (_(), s(i, {
|
|
90
|
-
key: 0,
|
|
91
|
-
class: "nb-accordion-item__info",
|
|
92
|
-
text: t.info,
|
|
93
|
-
size: 16,
|
|
94
|
-
label: `About ${t.title || "this section"}`
|
|
95
|
-
}, null, 8, ["text", "label"])) : c("", !0),
|
|
96
|
-
r[0] ||= u("span", {
|
|
97
|
-
class: "nb-accordion-item__spacer",
|
|
98
|
-
"aria-hidden": "true"
|
|
99
|
-
}, null, -1),
|
|
100
|
-
N.value ? (_(), l("span", {
|
|
101
|
-
key: 1,
|
|
102
|
-
id: `${R.value}-meta`,
|
|
103
|
-
class: "nb-accordion-item__meta nb-accordion-item__meta--raised",
|
|
104
|
-
onClick: V
|
|
105
|
-
}, [y(e.$slots, "meta", {}, () => [d(b(t.meta), 1)], !0)], 8, O)) : c("", !0),
|
|
106
|
-
e.$slots.actions ? (_(), l("span", k, [y(e.$slots, "actions", {}, void 0, !0)])) : c("", !0)
|
|
107
|
-
], 64)) : c("", !0)], 10, w), u("div", {
|
|
108
|
-
id: `${R.value}-panel`,
|
|
109
|
-
class: "nb-accordion-item__panel",
|
|
110
|
-
role: "region",
|
|
111
|
-
"aria-labelledby": `${R.value}-header`,
|
|
112
|
-
hidden: !B.value,
|
|
113
|
-
inert: !B.value || void 0
|
|
114
|
-
}, [u("div", j, [y(e.$slots, "default", {}, void 0, !0)])], 8, A)], 2));
|
|
115
|
-
}
|
|
116
|
-
}), [["__scopeId", "data-v-91447ccf"]]);
|
|
117
|
-
//#endregion
|
|
118
|
-
export { M as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Accordion.context-Cb_NKUtg.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./composables/useStableId.composable.cjs`),i=require(`./InfoHint-WYitTbYz.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/caret-down`);var s=[`aria-level`],c=[`id`,`aria-expanded`,`aria-controls`,`aria-describedby`,`disabled`],l={class:`nb-accordion-item__title`},u={key:1,class:`nb-accordion-item__meta`},d=[`id`],f={key:2,class:`nb-accordion-item__actions`},p=[`id`,`aria-labelledby`,`hidden`,`inert`],m={class:`nb-accordion-item__body`},h=(0,a.defineComponent)({__name:`AccordionItem`,props:{id:{default:void 0},title:{default:``},icon:{default:void 0},meta:{default:``},info:{default:void 0},disabled:{type:Boolean,default:!1}},setup(t){let h=t,g=(0,a.useSlots)(),_=(0,a.computed)(()=>!!h.meta||!!g.meta),v=(0,a.computed)(()=>!!h.info||!!g.actions),y=(0,a.inject)(e.t,null),b=r.useStableId(h),x=(0,a.computed)(()=>y?.headingLevel?.value??3),S=(0,a.computed)(()=>b),C=(0,a.ref)(null),w=(0,a.computed)(()=>y?.open.value.includes(S.value)??!1);y&&(0,a.onBeforeUnmount)(y.register(S.value,()=>C.value));function T(){h.disabled||y?.toggle(S.value)}let E={ArrowUp:`prev`,ArrowDown:`next`,Home:`first`,End:`last`};function D(e){let t=E[e.key];!t||!y||(e.preventDefault(),y.focusSibling(S.value,t))}return(e,r)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{class:(0,a.normalizeClass)([`nb-accordion-item`,{"nb-accordion-item--open":w.value,"nb-accordion-item--disabled":t.disabled}])},[(0,a.createElementVNode)(`div`,{class:(0,a.normalizeClass)([`nb-accordion-item__heading`,{"nb-accordion-item__heading--aside":v.value}]),role:`heading`,"aria-level":x.value},[(0,a.createElementVNode)(`button`,{id:`${S.value}-header`,ref_key:`headerRef`,ref:C,type:`button`,class:`nb-accordion-item__header`,"aria-expanded":w.value,"aria-controls":`${S.value}-panel`,"aria-describedby":v.value&&_.value?`${S.value}-meta`:void 0,disabled:t.disabled,onClick:T,onKeydown:D},[(0,a.createVNode)(n.t,{class:`nb-accordion-item__chevron`,name:(0,a.unref)(o.regular),size:16,"aria-hidden":`true`},null,8,[`name`]),t.icon?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:0,name:t.icon,size:16},null,8,[`name`])):(0,a.createCommentVNode)(``,!0),(0,a.createElementVNode)(`span`,l,[(0,a.renderSlot)(e.$slots,`title`,{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(t.title),1)],!0)]),!v.value&&_.value?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,u,[(0,a.renderSlot)(e.$slots,`meta`,{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(t.meta),1)],!0)])):(0,a.createCommentVNode)(``,!0)],40,c),v.value?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:0},[t.info?((0,a.openBlock)(),(0,a.createBlock)(i.t,{key:0,class:`nb-accordion-item__info`,text:t.info,size:16,label:`About ${t.title||`this section`}`},null,8,[`text`,`label`])):(0,a.createCommentVNode)(``,!0),r[0]||=(0,a.createElementVNode)(`span`,{class:`nb-accordion-item__spacer`,"aria-hidden":`true`},null,-1),_.value?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:1,id:`${S.value}-meta`,class:`nb-accordion-item__meta nb-accordion-item__meta--raised`,onClick:T},[(0,a.renderSlot)(e.$slots,`meta`,{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(t.meta),1)],!0)],8,d)):(0,a.createCommentVNode)(``,!0),e.$slots.actions?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,f,[(0,a.renderSlot)(e.$slots,`actions`,{},void 0,!0)])):(0,a.createCommentVNode)(``,!0)],64)):(0,a.createCommentVNode)(``,!0)],10,s),(0,a.createElementVNode)(`div`,{id:`${S.value}-panel`,class:`nb-accordion-item__panel`,role:`region`,"aria-labelledby":`${S.value}-header`,hidden:!w.value,inert:!w.value||void 0},[(0,a.createElementVNode)(`div`,m,[(0,a.renderSlot)(e.$slots,`default`,{},void 0,!0)])],8,p)],2))}}),g=t.t(h,[[`__scopeId`,`data-v-91447ccf`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return g}});
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { usePhoneLayout as e } from "./composables/usePhoneLayout.composable.mjs";
|
|
2
|
-
import { t } from "./Button-CuwzIVWv.js";
|
|
3
|
-
import { t as n } from "./Menu-C_UsGyKX.js";
|
|
4
|
-
import { t as r } from "./MenuItem-BerQIsRQ.js";
|
|
5
|
-
import { hasSlotContent as i } from "./utils/slotContent.helper.mjs";
|
|
6
|
-
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createTextVNode as u, defineComponent as d, nextTick as f, openBlock as p, ref as m, renderList as h, renderSlot as g, toDisplayString as _, unref as v, useSlots as y, withCtx as b } from "vue";
|
|
7
|
-
import { regular as x } from "@nubisco/ui/icons/dots-three";
|
|
8
|
-
//#region src/components/ActionGroup.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
-
var S = { class: "nb-action-group" }, C = /* @__PURE__ */ d({
|
|
10
|
-
__name: "ActionGroup",
|
|
11
|
-
props: {
|
|
12
|
-
items: {},
|
|
13
|
-
size: { default: "sm" },
|
|
14
|
-
overflow: { default: "never" },
|
|
15
|
-
overflowLabel: { default: "More actions" },
|
|
16
|
-
phoneVisible: { default: 1 }
|
|
17
|
-
},
|
|
18
|
-
emits: ["select"],
|
|
19
|
-
setup(d, { emit: C }) {
|
|
20
|
-
let w = d, T = C, E = y(), { phone: D } = e(), O = o(() => w.overflow === "never" ? !1 : w.overflow === "always" ? !0 : D.value), k = o(() => {
|
|
21
|
-
let e = Math.max(0, w.phoneVisible), t = w.items.filter((e) => e.priority === "primary");
|
|
22
|
-
return (t.length ? t : w.items).slice(0, e);
|
|
23
|
-
}), A = o(() => w.items.filter((e) => !k.value.includes(e))), j = o(() => A.value.length > 0 || i(E, "menu"));
|
|
24
|
-
function M(e) {
|
|
25
|
-
return D.value && !!e.icon;
|
|
26
|
-
}
|
|
27
|
-
function N(e) {
|
|
28
|
-
return e.variant ?? (e.danger ? "danger" : void 0);
|
|
29
|
-
}
|
|
30
|
-
function P(e) {
|
|
31
|
-
e.disabled || e.loading || (e.onSelect?.(), T("select", e.id));
|
|
32
|
-
}
|
|
33
|
-
let F = m(!1), I = m(null), L = m(null);
|
|
34
|
-
function R() {
|
|
35
|
-
return L.value?.$el ?? null;
|
|
36
|
-
}
|
|
37
|
-
let z = !1;
|
|
38
|
-
function B() {
|
|
39
|
-
z = F.value;
|
|
40
|
-
}
|
|
41
|
-
function V() {
|
|
42
|
-
if (z || F.value) {
|
|
43
|
-
z = !1, F.value = !1;
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
let e = R()?.getBoundingClientRect();
|
|
47
|
-
e && I.value?.setPosition(e), F.value = !0;
|
|
48
|
-
}
|
|
49
|
-
function H(e) {
|
|
50
|
-
if (F.value = e, e) return;
|
|
51
|
-
let t = document.activeElement;
|
|
52
|
-
(!t || t === document.body || !t.isConnected) && f(() => R()?.focus());
|
|
53
|
-
}
|
|
54
|
-
return (e, i) => (p(), l("div", S, [O.value ? (p(), l(a, { key: 1 }, [
|
|
55
|
-
(p(!0), l(a, null, h(k.value, (e) => (p(), l(a, { key: e.id }, [M(e) ? (p(), s(t, {
|
|
56
|
-
key: 0,
|
|
57
|
-
variant: N(e),
|
|
58
|
-
outlined: e.outlined,
|
|
59
|
-
size: d.size,
|
|
60
|
-
disabled: e.disabled,
|
|
61
|
-
loading: e.loading,
|
|
62
|
-
icon: e.icon,
|
|
63
|
-
"aria-label": e.label,
|
|
64
|
-
"aria-pressed": e.pressed,
|
|
65
|
-
onClick: (t) => P(e)
|
|
66
|
-
}, null, 8, [
|
|
67
|
-
"variant",
|
|
68
|
-
"outlined",
|
|
69
|
-
"size",
|
|
70
|
-
"disabled",
|
|
71
|
-
"loading",
|
|
72
|
-
"icon",
|
|
73
|
-
"aria-label",
|
|
74
|
-
"aria-pressed",
|
|
75
|
-
"onClick"
|
|
76
|
-
])) : (p(), s(t, {
|
|
77
|
-
key: 1,
|
|
78
|
-
variant: N(e),
|
|
79
|
-
outlined: e.outlined,
|
|
80
|
-
size: d.size,
|
|
81
|
-
disabled: e.disabled,
|
|
82
|
-
loading: e.loading,
|
|
83
|
-
icon: e.icon,
|
|
84
|
-
"aria-pressed": e.pressed,
|
|
85
|
-
onClick: (t) => P(e)
|
|
86
|
-
}, {
|
|
87
|
-
default: b(() => [u(_(e.label), 1)]),
|
|
88
|
-
_: 2
|
|
89
|
-
}, 1032, [
|
|
90
|
-
"variant",
|
|
91
|
-
"outlined",
|
|
92
|
-
"size",
|
|
93
|
-
"disabled",
|
|
94
|
-
"loading",
|
|
95
|
-
"icon",
|
|
96
|
-
"aria-pressed",
|
|
97
|
-
"onClick"
|
|
98
|
-
]))], 64))), 128)),
|
|
99
|
-
j.value ? (p(), s(t, {
|
|
100
|
-
key: 0,
|
|
101
|
-
ref_key: "triggerRef",
|
|
102
|
-
ref: L,
|
|
103
|
-
class: "nb-action-group__more",
|
|
104
|
-
variant: "ghost",
|
|
105
|
-
size: d.size,
|
|
106
|
-
icon: v(x),
|
|
107
|
-
"aria-label": d.overflowLabel,
|
|
108
|
-
"aria-haspopup": "menu",
|
|
109
|
-
"aria-expanded": F.value,
|
|
110
|
-
onMousedown: B,
|
|
111
|
-
onClick: V
|
|
112
|
-
}, null, 8, [
|
|
113
|
-
"size",
|
|
114
|
-
"icon",
|
|
115
|
-
"aria-label",
|
|
116
|
-
"aria-expanded"
|
|
117
|
-
])) : c("", !0),
|
|
118
|
-
j.value ? (p(), s(n, {
|
|
119
|
-
key: 1,
|
|
120
|
-
ref_key: "menuRef",
|
|
121
|
-
ref: I,
|
|
122
|
-
open: F.value,
|
|
123
|
-
"onUpdate:open": H
|
|
124
|
-
}, {
|
|
125
|
-
default: b(() => [(p(!0), l(a, null, h(A.value, (e) => (p(), s(r, {
|
|
126
|
-
key: e.id,
|
|
127
|
-
label: e.label,
|
|
128
|
-
icon: e.icon,
|
|
129
|
-
disabled: e.disabled || e.loading,
|
|
130
|
-
danger: e.danger,
|
|
131
|
-
selectable: e.pressed !== void 0,
|
|
132
|
-
selected: e.pressed,
|
|
133
|
-
onSelect: (t) => P(e)
|
|
134
|
-
}, null, 8, [
|
|
135
|
-
"label",
|
|
136
|
-
"icon",
|
|
137
|
-
"disabled",
|
|
138
|
-
"danger",
|
|
139
|
-
"selectable",
|
|
140
|
-
"selected",
|
|
141
|
-
"onSelect"
|
|
142
|
-
]))), 128)), g(e.$slots, "menu")]),
|
|
143
|
-
_: 3
|
|
144
|
-
}, 8, ["open"])) : c("", !0)
|
|
145
|
-
], 64)) : (p(!0), l(a, { key: 0 }, h(d.items, (e) => (p(), s(t, {
|
|
146
|
-
key: e.id,
|
|
147
|
-
variant: N(e),
|
|
148
|
-
outlined: e.outlined,
|
|
149
|
-
size: d.size,
|
|
150
|
-
disabled: e.disabled,
|
|
151
|
-
loading: e.loading,
|
|
152
|
-
icon: e.icon,
|
|
153
|
-
"aria-pressed": e.pressed,
|
|
154
|
-
onClick: (t) => P(e)
|
|
155
|
-
}, {
|
|
156
|
-
default: b(() => [u(_(e.label), 1)]),
|
|
157
|
-
_: 2
|
|
158
|
-
}, 1032, [
|
|
159
|
-
"variant",
|
|
160
|
-
"outlined",
|
|
161
|
-
"size",
|
|
162
|
-
"disabled",
|
|
163
|
-
"loading",
|
|
164
|
-
"icon",
|
|
165
|
-
"aria-pressed",
|
|
166
|
-
"onClick"
|
|
167
|
-
]))), 128))]));
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
//#endregion
|
|
171
|
-
export { C as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./composables/usePhoneLayout.composable.cjs`),t=require(`./Button-C0N1cyOQ.cjs`),n=require(`./Menu-CLDGxi-1.cjs`),r=require(`./MenuItem-CvpxnM4W.cjs`),i=require(`./utils/slotContent.helper.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/dots-three`);var s={class:`nb-action-group`},c=(0,a.defineComponent)({__name:`ActionGroup`,props:{items:{},size:{default:`sm`},overflow:{default:`never`},overflowLabel:{default:`More actions`},phoneVisible:{default:1}},emits:[`select`],setup(c,{emit:l}){let u=c,d=l,f=(0,a.useSlots)(),{phone:p}=e.usePhoneLayout(),m=(0,a.computed)(()=>u.overflow===`never`?!1:u.overflow===`always`?!0:p.value),h=(0,a.computed)(()=>{let e=Math.max(0,u.phoneVisible),t=u.items.filter(e=>e.priority===`primary`);return(t.length?t:u.items).slice(0,e)}),g=(0,a.computed)(()=>u.items.filter(e=>!h.value.includes(e))),_=(0,a.computed)(()=>g.value.length>0||i.hasSlotContent(f,`menu`));function v(e){return p.value&&!!e.icon}function y(e){return e.variant??(e.danger?`danger`:void 0)}function b(e){e.disabled||e.loading||(e.onSelect?.(),d(`select`,e.id))}let x=(0,a.ref)(!1),S=(0,a.ref)(null),C=(0,a.ref)(null);function w(){return C.value?.$el??null}let T=!1;function E(){T=x.value}function D(){if(T||x.value){T=!1,x.value=!1;return}let e=w()?.getBoundingClientRect();e&&S.value?.setPosition(e),x.value=!0}function O(e){if(x.value=e,e)return;let t=document.activeElement;(!t||t===document.body||!t.isConnected)&&(0,a.nextTick)(()=>w()?.focus())}return(e,i)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,s,[m.value?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:1},[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(h.value,e=>((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:e.id},[v(e)?((0,a.openBlock)(),(0,a.createBlock)(t.t,{key:0,variant:y(e),outlined:e.outlined,size:c.size,disabled:e.disabled,loading:e.loading,icon:e.icon,"aria-label":e.label,"aria-pressed":e.pressed,onClick:t=>b(e)},null,8,[`variant`,`outlined`,`size`,`disabled`,`loading`,`icon`,`aria-label`,`aria-pressed`,`onClick`])):((0,a.openBlock)(),(0,a.createBlock)(t.t,{key:1,variant:y(e),outlined:e.outlined,size:c.size,disabled:e.disabled,loading:e.loading,icon:e.icon,"aria-pressed":e.pressed,onClick:t=>b(e)},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.label),1)]),_:2},1032,[`variant`,`outlined`,`size`,`disabled`,`loading`,`icon`,`aria-pressed`,`onClick`]))],64))),128)),_.value?((0,a.openBlock)(),(0,a.createBlock)(t.t,{key:0,ref_key:`triggerRef`,ref:C,class:`nb-action-group__more`,variant:`ghost`,size:c.size,icon:(0,a.unref)(o.regular),"aria-label":c.overflowLabel,"aria-haspopup":`menu`,"aria-expanded":x.value,onMousedown:E,onClick:D},null,8,[`size`,`icon`,`aria-label`,`aria-expanded`])):(0,a.createCommentVNode)(``,!0),_.value?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:1,ref_key:`menuRef`,ref:S,open:x.value,"onUpdate:open":O},{default:(0,a.withCtx)(()=>[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(g.value,e=>((0,a.openBlock)(),(0,a.createBlock)(r.t,{key:e.id,label:e.label,icon:e.icon,disabled:e.disabled||e.loading,danger:e.danger,selectable:e.pressed!==void 0,selected:e.pressed,onSelect:t=>b(e)},null,8,[`label`,`icon`,`disabled`,`danger`,`selectable`,`selected`,`onSelect`]))),128)),(0,a.renderSlot)(e.$slots,`menu`)]),_:3},8,[`open`])):(0,a.createCommentVNode)(``,!0)],64)):((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,{key:0},(0,a.renderList)(c.items,e=>((0,a.openBlock)(),(0,a.createBlock)(t.t,{key:e.id,variant:y(e),outlined:e.outlined,size:c.size,disabled:e.disabled,loading:e.loading,icon:e.icon,"aria-pressed":e.pressed,onClick:t=>b(e)},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.label),1)]),_:2},1032,[`variant`,`outlined`,`size`,`disabled`,`loading`,`icon`,`aria-pressed`,`onClick`]))),128))]))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./composables/useReducedMotion.composable.cjs`),n=require(`./Button-C0N1cyOQ.cjs`);let r=require(`vue`),i=require(`@nubisco/ui/icons/arrow-up`);i=e.n(i);var a={key:0,class:`nb-back-to-top`},o=(0,r.defineComponent)({__name:`BackToTop`,props:{threshold:{default:void 0},label:{default:`Back to top`}},setup(e){let o=e,s=(0,r.ref)(!1),c=0;function l(){c=0;let e=o.threshold??window.innerHeight;s.value=window.scrollY>e}function u(){c||=requestAnimationFrame(l)}function d(e){let n=t.prefersReducedMotion();window.scrollTo({top:0,behavior:n?`instant`:`smooth`}),e.detail===0&&document.querySelector(`a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])`)?.focus({preventScroll:!0})}return(0,r.onMounted)(()=>{l(),window.addEventListener(`scroll`,u,{passive:!0}),window.addEventListener(`resize`,u,{passive:!0})}),(0,r.onBeforeUnmount)(()=>{window.removeEventListener(`scroll`,u),window.removeEventListener(`resize`,u),c&&cancelAnimationFrame(c)}),(t,o)=>{let c=(0,r.resolveDirective)(`nb-tooltip`);return(0,r.openBlock)(),(0,r.createBlock)(r.Transition,{name:`nb-back-to-top`},{default:(0,r.withCtx)(()=>[s.value?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,a,[(0,r.withDirectives)((0,r.createVNode)(n.t,{"aria-label":e.label,class:`nb-back-to-top__button`,variant:`secondary`,icon:i,onClick:d},null,8,[`aria-label`]),[[c,{body:e.label,aria:`none`,position:`left`}]])])):(0,r.createCommentVNode)(``,!0)]),_:1})}}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { prefersReducedMotion as e } from "./composables/useReducedMotion.composable.mjs";
|
|
2
|
-
import { t } from "./Button-CuwzIVWv.js";
|
|
3
|
-
import { Transition as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createVNode as o, defineComponent as s, onBeforeUnmount as c, onMounted as l, openBlock as u, ref as d, resolveDirective as f, withCtx as p, withDirectives as m } from "vue";
|
|
4
|
-
import * as h from "@nubisco/ui/icons/arrow-up";
|
|
5
|
-
//#region src/components/BackToTop.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var g = {
|
|
7
|
-
key: 0,
|
|
8
|
-
class: "nb-back-to-top"
|
|
9
|
-
}, _ = /* @__PURE__ */ s({
|
|
10
|
-
__name: "BackToTop",
|
|
11
|
-
props: {
|
|
12
|
-
threshold: { default: void 0 },
|
|
13
|
-
label: { default: "Back to top" }
|
|
14
|
-
},
|
|
15
|
-
setup(s) {
|
|
16
|
-
let _ = s, v = d(!1), y = 0;
|
|
17
|
-
function b() {
|
|
18
|
-
y = 0;
|
|
19
|
-
let e = _.threshold ?? window.innerHeight;
|
|
20
|
-
v.value = window.scrollY > e;
|
|
21
|
-
}
|
|
22
|
-
function x() {
|
|
23
|
-
y ||= requestAnimationFrame(b);
|
|
24
|
-
}
|
|
25
|
-
function S(t) {
|
|
26
|
-
let n = e();
|
|
27
|
-
window.scrollTo({
|
|
28
|
-
top: 0,
|
|
29
|
-
behavior: n ? "instant" : "smooth"
|
|
30
|
-
}), t.detail === 0 && document.querySelector("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")?.focus({ preventScroll: !0 });
|
|
31
|
-
}
|
|
32
|
-
return l(() => {
|
|
33
|
-
b(), window.addEventListener("scroll", x, { passive: !0 }), window.addEventListener("resize", x, { passive: !0 });
|
|
34
|
-
}), c(() => {
|
|
35
|
-
window.removeEventListener("scroll", x), window.removeEventListener("resize", x), y && cancelAnimationFrame(y);
|
|
36
|
-
}), (e, c) => {
|
|
37
|
-
let l = f("nb-tooltip");
|
|
38
|
-
return u(), r(n, { name: "nb-back-to-top" }, {
|
|
39
|
-
default: p(() => [v.value ? (u(), a("div", g, [m(o(t, {
|
|
40
|
-
"aria-label": s.label,
|
|
41
|
-
class: "nb-back-to-top__button",
|
|
42
|
-
variant: "secondary",
|
|
43
|
-
icon: h,
|
|
44
|
-
onClick: S
|
|
45
|
-
}, null, 8, ["aria-label"]), [[l, {
|
|
46
|
-
body: s.label,
|
|
47
|
-
aria: "none",
|
|
48
|
-
position: "left"
|
|
49
|
-
}]])])) : i("", !0)]),
|
|
50
|
-
_: 1
|
|
51
|
-
});
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
//#endregion
|
|
56
|
-
export { _ as t };
|
package/dist/Banner-5uX-ujbu.js
DELETED
|
@@ -1,93 +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, createVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, ref as d, renderSlot as f, toDisplayString as p, unref as m, useSlots as h } from "vue";
|
|
4
|
-
import * as g from "@nubisco/ui/icons/info";
|
|
5
|
-
import { regular as _ } from "@nubisco/ui/icons/x";
|
|
6
|
-
import * as v from "@nubisco/ui/icons/warning";
|
|
7
|
-
import * as y from "@nubisco/ui/icons/check-circle";
|
|
8
|
-
import * as b from "@nubisco/ui/icons/x-circle";
|
|
9
|
-
import * as x from "@nubisco/ui/icons/note";
|
|
10
|
-
//#region src/components/Banner.d.ts
|
|
11
|
-
var S = /* @__PURE__ */ function(e) {
|
|
12
|
-
return e.Info = "info", e.Success = "success", e.Warning = "warning", e.Error = "error", e.Neutral = "neutral", e;
|
|
13
|
-
}(S || {}), C = /* @__PURE__ */ function(e) {
|
|
14
|
-
return e.Inline = "inline", e.Callout = "callout", e;
|
|
15
|
-
}(C || {}), w = ["role", "aria-live"], T = { class: "nb-banner__body" }, E = {
|
|
16
|
-
key: 0,
|
|
17
|
-
class: "nb-banner__title"
|
|
18
|
-
}, D = {
|
|
19
|
-
key: 1,
|
|
20
|
-
class: "nb-banner__text"
|
|
21
|
-
}, O = {
|
|
22
|
-
key: 1,
|
|
23
|
-
class: "nb-banner__actions"
|
|
24
|
-
}, k = ["aria-label"], A = /* @__PURE__ */ e(/* @__PURE__ */ c({
|
|
25
|
-
__name: "Banner",
|
|
26
|
-
props: {
|
|
27
|
-
status: { default: S.Info },
|
|
28
|
-
variant: { default: C.Inline },
|
|
29
|
-
title: {},
|
|
30
|
-
dismissible: {
|
|
31
|
-
type: Boolean,
|
|
32
|
-
default: !1
|
|
33
|
-
},
|
|
34
|
-
icon: {},
|
|
35
|
-
hideIcon: {
|
|
36
|
-
type: Boolean,
|
|
37
|
-
default: !1
|
|
38
|
-
},
|
|
39
|
-
flush: {
|
|
40
|
-
type: Boolean,
|
|
41
|
-
default: !1
|
|
42
|
-
},
|
|
43
|
-
closeLabel: { default: "Close" }
|
|
44
|
-
},
|
|
45
|
-
emits: ["dismiss"],
|
|
46
|
-
setup(e, { emit: c }) {
|
|
47
|
-
let A = e, j = c, M = h(), N = n(() => !!M.default), P = n(() => !!M.action), F = n(() => A.dismissible && A.variant !== C.Callout), I = n(() => A.status === S.Error), L = d(!1);
|
|
48
|
-
function R() {
|
|
49
|
-
L.value = !0, j("dismiss");
|
|
50
|
-
}
|
|
51
|
-
let z = {
|
|
52
|
-
info: g,
|
|
53
|
-
success: y,
|
|
54
|
-
warning: v,
|
|
55
|
-
error: b,
|
|
56
|
-
neutral: x
|
|
57
|
-
};
|
|
58
|
-
return (e, n) => L.value ? i("", !0) : (u(), a("div", {
|
|
59
|
-
key: 0,
|
|
60
|
-
class: l([
|
|
61
|
-
"nb-banner",
|
|
62
|
-
`nb-banner--${A.status}`,
|
|
63
|
-
`nb-banner--${A.variant}`,
|
|
64
|
-
{ "nb-banner--flush": A.flush }
|
|
65
|
-
]),
|
|
66
|
-
role: I.value ? "alert" : "status",
|
|
67
|
-
"aria-live": I.value ? "assertive" : "polite"
|
|
68
|
-
}, [
|
|
69
|
-
A.hideIcon ? i("", !0) : (u(), r(t, {
|
|
70
|
-
key: 0,
|
|
71
|
-
name: A.icon ?? z[A.status],
|
|
72
|
-
size: 18,
|
|
73
|
-
weight: "fill",
|
|
74
|
-
class: "nb-banner__icon",
|
|
75
|
-
"aria-hidden": "true"
|
|
76
|
-
}, null, 8, ["name"])),
|
|
77
|
-
o("p", T, [A.title ? (u(), a("strong", E, p(A.title), 1)) : i("", !0), N.value ? (u(), a("span", D, [f(e.$slots, "default", {}, void 0, !0)])) : i("", !0)]),
|
|
78
|
-
P.value ? (u(), a("div", O, [f(e.$slots, "action", {}, void 0, !0)])) : i("", !0),
|
|
79
|
-
F.value ? (u(), a("button", {
|
|
80
|
-
key: 2,
|
|
81
|
-
type: "button",
|
|
82
|
-
class: "nb-banner__close",
|
|
83
|
-
"aria-label": A.closeLabel,
|
|
84
|
-
onClick: R
|
|
85
|
-
}, [s(t, {
|
|
86
|
-
name: m(_),
|
|
87
|
-
size: "sm"
|
|
88
|
-
}, null, 8, ["name"])], 8, k)) : i("", !0)
|
|
89
|
-
], 10, w));
|
|
90
|
-
}
|
|
91
|
-
}), [["__scopeId", "data-v-6e12770e"]]);
|
|
92
|
-
//#endregion
|
|
93
|
-
export { S as n, C as r, A as t };
|
package/dist/Banner-CiIQKSxv.cjs
DELETED
|
@@ -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`);let r=require(`vue`),i=require(`@nubisco/ui/icons/info`);i=e.n(i);let a=require(`@nubisco/ui/icons/x`),o=require(`@nubisco/ui/icons/warning`);o=e.n(o);let s=require(`@nubisco/ui/icons/check-circle`);s=e.n(s);let c=require(`@nubisco/ui/icons/x-circle`);c=e.n(c);let l=require(`@nubisco/ui/icons/note`);l=e.n(l);var u=function(e){return e.Info=`info`,e.Success=`success`,e.Warning=`warning`,e.Error=`error`,e.Neutral=`neutral`,e}(u||{}),d=function(e){return e.Inline=`inline`,e.Callout=`callout`,e}(d||{}),f=[`role`,`aria-live`],p={class:`nb-banner__body`},m={key:0,class:`nb-banner__title`},h={key:1,class:`nb-banner__text`},g={key:1,class:`nb-banner__actions`},_=[`aria-label`],v=(0,r.defineComponent)({__name:`Banner`,props:{status:{default:u.Info},variant:{default:d.Inline},title:{},dismissible:{type:Boolean,default:!1},icon:{},hideIcon:{type:Boolean,default:!1},flush:{type:Boolean,default:!1},closeLabel:{default:`Close`}},emits:[`dismiss`],setup(e,{emit:t}){let v=e,y=t,b=(0,r.useSlots)(),x=(0,r.computed)(()=>!!b.default),S=(0,r.computed)(()=>!!b.action),C=(0,r.computed)(()=>v.dismissible&&v.variant!==d.Callout),w=(0,r.computed)(()=>v.status===u.Error),T=(0,r.ref)(!1);function E(){T.value=!0,y(`dismiss`)}let D={info:i,success:s,warning:o,error:c,neutral:l};return(e,t)=>T.value?(0,r.createCommentVNode)(``,!0):((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{key:0,class:(0,r.normalizeClass)([`nb-banner`,`nb-banner--${v.status}`,`nb-banner--${v.variant}`,{"nb-banner--flush":v.flush}]),role:w.value?`alert`:`status`,"aria-live":w.value?`assertive`:`polite`},[v.hideIcon?(0,r.createCommentVNode)(``,!0):((0,r.openBlock)(),(0,r.createBlock)(n.t,{key:0,name:v.icon??D[v.status],size:18,weight:`fill`,class:`nb-banner__icon`,"aria-hidden":`true`},null,8,[`name`])),(0,r.createElementVNode)(`p`,p,[v.title?((0,r.openBlock)(),(0,r.createElementBlock)(`strong`,m,(0,r.toDisplayString)(v.title),1)):(0,r.createCommentVNode)(``,!0),x.value?((0,r.openBlock)(),(0,r.createElementBlock)(`span`,h,[(0,r.renderSlot)(e.$slots,`default`,{},void 0,!0)])):(0,r.createCommentVNode)(``,!0)]),S.value?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,g,[(0,r.renderSlot)(e.$slots,`action`,{},void 0,!0)])):(0,r.createCommentVNode)(``,!0),C.value?((0,r.openBlock)(),(0,r.createElementBlock)(`button`,{key:2,type:`button`,class:`nb-banner__close`,"aria-label":v.closeLabel,onClick:E},[(0,r.createVNode)(n.t,{name:(0,r.unref)(a.regular),size:`sm`},null,8,[`name`])],8,_)):(0,r.createCommentVNode)(``,!0)],10,f))}}),y=t.t(v,[[`__scopeId`,`data-v-6e12770e`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return y}});
|