@nubisco/ui 5.47.0 → 5.48.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/README.md +1 -1
- package/THIRD_PARTY_NOTICES.md +35 -0
- package/dist/{Accordion-CD_BZ3Xb.cjs → Accordion-BeKz0oeM.cjs} +1 -1
- package/dist/{Accordion-2bbHhUR3.js → Accordion-Cx0hbUIx.js} +3 -3
- package/dist/{AccordionItem-BybHChPs.js → AccordionItem-DFwj28eL.js} +6 -6
- package/dist/{AccordionItem-D6mruuMX.cjs → AccordionItem-DhZD2kJL.cjs} +1 -1
- package/dist/{ActionGroup-D3Gl1-JX.js → ActionGroup-CJoBGUvw.js} +53 -52
- package/dist/ActionGroup-CU9YQboQ.cjs +1 -0
- package/dist/AiLabel-DywBjSzr.js +240 -0
- package/dist/AiLabel-pRN10dQV.cjs +1 -0
- package/dist/{AiProvider-HhveBBc_.js → AiProvider-D8O_YaaP.js} +6 -6
- package/dist/{AiProvider-CXIEBABi.cjs → AiProvider-DY1xxZff.cjs} +1 -1
- package/dist/{AiUsage-DFo022zD.cjs → AiUsage-DRj51zK5.cjs} +1 -1
- package/dist/{AiUsage-CFdp1EMH.js → AiUsage-HcYF6RQ2.js} +13 -12
- package/dist/BackToTop-C5gFfuu7.cjs +1 -0
- package/dist/BackToTop-DZhl6N_Q.js +56 -0
- package/dist/Badge-BFsoJcCK.js +70 -0
- package/dist/Badge-CfICqXrd.cjs +1 -0
- package/dist/{Banner-CsxChQ3U.js → Banner-5uX-ujbu.js} +5 -5
- package/dist/Banner-CiIQKSxv.cjs +1 -0
- package/dist/BarChart-IX4imFVT.cjs +1 -0
- package/dist/BarChart-tB6MOMoR.js +400 -0
- package/dist/{Blueprint-lTBswuCE.js → Blueprint-46DWDZmu.js} +5 -5
- package/dist/{Blueprint-BBRar8Vu.cjs → Blueprint-NyUNNf-G.cjs} +1 -1
- package/dist/{BlueprintBackground-Ez4ICRal.js → BlueprintBackground-5OOF-VpK.js} +1 -1
- package/dist/{BlueprintBackground-BpkT_8A8.cjs → BlueprintBackground-D_JokLTK.cjs} +1 -1
- package/dist/BlueprintCard-Cda5rPZu.cjs +1 -0
- package/dist/{BlueprintCard-CsOQhmxj.js → BlueprintCard-DDNP1vkk.js} +111 -110
- package/dist/BlueprintControls-D0MdXrVv.js +222 -0
- package/dist/BlueprintControls-DnUoI9qp.cjs +1 -0
- package/dist/BlueprintMinimap-CACuVJqI.cjs +1 -0
- package/dist/BlueprintMinimap-Ehrltju2.js +163 -0
- package/dist/Board-BNB96CXm.cjs +1 -0
- package/dist/{Board-CovoTYff.js → Board-CaFH4-Qw.js} +139 -138
- package/dist/BottomPanel-CYxavAS0.cjs +1 -0
- package/dist/BottomPanel-vFcIk2nf.js +115 -0
- package/dist/{Breadcrumbs-BievPitp.js → Breadcrumbs-B-pjVWeD.js} +7 -7
- package/dist/{Breadcrumbs-BxhAEegP.cjs → Breadcrumbs-CqDYLfIQ.cjs} +1 -1
- package/dist/{Briefing-DVkZ2qDG.cjs → Briefing-B_ofl8Rt.cjs} +1 -1
- package/dist/{Briefing-DOKq89AG.js → Briefing-CoDyU3k4.js} +3 -3
- package/dist/{BriefingDestination-Bt07cVas.js → BriefingDestination-CK4XdAOo.js} +2 -2
- package/dist/{BriefingDestination-DymsWBLL.cjs → BriefingDestination-DAu5S2HI.cjs} +1 -1
- package/dist/Button-C0N1cyOQ.cjs +1 -0
- package/dist/Button-CuwzIVWv.js +132 -0
- package/dist/Calendar-Bbk7bPW1.cjs +1 -0
- package/dist/{Calendar-BTE4rmqe.js → Calendar-EiqHtUG2.js} +1 -1
- package/dist/Card-B5FTcFEQ.cjs +1 -0
- package/dist/Card-DUTWbKv7.js +143 -0
- package/dist/{CardGrid-BXFxfmlA.js → CardGrid-BOhFOzTs.js} +7 -5
- package/dist/CardGrid-DzjiR2wg.cjs +1 -0
- package/dist/{ChartLegend-DGUo_MYi.cjs → ChartLegend-C81jju4k.cjs} +1 -1
- package/dist/{ChartLegend-BythwRMJ.js → ChartLegend-fsJqOyGj.js} +2 -2
- package/dist/Checkbox-7JJdh4sN.cjs +1 -0
- package/dist/{Checkbox-B_nSNoZ0.js → Checkbox-DXQpih7I.js} +23 -19
- package/dist/CheckboxGroup-B8T3zLQC.cjs +1 -0
- package/dist/CheckboxGroup-BHn1hpzh.js +70 -0
- package/dist/{ColorStrip-CeQebn7z.cjs → ColorStrip-AEg8dQbl.cjs} +1 -1
- package/dist/{ColorStrip-BSzZPdsl.js → ColorStrip-BW1nFTja.js} +17 -17
- package/dist/CommandPalette-C8-2XCrf.cjs +1 -0
- package/dist/CommandPalette-CD75Qytr.js +275 -0
- package/dist/Confirm-BA-t4jPF.cjs +1 -0
- package/dist/{Confirm-BZizwCO1.js → Confirm-MmMvMttu.js} +9 -9
- package/dist/ContainedList-7uMU4e4Z.js +48 -0
- package/dist/ContainedList-DV8kZgTS.cjs +1 -0
- package/dist/ContainedListItem-CSE8d5M6.js +69 -0
- package/dist/ContainedListItem-Dj7TcGpO.cjs +1 -0
- package/dist/{CopyButton-Bm1kmCNv.js → CopyButton-Bcc2BDJ8.js} +1 -1
- package/dist/{CopyButton-Bctl1-xC.cjs → CopyButton-CwHAVKQ6.cjs} +1 -1
- package/dist/DataTable-D4KrQH5E.js +485 -0
- package/dist/DataTable-DVJnvBQM.cjs +1 -0
- package/dist/DatePicker-BmuVSyZ3.cjs +1 -0
- package/dist/{DatePicker-On8SAmN4.js → DatePicker-CagtB0Sd.js} +234 -233
- package/dist/{DefinitionList-BH2HAPr3.cjs → DefinitionList-BuRW4drr.cjs} +1 -1
- package/dist/{DefinitionList-CCWqE3Kh.js → DefinitionList-DIPobaPW.js} +2 -2
- package/dist/{DragHandle-CCsaiV6I.js → DragHandle-dCNBfHJe.js} +3 -3
- package/dist/{DragHandle-BiRZHXXV.cjs → DragHandle-snItY92k.cjs} +1 -1
- package/dist/{EmptyState-DNIDvUi9.cjs → EmptyState-B8EM9ynK.cjs} +1 -1
- package/dist/{EmptyState-CAEo8pSi.js → EmptyState-D-fku2DD.js} +3 -3
- package/dist/Field-3S8uGW95.cjs +1 -0
- package/dist/{Field-BCzaQlaY.js → Field-DK5iec3Z.js} +17 -13
- package/dist/FileUploader-B9j-HmX3.js +193 -0
- package/dist/FileUploader-BolhAWrI.cjs +1 -0
- package/dist/{Flag-Mpl1_r4m.cjs → Flag-CNx_cE4Q.cjs} +1 -1
- package/dist/{Flag-B5E4tHa2.js → Flag-myXFwopO.js} +6 -6
- package/dist/{FloatingToolbar-CLQOPq4x.js → FloatingToolbar-CYOuKLd7.js} +2 -2
- package/dist/{FloatingToolbar-D7PkAjS7.cjs → FloatingToolbar-DxUUozlf.cjs} +1 -1
- package/dist/{Form-KF4-rBll.js → Form-1UVOFWaf.js} +1 -1
- package/dist/{Form-DLQDzw3T.cjs → Form-D6rgkJ_Y.cjs} +1 -1
- package/dist/GanttChart-B_LqsmcR.cjs +1 -0
- package/dist/GanttChart-cZguVXW8.js +468 -0
- package/dist/Grid-C0muGlj3.cjs +1 -0
- package/dist/{Grid-CVFkhOfa.js → Grid-jlgLOwom.js} +33 -5
- package/dist/Icon-B2tiGiqZ.js +119 -0
- package/dist/Icon-CssV4E2-.cjs +1 -0
- package/dist/{ImageCropper-xicq_NFy.js → ImageCropper-BFKMYthJ.js} +4 -4
- package/dist/{ImageCropper-B6aiAxIi.cjs → ImageCropper-CJ2mCj9z.cjs} +1 -1
- package/dist/{ImagePicker-DNtBcBbo.js → ImagePicker-CZEFzYC8.js} +3 -3
- package/dist/{ImagePicker-CTfZfaq9.cjs → ImagePicker-CebI8MDy.cjs} +1 -1
- package/dist/{InfoHint-KtTzQk1z.js → InfoHint-DVrm41q9.js} +4 -4
- package/dist/{InfoHint-DaBGsnrK.cjs → InfoHint-WYitTbYz.cjs} +1 -1
- package/dist/{InlineEdit-CqMv5XBG.js → InlineEdit-DViLVwtn.js} +5 -5
- package/dist/{InlineEdit-JuytHnWO.cjs → InlineEdit-DfkmTudh.cjs} +1 -1
- package/dist/{InlineLoading-CUycVgGa.cjs → InlineLoading-CB_1PwMx.cjs} +1 -1
- package/dist/{InlineLoading-D7ku7ugr.js → InlineLoading-D8T0WO05.js} +4 -4
- package/dist/InterpolationChart-CYWJFUcs.cjs +1 -0
- package/dist/InterpolationChart-CttBiNWU.js +320 -0
- package/dist/{Label-D1_MfuTA.js → Label-BDMCrURR.js} +2 -2
- package/dist/{Label-B9x4-i1C.cjs → Label-CTOPIIbR.cjs} +1 -1
- package/dist/LineChart-DNDSJQrB.cjs +1 -0
- package/dist/LineChart-J8gCM2Ba.js +310 -0
- package/dist/Menu-CLDGxi-1.cjs +1 -0
- package/dist/Menu-C_UsGyKX.js +177 -0
- package/dist/{MenuBar-BrOsK3Qa.js → MenuBar-DyJufs5b.js} +1 -1
- package/dist/{MenuBar-Bdz7lk2r.cjs → MenuBar-aLDr7-eJ.cjs} +1 -1
- package/dist/{MenuBarItem-DCArqyTW.cjs → MenuBarItem-B8H9KfFo.cjs} +1 -1
- package/dist/{MenuBarItem-BlRZXDnm.js → MenuBarItem-BLdVIz0j.js} +1 -1
- package/dist/{MenuDivider-Bz7uGAPE.cjs → MenuDivider-D75yF8o8.cjs} +1 -1
- package/dist/{MenuDivider-CEeFfvpa.js → MenuDivider-aZIXvYsH.js} +1 -1
- package/dist/{MenuItem-DSFh9Akf.js → MenuItem-BerQIsRQ.js} +7 -4
- package/dist/MenuItem-CvpxnM4W.cjs +1 -0
- package/dist/Message-BONOwoVY.js +56 -0
- package/dist/Message-Bija1nMK.cjs +1 -0
- package/dist/Modal-1i_nDqvM.cjs +1 -0
- package/dist/{Modal-C75Kf4t7.js → Modal-CxIl02xU.js} +59 -50
- package/dist/NotificationCenter-CXn7sGFw.cjs +1 -0
- package/dist/{NotificationCenter-bGbvX-iA.js → NotificationCenter-Cu_vs-jh.js} +11 -11
- package/dist/{NotificationCenterItem-BIhM59Xh.js → NotificationCenterItem-BbbBFYEu.js} +8 -7
- package/dist/{NotificationCenterItem-Dpj3jDEN.cjs → NotificationCenterItem-zdOMnxv1.cjs} +1 -1
- package/dist/NumberInput-CMxlZ54a.cjs +1 -0
- package/dist/NumberInput-Dy0leAIF.js +324 -0
- package/dist/PageHeader-BVcTzPcW.cjs +1 -0
- package/dist/PageHeader-CFMhwRcw.js +70 -0
- package/dist/PageLayout-DQKfOSQq.js +31 -0
- package/dist/PageLayout-Dw4JYS3k.cjs +1 -0
- package/dist/Pagination-VmE04nzc.cjs +1 -0
- package/dist/Pagination-zTp1lrSP.js +95 -0
- package/dist/Panel-7qPoq2lb.cjs +1 -0
- package/dist/Panel-D5OHjaTP.js +51 -0
- package/dist/PieChart-CAB3b8LE.js +182 -0
- package/dist/PieChart-Ct8oicOS.cjs +1 -0
- package/dist/PrimaryAction.context-2v_jcQAo.cjs +1 -0
- package/dist/PrimaryAction.context-BkYkcMlm.js +4 -0
- package/dist/PrimaryActionScope-B7VLsHzT.cjs +1 -0
- package/dist/PrimaryActionScope-CRdjZE0V.js +23 -0
- package/dist/{ProgressBar-DukxUvmt.cjs → ProgressBar-CfJJf7Sc.cjs} +1 -1
- package/dist/{ProgressBar-B26wk0nU.js → ProgressBar-DK-j6Bzv.js} +6 -6
- package/dist/Radio-CWWt_o_F.js +107 -0
- package/dist/Radio-D0YjKuB2.cjs +1 -0
- package/dist/{ReorderList-BMIf_x8B.js → ReorderList-B1CYGR0e.js} +3 -3
- package/dist/{ReorderList-97H8hsPW.cjs → ReorderList-DBW8TBu6.cjs} +1 -1
- package/dist/Select-Bz4tf2H_.cjs +1 -0
- package/dist/{Select-Dah-tYeb.js → Select-hL8I-aNK.js} +204 -177
- package/dist/Shell-BxGBrQsM.js +536 -0
- package/dist/Shell-BzXh23BU.cjs +1 -0
- package/dist/{ShellPanel-DAOuAPdn.js → ShellPanel-DzkkJYVd.js} +2 -2
- package/dist/{ShellPanel-CB_Rn_JF.cjs → ShellPanel-XYKkAc5n.cjs} +1 -1
- package/dist/{SidebarBrand-DLKszSpJ.cjs → SidebarBrand-CX-BgI4X.cjs} +1 -1
- package/dist/{SidebarBrand-ZZknryCa.js → SidebarBrand-FHBO4Dw3.js} +3 -3
- package/dist/{SidebarCollapseToggle-CCNVQPFh.cjs → SidebarCollapseToggle-DM-4DAEu.cjs} +1 -1
- package/dist/{SidebarCollapseToggle-Dq-A6NAJ.js → SidebarCollapseToggle-W1Z_MUIC.js} +2 -2
- package/dist/{SidebarHeaderToggle-CRsdm90m.cjs → SidebarHeaderToggle-Bdh1Z9aF.cjs} +1 -1
- package/dist/{SidebarHeaderToggle-8K_NrpBm.js → SidebarHeaderToggle-C-QIOLnU.js} +5 -5
- package/dist/{SidebarLink-BeuUiOLd.cjs → SidebarLink-DTGVapwa.cjs} +1 -1
- package/dist/{SidebarLink-m9WhGcc2.js → SidebarLink-xtGCDABj.js} +2 -2
- package/dist/{SidebarMenu-N9opcSs0.cjs → SidebarMenu-CnsOBXeM.cjs} +1 -1
- package/dist/{SidebarMenu-ippvct70.js → SidebarMenu-D24o7HS-.js} +2 -2
- package/dist/{SidebarMenuGroup-RczOdr4t.js → SidebarMenuGroup-Bjc2IeK5.js} +5 -5
- package/dist/{SidebarMenuGroup-D1jYkspC.cjs → SidebarMenuGroup-DJasr_cx.cjs} +1 -1
- package/dist/{SidebarMenuItem-D8eFyD7l.js → SidebarMenuItem-CNunAuyB.js} +5 -5
- package/dist/{SidebarMenuItem-r_TpdHsD.cjs → SidebarMenuItem-DCR-nXAK.cjs} +1 -1
- package/dist/{SidebarStatus-DxJwYk3n.js → SidebarStatus-D-CfUYFc.js} +2 -2
- package/dist/{SidebarStatus-8xHtWS22.cjs → SidebarStatus-YfLW9xzC.cjs} +1 -1
- package/dist/{Skeleton-TgkyQXSq.js → Skeleton-C1e02dcW.js} +8 -3
- package/dist/Skeleton-CqZ9O0X0.cjs +1 -0
- package/dist/Slider-BAXKJCNG.js +405 -0
- package/dist/Slider-BaM5cclm.cjs +1 -0
- package/dist/Sparkline-MAi1Fh2T.cjs +1 -0
- package/dist/Sparkline-m3wbt-f1.js +95 -0
- package/dist/Spinner-CbBPddUx.js +160 -0
- package/dist/Spinner-PT95bjWq.cjs +1 -0
- package/dist/{Stat-DmdfVU4X.cjs → Stat-C9XaqyaG.cjs} +1 -1
- package/dist/{Stat-BHuShwuo.js → Stat-DJJln4rH.js} +6 -6
- package/dist/{Stepper-n2ZH-4Gf.js → Stepper-B4xqkWXg.js} +3 -3
- package/dist/{Stepper-Br62BsXD.cjs → Stepper-DV0q0Dfv.cjs} +1 -1
- package/dist/{StepperStep-BMts1ePk.js → StepperStep-BYhlgeb1.js} +10 -10
- package/dist/StepperStep-iGyGKnQL.cjs +1 -0
- package/dist/StructuredList-BSfuLANB.js +74 -0
- package/dist/StructuredList-h9JFXpF4.cjs +1 -0
- package/dist/{Submenu-D3kcN7Qm.js → Submenu-BnMaJKYm.js} +2 -2
- package/dist/{Submenu-DTqj37HQ.cjs → Submenu-Dxo3DUDA.cjs} +1 -1
- package/dist/{SuggestionList--DXpfDSJ.cjs → SuggestionList-BJjbVvt2.cjs} +1 -1
- package/dist/{SuggestionList-CNtaiJFb.js → SuggestionList-Bdx7CK__.js} +4 -4
- package/dist/{Switch-Bhn_b5ue.js → Switch-CbYMiEbQ.js} +7 -6
- package/dist/{Switch-DPxYeU1r.cjs → Switch-D3j7PPhY.cjs} +1 -1
- package/dist/TableOfContents-By2Non4K.cjs +1 -0
- package/dist/{TableOfContents-DvsufeVY.js → TableOfContents-CM0HKSde.js} +65 -57
- package/dist/{Tabs-S3I4uaTq.js → Tabs--lz44FBk.js} +4 -4
- package/dist/{Tabs-DPd-CKi1.cjs → Tabs-DKikiz0_.cjs} +1 -1
- package/dist/TextInput-BXyJQfGx.js +348 -0
- package/dist/TextInput-DKp819VS.cjs +2 -0
- package/dist/{Toast-BZZgBE9V.cjs → Toast-BKrvlON6.cjs} +1 -1
- package/dist/{Toast-CHqiHiKq.js → Toast-fRHhhjZV.js} +4 -4
- package/dist/{Toaster-CwLeMxh_.cjs → Toaster-CJMQM8JU.cjs} +1 -1
- package/dist/{Toaster-6tdIn4we.js → Toaster-DxBW9XQ0.js} +3 -3
- package/dist/Tree-CkcFwDr7.js +180 -0
- package/dist/Tree-DP2NPXOL.cjs +1 -0
- package/dist/TreeNode-CtklZefA.cjs +1 -0
- package/dist/TreeNode-DCnlEEpj.js +180 -0
- package/dist/{UserMenu-SokwKvM0.js → UserMenu-CWRMaPGO.js} +11 -11
- package/dist/{UserMenu-BtS4CcwB.cjs → UserMenu-GJHs1fKI.cjs} +1 -1
- package/dist/Video-D1WOYCYH.cjs +1 -0
- package/dist/Video-DrDqaCXl.js +104 -0
- package/dist/{Walkthrough-9SbBr6ig.cjs → Walkthrough-DXMDgB9t.cjs} +1 -1
- package/dist/{Walkthrough-BX3cVdLo.js → Walkthrough-D_vfYTWP.js} +3 -3
- package/dist/{Wireframe-CT2d4yey.js → Wireframe-BxUNaH2g.js} +1 -1
- package/dist/{Wireframe-YFaVOmuO.cjs → Wireframe-CL0rjsos.cjs} +1 -1
- package/dist/all.cjs +1 -1
- package/dist/all.mjs +237 -223
- package/dist/component-styles.json +26 -1
- package/dist/components/Accordion.cjs +1 -1
- package/dist/components/Accordion.mjs +1 -1
- package/dist/components/AccordionItem.cjs +1 -1
- package/dist/components/AccordionItem.mjs +1 -1
- package/dist/components/ActionGroup.cjs +1 -1
- package/dist/components/ActionGroup.mjs +1 -1
- package/dist/components/AiLabel.cjs +1 -1
- package/dist/components/AiLabel.d.ts +49 -4
- package/dist/components/AiLabel.mjs +1 -1
- package/dist/components/AiLabel.vue.d.ts +44 -2
- package/dist/components/AiLabel.vue.d.ts.map +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.d.ts +2 -0
- package/dist/components/AiUsage.mjs +1 -1
- package/dist/components/AiUsage.vue.d.ts +1 -0
- package/dist/components/AiUsage.vue.d.ts.map +1 -1
- package/dist/components/Avatar.cjs +1 -1
- package/dist/components/Avatar.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.d.ts +22 -2
- package/dist/components/Badge.mjs +1 -1
- package/dist/components/Badge.vue.d.ts +7 -10
- package/dist/components/Badge.vue.d.ts.map +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/Blueprint.cjs +1 -1
- package/dist/components/Blueprint.mjs +1 -1
- package/dist/components/Blueprint.vue.d.ts.map +1 -1
- 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/BlueprintDomRenderer.vue.d.ts.map +1 -1
- package/dist/components/BlueprintMinimap.cjs +1 -1
- package/dist/components/BlueprintMinimap.mjs +1 -1
- package/dist/components/BlueprintMinimap.vue.d.ts.map +1 -1
- package/dist/components/Board.cjs +1 -1
- package/dist/components/Board.mjs +1 -1
- 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.map +1 -1
- package/dist/components/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs.mjs +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 +14 -1
- package/dist/components/Button.mjs +1 -1
- package/dist/components/Button.vue.d.ts +1 -0
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/Calendar.cjs +1 -1
- package/dist/components/Calendar.d.ts +1 -1
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Calendar.vue.d.ts +1 -1
- 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 +14 -5
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/CardGrid.cjs +1 -1
- package/dist/components/CardGrid.d.ts +33 -1
- package/dist/components/CardGrid.mjs +1 -1
- package/dist/components/CardGrid.vue.d.ts.map +1 -1
- package/dist/components/Charts/BarChart.cjs +1 -1
- package/dist/components/Charts/BarChart.mjs +1 -1
- package/dist/components/Charts/BarChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/GanttChart.cjs +1 -1
- package/dist/components/Charts/GanttChart.d.ts +2 -0
- package/dist/components/Charts/GanttChart.mjs +1 -1
- package/dist/components/Charts/GanttChart.vue.d.ts +1 -0
- package/dist/components/Charts/GanttChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/InterpolationChart.cjs +1 -1
- package/dist/components/Charts/InterpolationChart.mjs +1 -1
- package/dist/components/Charts/InterpolationChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/LineChart.cjs +1 -1
- package/dist/components/Charts/LineChart.mjs +1 -1
- package/dist/components/Charts/LineChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/PieChart.cjs +1 -1
- package/dist/components/Charts/PieChart.mjs +1 -1
- package/dist/components/Charts/PieChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/Sparkline.cjs +1 -1
- package/dist/components/Charts/Sparkline.mjs +1 -1
- package/dist/components/Charts/Sparkline.vue.d.ts.map +1 -1
- package/dist/components/Charts/shared/palette.d.ts.map +1 -1
- package/dist/components/Checkbox.cjs +1 -1
- package/dist/components/Checkbox.mjs +1 -1
- package/dist/components/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/CheckboxGroup.cjs +1 -1
- package/dist/components/CheckboxGroup.context.d.ts +4 -0
- package/dist/components/CheckboxGroup.context.d.ts.map +1 -1
- package/dist/components/CheckboxGroup.mjs +1 -1
- package/dist/components/CheckboxGroup.vue.d.ts.map +1 -1
- 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.d.ts +5 -0
- package/dist/components/CommandPalette.mjs +1 -1
- package/dist/components/CommandPalette.vue.d.ts +1 -0
- package/dist/components/CommandPalette.vue.d.ts.map +1 -1
- package/dist/components/Confirm.cjs +1 -1
- package/dist/components/Confirm.d.ts +4 -6
- package/dist/components/Confirm.env.d.ts +3 -2
- package/dist/components/Confirm.env.d.ts.map +1 -1
- package/dist/components/Confirm.mjs +1 -1
- package/dist/components/Confirm.vue.d.ts.map +1 -1
- package/dist/components/ContainedList.cjs +1 -0
- package/dist/components/ContainedList.d.ts +65 -0
- package/dist/components/ContainedList.mjs +2 -0
- package/dist/components/ContainedList.vue.d.ts +25 -0
- package/dist/components/ContainedList.vue.d.ts.map +1 -0
- package/dist/components/ContainedListItem.cjs +1 -0
- package/dist/components/ContainedListItem.d.ts +1 -0
- package/dist/components/ContainedListItem.mjs +2 -0
- package/dist/components/ContainedListItem.vue.d.ts +35 -0
- package/dist/components/ContainedListItem.vue.d.ts.map +1 -0
- package/dist/components/CopyButton.cjs +1 -1
- package/dist/components/CopyButton.mjs +1 -1
- package/dist/components/DataTable.cjs +1 -1
- package/dist/components/DataTable.d.ts +6 -2
- package/dist/components/DataTable.mjs +1 -1
- package/dist/components/DataTable.vue.d.ts +1 -1
- package/dist/components/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DatePicker.cjs +1 -1
- package/dist/components/DatePicker.d.ts +1 -1
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/DatePicker.vue.d.ts +1 -1
- 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/DragHandle.vue.d.ts.map +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/Field.vue.d.ts +2 -1
- package/dist/components/Field.vue.d.ts.map +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.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.d.ts +53 -4
- package/dist/components/Grid.mjs +1 -1
- package/dist/components/Grid.vue.d.ts +42 -4
- package/dist/components/Grid.vue.d.ts.map +1 -1
- package/dist/components/Icon.cjs +1 -1
- package/dist/components/Icon.d.ts +34 -6
- package/dist/components/Icon.mjs +1 -1
- package/dist/components/Icon.vue.d.ts +4 -4
- package/dist/components/Icon.vue.d.ts.map +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 +1 -1
- package/dist/components/InfoHint.cjs +1 -1
- package/dist/components/InfoHint.d.ts +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/InlineLoading.cjs +1 -1
- package/dist/components/InlineLoading.mjs +1 -1
- 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/Label.vue.d.ts.map +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.mjs +1 -1
- 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.map +1 -1
- package/dist/components/Message.cjs +1 -1
- package/dist/components/Message.d.ts +6 -0
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Message.vue.d.ts +1 -0
- package/dist/components/Message.vue.d.ts.map +1 -1
- package/dist/components/Modal.cjs +1 -1
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/Modal.vue.d.ts +2 -2
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenter.cjs +1 -1
- package/dist/components/NotificationCenter.d.ts +2 -3
- package/dist/components/NotificationCenter.mjs +1 -1
- package/dist/components/NotificationCenter.vue.d.ts +1 -1
- package/dist/components/NotificationCenter.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenterItem.cjs +1 -1
- package/dist/components/NotificationCenterItem.d.ts +4 -6
- package/dist/components/NotificationCenterItem.mjs +1 -1
- package/dist/components/NotificationCenterItem.vue.d.ts +1 -1
- package/dist/components/NotificationCenterItem.vue.d.ts.map +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/PageHeader.cjs +1 -0
- package/dist/components/PageHeader.d.ts +28 -0
- package/dist/components/PageHeader.mjs +2 -0
- package/dist/components/PageHeader.vue.d.ts +29 -0
- package/dist/components/PageHeader.vue.d.ts.map +1 -0
- package/dist/components/PageLayout.cjs +1 -0
- package/dist/components/PageLayout.d.ts +39 -0
- package/dist/components/PageLayout.mjs +2 -0
- package/dist/components/PageLayout.vue.d.ts +22 -0
- package/dist/components/PageLayout.vue.d.ts.map +1 -0
- package/dist/components/Pagination.cjs +1 -1
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Panel.cjs +1 -1
- package/dist/components/Panel.d.ts +29 -0
- package/dist/components/Panel.mjs +1 -1
- package/dist/components/Panel.vue.d.ts +10 -2
- package/dist/components/Panel.vue.d.ts.map +1 -1
- package/dist/components/PrimaryAction.context.d.ts +16 -0
- package/dist/components/PrimaryAction.context.d.ts.map +1 -0
- package/dist/components/PrimaryActionScope.vue.d.ts +18 -0
- package/dist/components/PrimaryActionScope.vue.d.ts.map +1 -0
- package/dist/components/ProgressBar.cjs +1 -1
- package/dist/components/ProgressBar.mjs +1 -1
- package/dist/components/ProgressBar.vue.d.ts.map +1 -1
- package/dist/components/Radio.cjs +1 -1
- package/dist/components/Radio.mjs +1 -1
- package/dist/components/Radio.vue.d.ts.map +1 -1
- package/dist/components/ReorderList.cjs +1 -1
- package/dist/components/ReorderList.mjs +1 -1
- package/dist/components/ReorderList.vue.d.ts.map +1 -1
- package/dist/components/Select.cjs +1 -1
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Select.vue.d.ts +1 -0
- package/dist/components/Select.vue.d.ts.map +1 -1
- package/dist/components/Shell.cjs +1 -1
- package/dist/components/Shell.d.ts +20 -0
- package/dist/components/Shell.mjs +1 -1
- package/dist/components/Shell.vue.d.ts +7 -4
- 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.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/SidebarMenuGroup.vue.d.ts.map +1 -1
- package/dist/components/SidebarMenuItem.cjs +1 -1
- package/dist/components/SidebarMenuItem.mjs +1 -1
- package/dist/components/SidebarMenuItem.vue.d.ts.map +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 +5 -0
- package/dist/components/Skeleton.mjs +1 -1
- 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/Slider.vue.d.ts.map +1 -1
- package/dist/components/Spinner.cjs +1 -1
- package/dist/components/Spinner.d.ts +3 -1
- package/dist/components/Spinner.mjs +1 -1
- package/dist/components/Spinner.vue.d.ts +6 -9
- package/dist/components/Spinner.vue.d.ts.map +1 -1
- package/dist/components/Stat.cjs +1 -1
- package/dist/components/Stat.mjs +1 -1
- package/dist/components/Stat.vue.d.ts.map +1 -1
- package/dist/components/Stepper.cjs +1 -1
- package/dist/components/Stepper.mjs +1 -1
- package/dist/components/Stepper.vue.d.ts.map +1 -1
- package/dist/components/StepperStep.cjs +1 -1
- package/dist/components/StepperStep.mjs +1 -1
- package/dist/components/StepperStep.vue.d.ts.map +1 -1
- package/dist/components/StructuredList.cjs +1 -0
- package/dist/components/StructuredList.d.ts +39 -0
- package/dist/components/StructuredList.mjs +2 -0
- package/dist/components/StructuredList.vue.d.ts +24 -0
- package/dist/components/StructuredList.vue.d.ts.map +1 -0
- package/dist/components/Submenu.cjs +1 -1
- package/dist/components/Submenu.mjs +1 -1
- package/dist/components/Submenu.vue.d.ts.map +1 -1
- package/dist/components/SuggestionList.cjs +1 -1
- package/dist/components/SuggestionList.mjs +1 -1
- package/dist/components/Switch.cjs +1 -1
- package/dist/components/Switch.mjs +1 -1
- package/dist/components/Switch.vue.d.ts.map +1 -1
- package/dist/components/TableOfContents.cjs +1 -1
- package/dist/components/TableOfContents.mjs +1 -1
- package/dist/components/TableOfContents.vue.d.ts +1 -1
- package/dist/components/Tabs.cjs +1 -1
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tabs.vue.d.ts.map +1 -1
- package/dist/components/TextInput.cjs +1 -1
- package/dist/components/TextInput.mjs +1 -1
- package/dist/components/TextInput.vue.d.ts +13 -5
- 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.map +1 -1
- package/dist/components/Toaster.cjs +1 -1
- package/dist/components/Toaster.d.ts +1 -2
- package/dist/components/Toaster.mjs +1 -1
- package/dist/components/Toaster.vue.d.ts.map +1 -1
- package/dist/components/Tree.cjs +1 -1
- package/dist/components/Tree.d.ts +2 -0
- package/dist/components/Tree.mjs +1 -1
- package/dist/components/Tree.vue.d.ts.map +1 -1
- package/dist/components/TreeNode.cjs +1 -1
- package/dist/components/TreeNode.mjs +1 -1
- package/dist/components/TreeNode.vue.d.ts.map +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 +5 -0
- package/dist/components/manifest.d.ts.map +1 -1
- package/dist/components/manifest.js +5 -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.d.ts +9 -0
- package/dist/composables/useConfirm.composable.d.ts.map +1 -1
- package/dist/composables/useConfirm.composable.mjs +62 -63
- package/dist/composables/useFieldMessage.composable.cjs +1 -0
- package/dist/composables/useFieldMessage.composable.d.ts +44 -0
- package/dist/composables/useFieldMessage.composable.d.ts.map +1 -0
- package/dist/composables/useFieldMessage.composable.mjs +33 -0
- package/dist/composables/useInlineLoading.composable.cjs +1 -1
- package/dist/composables/useInlineLoading.composable.d.ts +3 -4
- package/dist/composables/useInlineLoading.composable.d.ts.map +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 -0
- package/dist/composables/useNbStrings.composable.d.ts +105 -0
- package/dist/composables/useNbStrings.composable.d.ts.map +1 -0
- package/dist/composables/useNbStrings.composable.mjs +111 -0
- package/dist/composables/useShellSlot.composable.d.ts +3 -5
- package/dist/composables/useShellSlot.composable.d.ts.map +1 -1
- package/dist/composables/useToast.composable.cjs +1 -1
- package/dist/composables/useToast.composable.d.ts +3 -1
- package/dist/composables/useToast.composable.d.ts.map +1 -1
- package/dist/composables/useToast.composable.mjs +113 -102
- package/dist/directives/ToolTip.directive.d.ts +1 -1
- package/dist/directives/ToolTip.directive.d.ts.map +1 -1
- package/dist/global.d.ts +12 -0
- package/dist/icons/ai.mjs +26 -0
- package/dist/icons/all.mjs +2 -1
- package/dist/icons/catalog.mjs +2 -1
- package/dist/icons/names.json +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +142 -133
- package/dist/{main-TRQw3oqC.js → main-BTximdIU.js} +349 -343
- package/dist/main-DkNxc78b.cjs +4 -0
- package/dist/main.d.ts +20 -4
- package/dist/main.d.ts.map +1 -1
- package/dist/motion-BjVtMTXD.cjs +1 -0
- package/dist/motion-C0h9XZQZ.js +18 -0
- package/dist/{palette-9NBcW3rl.cjs → palette-B7XEOMVB.cjs} +1 -1
- package/dist/{palette-Cq2Mb9QH.js → palette-CWU7exM6.js} +3 -3
- package/dist/plugins/fonts.d.ts +10 -5
- package/dist/plugins/fonts.d.ts.map +1 -1
- package/dist/plugins/fonts.js +13 -8
- package/dist/plugins/vite/glyphs.d.ts.map +1 -1
- package/dist/plugins/vite/glyphs.js +28 -9
- package/dist/plugins/vite/imports.d.ts +15 -0
- package/dist/plugins/vite/imports.d.ts.map +1 -1
- package/dist/plugins/vite/imports.js +77 -4
- package/dist/plugins/vite/index.d.ts.map +1 -1
- package/dist/plugins/vite/index.js +2 -1
- package/dist/styles/Accordion.css +1 -1
- package/dist/styles/AccordionItem.css +1 -1
- package/dist/styles/AiLabel.css +1 -1
- package/dist/styles/Avatar.css +1 -1
- package/dist/styles/Badge.css +1 -1
- package/dist/styles/Banner.css +1 -1
- package/dist/styles/BarChart.css +1 -1
- package/dist/styles/Blueprint.css +1 -1
- package/dist/styles/BlueprintCard.css +1 -1
- package/dist/styles/BlueprintControls.css +1 -1
- package/dist/styles/BlueprintMinimap.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/Calendar.css +1 -1
- package/dist/styles/Card.css +1 -1
- package/dist/styles/CardGrid.css +1 -1
- package/dist/styles/ChartLegend.css +1 -1
- package/dist/styles/Checkbox.css +1 -1
- package/dist/styles/CheckboxGroup.css +1 -1
- package/dist/styles/ColorStrip.css +1 -1
- package/dist/styles/CommandPalette.css +1 -1
- package/dist/styles/Confirm.css +1 -1
- package/dist/styles/ContainedList.css +1 -0
- package/dist/styles/ContainedListItem.css +1 -0
- package/dist/styles/DataTable.css +1 -1
- package/dist/styles/DatePicker.css +1 -1
- package/dist/styles/DefinitionList.css +1 -1
- package/dist/styles/DragHandle.css +1 -1
- package/dist/styles/EmptyState.css +1 -1
- package/dist/styles/Field.css +1 -1
- package/dist/styles/FileUploader.css +1 -1
- package/dist/styles/FloatingToolbar.css +1 -1
- package/dist/styles/GanttChart.css +1 -1
- package/dist/styles/Icon.css +1 -1
- package/dist/styles/ImageCropper.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/InlineLoading.css +1 -1
- package/dist/styles/InterpolationChart.css +1 -1
- package/dist/styles/JsonTree.css +1 -1
- package/dist/styles/Label.css +1 -1
- package/dist/styles/LineChart.css +1 -1
- package/dist/styles/MenuBarItem.css +1 -1
- package/dist/styles/MenuItem.css +1 -1
- package/dist/styles/Message.css +1 -1
- package/dist/styles/Modal.css +1 -1
- package/dist/styles/NotificationCenter.css +1 -1
- package/dist/styles/NotificationCenterItem.css +1 -1
- package/dist/styles/NumberInput.css +1 -1
- package/dist/styles/PageHeader.css +1 -0
- package/dist/styles/PageLayout.css +1 -0
- package/dist/styles/Pagination.css +1 -1
- package/dist/styles/Panel.css +1 -1
- package/dist/styles/PieChart.css +1 -1
- package/dist/styles/ProgressBar.css +1 -1
- package/dist/styles/Radio.css +1 -1
- package/dist/styles/ReorderList.css +1 -1
- package/dist/styles/Select.css +1 -1
- package/dist/styles/Shell.css +1 -1
- package/dist/styles/ShellPanel.css +1 -1
- package/dist/styles/SidebarBrand.css +1 -1
- package/dist/styles/SidebarHeaderToggle.css +1 -1
- package/dist/styles/SidebarLink.css +1 -1
- package/dist/styles/SidebarMenu.css +1 -1
- package/dist/styles/SidebarMenuGroup.css +1 -1
- package/dist/styles/SidebarMenuItem.css +1 -1
- package/dist/styles/SidebarStatus.css +1 -1
- package/dist/styles/Skeleton.css +1 -1
- package/dist/styles/Slider.css +1 -1
- package/dist/styles/Sparkline.css +1 -1
- package/dist/styles/Spinner.css +1 -1
- package/dist/styles/Stat.css +1 -1
- package/dist/styles/Stepper.css +1 -1
- package/dist/styles/StepperStep.css +1 -1
- package/dist/styles/StructuredList.css +1 -0
- package/dist/styles/SuggestionList.css +1 -1
- package/dist/styles/Switch.css +1 -1
- package/dist/styles/TableOfContents.css +1 -1
- package/dist/styles/Tabs.css +1 -1
- package/dist/styles/TextInput.css +1 -1
- package/dist/styles/Toast.css +1 -1
- package/dist/styles/Toaster.css +1 -1
- package/dist/styles/Tree.css +1 -1
- package/dist/styles/TreeNode.css +1 -1
- package/dist/styles/UserMenu.css +1 -1
- package/dist/styles/Walkthrough.css +1 -1
- package/dist/styles/main.css +1 -1
- package/dist/styles/palette.css +1 -1
- package/dist/tokens/motion.d.ts +42 -0
- package/dist/tokens/motion.d.ts.map +1 -0
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/ui.css +91 -86
- package/dist/utils/pluralize.helper.cjs +1 -0
- package/dist/utils/pluralize.helper.d.ts +28 -0
- package/dist/utils/pluralize.helper.d.ts.map +1 -0
- package/dist/utils/pluralize.helper.mjs +14 -0
- package/dist/utils/truncateMiddle.helper.cjs +1 -0
- package/dist/utils/truncateMiddle.helper.d.ts +16 -0
- package/dist/utils/truncateMiddle.helper.d.ts.map +1 -0
- package/dist/utils/truncateMiddle.helper.mjs +11 -0
- package/package.json +8 -5
- package/src/assets/icons/ai.svg +4 -0
- package/src/plugins/fonts.ts +13 -8
- package/src/plugins/vite/glyphs.ts +32 -9
- package/src/plugins/vite/imports.ts +64 -4
- package/src/plugins/vite/index.ts +2 -1
- package/src/styles/_accent.scss +60 -2
- package/src/styles/_ai.scss +128 -0
- package/src/styles/_contrast.scss +64 -0
- package/src/styles/_focus.scss +28 -0
- package/src/styles/_reset.scss +5 -5
- package/src/styles/_theme-api.scss +17 -2
- package/src/styles/_theme.scss +168 -51
- package/src/styles/_typography.scss +5 -0
- package/src/styles/directives/_tooltip.scss +12 -8
- package/src/styles/grid/_common.scss +3 -0
- package/src/styles/grid/_mixins.scss +3 -2
- package/src/styles/grid/index.scss +63 -0
- package/src/styles/index.scss +6 -0
- package/src/styles/logic/_a11y.scss +1 -1
- package/src/styles/logic/_motion.scss +246 -2
- package/src/styles/patterns/_inspector.scss +5 -5
- package/src/styles/presets/_classic-fields.scss +36 -10
- package/src/styles/transitions/_fade.scss +31 -8
- package/src/styles/variables/_animations.scss +13 -4
- package/src/styles/variables/_categories.scss +130 -0
- package/src/styles/variables/_grid.scss +31 -8
- package/src/styles/variables/_layers.scss +185 -6
- package/src/styles/variables/_spacing.scss +87 -0
- package/src/styles/variables/_type.scss +165 -116
- package/src/utils/pluralize.helper.ts +55 -0
- package/src/utils/truncateMiddle.helper.ts +34 -0
- package/dist/ActionGroup-BW4jTdT0.cjs +0 -1
- package/dist/AiLabel-DSiCpLvM.js +0 -56
- package/dist/AiLabel-G7b92e7Q.cjs +0 -1
- package/dist/BackToTop-BAyTy5SN.js +0 -55
- package/dist/BackToTop-DvNNsQcS.cjs +0 -1
- package/dist/Badge-BC7sqGRj.cjs +0 -1
- package/dist/Badge-DVujzLka.js +0 -59
- package/dist/Banner-BWfbWQjt.cjs +0 -1
- package/dist/BarChart-34fIWzBC.cjs +0 -1
- package/dist/BarChart-CcmkojSX.js +0 -399
- package/dist/BlueprintCard-BISElEk0.cjs +0 -1
- package/dist/BlueprintControls-BwZeMwyC.cjs +0 -1
- package/dist/BlueprintControls-bMZ4hJTJ.js +0 -156
- package/dist/BlueprintMinimap-CWmys37d.cjs +0 -1
- package/dist/BlueprintMinimap-zXf1g5UN.js +0 -161
- package/dist/Board-BVpQ2OAm.cjs +0 -1
- package/dist/BottomPanel-9wXoX7C0.cjs +0 -1
- package/dist/BottomPanel-COy4nW-t.js +0 -114
- package/dist/Button-Cepcs335.js +0 -121
- package/dist/Button-tmwLbryG.cjs +0 -1
- package/dist/Calendar-C_tRujlw.cjs +0 -1
- package/dist/Card-BNmkM0Cr.cjs +0 -1
- package/dist/Card-D5brHuVU.js +0 -109
- package/dist/CardGrid-q_Zz_Ip_.cjs +0 -1
- package/dist/Checkbox-DHjkrPUP.cjs +0 -1
- package/dist/CheckboxGroup-B2GnAaDG.js +0 -72
- package/dist/CheckboxGroup-DJs_1dDP.cjs +0 -1
- package/dist/CommandPalette--Xg6G2hP.cjs +0 -1
- package/dist/CommandPalette-C-Hz6lEX.js +0 -223
- package/dist/Confirm-CquZnoj-.cjs +0 -1
- package/dist/DataTable-Bm6OM1uz.js +0 -477
- package/dist/DataTable-DrWZCe55.cjs +0 -1
- package/dist/DatePicker-wMeO_BAn.cjs +0 -1
- package/dist/Field-3zUVZEMG.cjs +0 -1
- package/dist/FileUploader-CrtHrF9n.cjs +0 -1
- package/dist/FileUploader-D9H4klul.js +0 -187
- package/dist/GanttChart-C2ql59iv.cjs +0 -1
- package/dist/GanttChart-tHaks3Qu.js +0 -466
- package/dist/Grid-BEezjVdC.cjs +0 -1
- package/dist/Icon-Bwec1Nfv.cjs +0 -1
- package/dist/Icon-DwhI2DFK.js +0 -104
- package/dist/InterpolationChart-CezKg7nG.cjs +0 -1
- package/dist/InterpolationChart-x2yvZUFf.js +0 -319
- package/dist/LineChart-A2so8GBH.js +0 -309
- package/dist/LineChart-DnYgeNPe.cjs +0 -1
- package/dist/Menu-2Se8F81Q.js +0 -136
- package/dist/Menu-CAZmNx60.cjs +0 -1
- package/dist/MenuItem-D6hIjWBm.cjs +0 -1
- package/dist/Message-COxRTtqI.cjs +0 -1
- package/dist/Message-DlluDLCZ.js +0 -54
- package/dist/Modal-F7rA1EFq.cjs +0 -1
- package/dist/NotificationCenter-C3D55kLa.cjs +0 -1
- package/dist/NumberInput-DZ2JIarM.js +0 -293
- package/dist/NumberInput-Daauv-mS.cjs +0 -1
- package/dist/Pagination-BiXAAS94.cjs +0 -1
- package/dist/Pagination-oWMOC9Qw.js +0 -84
- package/dist/Panel-CWBZ-kgD.js +0 -15
- package/dist/Panel-ap8JYHvL.cjs +0 -1
- package/dist/PieChart-C3MInQWP.cjs +0 -1
- package/dist/PieChart-DnGl86Lc.js +0 -181
- package/dist/Radio-DuW0s5JD.cjs +0 -1
- package/dist/Radio-LrqGD0NJ.js +0 -98
- package/dist/Select-Z6XKZwgn.cjs +0 -1
- package/dist/Shell-BCBzgwZl.cjs +0 -1
- package/dist/Shell-DSY0rcWY.js +0 -520
- package/dist/Skeleton-CSRjBPVt.cjs +0 -1
- package/dist/Slider-CM-YIOPa.js +0 -308
- package/dist/Slider-CNqWXBhw.cjs +0 -1
- package/dist/Sparkline-DgmOYz7G.cjs +0 -1
- package/dist/Sparkline-TptJc3Gp.js +0 -94
- package/dist/Spinner-BPC4GV2R.cjs +0 -1
- package/dist/Spinner-DT8nD53U.js +0 -156
- package/dist/StepperStep-DM__K4sj.cjs +0 -1
- package/dist/TableOfContents-pJY07qUd.cjs +0 -1
- package/dist/TextInput-CMNHASTy.js +0 -293
- package/dist/TextInput-Dim1RJ1e.cjs +0 -2
- package/dist/Tree-BMKUnt--.js +0 -125
- package/dist/Tree-DDYIaQhW.cjs +0 -1
- package/dist/TreeNode-BjqvPxI6.cjs +0 -1
- package/dist/TreeNode-Bnlm_eRb.js +0 -176
- package/dist/Video-CfRR9Ire.cjs +0 -1
- package/dist/Video-CvpT9tlK.js +0 -103
- package/dist/main-R1TM8Ptt.cjs +0 -4
- /package/dist/{Accordion.context-D0CjtbPU.cjs → Accordion.context-Cb_NKUtg.cjs} +0 -0
- /package/dist/{Accordion.context-Wz0ugH_k.js → Accordion.context-DG649PsQ.js} +0 -0
- /package/dist/{Avatar-BtPUauIn.cjs → Avatar-UO0ySqkY.cjs} +0 -0
- /package/dist/{Avatar-DqZ-eYb8.js → Avatar-ZG-WROXx.js} +0 -0
- /package/dist/{Blueprint.context-BxEzW6uR.cjs → Blueprint.context-B3d5-4jD.cjs} +0 -0
- /package/dist/{Blueprint.context-CFAikJ3j.js → Blueprint.context-B4bRLj7m.js} +0 -0
- /package/dist/{Card.link-dJAabUqe.js → Card.link-CB8_CTbn.js} +0 -0
- /package/dist/{Card.link-crO1EgJA.cjs → Card.link-eRkbFiF1.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-BapH2lov.cjs → CheckboxGroup.context-C8p21aqH.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-uxyp82XM.js → CheckboxGroup.context-Cu0BA648.js} +0 -0
- /package/dist/{DefinitionListItem-DnFxxXWI.cjs → DefinitionListItem-Bf9amK8a.cjs} +0 -0
- /package/dist/{DefinitionListItem-Cg8BggyX.js → DefinitionListItem-CbVnrShi.js} +0 -0
- /package/dist/{JsonTree-DbyC2G2G.js → JsonTree-BWfMcWOV.js} +0 -0
- /package/dist/{JsonTree-CjeK5gqm.cjs → JsonTree-Bmj8WtzK.cjs} +0 -0
- /package/dist/{Layer-BgL2sFav.js → Layer-BJeI6Q6N.js} +0 -0
- /package/dist/{Layer-BPC6XSrP.cjs → Layer-D-MNrLiB.cjs} +0 -0
- /package/dist/{NubiscoMark-BGi9b3YU.js → NubiscoMark-BLT8ULAl.js} +0 -0
- /package/dist/{NubiscoMark-DH9Ngmod.cjs → NubiscoMark-Cf7Ek83E.cjs} +0 -0
- /package/dist/{NubiscoPlatformMark-ddkDJ0AU.cjs → NubiscoPlatformMark-CXMSQDYh.cjs} +0 -0
- /package/dist/{NubiscoPlatformMark-C6WbipA4.js → NubiscoPlatformMark-Dca7vi6H.js} +0 -0
- /package/dist/{Size.d-GBIblj2D.cjs → Size.d-BQ4_AVQe.cjs} +0 -0
- /package/dist/{Size.d-Bah6vMl3.js → Size.d-DY4ZHW3-.js} +0 -0
- /package/dist/{Stepper.context-DVnGO61u.cjs → Stepper.context-DUIDhN9Q.cjs} +0 -0
- /package/dist/{Stepper.context-7n0SuGh_.js → Stepper.context-DqfEvgGM.js} +0 -0
- /package/dist/{TextInput.context-DvCbZUx_.js → TextInput.context-DV1MgL_Q.js} +0 -0
- /package/dist/{TextInput.context-C0YTT4zw.cjs → TextInput.context-UTLuljcO.cjs} +0 -0
- /package/dist/{TreeContext-CvZCLIr2.js → TreeContext--GZ21fCm.js} +0 -0
- /package/dist/{TreeContext-CKcfg0Nq.cjs → TreeContext-TZ35sT5B.cjs} +0 -0
- /package/dist/{_plugin-vue_export-helper-O4QQSku4.js → _plugin-vue_export-helper-C6QCLu9I.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-tagjRzOz.cjs → _plugin-vue_export-helper-D0Q0f7-M.cjs} +0 -0
- /package/dist/{pixi-scene-DSMij-ex.cjs → pixi-scene-BKyneWmd.cjs} +0 -0
- /package/dist/{pixi-scene-Du_Uq_zl.js → pixi-scene-TbaBQ2-u.js} +0 -0
- /package/dist/{scales-Bdgv87s2.cjs → scales-B8IbC7t_.cjs} +0 -0
- /package/dist/{scales-CzvC8OOZ.js → scales-CNW8JgKC.js} +0 -0
- /package/dist/{useChartSize-ByPUvppp.cjs → useChartSize-B6Bes760.cjs} +0 -0
- /package/dist/{useChartSize-BXgOzSCU.js → useChartSize-CftshgoY.js} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-DQEzOEt_.js → useLoadingAnnouncer.composable-BAwecV1M.js} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-pW7VKY0k.cjs → useLoadingAnnouncer.composable-Dn1mqnqe.cjs} +0 -0
- /package/dist/{vue-i18n-CNxAi_sd.cjs → vue-i18n-DIvTc6LM.cjs} +0 -0
- /package/dist/{vue-i18n-BERFm5iG.js → vue-i18n-DSR949qU.js} +0 -0
|
@@ -1,10 +1,14 @@
|
|
|
1
|
+
// The spacing maps used to live here, seeded from $fontSizes. They have their
|
|
2
|
+
// own module now and are forwarded so `type.$spacingSizes` keeps resolving.
|
|
3
|
+
@forward 'spacing';
|
|
4
|
+
|
|
1
5
|
// Initial map of font family values
|
|
2
6
|
/// @type Map
|
|
3
7
|
/// @access public
|
|
4
8
|
/// @group @nubisco/type
|
|
5
9
|
$fontFamilies: (
|
|
6
|
-
sans: '
|
|
7
|
-
mono: '
|
|
10
|
+
sans: "'IBM Plex Sans', system-ui, sans-serif",
|
|
11
|
+
mono: "'IBM Plex Mono', ui-monospace, monospace",
|
|
8
12
|
) !default;
|
|
9
13
|
|
|
10
14
|
// Line height scale
|
|
@@ -32,126 +36,205 @@ $letterSpacing: (
|
|
|
32
36
|
wider: 0.05em,
|
|
33
37
|
) !default;
|
|
34
38
|
|
|
35
|
-
// Type sets
|
|
36
|
-
//
|
|
37
|
-
//
|
|
39
|
+
// Type sets: pre-configured typographic roles, the productive ladder.
|
|
40
|
+
//
|
|
41
|
+
// One size per role, and weight falls as size rises: semibold is spent on
|
|
42
|
+
// the two smallest headings, where size alone cannot separate a title from
|
|
43
|
+
// the body, and from 20px up the size carries the hierarchy at regular or
|
|
44
|
+
// light. Nothing sits below 12px.
|
|
45
|
+
//
|
|
46
|
+
// Each value is a map with: size (a $fontSizes key), weight (a $fontWeight
|
|
47
|
+
// key), line-height (an integer pixel value on the 4px rhythm),
|
|
48
|
+
// letter-spacing, and optionally family (defaults to sans) and transform
|
|
49
|
+
// (a text-transform, used by overline). Tracking follows the size: 0.32px at
|
|
50
|
+
// 12, 0.16px at 14, 0 at 16 and up, negative on the large headings.
|
|
38
51
|
/// @type Map
|
|
39
52
|
/// @access public
|
|
40
53
|
/// @group @nubisco/type
|
|
41
54
|
$typeSets: (
|
|
42
|
-
// ── Labels:
|
|
55
|
+
// ── Labels: field labels, tags, chips, captions ──
|
|
56
|
+
label: (
|
|
57
|
+
size: 12,
|
|
58
|
+
weight: regular,
|
|
59
|
+
line-height: 16px,
|
|
60
|
+
letter-spacing: 0.32px,
|
|
61
|
+
),
|
|
62
|
+
// The older names, kept working, their values now on the ladder.
|
|
43
63
|
label-sm: (
|
|
44
|
-
size:
|
|
45
|
-
weight:
|
|
46
|
-
line-height:
|
|
47
|
-
letter-spacing: 0,
|
|
64
|
+
size: 12,
|
|
65
|
+
weight: regular,
|
|
66
|
+
line-height: 16px,
|
|
67
|
+
letter-spacing: 0.32px,
|
|
48
68
|
),
|
|
49
69
|
label-md: (
|
|
50
70
|
size: 12,
|
|
51
|
-
weight:
|
|
52
|
-
line-height:
|
|
53
|
-
letter-spacing: 0,
|
|
71
|
+
weight: regular,
|
|
72
|
+
line-height: 16px,
|
|
73
|
+
letter-spacing: 0.32px,
|
|
54
74
|
),
|
|
55
75
|
label-lg: (
|
|
56
76
|
size: 14,
|
|
57
|
-
weight:
|
|
58
|
-
line-height:
|
|
59
|
-
letter-spacing: 0,
|
|
77
|
+
weight: regular,
|
|
78
|
+
line-height: 18px,
|
|
79
|
+
letter-spacing: 0.16px,
|
|
60
80
|
),
|
|
61
|
-
// ──
|
|
81
|
+
// ── Helper text: the hint or error under a field ──
|
|
82
|
+
helper-text: (
|
|
83
|
+
size: 12,
|
|
84
|
+
weight: regular,
|
|
85
|
+
line-height: 16px,
|
|
86
|
+
letter-spacing: 0.32px,
|
|
87
|
+
),
|
|
88
|
+
// ── Overline: the uppercase micro-label over a group or a panel ──
|
|
89
|
+
overline: (
|
|
90
|
+
size: 12,
|
|
91
|
+
weight: semibold,
|
|
92
|
+
line-height: 16px,
|
|
93
|
+
letter-spacing: 0.06em,
|
|
94
|
+
transform: uppercase,
|
|
95
|
+
),
|
|
96
|
+
// ── Body: paragraph text, descriptions, row text ──
|
|
97
|
+
// body-sm is the support role (meta, timestamps, secondary lines).
|
|
62
98
|
body-sm: (
|
|
63
99
|
size: 12,
|
|
64
100
|
weight: regular,
|
|
65
|
-
line-height:
|
|
66
|
-
letter-spacing: 0,
|
|
101
|
+
line-height: 16px,
|
|
102
|
+
letter-spacing: 0.32px,
|
|
67
103
|
),
|
|
104
|
+
// body-compact is text inside a component, up to a few lines.
|
|
105
|
+
body-compact: (
|
|
106
|
+
size: 14,
|
|
107
|
+
weight: regular,
|
|
108
|
+
line-height: 18px,
|
|
109
|
+
letter-spacing: 0.16px,
|
|
110
|
+
),
|
|
111
|
+
// body-md is the paragraph role.
|
|
68
112
|
body-md: (
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
113
|
+
size: 14,
|
|
114
|
+
weight: regular,
|
|
115
|
+
line-height: 20px,
|
|
116
|
+
letter-spacing: 0.16px,
|
|
117
|
+
),
|
|
74
118
|
body-lg: (
|
|
75
119
|
size: 16,
|
|
76
120
|
weight: regular,
|
|
77
|
-
line-height:
|
|
121
|
+
line-height: 24px,
|
|
78
122
|
letter-spacing: 0,
|
|
79
123
|
),
|
|
80
|
-
// ── Code: inline code, code blocks, JSON viewers ──
|
|
124
|
+
// ── Code: inline code, code blocks, JSON viewers, keys and IDs ──
|
|
81
125
|
code-sm: (
|
|
82
|
-
size:
|
|
126
|
+
size: 12,
|
|
83
127
|
weight: regular,
|
|
84
|
-
line-height:
|
|
85
|
-
letter-spacing: 0,
|
|
128
|
+
line-height: 16px,
|
|
129
|
+
letter-spacing: 0.32px,
|
|
86
130
|
family: mono,
|
|
87
131
|
),
|
|
88
132
|
code-md: (
|
|
89
|
-
size:
|
|
133
|
+
size: 14,
|
|
90
134
|
weight: regular,
|
|
91
|
-
line-height:
|
|
92
|
-
letter-spacing: 0,
|
|
135
|
+
line-height: 20px,
|
|
136
|
+
letter-spacing: 0.16px,
|
|
93
137
|
family: mono,
|
|
94
138
|
),
|
|
95
139
|
code-lg: (
|
|
96
140
|
size: 16,
|
|
97
141
|
weight: regular,
|
|
98
|
-
line-height:
|
|
142
|
+
line-height: 24px,
|
|
99
143
|
letter-spacing: 0,
|
|
100
144
|
family: mono,
|
|
101
145
|
),
|
|
102
|
-
// ── Headings
|
|
146
|
+
// ── Headings ──
|
|
147
|
+
// heading-compact: a row or component title, a column header.
|
|
148
|
+
heading-compact: (
|
|
149
|
+
size: 14,
|
|
150
|
+
weight: semibold,
|
|
151
|
+
line-height: 18px,
|
|
152
|
+
letter-spacing: 0.16px,
|
|
153
|
+
),
|
|
154
|
+
// heading-01: a panel or container title.
|
|
103
155
|
heading-01: (
|
|
104
156
|
size: 16,
|
|
105
157
|
weight: semibold,
|
|
106
|
-
line-height:
|
|
158
|
+
line-height: 22px,
|
|
107
159
|
letter-spacing: 0,
|
|
108
160
|
),
|
|
161
|
+
// heading-02: a region title.
|
|
109
162
|
heading-02: (
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
163
|
+
size: 20,
|
|
164
|
+
weight: regular,
|
|
165
|
+
line-height: 28px,
|
|
166
|
+
letter-spacing: -0.01em,
|
|
167
|
+
),
|
|
168
|
+
// heading-03: a page title.
|
|
115
169
|
heading-03: (
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
170
|
+
size: 24,
|
|
171
|
+
weight: regular,
|
|
172
|
+
line-height: 32px,
|
|
173
|
+
letter-spacing: -0.015em,
|
|
174
|
+
),
|
|
121
175
|
heading-04: (
|
|
122
176
|
size: 32,
|
|
123
|
-
weight:
|
|
124
|
-
line-height:
|
|
177
|
+
weight: regular,
|
|
178
|
+
line-height: 40px,
|
|
125
179
|
letter-spacing: -0.02em,
|
|
126
180
|
),
|
|
127
181
|
heading-05: (
|
|
128
182
|
size: 42,
|
|
129
|
-
weight:
|
|
130
|
-
line-height:
|
|
183
|
+
weight: light,
|
|
184
|
+
line-height: 50px,
|
|
131
185
|
letter-spacing: -0.02em,
|
|
132
186
|
),
|
|
133
187
|
heading-06: (
|
|
134
188
|
size: 54,
|
|
135
|
-
weight:
|
|
136
|
-
line-height:
|
|
189
|
+
weight: light,
|
|
190
|
+
line-height: 64px,
|
|
137
191
|
letter-spacing: -0.025em,
|
|
138
192
|
),
|
|
139
193
|
// ── Display: hero sections, landing pages ──
|
|
194
|
+
// Both step down on a phone (see $displayPhone).
|
|
140
195
|
display-01: (
|
|
141
196
|
size: 60,
|
|
142
|
-
weight:
|
|
143
|
-
line-height:
|
|
197
|
+
weight: light,
|
|
198
|
+
line-height: 68px,
|
|
144
199
|
letter-spacing: -0.03em,
|
|
145
200
|
),
|
|
146
201
|
display-02: (
|
|
147
202
|
size: 76,
|
|
148
|
-
weight:
|
|
149
|
-
line-height:
|
|
203
|
+
weight: light,
|
|
204
|
+
line-height: 84px,
|
|
150
205
|
letter-spacing: -0.03em,
|
|
151
206
|
)
|
|
152
207
|
) !default;
|
|
153
208
|
|
|
154
|
-
//
|
|
209
|
+
// The size and line height each display set takes on a phone, where 60 and
|
|
210
|
+
// 76px would overflow a 360px screen. Applied through the phone signal only,
|
|
211
|
+
// so the desktop does not move.
|
|
212
|
+
/// @type Map
|
|
213
|
+
/// @access public
|
|
214
|
+
/// @group @nubisco/type
|
|
215
|
+
$displayPhone: (
|
|
216
|
+
display-01: (
|
|
217
|
+
size: 42,
|
|
218
|
+
line-height: 50px,
|
|
219
|
+
),
|
|
220
|
+
display-02: (
|
|
221
|
+
size: 54,
|
|
222
|
+
line-height: 64px,
|
|
223
|
+
),
|
|
224
|
+
) !default;
|
|
225
|
+
|
|
226
|
+
// Comfortable line length for running prose. Emitted as --nb-measure.
|
|
227
|
+
/// @type Number
|
|
228
|
+
/// @access public
|
|
229
|
+
/// @group @nubisco/type
|
|
230
|
+
$measure: 65ch !default;
|
|
231
|
+
|
|
232
|
+
// Initial map of font sizes in rem.
|
|
233
|
+
//
|
|
234
|
+
// The floor is 12px. 8, 9, 10, 11 and 13 are deprecated: they are still
|
|
235
|
+
// emitted as --nb-font-size-N for one minor so nothing breaks, no library
|
|
236
|
+
// component uses them, and 8 to 11 no longer get a .text-N utility. Move to
|
|
237
|
+
// a type set (label, helper-text, body-sm, body-compact) instead.
|
|
155
238
|
/// @type Map
|
|
156
239
|
/// @access public
|
|
157
240
|
/// @group @nubisco/type
|
|
@@ -180,78 +263,44 @@ $fontSizes: (
|
|
|
180
263
|
76: 4.75rem,
|
|
181
264
|
) !default;
|
|
182
265
|
|
|
183
|
-
//
|
|
184
|
-
/// @type
|
|
185
|
-
/// @access public
|
|
186
|
-
/// @group @nubisco/type
|
|
187
|
-
$headings: (
|
|
188
|
-
1: 54,
|
|
189
|
-
2: 42,
|
|
190
|
-
3: 32,
|
|
191
|
-
4: 24,
|
|
192
|
-
5: 20,
|
|
193
|
-
6: 16,
|
|
194
|
-
) !default;
|
|
195
|
-
|
|
196
|
-
// Initial map of font weight values
|
|
197
|
-
/// @type Map
|
|
266
|
+
// The deprecated font size steps, kept for one minor. See $fontSizes.
|
|
267
|
+
/// @type List
|
|
198
268
|
/// @access public
|
|
199
269
|
/// @group @nubisco/type
|
|
200
|
-
$
|
|
201
|
-
light: 300,
|
|
202
|
-
regular: 400,
|
|
203
|
-
semibold: 600,
|
|
204
|
-
bold: 700,
|
|
205
|
-
) !default;
|
|
270
|
+
$deprecatedFontSizes: (8, 9, 10, 11, 13) !default;
|
|
206
271
|
|
|
207
|
-
//
|
|
208
|
-
/// @type
|
|
272
|
+
// The smallest step that gets a .text-N utility.
|
|
273
|
+
/// @type Number
|
|
209
274
|
/// @access public
|
|
210
275
|
/// @group @nubisco/type
|
|
211
|
-
$
|
|
212
|
-
p: 'padding',
|
|
213
|
-
m: 'margin',
|
|
214
|
-
) !default;
|
|
276
|
+
$fontSizeFloor: 12 !default;
|
|
215
277
|
|
|
216
|
-
//
|
|
278
|
+
// Font size (px) of each heading element, h1 to h6. They follow the type sets
|
|
279
|
+
// wired to them in the theme: heading-03, heading-02, heading-01,
|
|
280
|
+
// heading-compact, heading-compact and label.
|
|
217
281
|
/// @type Map
|
|
218
282
|
/// @access public
|
|
219
283
|
/// @group @nubisco/type
|
|
220
|
-
$
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
284
|
+
$headings: (
|
|
285
|
+
1: 24,
|
|
286
|
+
2: 20,
|
|
287
|
+
3: 16,
|
|
288
|
+
4: 14,
|
|
289
|
+
5: 14,
|
|
290
|
+
6: 12,
|
|
225
291
|
) !default;
|
|
226
292
|
|
|
227
|
-
// Initial map of
|
|
293
|
+
// Initial map of font weight values.
|
|
294
|
+
// Weights the library uses: light (display and the largest headings),
|
|
295
|
+
// regular (body, labels, headings from 20px up) and semibold (the small
|
|
296
|
+
// headings, overline, emphasis). Bold stays as a token for products that load
|
|
297
|
+
// it, but the fonts plugin does not load it and no component uses it.
|
|
228
298
|
/// @type Map
|
|
229
299
|
/// @access public
|
|
230
300
|
/// @group @nubisco/type
|
|
231
|
-
$
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
9: 0.5625rem,
|
|
237
|
-
10: 0.625rem,
|
|
238
|
-
11: 0.6875rem,
|
|
239
|
-
12: 0.75rem,
|
|
240
|
-
13: 0.8125rem,
|
|
241
|
-
14: 0.875rem,
|
|
242
|
-
16: 1rem,
|
|
243
|
-
18: 1.125rem,
|
|
244
|
-
20: 1.25rem,
|
|
245
|
-
24: 1.5rem,
|
|
246
|
-
28: 1.75rem,
|
|
247
|
-
32: 2rem,
|
|
248
|
-
36: 2.25rem,
|
|
249
|
-
42: 2.625rem,
|
|
250
|
-
46: 2.875rem,
|
|
251
|
-
48: 3rem,
|
|
252
|
-
50: 3.125rem,
|
|
253
|
-
54: 3.375rem,
|
|
254
|
-
60: 3.75rem,
|
|
255
|
-
68: 4.25rem,
|
|
256
|
-
76: 4.75rem,
|
|
301
|
+
$fontWeight: (
|
|
302
|
+
light: 300,
|
|
303
|
+
regular: 400,
|
|
304
|
+
semibold: 600,
|
|
305
|
+
bold: 700,
|
|
257
306
|
) !default;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The plural forms a language may need. `one` and `other` are required
|
|
3
|
+
* because every language the library is likely to meet has them; the rest are
|
|
4
|
+
* chosen by `Intl.PluralRules` only where the locale uses them (`few` in
|
|
5
|
+
* Polish, `two` in Arabic, `zero` in Latvian).
|
|
6
|
+
*/
|
|
7
|
+
export interface IPluralForms {
|
|
8
|
+
zero?: string
|
|
9
|
+
one: string
|
|
10
|
+
two?: string
|
|
11
|
+
few?: string
|
|
12
|
+
many?: string
|
|
13
|
+
other: string
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const rulesCache = new Map<string, Intl.PluralRules>()
|
|
17
|
+
const numberCache = new Map<string, Intl.NumberFormat>()
|
|
18
|
+
|
|
19
|
+
function cached<T>(cache: Map<string, T>, locale: string, make: () => T): T {
|
|
20
|
+
let value = cache.get(locale)
|
|
21
|
+
if (!value) {
|
|
22
|
+
value = make()
|
|
23
|
+
cache.set(locale, value)
|
|
24
|
+
}
|
|
25
|
+
return value
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Picks the plural form for `count` with `Intl.PluralRules`, and replaces
|
|
30
|
+
* `{count}` in it with the number formatted for the same locale.
|
|
31
|
+
*
|
|
32
|
+
* ```ts
|
|
33
|
+
* pluralize(1, { one: '{count} card', other: '{count} cards' }) // '1 card'
|
|
34
|
+
* pluralize(1200, { one: '{count} card', other: '{count} cards' }) // '1,200 cards'
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* Never a ternary on `count === 1`: English has two forms, and Polish,
|
|
38
|
+
* Russian and Arabic have more, with boundaries a ternary cannot express.
|
|
39
|
+
*/
|
|
40
|
+
export function pluralize(
|
|
41
|
+
count: number,
|
|
42
|
+
forms: IPluralForms,
|
|
43
|
+
locale: string = 'en',
|
|
44
|
+
): string {
|
|
45
|
+
const rules = cached(rulesCache, locale, () => new Intl.PluralRules(locale))
|
|
46
|
+
const category = rules.select(count) as keyof IPluralForms
|
|
47
|
+
const form = forms[category] ?? forms.other
|
|
48
|
+
if (!form.includes('{count}')) return form
|
|
49
|
+
const number = cached(
|
|
50
|
+
numberCache,
|
|
51
|
+
locale,
|
|
52
|
+
() => new Intl.NumberFormat(locale),
|
|
53
|
+
).format(count)
|
|
54
|
+
return form.split('{count}').join(number)
|
|
55
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shortens `text` to at most `max` characters by cutting the middle and
|
|
3
|
+
* joining the two ends with `separator`, so both the start (what kind of thing
|
|
4
|
+
* it is) and the end (which one: a date, a version, a file extension) survive.
|
|
5
|
+
*
|
|
6
|
+
* ```ts
|
|
7
|
+
* truncateMiddle('quarterly-report-final-2026-11-05.pdf', 24)
|
|
8
|
+
* // 'quarterly-r...-11-05.pdf'
|
|
9
|
+
* ```
|
|
10
|
+
*
|
|
11
|
+
* Characters are counted as code points, so an emoji or an accented letter is
|
|
12
|
+
* never split in half. The full string still has to be reachable: render it
|
|
13
|
+
* in a `title`, a tooltip or the accessible name beside the shortened one.
|
|
14
|
+
*/
|
|
15
|
+
export function truncateMiddle(
|
|
16
|
+
text: string,
|
|
17
|
+
max: number,
|
|
18
|
+
separator: string = '...',
|
|
19
|
+
): string {
|
|
20
|
+
const chars = Array.from(text)
|
|
21
|
+
if (chars.length <= max) return text
|
|
22
|
+
const sep = Array.from(separator)
|
|
23
|
+
const room = max - sep.length
|
|
24
|
+
if (room <= 0) return chars.slice(0, Math.max(0, max)).join('')
|
|
25
|
+
// The start gets the extra character when the room is odd: it is the part
|
|
26
|
+
// a reader scans first.
|
|
27
|
+
const head = Math.ceil(room / 2)
|
|
28
|
+
const tail = room - head
|
|
29
|
+
return (
|
|
30
|
+
chars.slice(0, head).join('') +
|
|
31
|
+
separator +
|
|
32
|
+
(tail > 0 ? chars.slice(chars.length - tail).join('') : '')
|
|
33
|
+
)
|
|
34
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./composables/usePhoneLayout.composable.cjs`),n=require(`./Button-tmwLbryG.cjs`),r=require(`./Menu-CAZmNx60.cjs`),i=require(`./MenuItem-D6hIjWBm.cjs`),a=require(`./utils/slotContent.helper.cjs`);let o=require(`vue`),s=require(`@nubisco/ui/icons/dots-three`);s=e.n(s);var c={class:`nb-action-group`},l=(0,o.defineComponent)({__name:`ActionGroup`,props:{items:{},size:{default:`sm`},overflow:{default:`never`},overflowLabel:{default:`More actions`},phoneVisible:{default:1}},emits:[`select`],setup(e,{emit:l}){let u=e,d=l,f=(0,o.useSlots)(),{phone:p}=t.usePhoneLayout(),m=(0,o.computed)(()=>u.overflow===`never`?!1:u.overflow===`always`?!0:p.value),h=(0,o.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,o.computed)(()=>u.items.filter(e=>!h.value.includes(e))),_=(0,o.computed)(()=>g.value.length>0||a.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,o.ref)(!1),S=(0,o.ref)(null),C=(0,o.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,o.nextTick)(()=>w()?.focus())}return(t,a)=>((0,o.openBlock)(),(0,o.createElementBlock)(`div`,c,[m.value?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(h.value,t=>((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:t.id},[v(t)?((0,o.openBlock)(),(0,o.createBlock)(n.t,{key:0,variant:y(t),outlined:t.outlined,size:e.size,disabled:t.disabled,loading:t.loading,icon:t.icon,"aria-label":t.label,"aria-pressed":t.pressed,onClick:e=>b(t)},null,8,[`variant`,`outlined`,`size`,`disabled`,`loading`,`icon`,`aria-label`,`aria-pressed`,`onClick`])):((0,o.openBlock)(),(0,o.createBlock)(n.t,{key:1,variant:y(t),outlined:t.outlined,size:e.size,disabled:t.disabled,loading:t.loading,icon:t.icon,"aria-pressed":t.pressed,onClick:e=>b(t)},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(t.label),1)]),_:2},1032,[`variant`,`outlined`,`size`,`disabled`,`loading`,`icon`,`aria-pressed`,`onClick`]))],64))),128)),_.value?((0,o.openBlock)(),(0,o.createBlock)(n.t,{key:0,ref_key:`triggerRef`,ref:C,class:`nb-action-group__more`,variant:`ghost`,size:e.size,icon:s,"aria-label":e.overflowLabel,"aria-haspopup":`menu`,"aria-expanded":x.value,onMousedown:E,onClick:D},null,8,[`size`,`aria-label`,`aria-expanded`])):(0,o.createCommentVNode)(``,!0),_.value?((0,o.openBlock)(),(0,o.createBlock)(r.t,{key:1,ref_key:`menuRef`,ref:S,open:x.value,"onUpdate:open":O},{default:(0,o.withCtx)(()=>[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(g.value,e=>((0,o.openBlock)(),(0,o.createBlock)(i.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,o.renderSlot)(t.$slots,`menu`)]),_:3},8,[`open`])):(0,o.createCommentVNode)(``,!0)],64)):((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,{key:0},(0,o.renderList)(e.items,t=>((0,o.openBlock)(),(0,o.createBlock)(n.t,{key:t.id,variant:y(t),outlined:t.outlined,size:e.size,disabled:t.disabled,loading:t.loading,icon:t.icon,"aria-pressed":t.pressed,onClick:e=>b(t)},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(t.label),1)]),_:2},1032,[`variant`,`outlined`,`size`,`disabled`,`loading`,`icon`,`aria-pressed`,`onClick`]))),128))]))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return l}});
|
package/dist/AiLabel-DSiCpLvM.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-O4QQSku4.js";
|
|
2
|
-
import { t } from "./Grid-CVFkhOfa.js";
|
|
3
|
-
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, mergeProps as c, openBlock as l, unref as u, withCtx as d } from "vue";
|
|
4
|
-
//#region src/components/AiLabel.d.ts
|
|
5
|
-
var f = /* @__PURE__ */ function(e) {
|
|
6
|
-
return e.Default = "default", e.Inline = "inline", e;
|
|
7
|
-
}(f || {}), p = /* @__PURE__ */ function(e) {
|
|
8
|
-
return e.Small = "sm", e.Medium = "md", e.Large = "lg", e;
|
|
9
|
-
}(p || {}), m = {
|
|
10
|
-
key: 0,
|
|
11
|
-
class: "nb-ai-label--dot"
|
|
12
|
-
}, h = /* @__PURE__ */ e(/* @__PURE__ */ s({
|
|
13
|
-
__name: "AiLabel",
|
|
14
|
-
props: {
|
|
15
|
-
variant: { default: f.Default },
|
|
16
|
-
size: { default: p.Medium },
|
|
17
|
-
static: {
|
|
18
|
-
type: Boolean,
|
|
19
|
-
default: !1
|
|
20
|
-
},
|
|
21
|
-
label: { default: "Written by AI" }
|
|
22
|
-
},
|
|
23
|
-
setup(e) {
|
|
24
|
-
let s = e, p = n(() => ({
|
|
25
|
-
"nb-ai-label": !0,
|
|
26
|
-
[`nb-ai-label__${s.variant}`]: !0,
|
|
27
|
-
[`nb-ai-label__${s.size}`]: !0,
|
|
28
|
-
"nb-ai-label__static": s.static
|
|
29
|
-
}));
|
|
30
|
-
return (n, h) => (l(), r(t, c({
|
|
31
|
-
is: s.static ? "span" : "button",
|
|
32
|
-
align: "center"
|
|
33
|
-
}, {
|
|
34
|
-
...e.variant === u(f).Inline && { gap: "sm" },
|
|
35
|
-
...s.static && {
|
|
36
|
-
role: "img",
|
|
37
|
-
"aria-label": e.label
|
|
38
|
-
}
|
|
39
|
-
}, {
|
|
40
|
-
justify: "center",
|
|
41
|
-
class: p.value
|
|
42
|
-
}), {
|
|
43
|
-
default: d(() => [e.variant === u(f).Inline ? (l(), a("div", m)) : i("", !0), h[0] ||= o("svg", {
|
|
44
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
45
|
-
viewBox: "0 0 256 256",
|
|
46
|
-
"aria-hidden": "true"
|
|
47
|
-
}, [o("path", {
|
|
48
|
-
d: "M 104.301 197.8 L 94.501 162.4 L 53.101 162.4 L 43.501 197.8 L 17.101 197.8 L 56.301 58.2 L 92.701 58.2 L 132.101 197.8 L 104.301 197.8 Z M 74.701 84 L 73.101 84 L 57.701 141 L 90.101 141 L 74.701 84 Z M 150.099 197.8 L 150.099 178.2 L 181.499 178.2 L 181.499 77.8 L 150.099 77.8 L 150.099 58.2 L 238.899 58.2 L 238.899 77.8 L 207.499 77.8 L 207.499 178.2 L 238.899 178.2 L 238.899 197.8 L 150.099 197.8 Z",
|
|
49
|
-
fill: "currentColor"
|
|
50
|
-
})], -1)]),
|
|
51
|
-
_: 1
|
|
52
|
-
}, 16, ["is", "class"]));
|
|
53
|
-
}
|
|
54
|
-
}), [["__scopeId", "data-v-7134baab"]]);
|
|
55
|
-
//#endregion
|
|
56
|
-
export { p as n, f as r, h as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./Grid-BEezjVdC.cjs`);let n=require(`vue`);var r=function(e){return e.Default=`default`,e.Inline=`inline`,e}(r||{}),i=function(e){return e.Small=`sm`,e.Medium=`md`,e.Large=`lg`,e}(i||{}),a={key:0,class:`nb-ai-label--dot`},o=(0,n.defineComponent)({__name:`AiLabel`,props:{variant:{default:r.Default},size:{default:i.Medium},static:{type:Boolean,default:!1},label:{default:`Written by AI`}},setup(e){let i=e,o=(0,n.computed)(()=>({"nb-ai-label":!0,[`nb-ai-label__${i.variant}`]:!0,[`nb-ai-label__${i.size}`]:!0,"nb-ai-label__static":i.static}));return(s,c)=>((0,n.openBlock)(),(0,n.createBlock)(t.t,(0,n.mergeProps)({is:i.static?`span`:`button`,align:`center`},{...e.variant===(0,n.unref)(r).Inline&&{gap:`sm`},...i.static&&{role:`img`,"aria-label":e.label}},{justify:`center`,class:o.value}),{default:(0,n.withCtx)(()=>[e.variant===(0,n.unref)(r).Inline?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,a)):(0,n.createCommentVNode)(``,!0),c[0]||=(0,n.createElementVNode)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,"aria-hidden":`true`},[(0,n.createElementVNode)(`path`,{d:`M 104.301 197.8 L 94.501 162.4 L 53.101 162.4 L 43.501 197.8 L 17.101 197.8 L 56.301 58.2 L 92.701 58.2 L 132.101 197.8 L 104.301 197.8 Z M 74.701 84 L 73.101 84 L 57.701 141 L 90.101 141 L 74.701 84 Z M 150.099 197.8 L 150.099 178.2 L 181.499 178.2 L 181.499 77.8 L 150.099 77.8 L 150.099 58.2 L 238.899 58.2 L 238.899 77.8 L 207.499 77.8 L 207.499 178.2 L 238.899 178.2 L 238.899 197.8 L 150.099 197.8 Z`,fill:`currentColor`})],-1)]),_:1},16,[`is`,`class`]))}}),s=e.t(o,[[`__scopeId`,`data-v-7134baab`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return s}});
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./Button-Cepcs335.js";
|
|
2
|
-
import { Transition as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createVNode as a, defineComponent as o, onBeforeUnmount as s, onMounted as c, openBlock as l, ref as u, resolveDirective as d, withCtx as f, withDirectives as p } from "vue";
|
|
3
|
-
import * as m from "@nubisco/ui/icons/arrow-up";
|
|
4
|
-
//#region src/components/BackToTop.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var h = {
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "nb-back-to-top"
|
|
8
|
-
}, g = /* @__PURE__ */ o({
|
|
9
|
-
__name: "BackToTop",
|
|
10
|
-
props: {
|
|
11
|
-
threshold: { default: void 0 },
|
|
12
|
-
label: { default: "Back to top" }
|
|
13
|
-
},
|
|
14
|
-
setup(o) {
|
|
15
|
-
let g = o, _ = u(!1), v = 0;
|
|
16
|
-
function y() {
|
|
17
|
-
v = 0;
|
|
18
|
-
let e = g.threshold ?? window.innerHeight;
|
|
19
|
-
_.value = window.scrollY > e;
|
|
20
|
-
}
|
|
21
|
-
function b() {
|
|
22
|
-
v ||= requestAnimationFrame(y);
|
|
23
|
-
}
|
|
24
|
-
function x(e) {
|
|
25
|
-
let t = window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;
|
|
26
|
-
window.scrollTo({
|
|
27
|
-
top: 0,
|
|
28
|
-
behavior: t ? "instant" : "smooth"
|
|
29
|
-
}), 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 });
|
|
30
|
-
}
|
|
31
|
-
return c(() => {
|
|
32
|
-
y(), window.addEventListener("scroll", b, { passive: !0 }), window.addEventListener("resize", b, { passive: !0 });
|
|
33
|
-
}), s(() => {
|
|
34
|
-
window.removeEventListener("scroll", b), window.removeEventListener("resize", b), v && cancelAnimationFrame(v);
|
|
35
|
-
}), (s, c) => {
|
|
36
|
-
let u = d("nb-tooltip");
|
|
37
|
-
return l(), n(t, { name: "nb-back-to-top" }, {
|
|
38
|
-
default: f(() => [_.value ? (l(), i("div", h, [p(a(e, {
|
|
39
|
-
"aria-label": o.label,
|
|
40
|
-
class: "nb-back-to-top__button",
|
|
41
|
-
variant: "secondary",
|
|
42
|
-
icon: m,
|
|
43
|
-
onClick: x
|
|
44
|
-
}, null, 8, ["aria-label"]), [[u, {
|
|
45
|
-
body: o.label,
|
|
46
|
-
aria: "none",
|
|
47
|
-
position: "left"
|
|
48
|
-
}]])])) : r("", !0)]),
|
|
49
|
-
_: 1
|
|
50
|
-
});
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
//#endregion
|
|
55
|
-
export { g as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./Button-tmwLbryG.cjs`);let n=require(`vue`),r=require(`@nubisco/ui/icons/arrow-up`);r=e.n(r);var i={key:0,class:`nb-back-to-top`},a=(0,n.defineComponent)({__name:`BackToTop`,props:{threshold:{default:void 0},label:{default:`Back to top`}},setup(e){let a=e,o=(0,n.ref)(!1),s=0;function c(){s=0;let e=a.threshold??window.innerHeight;o.value=window.scrollY>e}function l(){s||=requestAnimationFrame(c)}function u(e){let t=window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches;window.scrollTo({top:0,behavior:t?`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,n.onMounted)(()=>{c(),window.addEventListener(`scroll`,l,{passive:!0}),window.addEventListener(`resize`,l,{passive:!0})}),(0,n.onBeforeUnmount)(()=>{window.removeEventListener(`scroll`,l),window.removeEventListener(`resize`,l),s&&cancelAnimationFrame(s)}),(a,s)=>{let c=(0,n.resolveDirective)(`nb-tooltip`);return(0,n.openBlock)(),(0,n.createBlock)(n.Transition,{name:`nb-back-to-top`},{default:(0,n.withCtx)(()=>[o.value?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,i,[(0,n.withDirectives)((0,n.createVNode)(t.t,{"aria-label":e.label,class:`nb-back-to-top__button`,variant:`secondary`,icon:r,onClick:u},null,8,[`aria-label`]),[[c,{body:e.label,aria:`none`,position:`left`}]])])):(0,n.createCommentVNode)(``,!0)]),_:1})}}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return a}});
|
package/dist/Badge-BC7sqGRj.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./Icon-Bwec1Nfv.cjs`);let n=require(`vue`);var r=function(e){return e.Grey=`grey`,e.Blue=`blue`,e.Orange=`orange`,e.Green=`green`,e.Red=`red`,e.Purple=`purple`,e.Primary=`primary`,e}(r||{}),i=function(e){return e.Small=`sm`,e.Medium=`md`,e}(i||{}),a={key:0,class:`nb-badge__dot`},o=(0,n.defineComponent)({__name:`Badge`,props:{variant:{default:r.Grey},size:{default:i.Medium},dot:{type:Boolean,default:!1},icon:{default:void 0},placeholder:{type:Boolean,default:!1},interactive:{type:Boolean,default:!1}},setup(e){return(r,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.interactive?`button`:`span`),{type:e.interactive?`button`:void 0,class:(0,n.normalizeClass)([`nb-badge`,`nb-badge--${e.variant}`,`nb-badge--${e.size}`,{"nb-badge--placeholder":e.placeholder,"nb-badge--interactive":e.interactive}])},{default:(0,n.withCtx)(()=>[e.dot?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,a)):(0,n.createCommentVNode)(``,!0),e.icon?((0,n.openBlock)(),(0,n.createBlock)(t.t,{key:1,name:e.icon,size:e.size===`sm`?11:12,class:`nb-badge__icon`},null,8,[`name`,`size`])):(0,n.createCommentVNode)(``,!0),(0,n.renderSlot)(r.$slots,`default`,{},void 0,!0)]),_:3},8,[`type`,`class`]))}}),s=e.t(o,[[`__scopeId`,`data-v-aa5af746`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return s}});
|
package/dist/Badge-DVujzLka.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-O4QQSku4.js";
|
|
2
|
-
import { t } from "./Icon-DwhI2DFK.js";
|
|
3
|
-
import { createBlock as n, createCommentVNode as r, createElementBlock as i, defineComponent as a, normalizeClass as o, openBlock as s, renderSlot as c, resolveDynamicComponent as l, withCtx as u } from "vue";
|
|
4
|
-
//#region src/components/Badge.d.ts
|
|
5
|
-
var d = /* @__PURE__ */ function(e) {
|
|
6
|
-
return e.Grey = "grey", e.Blue = "blue", e.Orange = "orange", e.Green = "green", e.Red = "red", e.Purple = "purple", e.Primary = "primary", e;
|
|
7
|
-
}(d || {}), f = /* @__PURE__ */ function(e) {
|
|
8
|
-
return e.Small = "sm", e.Medium = "md", e;
|
|
9
|
-
}(f || {}), p = {
|
|
10
|
-
key: 0,
|
|
11
|
-
class: "nb-badge__dot"
|
|
12
|
-
}, m = /* @__PURE__ */ e(/* @__PURE__ */ a({
|
|
13
|
-
__name: "Badge",
|
|
14
|
-
props: {
|
|
15
|
-
variant: { default: d.Grey },
|
|
16
|
-
size: { default: f.Medium },
|
|
17
|
-
dot: {
|
|
18
|
-
type: Boolean,
|
|
19
|
-
default: !1
|
|
20
|
-
},
|
|
21
|
-
icon: { default: void 0 },
|
|
22
|
-
placeholder: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: !1
|
|
25
|
-
},
|
|
26
|
-
interactive: {
|
|
27
|
-
type: Boolean,
|
|
28
|
-
default: !1
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
setup(e) {
|
|
32
|
-
return (a, d) => (s(), n(l(e.interactive ? "button" : "span"), {
|
|
33
|
-
type: e.interactive ? "button" : void 0,
|
|
34
|
-
class: o([
|
|
35
|
-
"nb-badge",
|
|
36
|
-
`nb-badge--${e.variant}`,
|
|
37
|
-
`nb-badge--${e.size}`,
|
|
38
|
-
{
|
|
39
|
-
"nb-badge--placeholder": e.placeholder,
|
|
40
|
-
"nb-badge--interactive": e.interactive
|
|
41
|
-
}
|
|
42
|
-
])
|
|
43
|
-
}, {
|
|
44
|
-
default: u(() => [
|
|
45
|
-
e.dot ? (s(), i("span", p)) : r("", !0),
|
|
46
|
-
e.icon ? (s(), n(t, {
|
|
47
|
-
key: 1,
|
|
48
|
-
name: e.icon,
|
|
49
|
-
size: e.size === "sm" ? 11 : 12,
|
|
50
|
-
class: "nb-badge__icon"
|
|
51
|
-
}, null, 8, ["name", "size"])) : r("", !0),
|
|
52
|
-
c(a.$slots, "default", {}, void 0, !0)
|
|
53
|
-
]),
|
|
54
|
-
_: 3
|
|
55
|
-
}, 8, ["type", "class"]));
|
|
56
|
-
}
|
|
57
|
-
}), [["__scopeId", "data-v-aa5af746"]]);
|
|
58
|
-
//#endregion
|
|
59
|
-
export { f as n, d as r, m as t };
|