@nubisco/ui 5.47.1 → 5.48.1
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-C6aLQTYv.cjs} +1 -1
- package/dist/{SidebarCollapseToggle-Dq-A6NAJ.js → SidebarCollapseToggle-D5yQ-8Vu.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-r_TpdHsD.cjs → SidebarMenuItem-DP4L8ljr.cjs} +1 -1
- package/dist/{SidebarMenuItem-D8eFyD7l.js → SidebarMenuItem-UFeKPTvc.js} +5 -5
- 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/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/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 +176 -56
- 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=new Map,t=new Map;function n(e,t,n){let r=e.get(t);return r||(r=n(),e.set(t,r)),r}function r(r,i,a=`en`){let o=i[n(e,a,()=>new Intl.PluralRules(a)).select(r)]??i.other;if(!o.includes(`{count}`))return o;let s=n(t,a,()=>new Intl.NumberFormat(a)).format(r);return o.split(`{count}`).join(s)}exports.pluralize=r;
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
* Picks the plural form for `count` with `Intl.PluralRules`, and replaces
|
|
17
|
+
* `{count}` in it with the number formatted for the same locale.
|
|
18
|
+
*
|
|
19
|
+
* ```ts
|
|
20
|
+
* pluralize(1, { one: '{count} card', other: '{count} cards' }) // '1 card'
|
|
21
|
+
* pluralize(1200, { one: '{count} card', other: '{count} cards' }) // '1,200 cards'
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* Never a ternary on `count === 1`: English has two forms, and Polish,
|
|
25
|
+
* Russian and Arabic have more, with boundaries a ternary cannot express.
|
|
26
|
+
*/
|
|
27
|
+
export declare function pluralize(count: number, forms: IPluralForms, locale?: string): string;
|
|
28
|
+
//# sourceMappingURL=pluralize.helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pluralize.helper.d.ts","sourceRoot":"","sources":["../../src/utils/pluralize.helper.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd;AAcD;;;;;;;;;;;GAWG;AACH,wBAAgB,SAAS,CACvB,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,YAAY,EACnB,MAAM,GAAE,MAAa,GACpB,MAAM,CAWR"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/utils/pluralize.helper.ts
|
|
2
|
+
var e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
|
|
3
|
+
function n(e, t, n) {
|
|
4
|
+
let r = e.get(t);
|
|
5
|
+
return r || (r = n(), e.set(t, r)), r;
|
|
6
|
+
}
|
|
7
|
+
function r(r, i, a = "en") {
|
|
8
|
+
let o = i[n(e, a, () => new Intl.PluralRules(a)).select(r)] ?? i.other;
|
|
9
|
+
if (!o.includes("{count}")) return o;
|
|
10
|
+
let s = n(t, a, () => new Intl.NumberFormat(a)).format(r);
|
|
11
|
+
return o.split("{count}").join(s);
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { r as pluralize };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});function e(e,t,n=`...`){let r=Array.from(e);if(r.length<=t)return e;let i=t-Array.from(n).length;if(i<=0)return r.slice(0,Math.max(0,t)).join(``);let a=Math.ceil(i/2),o=i-a;return r.slice(0,a).join(``)+n+(o>0?r.slice(r.length-o).join(``):``)}exports.truncateMiddle=e;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 declare function truncateMiddle(text: string, max: number, separator?: string): string;
|
|
16
|
+
//# sourceMappingURL=truncateMiddle.helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"truncateMiddle.helper.d.ts","sourceRoot":"","sources":["../../src/utils/truncateMiddle.helper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,EACX,SAAS,GAAE,MAAc,GACxB,MAAM,CAeR"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/utils/truncateMiddle.helper.ts
|
|
2
|
+
function e(e, t, n = "...") {
|
|
3
|
+
let r = Array.from(e);
|
|
4
|
+
if (r.length <= t) return e;
|
|
5
|
+
let i = t - Array.from(n).length;
|
|
6
|
+
if (i <= 0) return r.slice(0, Math.max(0, t)).join("");
|
|
7
|
+
let a = Math.ceil(i / 2), o = i - a;
|
|
8
|
+
return r.slice(0, a).join("") + n + (o > 0 ? r.slice(r.length - o).join("") : "");
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { e as truncateMiddle };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nubisco/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.48.1",
|
|
4
4
|
"description": "Vue 3 UI component library",
|
|
5
5
|
"packageManager": "pnpm@12.3.4+sha512.961aa41fb077da3a04a441d9f8e15ebc0c96da8ef710b2eb67bf9ee7cb0610eabd48f1fd85f51cffe73846785fa0f87c56a3a872a1d893f8446741b5cce45457",
|
|
6
6
|
"repository": {
|
|
@@ -131,7 +131,8 @@
|
|
|
131
131
|
"src/assets/nubisco-mark.svg",
|
|
132
132
|
"src/assets/nubisco-platform-mark.svg",
|
|
133
133
|
"README.md",
|
|
134
|
-
"LICENSE"
|
|
134
|
+
"LICENSE",
|
|
135
|
+
"THIRD_PARTY_NOTICES.md"
|
|
135
136
|
],
|
|
136
137
|
"scripts": {
|
|
137
138
|
"clean": "rm -rf dist",
|
|
@@ -186,9 +187,9 @@
|
|
|
186
187
|
},
|
|
187
188
|
"devDependencies": {
|
|
188
189
|
"@eslint/js": "^10.0.1",
|
|
189
|
-
"@fontsource/
|
|
190
|
-
"@fontsource/
|
|
191
|
-
"@nubisco/docs-sdk": "^0.1
|
|
190
|
+
"@fontsource/ibm-plex-mono": "^5.3.0",
|
|
191
|
+
"@fontsource/ibm-plex-sans": "^5.3.0",
|
|
192
|
+
"@nubisco/docs-sdk": "^0.2.1",
|
|
192
193
|
"@phosphor-icons/core": "^2.1.1",
|
|
193
194
|
"@playwright/test": "^1.63.0",
|
|
194
195
|
"@semantic-release/changelog": "^6.0.3",
|
|
@@ -198,6 +199,7 @@
|
|
|
198
199
|
"@vitest/coverage-v8": "^4.1.1",
|
|
199
200
|
"@vitest/ui": "^4.1.1",
|
|
200
201
|
"@vue/test-utils": "^2.4.6",
|
|
202
|
+
"axe-core": "4.10.3",
|
|
201
203
|
"eslint": "^10.1.0",
|
|
202
204
|
"eslint-config-prettier": "^10.1.8",
|
|
203
205
|
"eslint-plugin-vue": "^10.8.0",
|
|
@@ -207,6 +209,7 @@
|
|
|
207
209
|
"markdown-it-container": "^4.0.0",
|
|
208
210
|
"pixi.js": "^8.19.0",
|
|
209
211
|
"prettier": "^3.8.1",
|
|
212
|
+
"sass": "1.98.0",
|
|
210
213
|
"sass-embedded": "^1.98.0",
|
|
211
214
|
"semantic-release": "^25.0.3",
|
|
212
215
|
"simple-git-hooks": "^2.13.1",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256">
|
|
2
|
+
<rect width="256" height="256" fill="none"/>
|
|
3
|
+
<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"/>
|
|
4
|
+
</svg>
|
package/src/plugins/fonts.ts
CHANGED
|
@@ -14,8 +14,13 @@ export type TFontsOptions = NonNullable<Parameters<typeof Unfonts>[0]>
|
|
|
14
14
|
* CDN). These are the two families declared as the library defaults in
|
|
15
15
|
* `src/styles/variables/_type.scss` (`--nb-font-family-sans` / `-mono`):
|
|
16
16
|
*
|
|
17
|
-
* -
|
|
18
|
-
* -
|
|
17
|
+
* - IBM Plex Sans: weights 300, 400, 600 (sans default)
|
|
18
|
+
* - IBM Plex Mono: weights 400, 600 (mono default)
|
|
19
|
+
*
|
|
20
|
+
* These are the only weights the library uses: light for display and the
|
|
21
|
+
* large headings, regular for body and titles from 20px up, semibold for the
|
|
22
|
+
* small headings, labels that need it and emphasis. Medium (500) and bold
|
|
23
|
+
* (700) are not loaded, because no component asks for them.
|
|
19
24
|
*
|
|
20
25
|
* Only `normal` styles are loaded. Every subset shipped by Fontsource is
|
|
21
26
|
* imported, but each `@font-face` carries a `unicode-range`, so the browser
|
|
@@ -23,18 +28,18 @@ export type TFontsOptions = NonNullable<Parameters<typeof Unfonts>[0]>
|
|
|
23
28
|
* baked into the Fontsource stylesheets.
|
|
24
29
|
*
|
|
25
30
|
* Consumers must install the source packages themselves:
|
|
26
|
-
* `pnpm add -D @fontsource/
|
|
31
|
+
* `pnpm add -D @fontsource/ibm-plex-sans @fontsource/ibm-plex-mono`.
|
|
27
32
|
*/
|
|
28
33
|
export const DEFAULT_FONTS: TFontsOptions = {
|
|
29
34
|
fontsource: {
|
|
30
35
|
families: [
|
|
31
36
|
{
|
|
32
|
-
name: '
|
|
33
|
-
weights: [
|
|
37
|
+
name: 'IBM Plex Sans',
|
|
38
|
+
weights: [300, 400, 600],
|
|
34
39
|
styles: ['normal'],
|
|
35
40
|
},
|
|
36
41
|
{
|
|
37
|
-
name: '
|
|
42
|
+
name: 'IBM Plex Mono',
|
|
38
43
|
weights: [400, 600],
|
|
39
44
|
styles: ['normal'],
|
|
40
45
|
},
|
|
@@ -45,8 +50,8 @@ export const DEFAULT_FONTS: TFontsOptions = {
|
|
|
45
50
|
/**
|
|
46
51
|
* Vite plugin that loads NubiscoUI's typefaces.
|
|
47
52
|
*
|
|
48
|
-
* Called with no arguments it self-hosts the library defaults (
|
|
49
|
-
*
|
|
53
|
+
* Called with no arguments it self-hosts the library defaults (IBM Plex Sans
|
|
54
|
+
* + IBM Plex Mono) via Fontsource, keeping every existing consumer's output
|
|
50
55
|
* unchanged. Pass an options object to fully replace that configuration: load
|
|
51
56
|
* different families/weights, point the `custom` provider at your own woff2
|
|
52
57
|
* files, or use any other provider `unplugin-fonts` supports.
|
|
@@ -20,7 +20,8 @@ import { parse, babelParse } from 'vue/compiler-sfc'
|
|
|
20
20
|
* <NbIcon name="check" /> → :name="<one weight>"
|
|
21
21
|
* <NbIcon name="check" weight="bold" /> → :name="<bold only>"
|
|
22
22
|
* <NbFlag name="pt" /> → :name="<that flag>"
|
|
23
|
-
* <NbButton icon="plus" /> → :icon="<
|
|
23
|
+
* <NbButton icon="plus" /> → :icon="<regular only>"
|
|
24
|
+
* <NbButton icon="plus" icon-weight="fill" /> → :icon="<fill only>"
|
|
24
25
|
* <NbIcon :name="open ? 'caret-up' : 'caret-down'" /> both literals
|
|
25
26
|
*
|
|
26
27
|
* What it cannot rewrite is a name only known at runtime, which is a real and
|
|
@@ -128,16 +129,32 @@ function walk(node: any, visit: (node: any) => void) {
|
|
|
128
129
|
for (const branch of node.branches ?? []) walk(branch, visit)
|
|
129
130
|
}
|
|
130
131
|
|
|
131
|
-
/**
|
|
132
|
-
|
|
132
|
+
/**
|
|
133
|
+
* Components that forward `icon` to NbIcon together with a weight prop of
|
|
134
|
+
* their own, which defaults to regular. For these the weight is as knowable
|
|
135
|
+
* as it is on NbIcon, so the import narrows the same way.
|
|
136
|
+
*/
|
|
137
|
+
const WEIGHT_FORWARDING_TAGS = new Map([
|
|
138
|
+
['NbButton', ['iconWeight', 'icon-weight']],
|
|
139
|
+
['nb-button', ['iconWeight', 'icon-weight']],
|
|
140
|
+
])
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* The statically known weight of an `<NbIcon>` (read from `weight`) or of a
|
|
144
|
+
* weight-forwarding component (read from its own prop), if it has one.
|
|
145
|
+
*/
|
|
146
|
+
function staticWeight(
|
|
147
|
+
element: any,
|
|
148
|
+
names: string[] = ['weight'],
|
|
149
|
+
): string | undefined {
|
|
133
150
|
for (const prop of element.props ?? []) {
|
|
134
|
-
if (prop.type === NODE_ATTRIBUTE && prop.name
|
|
151
|
+
if (prop.type === NODE_ATTRIBUTE && names.includes(prop.name)) {
|
|
135
152
|
return WEIGHTS.has(prop.value?.content) ? prop.value.content : undefined
|
|
136
153
|
}
|
|
137
154
|
if (
|
|
138
155
|
prop.type === NODE_DIRECTIVE &&
|
|
139
156
|
prop.name === 'bind' &&
|
|
140
|
-
prop.arg?.content
|
|
157
|
+
names.includes(prop.arg?.content)
|
|
141
158
|
) {
|
|
142
159
|
// Bound weight: keep every weight available.
|
|
143
160
|
return undefined
|
|
@@ -322,10 +339,16 @@ export function nubiscoGlyphs(options: IGlyphOptions = {}) {
|
|
|
322
339
|
const isFlag = FLAG_TAGS.has(tag)
|
|
323
340
|
if (!isIcon && !isFlag && !/^(Nb[A-Z]|nb-)/.test(tag)) return
|
|
324
341
|
|
|
325
|
-
// On NbIcon itself a static `weight` narrows the import to one weight
|
|
326
|
-
//
|
|
327
|
-
//
|
|
328
|
-
|
|
342
|
+
// On NbIcon itself a static `weight` narrows the import to one weight,
|
|
343
|
+
// and so does a component that forwards a weight of its own (NbButton's
|
|
344
|
+
// `icon-weight`). Any other forwarding component applies a weight the
|
|
345
|
+
// plugin cannot see, so it gets the whole module.
|
|
346
|
+
const forwardedWeight = WEIGHT_FORWARDING_TAGS.get(tag)
|
|
347
|
+
const weight = isIcon
|
|
348
|
+
? staticWeight(element)
|
|
349
|
+
: forwardedWeight
|
|
350
|
+
? staticWeight(element, forwardedWeight)
|
|
351
|
+
: undefined
|
|
329
352
|
|
|
330
353
|
for (const prop of element.props ?? []) {
|
|
331
354
|
/* ---- static: name="check" / icon="plus" / flag="pt" ---------- */
|
package/src/styles/_accent.scss
CHANGED
|
@@ -59,8 +59,66 @@
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/// The focus ring, used by every interactive control via `:focus-visible`.
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
///
|
|
63
|
+
/// Same problem, same answer as the selected edge: WCAG 1.4.11 asks 3:1 of
|
|
64
|
+
/// the ring against what it sits on, and the dark primary alone measured
|
|
65
|
+
/// 4.04 / 3.50 / 2.89 / 2.27 on layers 0 to 3, so a keyboard user lost the
|
|
66
|
+
/// ring inside every dark dialog. The dark half mixes 70% of the accent with
|
|
67
|
+
/// white, the selected edge's lift, which clears 3:1 on every dark layer and
|
|
68
|
+
/// hover. `tests/focusRingContrast.test.ts` holds both halves to it.
|
|
69
|
+
///
|
|
70
|
+
/// @param {Number} $weight - how much accent the mix carries: 100% in light,
|
|
71
|
+
/// 70% in dark.
|
|
72
|
+
@mixin focus-ring($weight: 100%) {
|
|
73
|
+
--nb-c-focus-ring: color-mix(
|
|
74
|
+
in srgb,
|
|
75
|
+
var(--nb-c-primary) #{$weight},
|
|
76
|
+
var(--nb-c-white)
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/// The focus ring drawn on an inverse surface (`--nb-c-bg-inverse`).
|
|
81
|
+
///
|
|
82
|
+
/// The inverse ground is dark in light mode and light in dark mode, so the
|
|
83
|
+
/// ring moves the other way from the normal one: half the accent and half
|
|
84
|
+
/// white on the dark chip, half the accent and half black on the light chip.
|
|
85
|
+
/// Measured against the inverse ground for the default accent and all six
|
|
86
|
+
/// category accents: 6.23 to 7.23 in light, 5.04 to 9.63 in dark.
|
|
87
|
+
///
|
|
88
|
+
/// @param {String} $mode - light or dark
|
|
89
|
+
@mixin focus-inverse($mode) {
|
|
90
|
+
$toward: var(--nb-c-white);
|
|
91
|
+
@if $mode == dark {
|
|
92
|
+
$toward: var(--nb-c-black);
|
|
93
|
+
}
|
|
94
|
+
--nb-c-focus-inverse: color-mix(in srgb, var(--nb-c-primary) 50%, #{$toward});
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/// Links: the primary drawn as ink, with hover and visited states.
|
|
98
|
+
///
|
|
99
|
+
/// A link is text on a layer, so it takes the same lift an outlined primary
|
|
100
|
+
/// button takes (`logic/_ink.scss`): AA on every layer of both themes.
|
|
101
|
+
/// Hover is the primary's hover step drawn the same way, further from the
|
|
102
|
+
/// surface. Visited mixes 70% of the link with the muted text tier, so it
|
|
103
|
+
/// loses some hue but none of its contrast: both ends clear AA on every
|
|
104
|
+
/// layer and the mix sits between them. Re-emitted wherever the primary or
|
|
105
|
+
/// its lift changes, for the reason at the top of this file.
|
|
106
|
+
@mixin link {
|
|
107
|
+
--nb-c-link: color-mix(
|
|
108
|
+
in srgb,
|
|
109
|
+
var(--nb-c-primary),
|
|
110
|
+
var(--nb-c-ink-toward, var(--nb-c-white)) var(--nb-c-primary-ink-lift, 0%)
|
|
111
|
+
);
|
|
112
|
+
--nb-c-link-hover: color-mix(
|
|
113
|
+
in srgb,
|
|
114
|
+
var(--nb-c-primary-hover),
|
|
115
|
+
var(--nb-c-ink-toward, var(--nb-c-white)) var(--nb-c-primary-ink-lift, 0%)
|
|
116
|
+
);
|
|
117
|
+
--nb-c-link-visited: color-mix(
|
|
118
|
+
in srgb,
|
|
119
|
+
var(--nb-c-link) 70%,
|
|
120
|
+
var(--nb-c-text-muted)
|
|
121
|
+
);
|
|
64
122
|
}
|
|
65
123
|
|
|
66
124
|
/// The shell chrome that carries the accent.
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/// AI presence: a wash and an edge that say "a model took part in this"
|
|
2
|
+
/// before the label is read.
|
|
3
|
+
///
|
|
4
|
+
/// Every value is derived from `--nb-c-primary` and the surface's own
|
|
5
|
+
/// border, never a fixed hue, so the treatment rebrands with the product the
|
|
6
|
+
/// same way the focus ring does. A white-label palette gets its own accent
|
|
7
|
+
/// here, not the vendor's.
|
|
8
|
+
///
|
|
9
|
+
/// ## Why the tokens are emitted in several scopes
|
|
10
|
+
///
|
|
11
|
+
/// A custom property built with `var()` is substituted on the element that
|
|
12
|
+
/// declares it (see `_accent.scss`). Declared only at `:root`, these would
|
|
13
|
+
/// freeze to the root primary and the layer-1 border, so they are declared
|
|
14
|
+
/// again wherever either can change: the dark scope, every named theme scope
|
|
15
|
+
/// (`[data-nb-theme]`, whatever its id), and on `.nb-ai-presence` itself,
|
|
16
|
+
/// which is what lets the edge follow the layer the container sits on.
|
|
17
|
+
///
|
|
18
|
+
/// ## Contrast
|
|
19
|
+
///
|
|
20
|
+
/// The wash is 8% of the accent in light and 5% in dark, at the strongest
|
|
21
|
+
/// point of the gradient. `tests/aiPresenceContrast.test.ts` composites it
|
|
22
|
+
/// over every layer and hover surface and holds all text to AAA. Dark muted
|
|
23
|
+
/// text measures 7.01 on the deepest hover surface with no wash at all, so any
|
|
24
|
+
/// tint takes it under AAA. Inside a dark presence container, muted text
|
|
25
|
+
/// therefore keeps 80% of its colour and moves 20% toward primary text: 7.11
|
|
26
|
+
/// at worst. The lift starts from the muted colour the container inherits,
|
|
27
|
+
/// so a theme that re-points `--nb-c-text-muted` keeps its own hue.
|
|
28
|
+
///
|
|
29
|
+
/// @group @nubisco/ai
|
|
30
|
+
|
|
31
|
+
/// The tokens, for one colour mode.
|
|
32
|
+
///
|
|
33
|
+
/// @param {Number} $aura - how much accent the wash carries at its strongest
|
|
34
|
+
@mixin tokens($aura) {
|
|
35
|
+
--nb-c-ai-aura: color-mix(in srgb, var(--nb-c-primary) #{$aura}, transparent);
|
|
36
|
+
--nb-c-ai-border-start: color-mix(
|
|
37
|
+
in srgb,
|
|
38
|
+
var(--nb-c-primary) 50%,
|
|
39
|
+
var(--nb-c-border)
|
|
40
|
+
);
|
|
41
|
+
--nb-c-ai-border-end: var(--nb-c-border);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// The dark half is emitted on its own, because the dark primary is a
|
|
45
|
+
// different colour and a token declared at :root would freeze to the light
|
|
46
|
+
// one. Dark is lighter: see the contrast note above.
|
|
47
|
+
$light-aura: 8%;
|
|
48
|
+
$dark-aura: 5%;
|
|
49
|
+
// How much of the inherited muted colour dark presence keeps (the rest is
|
|
50
|
+
// primary text).
|
|
51
|
+
$dark-muted-keep: 80%;
|
|
52
|
+
|
|
53
|
+
:root,
|
|
54
|
+
[data-nb-theme] {
|
|
55
|
+
@include tokens($light-aura);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// Two selectors for the dark half, because the dark class and the theme
|
|
59
|
+
// attribute can land on the same element or on different ones. Both outrank
|
|
60
|
+
// the single-attribute block above.
|
|
61
|
+
.dark,
|
|
62
|
+
.dark[data-nb-theme],
|
|
63
|
+
.dark [data-nb-theme] {
|
|
64
|
+
@include tokens($dark-aura);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/// Paints AI presence on a container: a wash rising from the bottom edge and
|
|
68
|
+
/// a border running from the accent into the container's own edge.
|
|
69
|
+
///
|
|
70
|
+
/// Both are pseudo-elements, so the container keeps its own background and
|
|
71
|
+
/// border and no component's scoped styles have to give way. The wash sits
|
|
72
|
+
/// under the content (`isolation` makes the container its stacking context),
|
|
73
|
+
/// and the edge is a one-pixel ring drawn over the container's border.
|
|
74
|
+
.nb-ai-presence {
|
|
75
|
+
@include tokens($light-aura);
|
|
76
|
+
isolation: isolate;
|
|
77
|
+
|
|
78
|
+
&::before,
|
|
79
|
+
&::after {
|
|
80
|
+
content: '';
|
|
81
|
+
position: absolute;
|
|
82
|
+
pointer-events: none;
|
|
83
|
+
border-radius: inherit;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&::before {
|
|
87
|
+
inset: 0;
|
|
88
|
+
z-index: -1;
|
|
89
|
+
background: linear-gradient(to top, var(--nb-c-ai-aura), transparent 50%);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&::after {
|
|
93
|
+
inset: -1px;
|
|
94
|
+
padding: 1px;
|
|
95
|
+
background: linear-gradient(
|
|
96
|
+
to bottom,
|
|
97
|
+
var(--nb-c-ai-border-start),
|
|
98
|
+
var(--nb-c-ai-border-end)
|
|
99
|
+
);
|
|
100
|
+
// Keep only the ring: the full box minus its content box.
|
|
101
|
+
mask:
|
|
102
|
+
linear-gradient(#000 0 0) content-box exclude,
|
|
103
|
+
linear-gradient(#000 0 0);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.dark .nb-ai-presence,
|
|
108
|
+
.dark.nb-ai-presence {
|
|
109
|
+
@include tokens($dark-aura);
|
|
110
|
+
// The muted colour this container inherits, so its children can lift from
|
|
111
|
+
// it. A property cannot read its own value, hence the second name.
|
|
112
|
+
--nb-ai-muted-base: var(--nb-c-text-muted);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.dark .nb-ai-presence > *,
|
|
116
|
+
.dark.nb-ai-presence > * {
|
|
117
|
+
--nb-c-text-muted: color-mix(
|
|
118
|
+
in srgb,
|
|
119
|
+
var(--nb-ai-muted-base) #{$dark-muted-keep},
|
|
120
|
+
var(--nb-c-text)
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// Low specificity on purpose: a container that is already positioned keeps
|
|
125
|
+
// its own position, and a static one becomes the anchor for the two layers.
|
|
126
|
+
:where(.nb-ai-presence) {
|
|
127
|
+
position: relative;
|
|
128
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/// Increased contrast: `prefers-contrast: more`, or `data-nb-contrast="more"`.
|
|
2
|
+
///
|
|
3
|
+
/// The default ramp is tuned for long sessions: layer borders sit at 1.95 to
|
|
4
|
+
/// 3.50:1 on purpose, so depth reads without the page turning into a
|
|
5
|
+
/// wireframe, and the third text tier is held to AA. A person who has asked
|
|
6
|
+
/// the operating system for more contrast has told us that trade is the wrong
|
|
7
|
+
/// one for them. This scope re-points every layer border, and with it
|
|
8
|
+
/// `--nb-c-border`, to the plane's `border-strong` value (3:1 or better on its
|
|
9
|
+
/// own plane, 1.4.11's bar for a boundary), and lifts the subtle and
|
|
10
|
+
/// placeholder tiers to the muted tier (AAA on every plane).
|
|
11
|
+
///
|
|
12
|
+
/// Fills do not move: the layer surfaces, hovers and state surfaces keep
|
|
13
|
+
/// their values, so the depth order and every measured text pair still hold.
|
|
14
|
+
///
|
|
15
|
+
/// Selected three ways:
|
|
16
|
+
///
|
|
17
|
+
/// - the media query, automatically, unless `data-nb-contrast="standard"` is
|
|
18
|
+
/// set on `<html>` (an application with its own contrast setting);
|
|
19
|
+
/// - `data-nb-contrast="more"` on `<html>` or any subtree, whatever the
|
|
20
|
+
/// operating system says;
|
|
21
|
+
/// - nested inside `.dark`, or with `.dark` inside it, the dark values apply.
|
|
22
|
+
///
|
|
23
|
+
/// `tests/contrastMore.test.ts` measures both halves.
|
|
24
|
+
///
|
|
25
|
+
/// @group @nubisco/theme
|
|
26
|
+
|
|
27
|
+
@use 'variables/layers';
|
|
28
|
+
|
|
29
|
+
@mixin _values($ramp) {
|
|
30
|
+
@for $i from 0 through 3 {
|
|
31
|
+
--nb-c-layer-border-#{$i}: #{layers.level($ramp, border-strong, $i)};
|
|
32
|
+
}
|
|
33
|
+
// Re-declared, because an alias resolved on an ancestor would freeze to the
|
|
34
|
+
// ancestor's border (see `_accent.scss` for why).
|
|
35
|
+
--nb-c-border: var(--nb-c-layer-border-1);
|
|
36
|
+
--nb-c-text-subtle: #{layers.token($ramp, text-muted)};
|
|
37
|
+
--nb-c-text-placeholder: #{layers.token($ramp, text-muted)};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/// No `.nb-layer-N` rules are needed: each one points `--nb-c-border` at
|
|
41
|
+
/// `--nb-c-layer-border-N`, which resolves on its own element to the raised
|
|
42
|
+
/// value inherited from this scope.
|
|
43
|
+
@mixin contrast {
|
|
44
|
+
[data-nb-contrast='more'] {
|
|
45
|
+
@include _values(layers.$light);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.dark[data-nb-contrast='more'],
|
|
49
|
+
.dark [data-nb-contrast='more'],
|
|
50
|
+
[data-nb-contrast='more'] .dark {
|
|
51
|
+
@include _values(layers.$dark);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@media (prefers-contrast: more) {
|
|
55
|
+
:root:not([data-nb-contrast='standard']) {
|
|
56
|
+
@include _values(layers.$light);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:root:not([data-nb-contrast='standard']).dark,
|
|
60
|
+
:root:not([data-nb-contrast='standard']) .dark {
|
|
61
|
+
@include _values(layers.$dark);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A default focus ring for everything the library does not draw itself.
|
|
3
|
+
*
|
|
4
|
+
* The reset used to set `:focus-visible { outline: 0 }` on every element, so
|
|
5
|
+
* that the library's own controls showed only the ring they draw. That also
|
|
6
|
+
* took the ring off every plain `<a>` and `<button>` an application writes
|
|
7
|
+
* outside a component, which is the one thing a keyboard user cannot do
|
|
8
|
+
* without (WCAG 2.4.7).
|
|
9
|
+
*
|
|
10
|
+
* So the default is now the house ring: 2px of `--nb-c-focus-ring`, 2px
|
|
11
|
+
* out, drawn with `outline` so forced colours keeps it. Both rules sit in
|
|
12
|
+
* `:where()`, at zero specificity, so every component that draws its own
|
|
13
|
+
* ring (or deliberately none, on a wrapper-focused field) still wins
|
|
14
|
+
* whatever the load order.
|
|
15
|
+
*
|
|
16
|
+
* The second rule keeps the library's own elements as they were: anything
|
|
17
|
+
* with an `nb-` class has no ring unless its component draws one. Without
|
|
18
|
+
* it, a native input inside a field whose wrapper carries the ring would
|
|
19
|
+
* show two.
|
|
20
|
+
*/
|
|
21
|
+
:where(:focus-visible) {
|
|
22
|
+
outline: 2px solid var(--nb-c-focus-ring);
|
|
23
|
+
outline-offset: 2px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
:where([class^='nb-']:focus-visible, [class*=' nb-']:focus-visible) {
|
|
27
|
+
outline: 0;
|
|
28
|
+
}
|
package/src/styles/_reset.scss
CHANGED
|
@@ -130,11 +130,12 @@
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
|
-
*
|
|
133
|
+
* Emphasis is semibold, the weight the system uses for emphasis. `bolder`
|
|
134
|
+
* on a regular body resolves to 700, which is not loaded.
|
|
134
135
|
*/
|
|
135
136
|
|
|
136
137
|
:where(b, strong) {
|
|
137
|
-
font-weight:
|
|
138
|
+
font-weight: var(--nb-font-weight-semibold, 600);
|
|
138
139
|
}
|
|
139
140
|
|
|
140
141
|
/**
|
|
@@ -393,9 +394,8 @@
|
|
|
393
394
|
}
|
|
394
395
|
}
|
|
395
396
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
}
|
|
397
|
+
// The focus-visible default lives in _focus.scss: a ring for elements the
|
|
398
|
+
// library does not style, none for its own.
|
|
399
399
|
|
|
400
400
|
@if config.$css--reset == true {
|
|
401
401
|
@include reset;
|
|
@@ -304,12 +304,22 @@ $_max-step: 900;
|
|
|
304
304
|
/// @param {String} $id - the app's identifier, chosen by the app. The library
|
|
305
305
|
/// keeps no registry of these: it never needs to know which products exist.
|
|
306
306
|
/// @param {String} $category - one of `creatives`, `engineers`, `home`, `fun`, `education`, `agents`
|
|
307
|
-
///
|
|
307
|
+
/// `info` is not themed. A blue product gets its own primary and the
|
|
308
|
+
/// library's info blue, two unrelated blues. Set `info` in a `theme()` call
|
|
309
|
+
/// alongside this one if that matters for the product.
|
|
310
|
+
///
|
|
311
|
+
/// @param {List} $accent - an optional `(light, dark)` override, repaired to
|
|
312
|
+
/// clear 4.5:1 if it does not (see `repair-accent-pair()`)
|
|
308
313
|
@mixin app-theme($id, $category, $accent: null) {
|
|
309
314
|
$category-pair: categories.category($category);
|
|
310
315
|
$pair: $category-pair;
|
|
311
316
|
@if $accent != null {
|
|
312
|
-
|
|
317
|
+
// A supplied accent that fails the gate is moved to the nearest
|
|
318
|
+
// lightness that clears 4.5:1 on the worst surface of its mode, with a
|
|
319
|
+
// build warning saying exactly what changed. One that cannot be repaired
|
|
320
|
+
// without leaving its hue fails the build. The six category pairs clear
|
|
321
|
+
// already (tests/categoryContrast.test.ts) and pass through untouched.
|
|
322
|
+
$pair: categories.repair-accent-pair($accent);
|
|
313
323
|
}
|
|
314
324
|
|
|
315
325
|
$light-hex: list.nth($pair, 1);
|
|
@@ -341,6 +351,8 @@ $_max-step: 900;
|
|
|
341
351
|
@include accent.subtle(39%);
|
|
342
352
|
@include accent.selected-edge(100%);
|
|
343
353
|
@include accent.focus-ring;
|
|
354
|
+
@include accent.focus-inverse(light);
|
|
355
|
+
@include accent.link;
|
|
344
356
|
@include accent.shell;
|
|
345
357
|
}
|
|
346
358
|
|
|
@@ -348,5 +360,8 @@ $_max-step: 900;
|
|
|
348
360
|
.dark [data-nb-theme='#{$id}'] {
|
|
349
361
|
@include accent.subtle(50%);
|
|
350
362
|
@include accent.selected-edge(70%);
|
|
363
|
+
@include accent.focus-ring(70%);
|
|
364
|
+
@include accent.focus-inverse(dark);
|
|
365
|
+
@include accent.link;
|
|
351
366
|
}
|
|
352
367
|
}
|