@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
package/src/styles/_theme.scss
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use 'sass:color';
|
|
2
|
+
@use 'sass:list';
|
|
2
3
|
@use 'sass:map';
|
|
3
4
|
@use 'accent';
|
|
4
5
|
@use 'logic/ink';
|
|
@@ -7,9 +8,42 @@
|
|
|
7
8
|
@use 'variables/colors';
|
|
8
9
|
@use 'variables/layers';
|
|
9
10
|
@use 'variables/type';
|
|
11
|
+
@use 'variables/breakpoints' as bp;
|
|
12
|
+
@use 'variables/spacing';
|
|
10
13
|
@use 'variables/grid';
|
|
11
14
|
@use 'variables/animations';
|
|
12
15
|
|
|
16
|
+
/// Emits `--nb-c-layer-<role>-N` for every per-plane role and level of a ramp.
|
|
17
|
+
@mixin plane-values($ramp) {
|
|
18
|
+
@each $role, $token in layers.$plane-roles {
|
|
19
|
+
@for $i from 0 through 3 {
|
|
20
|
+
--nb-c-layer-#{$role}-#{$i}: #{layers.level($ramp, $role, $i)};
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/// The text roles beyond the three tiers, as literals so a nested `.dark`
|
|
26
|
+
/// region resolves its own.
|
|
27
|
+
///
|
|
28
|
+
/// `text-placeholder` is the subtle tier's value under its own name (AA,
|
|
29
|
+
/// 4.50 on the worst field fill, dark plane 2), so placeholder text can move
|
|
30
|
+
/// without moving every other subtle label. `icon` is the muted tier: an icon
|
|
31
|
+
/// beside a label reads with the label, and 3:1 is the bar it has to clear.
|
|
32
|
+
@mixin text-roles($ramp) {
|
|
33
|
+
--nb-c-text-placeholder: #{layers.token($ramp, text-subtle)};
|
|
34
|
+
--nb-c-icon: #{layers.token($ramp, text-muted)};
|
|
35
|
+
--nb-c-bg-inverse: #{layers.token($ramp, bg-inverse)};
|
|
36
|
+
--nb-c-text-inverse: #{layers.token($ramp, text-inverse)};
|
|
37
|
+
--nb-c-border-inverse: #{layers.token($ramp, border-inverse)};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/// Points every contextual per-plane token at one level's values.
|
|
41
|
+
@mixin plane-aliases($level) {
|
|
42
|
+
@each $role, $token in layers.$plane-roles {
|
|
43
|
+
--nb-c-#{$token}: var(--nb-c-layer-#{$role}-#{$level});
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
13
47
|
@mixin base {
|
|
14
48
|
:root {
|
|
15
49
|
--nb-base-unit: #{layout.$base-unit}px;
|
|
@@ -55,7 +89,7 @@
|
|
|
55
89
|
}
|
|
56
90
|
|
|
57
91
|
/*
|
|
58
|
-
* Font size
|
|
92
|
+
* Font size. 8, 9, 10, 11 and 13 are deprecated (see type.$deprecatedFontSizes).
|
|
59
93
|
*/
|
|
60
94
|
@each $key, $value in type.$fontSizes {
|
|
61
95
|
--nb-font-size-#{$key}: #{$value};
|
|
@@ -96,16 +130,31 @@
|
|
|
96
130
|
--nb-type-#{$name}-family: var(
|
|
97
131
|
--nb-font-family-#{if(sass($family): $family; else: sans)}
|
|
98
132
|
);
|
|
133
|
+
@if map.get($props, transform) {
|
|
134
|
+
--nb-type-#{$name}-text-transform: #{map.get($props, transform)};
|
|
135
|
+
}
|
|
99
136
|
}
|
|
100
137
|
|
|
138
|
+
/*
|
|
139
|
+
* Measure: the comfortable line length for running prose
|
|
140
|
+
*/
|
|
141
|
+
--nb-measure: #{type.$measure};
|
|
142
|
+
|
|
101
143
|
/*
|
|
102
144
|
* Spacing sizes
|
|
103
145
|
*/
|
|
104
|
-
|
|
146
|
+
// Deprecated steps (spacing.$spacingDeprecated) are still emitted here
|
|
147
|
+
// for one minor, so a product reading one keeps working until it moves.
|
|
148
|
+
@each $key, $value in spacing.$spacingSizes {
|
|
105
149
|
--nb-spacing-#{$key}: #{$value};
|
|
106
150
|
}
|
|
151
|
+
// Viewport-relative, for full-bleed public surfaces only. Never inside
|
|
152
|
+
// the shell, where the viewport is not the content width.
|
|
153
|
+
@each $key, $value in spacing.$fluidSpacing {
|
|
154
|
+
--nb-fluid-spacing-#{$key}: #{$value};
|
|
155
|
+
}
|
|
107
156
|
|
|
108
|
-
// Absolute color utilities
|
|
157
|
+
// Absolute color utilities: always pure white/black regardless of theme
|
|
109
158
|
--nb-c-white: #{colors.get-color('plain-white', 100)};
|
|
110
159
|
--nb-c-black: #{colors.get-color('plain-black', 900)};
|
|
111
160
|
|
|
@@ -133,11 +182,16 @@
|
|
|
133
182
|
--nb-c-layer-hover-2: #{layers.level(layers.$light, hover, 2)};
|
|
134
183
|
--nb-c-layer-hover-3: #{layers.level(layers.$light, hover, 3)};
|
|
135
184
|
|
|
136
|
-
//
|
|
185
|
+
// The rest of the per-plane set: --nb-c-layer-<role>-N, measured in
|
|
186
|
+
// `variables/_layers.scss`, re-pointed by `.nb-layer-N` below.
|
|
187
|
+
@include plane-values(layers.$light);
|
|
188
|
+
|
|
189
|
+
// Semantic surface tokens, defaulting to layer-1 (most components sit on layer-0)
|
|
137
190
|
--nb-c-surface: var(--nb-c-layer-1);
|
|
138
191
|
--nb-c-surface-raised: var(--nb-c-layer-0);
|
|
139
192
|
--nb-c-border: var(--nb-c-layer-border-1);
|
|
140
193
|
--nb-c-surface-hover: var(--nb-c-layer-hover-1);
|
|
194
|
+
@include plane-aliases(1);
|
|
141
195
|
--nb-c-contrast: #{colors.get-color('plain-black', 900)}; // maximum contrast on surface
|
|
142
196
|
--nb-c-document: #{colors.get-color('plain-white', 50)}; // document background
|
|
143
197
|
|
|
@@ -256,6 +310,7 @@
|
|
|
256
310
|
--nb-c-text-subtle-a11y: #{colors.color-contrast(
|
|
257
311
|
layers.token(layers.$light, text-subtle)
|
|
258
312
|
)};
|
|
313
|
+
@include text-roles(layers.$light);
|
|
259
314
|
|
|
260
315
|
/*
|
|
261
316
|
* Form fields.
|
|
@@ -271,10 +326,12 @@
|
|
|
271
326
|
* rule, still square. Only the fills and the boundary contrast moved.
|
|
272
327
|
* `[data-nb-preset='classic-fields']` restores the old values.
|
|
273
328
|
*/
|
|
274
|
-
|
|
275
|
-
|
|
329
|
+
//
|
|
330
|
+
// The fill and the rule are per plane (`field` and `field-border` in
|
|
331
|
+
// `variables/_layers.scss`): `plane-aliases(1)` above points them at the
|
|
332
|
+
// plane-1 values, #f1f2f3 and #646566, and `.nb-layer-N` re-points them.
|
|
276
333
|
// The historic enabled fill, now carrying the disabled state.
|
|
277
|
-
--nb-c-field-bg-disabled: #{layers.token(layers.$light, field-bg)};
|
|
334
|
+
--nb-c-field-bg-disabled: #{layers.token(layers.$light, classic-field-bg)};
|
|
278
335
|
// Disabled loses boundary contrast as well as gaining the darker fill,
|
|
279
336
|
// so the two states differ in kind. Deliberately under the 3:1 that WCAG
|
|
280
337
|
// 1.4.11 asks of an *operable* control boundary: this one is not operable.
|
|
@@ -292,6 +349,14 @@
|
|
|
292
349
|
--nb-c-status-valid: var(--nb-c-emerald-reflection-700);
|
|
293
350
|
--nb-c-status-warning: var(--nb-c-phoenix-flames-700);
|
|
294
351
|
--nb-c-status-error: var(--nb-c-chicken-comb-600);
|
|
352
|
+
// The two the glyph tier was missing. Worst case over the four layers and
|
|
353
|
+
// their hovers: info 3.84, neutral 4.23 (held to 3:1, tests/textRoles).
|
|
354
|
+
--nb-c-status-info: var(--nb-c-the-blues-brothers-500);
|
|
355
|
+
--nb-c-status-neutral: var(--nb-c-nouveau-gray-600);
|
|
356
|
+
// Error TEXT, a message under a field: held to 4.5:1 rather than the
|
|
357
|
+
// glyph's 3:1, so it is one step darker than the error glyph. Worst case
|
|
358
|
+
// 5.84 over the layers and their hovers.
|
|
359
|
+
--nb-c-text-error: var(--nb-c-chicken-comb-650);
|
|
295
360
|
|
|
296
361
|
// == Data visualisation roles ==========================================
|
|
297
362
|
// Charts address colour by ROLE, never by ramp: a series is "chart-3",
|
|
@@ -299,8 +364,7 @@
|
|
|
299
364
|
// Charts/shared/palette.ts used to name inline, so this theme repaints
|
|
300
365
|
// nothing, but a white-label product now retints every chart in the
|
|
301
366
|
// product by redefining eight custom properties in one place instead of
|
|
302
|
-
// hardcoding hex per app.
|
|
303
|
-
// hardcoding and shipped a violet placeholder series.)
|
|
367
|
+
// hardcoding hex per app.
|
|
304
368
|
//
|
|
305
369
|
// Order is part of the contract. colorAt() walks 1, 2, 3 ... and wraps
|
|
306
370
|
// at 8, so the sequence has to degrade gracefully: the low roles are the
|
|
@@ -380,8 +444,10 @@
|
|
|
380
444
|
--nb-c-discrete-a11y: var(--nb-c-nouveau-gray-200-a11y);
|
|
381
445
|
--nb-c-component-discrete-text: var(--nb-c-nouveau-gray-700);
|
|
382
446
|
|
|
383
|
-
// Focus ring
|
|
447
|
+
// Focus ring: used by all interactive controls via :focus-visible
|
|
384
448
|
@include accent.focus-ring;
|
|
449
|
+
@include accent.focus-inverse(light);
|
|
450
|
+
@include accent.link;
|
|
385
451
|
|
|
386
452
|
// ── Scrim / overlay ───────────────────────────────────────────────────
|
|
387
453
|
// The dim laid over the page by anything that takes over the viewport:
|
|
@@ -497,15 +563,17 @@
|
|
|
497
563
|
|
|
498
564
|
@mixin classes {
|
|
499
565
|
/*
|
|
500
|
-
* Layer utilities
|
|
501
|
-
* Applying .nb-layer-N
|
|
502
|
-
* so all children (Panel,
|
|
566
|
+
* Layer utilities: set the surface context for child components.
|
|
567
|
+
* Applying .nb-layer-N re-points the whole per-plane set (surface, border,
|
|
568
|
+
* hover, and every role in `layers.$plane-roles`), so all children (Panel,
|
|
569
|
+
* Shell, a field, a selected row) automatically adapt.
|
|
503
570
|
*/
|
|
504
571
|
@for $i from 0 through 3 {
|
|
505
572
|
.nb-layer-#{$i} {
|
|
506
573
|
--nb-c-surface: var(--nb-c-layer-#{$i});
|
|
507
574
|
--nb-c-border: var(--nb-c-layer-border-#{$i});
|
|
508
575
|
--nb-c-surface-hover: var(--nb-c-layer-hover-#{$i});
|
|
576
|
+
@include plane-aliases($i);
|
|
509
577
|
}
|
|
510
578
|
}
|
|
511
579
|
|
|
@@ -513,8 +581,10 @@
|
|
|
513
581
|
* Font size utilities — set font-size only; line-height comes from type sets or component styles
|
|
514
582
|
*/
|
|
515
583
|
@each $key, $value in type.$fontSizes {
|
|
516
|
-
|
|
517
|
-
|
|
584
|
+
@if $key >= type.$fontSizeFloor {
|
|
585
|
+
.text-#{$key} {
|
|
586
|
+
font-size: var(--nb-font-size-#{$key});
|
|
587
|
+
}
|
|
518
588
|
}
|
|
519
589
|
}
|
|
520
590
|
|
|
@@ -537,19 +607,42 @@
|
|
|
537
607
|
font-weight: var(--nb-type-#{$name}-weight);
|
|
538
608
|
line-height: var(--nb-type-#{$name}-line-height);
|
|
539
609
|
letter-spacing: var(--nb-type-#{$name}-letter-spacing);
|
|
610
|
+
@if map.get($props, transform) {
|
|
611
|
+
text-transform: var(--nb-type-#{$name}-text-transform);
|
|
612
|
+
}
|
|
540
613
|
}
|
|
541
614
|
}
|
|
542
615
|
|
|
543
616
|
/*
|
|
544
|
-
*
|
|
617
|
+
* Display sets step down on a phone, through the phone signal only
|
|
618
|
+
*/
|
|
619
|
+
@include bp.phone {
|
|
620
|
+
:root {
|
|
621
|
+
@each $name, $props in type.$displayPhone {
|
|
622
|
+
--nb-type-#{$name}-size: var(--nb-font-size-#{map.get($props, size)});
|
|
623
|
+
--nb-type-#{$name}-line-height: #{map.get($props, line-height)};
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
/*
|
|
629
|
+
* Tabular figures: digits of one width, for numbers that line up or tick
|
|
630
|
+
*/
|
|
631
|
+
.tabular {
|
|
632
|
+
font-variant-numeric: tabular-nums;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
/*
|
|
636
|
+
* Heading elements, wired to the product ladder: a page title, a region,
|
|
637
|
+
* a panel, then row-level titles and a label
|
|
545
638
|
*/
|
|
546
639
|
$heading-type-set-map: (
|
|
547
|
-
1: 'heading-
|
|
548
|
-
2: 'heading-
|
|
549
|
-
3: 'heading-
|
|
550
|
-
4: 'heading-
|
|
551
|
-
5: 'heading-
|
|
552
|
-
6: '
|
|
640
|
+
1: 'heading-03',
|
|
641
|
+
2: 'heading-02',
|
|
642
|
+
3: 'heading-01',
|
|
643
|
+
4: 'heading-compact',
|
|
644
|
+
5: 'heading-compact',
|
|
645
|
+
6: 'label',
|
|
553
646
|
);
|
|
554
647
|
@each $level, $set-name in $heading-type-set-map {
|
|
555
648
|
h#{$level} {
|
|
@@ -564,23 +657,35 @@
|
|
|
564
657
|
/*
|
|
565
658
|
* Sizing
|
|
566
659
|
*/
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
660
|
+
// No class for a deprecated step: its custom property still resolves, but
|
|
661
|
+
// nothing new should be written against it.
|
|
662
|
+
@each $size_key, $size_value in spacing.$spacingSizes {
|
|
663
|
+
@if not list.index(spacing.$spacingDeprecated, $size_key) {
|
|
664
|
+
@each $type_key, $type_value in spacing.$spacingTypes {
|
|
665
|
+
.#{$type_key}-#{$size_key} {
|
|
666
|
+
#{$type_value}: var(--nb-spacing-#{$size_key});
|
|
667
|
+
}
|
|
668
|
+
.#{$type_key}h-#{$size_key} {
|
|
669
|
+
#{$type_value}-left: var(--nb-spacing-#{$size_key});
|
|
670
|
+
#{$type_value}-right: var(--nb-spacing-#{$size_key});
|
|
671
|
+
}
|
|
672
|
+
.#{$type_key}v-#{$size_key} {
|
|
673
|
+
#{$type_value}-top: var(--nb-spacing-#{$size_key});
|
|
674
|
+
#{$type_value}-bottom: var(--nb-spacing-#{$size_key});
|
|
675
|
+
}
|
|
580
676
|
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
677
|
+
@each $dir_key, $dir_value in spacing.$spacingDir {
|
|
678
|
+
.#{$type_key}#{$dir_key}-#{$size_key} {
|
|
679
|
+
#{$type_value}-#{$dir_value}: var(--nb-spacing-#{$size_key});
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
// Logical beside the physical: `.pis-16` is padding-inline-start,
|
|
684
|
+
// which mirrors under right-to-left where `.pl-16` does not.
|
|
685
|
+
@each $dir_key, $dir_value in spacing.$spacingLogicalDir {
|
|
686
|
+
.#{$type_key}#{$dir_key}-#{$size_key} {
|
|
687
|
+
#{$type_value}-#{$dir_value}: var(--nb-spacing-#{$size_key});
|
|
688
|
+
}
|
|
584
689
|
}
|
|
585
690
|
}
|
|
586
691
|
}
|
|
@@ -597,7 +702,7 @@
|
|
|
597
702
|
--nb-c-danger: #{colors.get-color('chicken-comb', 500)};
|
|
598
703
|
--nb-c-component-plain: #{colors.get-color('nouveau-gray', 500)};
|
|
599
704
|
|
|
600
|
-
// Shell
|
|
705
|
+
// Shell: emitted at :root so consumer apps can override on :root
|
|
601
706
|
// without fighting Shell.vue's scoped-style specificity.
|
|
602
707
|
// Dark chrome derived from the brand: a near-black tint of --nb-c-primary so
|
|
603
708
|
// rebranding the primary colour re-tints the sidebar too (semantic, not a
|
|
@@ -623,11 +728,14 @@
|
|
|
623
728
|
var(--nb-c-white) 90%,
|
|
624
729
|
transparent
|
|
625
730
|
);
|
|
626
|
-
// The count on a folded rail row
|
|
627
|
-
//
|
|
628
|
-
//
|
|
629
|
-
--nb-shell-sidebar-badge-bg: var(--nb-
|
|
630
|
-
--nb-shell-sidebar-badge-color: var(
|
|
731
|
+
// The count on a folded rail row: solid white with the rail's own dark
|
|
732
|
+
// colour as text, so it reads on the rail and on a tinted row alike. A
|
|
733
|
+
// translucent tint vanished into a hovered or active row.
|
|
734
|
+
--nb-shell-sidebar-badge-bg: var(--nb-c-white);
|
|
735
|
+
--nb-shell-sidebar-badge-color: var(
|
|
736
|
+
--nb-shell-sidebar-bg,
|
|
737
|
+
var(--nb-c-black)
|
|
738
|
+
);
|
|
631
739
|
--nb-shell-topbar-height: calc(var(--nb-base-unit) * 6.25); // 50px
|
|
632
740
|
|
|
633
741
|
// Shell chrome. Every rule that paints the frame reads one of these, so a
|
|
@@ -697,7 +805,7 @@
|
|
|
697
805
|
0 1px 2px color-mix(in srgb, var(--nb-c-black) 6%, transparent),
|
|
698
806
|
0 8px 24px -12px color-mix(in srgb, var(--nb-c-black) 18%, transparent);
|
|
699
807
|
|
|
700
|
-
// Panels
|
|
808
|
+
// Panels: emitted at :root so consumer apps can override on :root without
|
|
701
809
|
// fighting the components' scoped-style specificity.
|
|
702
810
|
--nb-shell-panel-header-height: calc(var(--nb-base-unit) * 3.5); // 28px
|
|
703
811
|
--nb-shell-panel-gap: 1px; // hairline separator, not a spacing step
|
|
@@ -718,7 +826,7 @@
|
|
|
718
826
|
--nb-bottom-panel-bg: var(--nb-c-layer-0, var(--nb-c-bg));
|
|
719
827
|
--nb-bottom-panel-border: var(--nb-c-border);
|
|
720
828
|
|
|
721
|
-
// Menu
|
|
829
|
+
// Menu: base item height. The .nb-menu--xs/sm/md/lg size variants override
|
|
722
830
|
// this on top (state-scoped, kept in MenuItem.vue).
|
|
723
831
|
--nb-menu-item-h: calc(var(--nb-base-unit) * 5); // 40px
|
|
724
832
|
}
|
|
@@ -726,12 +834,15 @@
|
|
|
726
834
|
|
|
727
835
|
@mixin dark {
|
|
728
836
|
.dark {
|
|
729
|
-
// Status colors
|
|
837
|
+
// Status colors: lighter tints for dark backgrounds
|
|
730
838
|
--nb-c-primary: #{colors.get-color('grape-hyacinth', 400)};
|
|
731
839
|
// Same wash, re-mixed: the dark --nb-c-primary is a 400, so it takes less
|
|
732
840
|
// white than the light 500 does to reach the tint this token used to alias.
|
|
733
841
|
@include accent.subtle(50%);
|
|
734
842
|
@include accent.selected-edge(70%);
|
|
843
|
+
@include accent.focus-ring(70%);
|
|
844
|
+
@include accent.focus-inverse(dark);
|
|
845
|
+
@include accent.link;
|
|
735
846
|
--nb-c-primary-a11y: #{colors.color-contrast(
|
|
736
847
|
colors.get-color('grape-hyacinth', 400)
|
|
737
848
|
)};
|
|
@@ -825,11 +936,14 @@
|
|
|
825
936
|
--nb-c-layer-hover-2: #{layers.level(layers.$dark, hover, 2)};
|
|
826
937
|
--nb-c-layer-hover-3: #{layers.level(layers.$dark, hover, 3)};
|
|
827
938
|
|
|
828
|
-
|
|
939
|
+
@include plane-values(layers.$dark);
|
|
940
|
+
|
|
941
|
+
// Surface tokens, re-declared so a nested .dark region resolves its own
|
|
829
942
|
--nb-c-surface: var(--nb-c-layer-1);
|
|
830
943
|
--nb-c-surface-raised: var(--nb-c-layer-0);
|
|
831
944
|
--nb-c-border: var(--nb-c-layer-border-1);
|
|
832
945
|
--nb-c-surface-hover: var(--nb-c-layer-hover-1);
|
|
946
|
+
@include plane-aliases(1);
|
|
833
947
|
--nb-c-contrast: #{colors.get-color('plain-white', 150)};
|
|
834
948
|
--nb-c-document: #{colors.get-color('plain-white', 50)};
|
|
835
949
|
|
|
@@ -841,8 +955,9 @@
|
|
|
841
955
|
layers.token(layers.$dark, text-muted)
|
|
842
956
|
)};
|
|
843
957
|
--nb-c-text-subtle: #{layers.token(layers.$dark, text-subtle)};
|
|
958
|
+
@include text-roles(layers.$dark);
|
|
844
959
|
|
|
845
|
-
// Background tiers
|
|
960
|
+
// Background tiers: deepest layer for page background
|
|
846
961
|
--nb-c-bg: var(--nb-c-layer-0);
|
|
847
962
|
--nb-c-bg-soft: var(--nb-c-layer-1);
|
|
848
963
|
|
|
@@ -855,12 +970,12 @@
|
|
|
855
970
|
* The dark ramp cannot separate enabled from disabled by fill at all
|
|
856
971
|
* (every surface in it sits within 1.21:1 of every other), so in this
|
|
857
972
|
* theme the bottom rule is the whole signal.
|
|
973
|
+
*
|
|
974
|
+
* The fill and the rule are per plane (`plane-aliases(1)` above). A field
|
|
975
|
+
* on plane N takes the next plane's fill, so a field inside a layer-1
|
|
976
|
+
* panel is #2d2e2f on #1e1f20 rather than the 1.00:1 it used to be, and
|
|
977
|
+
* planes 2 and 3 take a lighter rule (#939495) that clears 3:1 there.
|
|
858
978
|
*/
|
|
859
|
-
--nb-c-field-bg: #{layers.level(layers.$dark, surface, 1)};
|
|
860
|
-
// Picked against that fill directly rather than taken from the layer
|
|
861
|
-
// border ramp, whose brightest step (#696a6b) measures 3.05:1 here and
|
|
862
|
-
// clears 1.4.11 by four hundredths. This is 4.29:1.
|
|
863
|
-
--nb-c-field-border: #818283;
|
|
864
979
|
// Flush with the page ground: enabled is raised, disabled is not.
|
|
865
980
|
--nb-c-field-bg-disabled: #{layers.level(layers.$dark, surface, 0)};
|
|
866
981
|
--nb-c-field-border-disabled: #{layers.level(layers.$dark, border, 0)};
|
|
@@ -875,6 +990,11 @@
|
|
|
875
990
|
--nb-c-status-valid: #{colors.get-color('emerald-reflection', 400)};
|
|
876
991
|
--nb-c-status-warning: #{colors.get-color('phoenix-flames', 400)};
|
|
877
992
|
--nb-c-status-error: #{colors.get-color('chicken-comb', 300)};
|
|
993
|
+
// Measured on the lightest dark plane (layer-3), the worst case: info
|
|
994
|
+
// 4.16, neutral 4.24. Text error 4.64 over every layer and hover.
|
|
995
|
+
--nb-c-status-info: #{colors.get-color('the-blues-brothers', 300)};
|
|
996
|
+
--nb-c-status-neutral: #{colors.get-color('nouveau-gray', 350)};
|
|
997
|
+
--nb-c-text-error: #{colors.get-color('chicken-comb', 250)};
|
|
878
998
|
|
|
879
999
|
// Data visualisation roles, dark. Same eight hues, stepped up their
|
|
880
1000
|
// ramps, exactly as --nb-c-primary and the status colours are stepped
|
|
@@ -915,7 +1035,7 @@
|
|
|
915
1035
|
--nb-c-discrete: #{colors.get-color('nouveau-gray', 700)};
|
|
916
1036
|
--nb-c-component-discrete-text: #{colors.get-color('nouveau-gray', 300)};
|
|
917
1037
|
|
|
918
|
-
// Secondary button
|
|
1038
|
+
// Secondary button: mid-grey in dark mode
|
|
919
1039
|
--nb-c-secondary: #{colors.get-color('nouveau-gray', 700)};
|
|
920
1040
|
--nb-c-secondary-a11y: #{colors.color-contrast(
|
|
921
1041
|
colors.get-color('nouveau-gray', 700)
|
|
@@ -958,7 +1078,7 @@
|
|
|
958
1078
|
--nb-c-component-disabled: #{colors.get-color('nouveau-gray', 700)};
|
|
959
1079
|
--nb-c-component-plain-border: #{colors.get-color('nouveau-gray', 600)};
|
|
960
1080
|
|
|
961
|
-
// Scrim
|
|
1081
|
+
// Scrim: a dark page needs a heavier dim to read as "the page behind
|
|
962
1082
|
// this is out of play"; 45% over an already-dark background barely
|
|
963
1083
|
// registers. Only the scrim tokens change; the radius scale is
|
|
964
1084
|
// theme-independent and stays on the base.
|
|
@@ -40,7 +40,12 @@ body {
|
|
|
40
40
|
text-align: center;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
// Needs a width to clip against (a block, a flex child with min-width: 0,
|
|
44
|
+
// or a table cell). Pair it with a title or tooltip: clipped text with no
|
|
45
|
+
// route to the full string fails the writing style's truncation rule.
|
|
43
46
|
&-ellipsed {
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
white-space: nowrap;
|
|
44
49
|
text-overflow: ellipsis;
|
|
45
50
|
}
|
|
46
51
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '../logic/motion' as motion;
|
|
1
2
|
@mixin tooltip {
|
|
2
3
|
// The description node. Not a chip: it is the text of the tooltip as
|
|
3
4
|
// assistive technology sees it, present from the moment the binding mounts,
|
|
@@ -39,13 +40,16 @@
|
|
|
39
40
|
// pair only flips its background between themes (its -a11y foreground
|
|
40
41
|
// stays the light-theme value, so a dark-theme chip was dark text on a
|
|
41
42
|
// dark chip), and every hand-rolled tooltip in the fleet, including the
|
|
42
|
-
// two inside this library, independently chose an inverted chip.
|
|
43
|
-
//
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
// two inside this library, independently chose an inverted chip. It reads
|
|
44
|
+
// the inverse family, measured as a pair (14.69 light, 13.83 dark), not
|
|
45
|
+
// `--nb-c-contrast` over whatever surface happened to be in scope. The
|
|
46
|
+
// two vars let a consumer retint one chip without touching the theme.
|
|
47
|
+
background: var(--nb-tooltip-bg, var(--nb-c-bg-inverse));
|
|
48
|
+
color: var(--nb-tooltip-fg, var(--nb-c-text-inverse));
|
|
46
49
|
z-index: var(--nb-zindex-tooltip);
|
|
47
50
|
text-transform: none;
|
|
48
|
-
font-size: var(--nb-
|
|
51
|
+
font-size: var(--nb-type-body-compact-size);
|
|
52
|
+
letter-spacing: var(--nb-type-body-compact-letter-spacing);
|
|
49
53
|
// A chip has no width of its own: it shrink-wraps its text. Without a
|
|
50
54
|
// ceiling, a 400-character body renders as ONE line wider than the
|
|
51
55
|
// viewport, and the directive's clamp cannot rescue it (the maximum left
|
|
@@ -61,7 +65,7 @@
|
|
|
61
65
|
// Now that the text can wrap, it needs leading. At `line-height: 1` a
|
|
62
66
|
// wrapped body, a documented `<br>` and an embedded newline all render as
|
|
63
67
|
// touching lines.
|
|
64
|
-
line-height: var(--nb-line-height
|
|
68
|
+
line-height: var(--nb-type-body-compact-line-height);
|
|
65
69
|
// A single unbroken token (a URL, a hash, a file path) would otherwise
|
|
66
70
|
// blow straight through the max-width.
|
|
67
71
|
overflow-wrap: anywhere;
|
|
@@ -95,7 +99,7 @@
|
|
|
95
99
|
// are indistinguishable, and a wrapped chip is far easier to read ragged
|
|
96
100
|
// right than centred.
|
|
97
101
|
text-align: start;
|
|
98
|
-
--tooltip-arrow-border-color: var(--nb-tooltip-bg, var(--nb-c-
|
|
102
|
+
--tooltip-arrow-border-color: var(--nb-tooltip-bg, var(--nb-c-bg-inverse));
|
|
99
103
|
&:before,
|
|
100
104
|
&:after {
|
|
101
105
|
position: absolute;
|
|
@@ -273,7 +277,7 @@
|
|
|
273
277
|
}
|
|
274
278
|
}
|
|
275
279
|
|
|
276
|
-
@
|
|
280
|
+
@include motion.reduced {
|
|
277
281
|
.nb-tooltip {
|
|
278
282
|
animation: none !important;
|
|
279
283
|
transform: none;
|
|
@@ -44,3 +44,6 @@ $var-columns-bottom: remove-nth(
|
|
|
44
44
|
$var-columns-top,
|
|
45
45
|
list.length($var-columns-top)
|
|
46
46
|
);
|
|
47
|
+
// 0 to 15: a shift of 0 is a real rule, so a breakpoint map can take a shift
|
|
48
|
+
// back off (`{ sm: 4, lg: 0 }`) instead of leaving a class nothing defines.
|
|
49
|
+
$var-columns-shift: remove-nth($var-columns, list.length($var-columns));
|
|
@@ -46,9 +46,10 @@
|
|
|
46
46
|
min-width: $span;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
|
|
49
|
+
// Logical, so a shift mirrors under right-to-left. Identical in LTR.
|
|
50
|
+
@each $column in common.$var-columns-shift {
|
|
50
51
|
&.#{$prefix}shift-#{$column} {
|
|
51
|
-
margin-
|
|
52
|
+
margin-inline-start: calc((100% * #{$column}) / #{grid.$grid-columns});
|
|
52
53
|
}
|
|
53
54
|
}
|
|
54
55
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@use 'sass:math';
|
|
2
|
+
@use 'sass:list';
|
|
2
3
|
@use 'sass:map';
|
|
3
4
|
@use '../config';
|
|
4
5
|
@use '../variables/breakpoints';
|
|
6
|
+
@use '../variables/grid' as vars;
|
|
5
7
|
@use './mixins';
|
|
6
8
|
|
|
7
9
|
// grid styles
|
|
@@ -22,6 +24,27 @@
|
|
|
22
24
|
flex: 1;
|
|
23
25
|
}
|
|
24
26
|
}
|
|
27
|
+
|
|
28
|
+
// Modes come before every gap rule, at the same specificity, so a `gap`
|
|
29
|
+
// prop (base or at a breakpoint) wins over the mode's default.
|
|
30
|
+
@each $mode, $gap in vars.$grid-modes {
|
|
31
|
+
&.nb-grid--#{$mode} {
|
|
32
|
+
gap: $gap;
|
|
33
|
+
> * {
|
|
34
|
+
--nb-grid-parent-gap: #{$gap};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// Hang: the box keeps its edges, hugging the gutter, and its content is
|
|
40
|
+
// inset so the text sits as far from the gutter's centre line as it would
|
|
41
|
+
// in a wide grid. Nothing in a wide grid, 8px in a narrow one, 15.5px in a
|
|
42
|
+
// condensed one.
|
|
43
|
+
&.nb-grid--hang {
|
|
44
|
+
padding-inline-start: calc(
|
|
45
|
+
(#{vars.$grid-hang-reference} - var(--nb-grid-parent-gap, 0px)) / 2
|
|
46
|
+
);
|
|
47
|
+
}
|
|
25
48
|
}
|
|
26
49
|
|
|
27
50
|
@mixin grid {
|
|
@@ -47,5 +70,45 @@
|
|
|
47
70
|
flex: 1;
|
|
48
71
|
}
|
|
49
72
|
}
|
|
73
|
+
|
|
74
|
+
// The page container: the grid's maximum width, centred, with the page
|
|
75
|
+
// margin as inline padding. Opt-in, for a page outside NbShell, whose
|
|
76
|
+
// main region already supplies its margin.
|
|
77
|
+
&.nb-grid--container {
|
|
78
|
+
width: 100%;
|
|
79
|
+
max-width: var(--nb-grid-max-width);
|
|
80
|
+
margin-inline: auto;
|
|
81
|
+
padding-inline: var(--nb-grid-gutter);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// A subgrid drops its own gap and takes its parent's, so its spans land
|
|
85
|
+
// on the parent's column lines instead of adding a second gutter. After
|
|
86
|
+
// every gap rule, so it wins over a `gap` prop at any breakpoint.
|
|
87
|
+
&.nb-grid--subgrid {
|
|
88
|
+
gap: var(--nb-grid-parent-gap, 0px);
|
|
89
|
+
> * {
|
|
90
|
+
--nb-grid-parent-gap: inherit;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// A ratio is a preferred height from the width. Taller content still
|
|
95
|
+
// grows the box, and in a stretched row the tallest item sets the line:
|
|
96
|
+
// `align="start"` on the row keeps every tile at its own shape.
|
|
97
|
+
@each $ratio in vars.$grid-ratios {
|
|
98
|
+
$w: list.nth($ratio, 1);
|
|
99
|
+
$h: list.nth($ratio, 2);
|
|
100
|
+
&.nb-grid--ratio-#{$w}-#{$h} {
|
|
101
|
+
aspect-ratio: #{$w} / #{$h};
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// The page margin. 16px up to xl, the same gutter the shell keeps on a
|
|
107
|
+
// phone so text never sits against the glass, and 24px at xxl. Declared once
|
|
108
|
+
// on :root in the theme, moved here only at the top of the scale.
|
|
109
|
+
@include breakpoints.mq('xxl') {
|
|
110
|
+
:root {
|
|
111
|
+
--nb-grid-gutter: #{vars.$grid-gutter-max}px;
|
|
112
|
+
}
|
|
50
113
|
}
|
|
51
114
|
}
|
package/src/styles/index.scss
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@forward 'config';
|
|
2
2
|
@forward 'variables';
|
|
3
3
|
@forward 'reset';
|
|
4
|
+
@use 'focus';
|
|
4
5
|
@forward 'transitions';
|
|
5
6
|
@use 'directives';
|
|
6
7
|
@use 'grid';
|
|
@@ -10,6 +11,8 @@
|
|
|
10
11
|
@use 'patterns/inspector';
|
|
11
12
|
@use 'presets/classic-fields';
|
|
12
13
|
@use 'appearance';
|
|
14
|
+
@use 'ai';
|
|
15
|
+
@use 'contrast';
|
|
13
16
|
|
|
14
17
|
@include theme.base;
|
|
15
18
|
@include theme.classes;
|
|
@@ -23,3 +26,6 @@
|
|
|
23
26
|
// The rounded scale. Square needs no rules: the semantic roles are already
|
|
24
27
|
// the square values, so this only adds the opt-in half.
|
|
25
28
|
@include appearance.appearance;
|
|
29
|
+
// Increased contrast. Scoped to the media query and to [data-nb-contrast], so
|
|
30
|
+
// it changes nothing for anyone who has not asked for it.
|
|
31
|
+
@include contrast.contrast;
|
|
@@ -345,7 +345,7 @@ $linear-channel-values: 0 0.0003035269835488375 0.000607053967097675
|
|
|
345
345
|
@while contrast-ratio($fg, $bg) < $ratio {
|
|
346
346
|
$sat-step: 0%;
|
|
347
347
|
@if $step < 100% {
|
|
348
|
-
@if color.
|
|
348
|
+
@if color.channel($fg, 'saturation', $space: hsl) > 10 {
|
|
349
349
|
$sat-step: $step;
|
|
350
350
|
}
|
|
351
351
|
$fg: color.scale($fg, $lightness: $step, $saturation: $sat-step);
|