@vadimcomanescu/nadicode-design-system 4.0.11 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/seed/SKILL.md +27 -22
- package/.agents/skills/seed/references/animation.md +1 -1
- package/.agents/skills/seed/references/composition.md +1 -1
- package/.agents/skills/seed/references/glass-and-effects.md +16 -21
- package/.agents/skills/seed/references/patterns.md +47 -47
- package/.agents/skills/seed/references/state-machines.md +19 -18
- package/README.md +3 -1
- package/contracts/consumer-intent-map.json +2 -700
- package/contracts/message-catalog-contract.json +20 -20
- package/contracts/release-governance-baseline.json +14 -265
- package/dist/ProfilePage-KJVA3ZQ5.js +87 -0
- package/dist/TeamPage-BX3RMSZU.js +479 -0
- package/dist/catalog/catalog.d.ts +4753 -1883
- package/dist/catalog/catalog.js +22 -2107
- package/dist/catalog/components.d.ts +234 -177
- package/dist/catalog/components.js +217 -288
- package/dist/catalog/definitions/action.d.ts +170 -0
- package/dist/catalog/definitions/action.js +1 -0
- package/dist/catalog/definitions/agent.d.ts +496 -0
- package/dist/catalog/definitions/agent.js +1 -0
- package/dist/catalog/definitions/blocks-agent.d.ts +359 -0
- package/dist/catalog/definitions/blocks-agent.js +1 -0
- package/dist/catalog/definitions/blocks-auth.d.ts +179 -0
- package/dist/catalog/definitions/blocks-auth.js +1 -0
- package/dist/catalog/definitions/blocks-content.d.ts +495 -0
- package/dist/catalog/definitions/blocks-content.js +2 -0
- package/dist/catalog/definitions/blocks-crud.d.ts +485 -0
- package/dist/catalog/definitions/blocks-crud.js +1 -0
- package/dist/catalog/definitions/blocks-data.d.ts +309 -0
- package/dist/catalog/definitions/blocks-data.js +2 -0
- package/dist/catalog/definitions/blocks-marketing.d.ts +381 -0
- package/dist/catalog/definitions/blocks-marketing.js +1 -0
- package/dist/catalog/definitions/blocks-misc.d.ts +108 -0
- package/dist/catalog/definitions/blocks-misc.js +1 -0
- package/dist/catalog/definitions/chart.d.ts +293 -0
- package/dist/catalog/definitions/chart.js +2 -0
- package/dist/catalog/definitions/chat.d.ts +108 -0
- package/dist/catalog/definitions/chat.js +1 -0
- package/dist/catalog/definitions/display.d.ts +575 -0
- package/dist/catalog/definitions/display.js +2 -0
- package/dist/catalog/definitions/effects.d.ts +267 -0
- package/dist/catalog/definitions/effects.js +1 -0
- package/dist/catalog/definitions/form.d.ts +413 -0
- package/dist/catalog/definitions/form.js +2 -0
- package/dist/catalog/definitions/index.d.ts +5262 -0
- package/dist/catalog/definitions/index.js +21 -0
- package/dist/catalog/definitions/layout.d.ts +133 -0
- package/dist/catalog/definitions/layout.js +1 -0
- package/dist/catalog/definitions/navigation.d.ts +121 -0
- package/dist/catalog/definitions/navigation.js +1 -0
- package/dist/catalog/definitions/overlay.d.ts +183 -0
- package/dist/catalog/definitions/overlay.js +1 -0
- package/dist/catalog/definitions/shared.d.ts +31 -0
- package/dist/catalog/definitions/shared.js +1 -0
- package/dist/catalog/definitions/text-effects.d.ts +204 -0
- package/dist/catalog/definitions/text-effects.js +1 -0
- package/dist/catalog/definitions/text.d.ts +38 -0
- package/dist/catalog/definitions/text.js +1 -0
- package/dist/catalog/primitives/action.d.ts +12 -0
- package/dist/{components/ui/AnimatedDialog.js → catalog/primitives/action.js} +42 -33
- package/dist/catalog/primitives/agent.d.ts +18 -0
- package/dist/catalog/primitives/agent.js +32 -0
- package/dist/catalog/primitives/chart.d.ts +12 -0
- package/dist/catalog/primitives/chart.js +17 -0
- package/dist/catalog/primitives/chat.d.ts +10 -0
- package/dist/{components/page-kits/TwoFactorPageKit.js → catalog/primitives/chat.js} +42 -44
- package/dist/catalog/primitives/display.d.ts +34 -0
- package/dist/{components/page-kits/TeamSettingsPageKit.js → catalog/primitives/display.js} +70 -47
- package/dist/catalog/primitives/effects.d.ts +19 -0
- package/dist/catalog/primitives/effects.js +25 -0
- package/dist/catalog/primitives/form.d.ts +22 -0
- package/dist/{components/page-kits/OnboardingPageKit.js → catalog/primitives/form.js} +51 -47
- package/dist/catalog/primitives/index.d.ts +137 -0
- package/dist/{components/page-kits/LandingPageKit.js → catalog/primitives/index.js} +170 -57
- package/dist/catalog/primitives/layout.d.ts +14 -0
- package/dist/{components/blocks/TwoFactorChallengeBlock.js → catalog/primitives/layout.js} +42 -34
- package/dist/catalog/primitives/navigation.d.ts +10 -0
- package/dist/{components/page-kits/NavigationShellPageKit.js → catalog/primitives/navigation.js} +41 -37
- package/dist/catalog/primitives/overlay.d.ts +12 -0
- package/dist/catalog/primitives/overlay.js +130 -0
- package/dist/catalog/primitives/text-effects.d.ts +13 -0
- package/dist/{components/blocks/SocialProofBlock.js → catalog/primitives/text-effects.js} +4 -11
- package/dist/catalog/primitives/text.d.ts +7 -0
- package/dist/catalog/primitives/text.js +7 -0
- package/dist/catalog/primitives/utils.d.ts +8 -0
- package/dist/catalog/primitives/utils.js +1 -0
- package/dist/catalog/types.d.ts +3 -3
- package/dist/chunk-2LBEV4YF.js +128 -0
- package/dist/chunk-2NMP3J5R.js +6 -0
- package/dist/chunk-34MKVVGB.js +176 -0
- package/dist/{chunk-KFL4YCMI.js → chunk-37LY27CX.js} +1 -1
- package/dist/{chunk-LPED36AD.js → chunk-3BGWXRQC.js} +6 -8
- package/dist/chunk-3QMHVXSQ.js +258 -0
- package/dist/{chunk-ZI22L4DD.js → chunk-3TYPQWKD.js} +7 -13
- package/dist/chunk-44NVO477.js +46 -0
- package/dist/chunk-4ACR6NGQ.js +144 -0
- package/dist/{chunk-FF3XUIZO.js → chunk-4DWRAIM2.js} +1 -1
- package/dist/chunk-4EHXVFQY.js +78 -0
- package/dist/chunk-4EOX2S37.js +24 -0
- package/dist/chunk-4GLBFZVI.js +184 -0
- package/dist/chunk-4GQ5EMWR.js +142 -0
- package/dist/chunk-4TK2PXMJ.js +6 -0
- package/dist/chunk-4ZST7OY5.js +153 -0
- package/dist/chunk-56TNQ2P4.js +82 -0
- package/dist/chunk-5B3GLRX3.js +139 -0
- package/dist/chunk-5KQEGO3O.js +71 -0
- package/dist/chunk-5L2RFJZR.js +31 -0
- package/dist/{chunk-326EZJLO.js → chunk-5MLOZVOQ.js} +31 -24
- package/dist/chunk-5XDYCBR6.js +345 -0
- package/dist/chunk-5ZC3RHXB.js +72 -0
- package/dist/chunk-65CUE2WL.js +257 -0
- package/dist/chunk-6KRT337C.js +75 -0
- package/dist/{chunk-HQKORL27.js → chunk-6LD76RMU.js} +9 -12
- package/dist/{chunk-L3WRHSHM.js → chunk-6NL36QN3.js} +9 -8
- package/dist/chunk-6NND57T2.js +79 -0
- package/dist/{chunk-TBJPLMUE.js → chunk-6OBT3A5O.js} +6 -9
- package/dist/{chunk-4INNXURW.js → chunk-767GZSNJ.js} +6 -9
- package/dist/{chunk-2S4727W3.js → chunk-7AUNUDHM.js} +20 -16
- package/dist/chunk-7IVXTSZK.js +185 -0
- package/dist/{chunk-UGIHLU2V.js → chunk-7OOO22KB.js} +10 -15
- package/dist/chunk-7PTI46BS.js +119 -0
- package/dist/chunk-7SOMHO2L.js +181 -0
- package/dist/chunk-7SRNVMBY.js +72 -0
- package/dist/chunk-7U7XFIP6.js +17 -0
- package/dist/chunk-7X3GXC7C.js +52 -0
- package/dist/{chunk-R4CRWXEQ.js → chunk-A44E44UV.js} +35 -27
- package/dist/chunk-A4TQNK7R.js +58 -0
- package/dist/chunk-AU2Q7CXZ.js +45 -0
- package/dist/{chunk-BG26NCUY.js → chunk-B4YCI5NM.js} +10 -19
- package/dist/{chunk-JXZ4HYXA.js → chunk-BAB6AHOM.js} +64 -60
- package/dist/chunk-BHPATKC7.js +116 -0
- package/dist/chunk-BJVCZI2B.js +29 -0
- package/dist/{chunk-JPL22322.js → chunk-BVXSAVKY.js} +6 -11
- package/dist/chunk-C7LO3JEF.js +195 -0
- package/dist/chunk-CAET62YQ.js +228 -0
- package/dist/chunk-CPHVCY3M.js +230 -0
- package/dist/{chunk-WOYBVPXK.js → chunk-CQ75K2DH.js} +8 -10
- package/dist/{chunk-OSNTB6RY.js → chunk-CY3PROVO.js} +88 -26
- package/dist/{chunk-ZURTIIST.js → chunk-D6MFOI3N.js} +20 -20
- package/dist/{chunk-WVHBPPI3.js → chunk-DGSNEGJP.js} +15 -17
- package/dist/{chunk-NTN5DWXV.js → chunk-DSNPOAE6.js} +7 -10
- package/dist/chunk-E5E3W2K4.js +6 -0
- package/dist/chunk-EJQ73FJ5.js +383 -0
- package/dist/chunk-F3QIIOOL.js +71 -0
- package/dist/chunk-FAKTXE3F.js +272 -0
- package/dist/chunk-FAQZPQF7.js +119 -0
- package/dist/chunk-FOXDDL2Z.js +41 -0
- package/dist/chunk-G722PEFL.js +71 -0
- package/dist/chunk-GC7QKZQW.js +20 -0
- package/dist/{chunk-QLL3Z6U6.js → chunk-GE4WUAAE.js} +8 -8
- package/dist/chunk-GNKNT52O.js +45 -0
- package/dist/chunk-GQEB425G.js +41 -0
- package/dist/{chunk-XTASI4IY.js → chunk-GVOWGEGX.js} +6 -13
- package/dist/chunk-GXUQFXT7.js +282 -0
- package/dist/chunk-GZ4DTYWM.js +36 -0
- package/dist/{chunk-7XRKBROR.js → chunk-HF2HNDE7.js} +22 -12
- package/dist/chunk-HMN4K4L6.js +44 -0
- package/dist/{chunk-2BXGWBD4.js → chunk-HX3VXWNJ.js} +20 -13
- package/dist/{chunk-NEECQ3IH.js → chunk-HZTWLK7C.js} +16 -18
- package/dist/{chunk-B6HXF3HP.js → chunk-ID3N3MHQ.js} +13 -21
- package/dist/{chunk-I2ZI5RUM.js → chunk-IHGZJS7N.js} +11 -11
- package/dist/{chunk-F2TNOCXQ.js → chunk-IYK2ABFE.js} +25 -14
- package/dist/{chunk-WSBLCWY7.js → chunk-IZ7A62GI.js} +7 -6
- package/dist/chunk-JDLCIPSC.js +18 -0
- package/dist/{chunk-4R7DT2NJ.js → chunk-JPA45CDE.js} +67 -42
- package/dist/{chunk-J7F42IR3.js → chunk-JPNNAU26.js} +7 -3
- package/dist/chunk-JUAOQFC3.js +32 -0
- package/dist/{chunk-3TZLHB2L.js → chunk-JVQQQS2M.js} +8 -13
- package/dist/chunk-KA44DDCB.js +42 -0
- package/dist/{chunk-O2W6C3K2.js → chunk-KANK5FAG.js} +65 -62
- package/dist/chunk-KKBTPNXT.js +110 -0
- package/dist/chunk-KL43KGCK.js +106 -0
- package/dist/chunk-KMTLCN6S.js +134 -0
- package/dist/{chunk-HOWTYZL5.js → chunk-KPO4PD6C.js} +78 -12
- package/dist/{chunk-TYP2MR3Q.js → chunk-KV726HMK.js} +20 -2
- package/dist/{chunk-4QOH76MI.js → chunk-KWIIKHIB.js} +10 -13
- package/dist/chunk-KXZP6XI2.js +84 -0
- package/dist/chunk-L2IRYY6K.js +230 -0
- package/dist/chunk-L4Q724G2.js +217 -0
- package/dist/chunk-L55GVKLY.js +149 -0
- package/dist/{chunk-DT6XGHB3.js → chunk-L77KWJJB.js} +29 -30
- package/dist/chunk-LH5KBOIA.js +228 -0
- package/dist/chunk-LO3MDQSJ.js +130 -0
- package/dist/chunk-LYI5YMC6.js +125 -0
- package/dist/chunk-LZ66ADSL.js +142 -0
- package/dist/chunk-MB75U2OV.js +77 -0
- package/dist/{components/ui/AnimatedTabs.js → chunk-MFZYC6QC.js} +41 -24
- package/dist/chunk-MOFWXBTK.js +112 -0
- package/dist/chunk-MT76BPYV.js +30 -0
- package/dist/{chunk-X5AEOQAL.js → chunk-MZGGA75L.js} +1 -40
- package/dist/chunk-N334RMNE.js +39 -0
- package/dist/{chunk-YZK222HJ.js → chunk-NA6ZPKIK.js} +19 -7
- package/dist/chunk-NF2Y5ERJ.js +186 -0
- package/dist/{chunk-3M3QV2EN.js → chunk-NVBF4OWT.js} +6 -9
- package/dist/chunk-NZXZ3PH2.js +56 -0
- package/dist/chunk-OB2KVO7O.js +23 -0
- package/dist/chunk-OLDUGLDM.js +114 -0
- package/dist/{chunk-K4QZ377F.js → chunk-OMGVZWRM.js} +25 -16
- package/dist/{chunk-X4HXVLER.js → chunk-OMI2LLXM.js} +16 -19
- package/dist/{chunk-UIZTZCAU.js → chunk-OS2BLQ2G.js} +9 -14
- package/dist/chunk-OUXJUUCB.js +131 -0
- package/dist/{chunk-QQOWC53X.js → chunk-OWWQP3YW.js} +4 -2
- package/dist/chunk-P5I63ETD.js +691 -0
- package/dist/chunk-P7CTBRHO.js +176 -0
- package/dist/chunk-P7JS4B7U.js +101 -0
- package/dist/{chunk-FODQX5Q5.js → chunk-PD6WW7E5.js} +8 -10
- package/dist/chunk-PJ7DVYWA.js +185 -0
- package/dist/{chunk-OTZIMMPV.js → chunk-PQBVNNEG.js} +18 -18
- package/dist/chunk-PY7WBWKH.js +37 -0
- package/dist/{chunk-ALFCQ35A.js → chunk-PYRHNONA.js} +25 -16
- package/dist/{chunk-TBXW5MDR.js → chunk-Q4CRHV5T.js} +25 -17
- package/dist/{chunk-PC6VMNDY.js → chunk-Q7PCHHVJ.js} +0 -8
- package/dist/chunk-QCL76CM6.js +92 -0
- package/dist/chunk-QFXWI2WX.js +40 -0
- package/dist/{chunk-JRLU2VSB.js → chunk-QLPU2IEO.js} +25 -39
- package/dist/{chunk-K4ZPHSWL.js → chunk-R4DPHCHJ.js} +22 -15
- package/dist/chunk-SEJXMNMK.js +191 -0
- package/dist/{chunk-E6YDGQ2O.js → chunk-SIXPY62Q.js} +17 -16
- package/dist/chunk-STKNMEJA.js +15 -0
- package/dist/chunk-STNVWBJH.js +41 -0
- package/dist/{chunk-73T44TBV.js → chunk-TL5UCQC3.js} +12 -16
- package/dist/{chunk-Q3CKH7RH.js → chunk-TNDMBLYP.js} +7 -18
- package/dist/chunk-TTA5TLNJ.js +97 -0
- package/dist/chunk-TV6CJ5NI.js +57 -0
- package/dist/chunk-TXRGQO5M.js +100 -0
- package/dist/chunk-U3QOFPHD.js +28 -0
- package/dist/chunk-UB6XJTRU.js +45 -0
- package/dist/chunk-UGXI4PES.js +415 -0
- package/dist/{chunk-N3IZNRY2.js → chunk-UIYX2EMT.js} +11 -19
- package/dist/chunk-UOUERAB4.js +446 -0
- package/dist/chunk-UQB54LIA.js +228 -0
- package/dist/chunk-UT6MKK2S.js +115 -0
- package/dist/chunk-UXYLA2IV.js +124 -0
- package/dist/{chunk-PDSQC6VE.js → chunk-V5RSV4ZV.js} +5 -2
- package/dist/chunk-VUNXVYOH.js +129 -0
- package/dist/chunk-W4KI424V.js +380 -0
- package/dist/chunk-W7ZGCFTB.js +23 -0
- package/dist/chunk-WAIZR4CR.js +107 -0
- package/dist/{chunk-T5LXQNIP.js → chunk-WHYKEOUV.js} +29 -25
- package/dist/chunk-WRBPEZFY.js +80 -0
- package/dist/chunk-XI775QZZ.js +275 -0
- package/dist/chunk-XLIFWBE7.js +117 -0
- package/dist/{chunk-BI3TXPMR.js → chunk-XMGWLDNG.js} +4 -6
- package/dist/chunk-XYMFKNKG.js +93 -0
- package/dist/chunk-XYYZRQES.js +256 -0
- package/dist/chunk-XZDVTOXJ.js +94 -0
- package/dist/{chunk-OTFIAT6T.js → chunk-YB3J4ZRZ.js} +15 -6
- package/dist/chunk-YCS4MMC3.js +133 -0
- package/dist/chunk-YGDO5KDY.js +33 -0
- package/dist/{chunk-6Y4UFG7C.js → chunk-YNBDA24W.js} +6 -13
- package/dist/chunk-YXRIXTXW.js +32 -0
- package/dist/chunk-ZFCSKVTZ.js +102 -0
- package/dist/chunk-ZLWEBAL6.js +48 -0
- package/dist/chunk-ZND7AAWG.js +290 -0
- package/dist/{chunk-DITD5GBG.js → chunk-ZNF6S3DQ.js} +20 -38
- package/dist/chunk-ZSU5ZI4O.js +32 -0
- package/dist/components/blocks/AccountLockedBlock.d.ts +3 -11
- package/dist/components/blocks/AccountLockedBlock.js +2 -2
- package/dist/components/blocks/ActivityFeedBlock.d.ts +3 -14
- package/dist/components/blocks/ActivityFeedBlock.js +2 -2
- package/dist/components/blocks/AgentConversationBlock.d.ts +12 -17
- package/dist/components/blocks/AgentConversationBlock.js +10 -109
- package/dist/components/blocks/AgentProfileGridBlock.d.ts +3 -19
- package/dist/components/blocks/AgentProfileGridBlock.js +2 -2
- package/dist/components/blocks/AgentRunOverviewBlock.d.ts +3 -31
- package/dist/components/blocks/AgentRunOverviewBlock.js +2 -2
- package/dist/components/blocks/AgentWorkbenchBlock.d.ts +5 -21
- package/dist/components/blocks/AgentWorkbenchBlock.js +14 -112
- package/dist/components/blocks/ApiKeysBlock.d.ts +3 -18
- package/dist/components/blocks/ApiKeysBlock.js +35 -35
- package/dist/components/blocks/AuthLayout.d.ts +3 -17
- package/dist/components/blocks/AuthLayout.js +4 -4
- package/dist/components/blocks/AuthSuccessBlock.d.ts +3 -12
- package/dist/components/blocks/AuthSuccessBlock.js +6 -1
- package/dist/components/blocks/BannerBlock.d.ts +3 -9
- package/dist/components/blocks/BannerBlock.js +33 -33
- package/dist/components/blocks/BenchmarksBlock.d.ts +3 -20
- package/dist/components/blocks/BenchmarksBlock.js +1 -1
- package/dist/components/blocks/BlogDetailBlock.d.ts +3 -0
- package/dist/components/{page-kits/VerifyEmailPageKit.js → blocks/BlogDetailBlock.js} +37 -34
- package/dist/components/blocks/BlogIndexBlock.d.ts +3 -0
- package/dist/components/blocks/{EmailVerifiedBlock.js → BlogIndexBlock.js} +3 -3
- package/dist/components/blocks/CallToActionBlock.d.ts +3 -13
- package/dist/components/blocks/CallToActionBlock.js +3 -3
- package/dist/components/blocks/ChangelogBlock.d.ts +3 -16
- package/dist/components/blocks/ChangelogBlock.js +33 -32
- package/dist/components/blocks/ChartBlock.d.ts +3 -16
- package/dist/components/blocks/ChartBlock.js +33 -33
- package/dist/components/blocks/ChartCollectionBlock.d.ts +3 -5
- package/dist/components/blocks/ChartCollectionBlock.js +3 -3
- package/dist/components/blocks/ChatLayout.d.ts +3 -17
- package/dist/components/blocks/ChatLayout.js +33 -33
- package/dist/components/blocks/CheckEmailBlock.d.ts +3 -9
- package/dist/components/blocks/CheckEmailBlock.js +1 -1
- package/dist/components/blocks/CodeBlock.d.ts +3 -7
- package/dist/components/blocks/CodeBlock.js +1 -1
- package/dist/components/blocks/CommandPaletteBlock.d.ts +3 -9
- package/dist/components/blocks/CommandPaletteBlock.js +35 -35
- package/dist/components/blocks/ComparisonBlock.d.ts +3 -13
- package/dist/components/blocks/ComparisonBlock.js +2 -2
- package/dist/components/blocks/ContactBlock.d.ts +3 -17
- package/dist/components/blocks/ContactBlock.js +3 -3
- package/dist/components/blocks/CreateBlock.d.ts +1 -16
- package/dist/components/blocks/CreateBlock.js +32 -33
- package/dist/components/blocks/CrudListBlock.d.ts +3 -0
- package/dist/components/{page-kits/SuccessPageKit.js → blocks/CrudListBlock.js} +40 -33
- package/dist/components/blocks/DashboardBlock.d.ts +3 -0
- package/dist/components/{page-kits/DashboardPageKit.js → blocks/DashboardBlock.js} +47 -48
- package/dist/components/blocks/DataGridBlock.d.ts +3 -10
- package/dist/components/blocks/DataGridBlock.js +35 -36
- package/dist/components/blocks/DirectoryBlock.d.ts +3 -17
- package/dist/components/blocks/DirectoryBlock.js +38 -37
- package/dist/components/blocks/FAQBlock.d.ts +3 -12
- package/dist/components/blocks/FAQBlock.js +33 -33
- package/dist/components/blocks/FeatureBlock.d.ts +3 -23
- package/dist/components/blocks/FeatureBlock.js +32 -32
- package/dist/components/blocks/FooterBlock.d.ts +3 -19
- package/dist/components/blocks/FooterBlock.js +1 -1
- package/dist/components/blocks/FormFieldBlock.d.ts +3 -0
- package/dist/components/{page-kits/MarketingShellPageKit.js → blocks/FormFieldBlock.js} +38 -41
- package/dist/components/blocks/GalleryBlock.d.ts +3 -13
- package/dist/components/blocks/GalleryBlock.js +35 -35
- package/dist/components/blocks/HeaderBlock.d.ts +3 -14
- package/dist/components/blocks/HeaderBlock.js +35 -34
- package/dist/components/blocks/HeatmapChartBlock.d.ts +3 -15
- package/dist/components/blocks/HeatmapChartBlock.js +1 -1
- package/dist/components/blocks/HeroBlock.d.ts +4 -2
- package/dist/components/blocks/HeroBlock.js +35 -35
- package/dist/components/blocks/IntegrationsBlock.d.ts +3 -15
- package/dist/components/blocks/IntegrationsBlock.js +33 -33
- package/dist/components/blocks/InteractiveAreaChartBlock.d.ts +3 -21
- package/dist/components/blocks/InteractiveAreaChartBlock.js +32 -32
- package/dist/components/blocks/LoginBlock.d.ts +3 -41
- package/dist/components/blocks/LoginBlock.js +2 -2
- package/dist/components/blocks/LogoCloud.d.ts +3 -12
- package/dist/components/blocks/LogoCloud.js +6 -2
- package/dist/components/blocks/NewsletterBlock.d.ts +1 -8
- package/dist/components/blocks/NewsletterBlock.js +3 -3
- package/dist/components/blocks/NotFoundBlock.d.ts +3 -9
- package/dist/components/blocks/NotFoundBlock.js +36 -36
- package/dist/components/blocks/OTPBlock.d.ts +3 -10
- package/dist/components/blocks/OTPBlock.js +34 -32
- package/dist/components/blocks/OnboardingBlock.d.ts +1 -14
- package/dist/components/blocks/OnboardingBlock.js +33 -33
- package/dist/components/blocks/OnboardingFlowBlock.d.ts +3 -0
- package/dist/components/blocks/OnboardingFlowBlock.js +127 -0
- package/dist/components/blocks/PasswordRecoveryBlock.d.ts +1 -12
- package/dist/components/blocks/PasswordRecoveryBlock.js +2 -2
- package/dist/components/blocks/PricingBlock.d.ts +1 -19
- package/dist/components/blocks/PricingBlock.js +3 -3
- package/dist/components/blocks/ProcessFlowBlock.d.ts +3 -15
- package/dist/components/blocks/ProcessFlowBlock.js +2 -6
- package/dist/components/blocks/ROICalculatorBlock.d.ts +3 -0
- package/dist/components/blocks/{SavingsCalculatorBlock.js → ROICalculatorBlock.js} +3 -3
- package/dist/components/blocks/ResetPasswordBlock.d.ts +3 -9
- package/dist/components/blocks/ResetPasswordBlock.js +1 -1
- package/dist/components/blocks/SettingsNavBlock.d.ts +3 -0
- package/dist/components/blocks/{SettingsLayout.js → SettingsNavBlock.js} +39 -37
- package/dist/components/blocks/SolutionShowcaseBlock.d.ts +3 -17
- package/dist/components/blocks/SolutionShowcaseBlock.js +2 -2
- package/dist/components/blocks/StatsBlock.d.ts +3 -21
- package/dist/components/blocks/StatsBlock.js +1 -110
- package/dist/components/blocks/StatsMarketingBlock.d.ts +3 -14
- package/dist/components/blocks/StatsMarketingBlock.js +3 -3
- package/dist/components/blocks/TeamBlock.d.ts +3 -16
- package/dist/components/blocks/TeamBlock.js +1 -1
- package/dist/components/blocks/TestimonialsBlock.d.ts +6 -9
- package/dist/components/blocks/TestimonialsBlock.js +15 -2
- package/dist/components/blocks/TimezonePickerBlock.d.ts +3 -11
- package/dist/components/blocks/TimezonePickerBlock.js +35 -35
- package/dist/components/blocks/TwoFactorSetupBlock.d.ts +1 -12
- package/dist/components/blocks/TwoFactorSetupBlock.js +36 -36
- package/dist/components/blocks/UsageDonutBlock.d.ts +3 -16
- package/dist/components/blocks/UsageDonutBlock.js +1 -1
- package/dist/components/blocks/WizardBlock.d.ts +1 -15
- package/dist/components/blocks/WizardBlock.js +32 -32
- package/dist/components/blocks/user/InviteUserModal.d.ts +4 -4
- package/dist/components/blocks/user/InviteUserModal.js +34 -34
- package/dist/components/pages/settings/ProfilePage.d.ts +1 -0
- package/dist/components/pages/settings/TeamPage.d.ts +1 -0
- package/dist/components/ui/Accordion.js +31 -31
- package/dist/components/ui/AgentAvatar.js +2 -72
- package/dist/components/ui/AgentStatus.d.ts +1 -1
- package/dist/components/ui/AgentStatus.js +2 -71
- package/dist/components/ui/AgentTimeline.js +3 -97
- package/dist/components/ui/AlertDialog.js +3 -133
- package/dist/components/ui/AnnouncementBanner.js +4 -46
- package/dist/components/ui/ApprovalCard.js +5 -115
- package/dist/components/ui/AspectRatio.js +1 -5
- package/dist/components/ui/AvatarUpload.js +6 -119
- package/dist/components/ui/BentoGrid.js +4 -28
- package/dist/components/ui/Breadcrumb.js +31 -31
- package/dist/components/ui/ButtonGroup.js +2 -18
- package/dist/components/ui/Calendar.js +31 -31
- package/dist/components/ui/Carousel.js +35 -247
- package/dist/components/ui/ChartCard.js +2 -2
- package/dist/components/ui/ChatActions.js +2 -2
- package/dist/components/ui/ChatGreeting.js +3 -77
- package/dist/components/ui/ChatMessage.d.ts +26 -5
- package/dist/components/ui/ChatMessage.js +3 -95
- package/dist/components/ui/ChatPromptInput.js +4 -191
- package/dist/components/ui/ChatResponse.js +2 -24
- package/dist/components/ui/ChatThinkingMessage.d.ts +25 -6
- package/dist/components/ui/ChatThinkingMessage.js +7 -53
- package/dist/components/ui/ChatToolCall.d.ts +4 -2
- package/dist/components/ui/ChatToolCall.js +13 -190
- package/dist/components/ui/CheckStatus.js +2 -57
- package/dist/components/ui/Checkbox.js +31 -31
- package/dist/components/ui/CheckoutForm.d.ts +3 -7
- package/dist/components/ui/CheckoutForm.js +34 -33
- package/dist/components/ui/CheckoutFormDemo.js +32 -32
- package/dist/components/ui/Combobox.d.ts +2 -1
- package/dist/components/ui/Combobox.js +38 -109
- package/dist/components/ui/Command.js +34 -34
- package/dist/components/ui/ConfettiBurst.js +3 -71
- package/dist/components/ui/ContextMenu.js +34 -215
- package/dist/components/ui/Conversation.js +35 -115
- package/dist/components/ui/DataTable.d.ts +2 -1
- package/dist/components/ui/DataTable.js +33 -33
- package/dist/components/ui/DatePicker.js +31 -31
- package/dist/components/ui/DateRangePicker.js +31 -31
- package/dist/components/ui/Dialog.js +33 -33
- package/dist/components/ui/DiffStat.js +2 -32
- package/dist/components/ui/Drawer.js +3 -116
- package/dist/components/ui/DropdownMenu.js +32 -32
- package/dist/components/ui/FileUpload.js +34 -171
- package/dist/components/ui/FloatingDock.js +3 -100
- package/dist/components/ui/FormWizard.d.ts +5 -13
- package/dist/components/ui/FormWizard.js +1 -1
- package/dist/components/ui/HandoffIndicator.js +4 -42
- package/dist/components/ui/HoverCard.js +2 -23
- package/dist/components/ui/InputGroup.js +2 -36
- package/dist/components/ui/InputOTP.js +31 -31
- package/dist/components/ui/Item.d.ts +1 -1
- package/dist/components/ui/Item.js +2 -176
- package/dist/components/ui/KanbanBoard.d.ts +2 -1
- package/dist/components/ui/KanbanBoard.js +2 -2
- package/dist/components/ui/Kbd.js +2 -17
- package/dist/components/ui/LanguageSwitcher.js +31 -31
- package/dist/components/ui/MagneticElement.js +3 -41
- package/dist/components/ui/MemoryInspector.js +3 -94
- package/dist/components/ui/Menubar.js +34 -257
- package/dist/components/ui/MouseGlow.d.ts +10 -0
- package/dist/components/ui/MouseGlow.js +3 -0
- package/dist/components/ui/{MouseEffect.d.ts → MouseSpotlight.d.ts} +0 -9
- package/dist/components/ui/{MouseEffect.js → MouseSpotlight.js} +1 -1
- package/dist/components/ui/MovingBorder.js +2 -40
- package/dist/components/ui/NavUser.d.ts +4 -0
- package/dist/components/{blocks → ui}/NavUser.js +37 -36
- package/dist/components/ui/NavigationMenu.js +34 -161
- package/dist/components/ui/NotificationCenter.js +34 -136
- package/dist/components/ui/Pagination.js +31 -31
- package/dist/components/ui/ProgressRing.js +4 -128
- package/dist/components/ui/PromoCard.js +4 -41
- package/dist/components/ui/RadioGroup.js +33 -69
- package/dist/components/ui/Resizable.js +34 -68
- package/dist/components/ui/Select.js +31 -31
- package/dist/components/ui/SettingsModal.js +41 -137
- package/dist/components/ui/ShaderBackground.js +4 -71
- package/dist/components/ui/Sheet.d.ts +2 -1
- package/dist/components/ui/Sheet.js +36 -32
- package/dist/components/ui/Sidebar.js +35 -34
- package/dist/components/ui/SourceCitation.js +3 -119
- package/dist/components/ui/SpringHover.js +3 -32
- package/dist/components/ui/StaggeredEntrance.js +2 -23
- package/dist/components/ui/StatusDot.d.ts +1 -1
- package/dist/components/ui/StyleToggle.js +1 -1
- package/dist/components/ui/SuccessCheck.js +3 -52
- package/dist/components/ui/Tabs.d.ts +5 -3
- package/dist/components/ui/Tabs.js +5 -1
- package/dist/components/ui/TagInput.js +35 -132
- package/dist/components/ui/ThemeToggle.d.ts +2 -1
- package/dist/components/ui/ThemeToggle.js +36 -66
- package/dist/components/ui/TiltCard.js +3 -48
- package/dist/components/ui/ToggleGroup.js +3 -56
- package/dist/components/ui/TreeView.js +35 -216
- package/dist/components/ui/Typography.d.ts +1 -1
- package/dist/components/ui/Typography.js +1 -1
- package/dist/components/ui/VoiceAgentCard.d.ts +9 -0
- package/dist/components/{blocks → ui}/VoiceAgentCard.js +2 -2
- package/dist/components/ui/WorkspaceSwitcherBlock.d.ts +3 -0
- package/dist/components/{blocks → ui}/WorkspaceSwitcherBlock.js +36 -35
- package/dist/components/ui/charts/index.js +1 -1
- package/dist/components/ui/icons/index.js +31 -31
- package/dist/components/ui/text-effects/index.js +2 -2
- package/dist/index.js +39 -39
- package/dist/internal/local-image-assets.d.ts +1 -0
- package/dist/lib/json-render/app.d.ts +11 -0
- package/dist/lib/json-render/app.js +7 -0
- package/dist/lib/json-render/catalog.d.ts +1154 -0
- package/dist/lib/json-render/catalog.js +23 -0
- package/dist/lib/json-render/registry.d.ts +1 -0
- package/dist/lib/json-render/registry.js +58 -0
- package/dist/lib/json-render/showcase-spec.d.ts +3 -0
- package/dist/lib/json-render/showcase-spec.js +2 -0
- package/dist/lib/react-utils.d.ts +1 -1
- package/dist/lib/standalone-routes.d.ts +56 -0
- package/dist/lib/standalone-routes.js +1 -0
- package/dist/lib/tool-call-state-map.d.ts +2 -0
- package/dist/lib/tool-call-state-map.js +1 -0
- package/dist/messages/en.js +1 -1
- package/dist/messages/it.js +1 -1
- package/dist/test/PublicSeedTestProvider.js +2 -2
- package/eslint-rules/nadicode/__tests__/rules.test.js +3 -3
- package/eslint-rules/nadicode/data/catalog-names.json +149 -38
- package/eslint-rules/nadicode/rules/__tests__/no-diy-backdrop-blur.test.js +0 -5
- package/eslint-rules/nadicode/rules/__tests__/require-catalog-component.test.js +2 -2
- package/eslint-rules/nadicode/rules/no-diy-backdrop-blur.js +0 -1
- package/eslint-rules/nadicode/rules/no-unregistered-glass.js +4 -6
- package/eslint-rules/nadicode/rules/require-glass-on-floating-ui.js +0 -2
- package/eslint-rules/nadicode/rules/require-metadata-on-page.js +11 -0
- package/eslint-rules/nadicode/rules/require-scroll-containment-on-overlay.js +0 -2
- package/package.json +9 -678
- package/dist/chunk-23M6A7EW.js +0 -30
- package/dist/chunk-3A6CFUG4.js +0 -175
- package/dist/chunk-3UG7AY5B.js +0 -75
- package/dist/chunk-46MPJVJ6.js +0 -115
- package/dist/chunk-4IGBBIYW.js +0 -47
- package/dist/chunk-4JJARNWW.js +0 -138
- package/dist/chunk-4WPZ6T7V.js +0 -186
- package/dist/chunk-567EG267.js +0 -130
- package/dist/chunk-5DWVAAP2.js +0 -60
- package/dist/chunk-5USY2AY2.js +0 -72
- package/dist/chunk-5Y4BOIYO.js +0 -121
- package/dist/chunk-6CDHFSOH.js +0 -60
- package/dist/chunk-7IXYIUQ5.js +0 -114
- package/dist/chunk-7LIF2WZX.js +0 -125
- package/dist/chunk-AN5TW4AL.js +0 -50
- package/dist/chunk-BQLHU3KL.js +0 -96
- package/dist/chunk-CCUXLYZX.js +0 -33
- package/dist/chunk-CI2O2OSW.js +0 -168
- package/dist/chunk-E7RCIX5C.js +0 -150
- package/dist/chunk-EHIKO3CD.js +0 -169
- package/dist/chunk-EYWOKTOY.js +0 -58
- package/dist/chunk-FJP5SRCH.js +0 -40
- package/dist/chunk-G4FB7QSY.js +0 -134
- package/dist/chunk-GI6UL27V.js +0 -126
- package/dist/chunk-GICOWV5M.js +0 -30
- package/dist/chunk-I66XWYSS.js +0 -117
- package/dist/chunk-KA47SVMB.js +0 -149
- package/dist/chunk-KCOMDSQ4.js +0 -86
- package/dist/chunk-KKXYZASY.js +0 -94
- package/dist/chunk-LIJYUSSE.js +0 -152
- package/dist/chunk-LNVZNQCZ.js +0 -124
- package/dist/chunk-LPW5LWX7.js +0 -32
- package/dist/chunk-MX7GIO2A.js +0 -83
- package/dist/chunk-NBQKHIAP.js +0 -120
- package/dist/chunk-O3LHOHLI.js +0 -56
- package/dist/chunk-PYLBCISI.js +0 -165
- package/dist/chunk-PYTNUV2K.js +0 -30
- package/dist/chunk-QOHUG6UP.js +0 -145
- package/dist/chunk-RNZM3QJX.js +0 -101
- package/dist/chunk-SBLQB3A2.js +0 -70
- package/dist/chunk-THN674BW.js +0 -269
- package/dist/chunk-TOLHBTIL.js +0 -30
- package/dist/chunk-UMYGE2DM.js +0 -47
- package/dist/chunk-UO5DYAP7.js +0 -35
- package/dist/chunk-UWLSJLKT.js +0 -147
- package/dist/chunk-V2ORH4K3.js +0 -167
- package/dist/chunk-V3FMLBOA.js +0 -105
- package/dist/chunk-VDP7SAKP.js +0 -164
- package/dist/chunk-XTZMFOHK.js +0 -52
- package/dist/chunk-YOGZZMQS.js +0 -60
- package/dist/chunk-YRQBSMGZ.js +0 -42
- package/dist/chunk-YVS2TJ7I.js +0 -32
- package/dist/chunk-YW2KJAC6.js +0 -159
- package/dist/chunk-Z6PIE2PZ.js +0 -36
- package/dist/chunk-ZBQLUB3B.js +0 -110
- package/dist/chunk-ZXGBPUSM.js +0 -28
- package/dist/components/blocks/AudioVisualizerBlock.d.ts +0 -6
- package/dist/components/blocks/AudioVisualizerBlock.js +0 -3
- package/dist/components/blocks/BarChartBlock.d.ts +0 -15
- package/dist/components/blocks/BarChartBlock.js +0 -10
- package/dist/components/blocks/EmailVerifiedBlock.d.ts +0 -10
- package/dist/components/blocks/FeatureGridBlock.d.ts +0 -14
- package/dist/components/blocks/FeatureGridBlock.js +0 -12
- package/dist/components/blocks/ForgotPasswordBlock.d.ts +0 -14
- package/dist/components/blocks/ForgotPasswordBlock.js +0 -15
- package/dist/components/blocks/HeroSectionBlock.d.ts +0 -19
- package/dist/components/blocks/HeroSectionBlock.js +0 -139
- package/dist/components/blocks/KanbanDemoBlock.d.ts +0 -4
- package/dist/components/blocks/KanbanDemoBlock.js +0 -17
- package/dist/components/blocks/MagicLinkBlock.d.ts +0 -12
- package/dist/components/blocks/MagicLinkBlock.js +0 -18
- package/dist/components/blocks/NavUser.d.ts +0 -18
- package/dist/components/blocks/PasswordChangedBlock.d.ts +0 -10
- package/dist/components/blocks/PasswordChangedBlock.js +0 -10
- package/dist/components/blocks/PricingTableBlock.d.ts +0 -19
- package/dist/components/blocks/PricingTableBlock.js +0 -13
- package/dist/components/blocks/SavingsCalculatorBlock.d.ts +0 -30
- package/dist/components/blocks/SettingsLayout.d.ts +0 -16
- package/dist/components/blocks/SignUpBlock.d.ts +0 -11
- package/dist/components/blocks/SignUpBlock.js +0 -14
- package/dist/components/blocks/SocialProofBlock.d.ts +0 -19
- package/dist/components/blocks/TwoFactorChallengeBlock.d.ts +0 -12
- package/dist/components/blocks/VoiceAgentCard.d.ts +0 -19
- package/dist/components/blocks/WorkspaceSwitcherBlock.d.ts +0 -11
- package/dist/components/page-kits/AccountLockedPageKit.d.ts +0 -10
- package/dist/components/page-kits/AccountLockedPageKit.js +0 -11
- package/dist/components/page-kits/AgentsChatPageKit.d.ts +0 -46
- package/dist/components/page-kits/AgentsChatPageKit.js +0 -142
- package/dist/components/page-kits/AnalyticsPageKit.d.ts +0 -49
- package/dist/components/page-kits/AnalyticsPageKit.js +0 -139
- package/dist/components/page-kits/BlogContentPageKit.d.ts +0 -64
- package/dist/components/page-kits/BlogContentPageKit.js +0 -141
- package/dist/components/page-kits/CheckoutPageKit.d.ts +0 -36
- package/dist/components/page-kits/CheckoutPageKit.js +0 -135
- package/dist/components/page-kits/CompanySuitePageKit.d.ts +0 -25
- package/dist/components/page-kits/CompanySuitePageKit.js +0 -153
- package/dist/components/page-kits/CrudFormPageKit.d.ts +0 -54
- package/dist/components/page-kits/CrudFormPageKit.js +0 -138
- package/dist/components/page-kits/CrudListDetailPageKit.d.ts +0 -70
- package/dist/components/page-kits/CrudListDetailPageKit.js +0 -138
- package/dist/components/page-kits/DashboardPageKit.d.ts +0 -39
- package/dist/components/page-kits/ErrorPageKit.d.ts +0 -22
- package/dist/components/page-kits/ErrorPageKit.js +0 -8
- package/dist/components/page-kits/KanbanBoardPageKit.d.ts +0 -31
- package/dist/components/page-kits/KanbanBoardPageKit.js +0 -143
- package/dist/components/page-kits/LandingPageKit.d.ts +0 -29
- package/dist/components/page-kits/LoginPageKit.d.ts +0 -16
- package/dist/components/page-kits/LoginPageKit.js +0 -14
- package/dist/components/page-kits/MarketingShellPageKit.d.ts +0 -21
- package/dist/components/page-kits/NavigationShellPageKit.d.ts +0 -41
- package/dist/components/page-kits/OnboardingPageKit.d.ts +0 -26
- package/dist/components/page-kits/PricingPageKit.d.ts +0 -41
- package/dist/components/page-kits/PricingPageKit.js +0 -153
- package/dist/components/page-kits/ProfileSettingsPageKit.d.ts +0 -50
- package/dist/components/page-kits/ProfileSettingsPageKit.js +0 -17
- package/dist/components/page-kits/RecoveryPageKit.d.ts +0 -17
- package/dist/components/page-kits/RecoveryPageKit.js +0 -19
- package/dist/components/page-kits/ResetPageKit.d.ts +0 -14
- package/dist/components/page-kits/ResetPageKit.js +0 -19
- package/dist/components/page-kits/ServiceSuitePageKit.d.ts +0 -25
- package/dist/components/page-kits/ServiceSuitePageKit.js +0 -156
- package/dist/components/page-kits/SettingsPageKit.d.ts +0 -27
- package/dist/components/page-kits/SettingsPageKit.js +0 -11
- package/dist/components/page-kits/SignupPageKit.d.ts +0 -15
- package/dist/components/page-kits/SignupPageKit.js +0 -14
- package/dist/components/page-kits/SuccessPageKit.d.ts +0 -15
- package/dist/components/page-kits/TeamSettingsPageKit.d.ts +0 -50
- package/dist/components/page-kits/TwoFactorPageKit.d.ts +0 -16
- package/dist/components/page-kits/VerifyEmailPageKit.d.ts +0 -15
- package/dist/components/page-kits/VoiceAgentsPageKit.d.ts +0 -35
- package/dist/components/page-kits/VoiceAgentsPageKit.js +0 -133
- package/dist/components/ui/AgentMessageBubble.d.ts +0 -37
- package/dist/components/ui/AgentMessageBubble.js +0 -115
- package/dist/components/ui/AnimatedDialog.d.ts +0 -30
- package/dist/components/ui/AnimatedSheet.d.ts +0 -26
- package/dist/components/ui/AnimatedSheet.js +0 -264
- package/dist/components/ui/AnimatedTabs.d.ts +0 -16
- package/dist/components/ui/AuroraEffect.d.ts +0 -9
- package/dist/components/ui/AuroraEffect.js +0 -77
- package/dist/components/ui/ChatPromptInputAttachments.d.ts +0 -9
- package/dist/components/ui/ChatPromptInputAttachments.js +0 -145
- package/dist/components/ui/ConversationThread.d.ts +0 -27
- package/dist/components/ui/ConversationThread.js +0 -99
- package/dist/components/ui/PageTransition.d.ts +0 -9
- package/dist/components/ui/PageTransition.js +0 -56
- package/dist/components/ui/SearchCommand.d.ts +0 -33
- package/dist/components/ui/SearchCommand.js +0 -115
- package/dist/components/ui/ThinkingIndicator.d.ts +0 -14
- package/dist/components/ui/ThinkingIndicator.js +0 -9
- package/dist/components/ui/Toast.d.ts +0 -28
- package/dist/components/ui/Toast.js +0 -115
- package/dist/components/ui/Toaster.d.ts +0 -1
- package/dist/components/ui/Toaster.js +0 -136
- package/dist/components/ui/ToolCallCard.d.ts +0 -16
- package/dist/components/ui/ToolCallCard.js +0 -13
- package/dist/components/ui/VisuallyHidden.d.ts +0 -2
- package/dist/components/ui/VisuallyHidden.js +0 -8
- package/dist/hooks/use-toast.d.ts +0 -44
- package/dist/hooks/use-toast.js +0 -2
- package/dist/{chunk-CQEUNASC.js → chunk-ETS5O4ZQ.js} +1 -1
- package/dist/{chunk-C6MJQDPC.js → chunk-KHLMOBAU.js} +1 -1
- package/dist/{chunk-M4XKO45H.js → chunk-MPVYXUOD.js} +8 -8
- package/dist/{chunk-HZPCTOQJ.js → chunk-TKT6WW4E.js} +1 -1
- package/dist/{chunk-EEL4RAPC.js → chunk-V4NBPGED.js} +8 -8
|
@@ -3,19 +3,15 @@ import { ScrollFadeIn } from './chunk-I23DDSU7.js';
|
|
|
3
3
|
import { Button } from './chunk-7KIDDF3I.js';
|
|
4
4
|
import { CheckIcon } from './chunk-CXACRCZ4.js';
|
|
5
5
|
import { CopyIcon } from './chunk-TV4RSQH4.js';
|
|
6
|
-
import { cn } from './chunk-QYZT24TS.js';
|
|
7
6
|
import * as React from 'react';
|
|
8
7
|
import Prism from 'prismjs';
|
|
9
8
|
import 'prismjs/themes/prism-tomorrow.css';
|
|
10
9
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
11
10
|
|
|
12
|
-
function CodeBlock({
|
|
13
|
-
code
|
|
14
|
-
language = "javascript"
|
|
15
|
-
filename
|
|
16
|
-
className,
|
|
17
|
-
...props
|
|
18
|
-
}) {
|
|
11
|
+
function CodeBlock({ props, emit }) {
|
|
12
|
+
const { code } = props;
|
|
13
|
+
const language = props.language ?? "javascript";
|
|
14
|
+
const filename = props.filename ?? void 0;
|
|
19
15
|
const [copied, setCopied] = React.useState(false);
|
|
20
16
|
const setSafeTimeout = useSafeTimeout();
|
|
21
17
|
React.useEffect(() => {
|
|
@@ -25,15 +21,12 @@ function CodeBlock({
|
|
|
25
21
|
navigator.clipboard.writeText(code);
|
|
26
22
|
setCopied(true);
|
|
27
23
|
setSafeTimeout(() => setCopied(false), 2e3);
|
|
24
|
+
emit("copy");
|
|
28
25
|
};
|
|
29
26
|
return /* @__PURE__ */ jsx(ScrollFadeIn, { children: /* @__PURE__ */ jsxs(
|
|
30
27
|
"div",
|
|
31
28
|
{
|
|
32
|
-
className:
|
|
33
|
-
"relative overflow-hidden rounded-lg glass-panel",
|
|
34
|
-
className
|
|
35
|
-
),
|
|
36
|
-
...props,
|
|
29
|
+
className: "relative overflow-hidden rounded-lg glass-panel",
|
|
37
30
|
children: [
|
|
38
31
|
!!filename && /* @__PURE__ */ jsx("div", { className: "flex items-center justify-between border-b border-border/30 bg-surface-hover px-4 py-2 text-xs text-text-tertiary", children: /* @__PURE__ */ jsx("span", { children: filename }) }),
|
|
39
32
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import { nn } from './chunk-2NMP3J5R.js';
|
|
2
|
+
import { ToggleGroup, ToggleGroupItem } from './chunk-NZXZ3PH2.js';
|
|
3
|
+
import { ThemeToggle } from './chunk-UB6XJTRU.js';
|
|
4
|
+
import { Toggle } from './chunk-73T6GXPA.js';
|
|
5
|
+
import { Pagination, PaginationContent, PaginationItem, PaginationPrevious, PaginationEllipsis, PaginationLink, PaginationNext } from './chunk-2BADJLMV.js';
|
|
6
|
+
import { LanguageSwitcher } from './chunk-SEMWC3IT.js';
|
|
7
|
+
import { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuItem, DropdownMenuShortcut } from './chunk-ETS5O4ZQ.js';
|
|
8
|
+
import { ButtonGroup } from './chunk-JDLCIPSC.js';
|
|
9
|
+
import { Button } from './chunk-7KIDDF3I.js';
|
|
10
|
+
import { useState } from 'react';
|
|
11
|
+
import { useBoundProp } from '@json-render/react';
|
|
12
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
13
|
+
|
|
14
|
+
function getPaginationRange(current, total) {
|
|
15
|
+
if (total <= 7) {
|
|
16
|
+
return Array.from({ length: total }, (_, i) => i + 1);
|
|
17
|
+
}
|
|
18
|
+
const pages = [];
|
|
19
|
+
pages.push(1);
|
|
20
|
+
if (current > 3) pages.push("ellipsis");
|
|
21
|
+
const start = Math.max(2, current - 1);
|
|
22
|
+
const end = Math.min(total - 1, current + 1);
|
|
23
|
+
for (let i = start; i <= end; i++) pages.push(i);
|
|
24
|
+
if (current < total - 2) pages.push("ellipsis");
|
|
25
|
+
pages.push(total);
|
|
26
|
+
return pages;
|
|
27
|
+
}
|
|
28
|
+
var actionComponents = {
|
|
29
|
+
Button: ({
|
|
30
|
+
props,
|
|
31
|
+
emit
|
|
32
|
+
}) => {
|
|
33
|
+
const variantMap = {
|
|
34
|
+
primary: "primary",
|
|
35
|
+
secondary: "secondary",
|
|
36
|
+
outline: "outline",
|
|
37
|
+
ghost: "ghost",
|
|
38
|
+
link: "link",
|
|
39
|
+
destructive: "destructive",
|
|
40
|
+
accent: "accent",
|
|
41
|
+
glass: "glass"
|
|
42
|
+
};
|
|
43
|
+
const variant = (props.variant && variantMap[props.variant]) ?? "primary";
|
|
44
|
+
return /* @__PURE__ */ jsx(
|
|
45
|
+
Button,
|
|
46
|
+
{
|
|
47
|
+
variant,
|
|
48
|
+
size: props.size ?? "default",
|
|
49
|
+
disabled: props.disabled ?? false,
|
|
50
|
+
onClick: () => emit("press"),
|
|
51
|
+
children: props.label
|
|
52
|
+
}
|
|
53
|
+
);
|
|
54
|
+
},
|
|
55
|
+
DropdownMenu: ({
|
|
56
|
+
props,
|
|
57
|
+
bindings,
|
|
58
|
+
emit
|
|
59
|
+
}) => {
|
|
60
|
+
const items = props.items ?? [];
|
|
61
|
+
const [, setBoundValue] = useBoundProp(
|
|
62
|
+
void 0,
|
|
63
|
+
bindings?.value
|
|
64
|
+
);
|
|
65
|
+
const groups = items.reduce((acc, item) => {
|
|
66
|
+
const key = item.group ?? "";
|
|
67
|
+
if (!acc[key]) acc[key] = [];
|
|
68
|
+
acc[key].push(item);
|
|
69
|
+
return acc;
|
|
70
|
+
}, {});
|
|
71
|
+
const groupKeys = Object.keys(groups);
|
|
72
|
+
return /* @__PURE__ */ jsxs(DropdownMenu, { children: [
|
|
73
|
+
/* @__PURE__ */ jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx(Button, { variant: "outline", children: props.trigger }) }),
|
|
74
|
+
/* @__PURE__ */ jsx(DropdownMenuContent, { children: groupKeys.map((groupKey, idx) => /* @__PURE__ */ jsxs("div", { children: [
|
|
75
|
+
!!groupKey && /* @__PURE__ */ jsx(DropdownMenuLabel, { children: groupKey }),
|
|
76
|
+
idx > 0 && !groupKey && /* @__PURE__ */ jsx(DropdownMenuSeparator, {}),
|
|
77
|
+
groups[groupKey].map((item) => /* @__PURE__ */ jsxs(
|
|
78
|
+
DropdownMenuItem,
|
|
79
|
+
{
|
|
80
|
+
disabled: item.disabled ?? false,
|
|
81
|
+
onClick: () => {
|
|
82
|
+
setBoundValue(item.value);
|
|
83
|
+
emit("select");
|
|
84
|
+
},
|
|
85
|
+
children: [
|
|
86
|
+
item.label,
|
|
87
|
+
item.shortcut && /* @__PURE__ */ jsx(DropdownMenuShortcut, { children: item.shortcut })
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
item.value
|
|
91
|
+
))
|
|
92
|
+
] }, groupKey || idx)) })
|
|
93
|
+
] });
|
|
94
|
+
},
|
|
95
|
+
LanguageSwitcher: ({
|
|
96
|
+
props,
|
|
97
|
+
bindings,
|
|
98
|
+
emit
|
|
99
|
+
}) => {
|
|
100
|
+
const [boundLocale, setBoundLocale] = useBoundProp(
|
|
101
|
+
props.locale,
|
|
102
|
+
bindings?.locale
|
|
103
|
+
);
|
|
104
|
+
const [localLocale, setLocalLocale] = useState(props.locale ?? "");
|
|
105
|
+
const isBound = !!bindings?.locale;
|
|
106
|
+
const locale = isBound ? boundLocale ?? "" : localLocale;
|
|
107
|
+
const setLocale = isBound ? setBoundLocale : setLocalLocale;
|
|
108
|
+
return /* @__PURE__ */ jsx(
|
|
109
|
+
LanguageSwitcher,
|
|
110
|
+
{
|
|
111
|
+
locales: nn(props.locales),
|
|
112
|
+
value: locale || void 0,
|
|
113
|
+
onLocaleChange: (next) => {
|
|
114
|
+
setLocale(next);
|
|
115
|
+
emit("change");
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
);
|
|
119
|
+
},
|
|
120
|
+
Pagination: ({
|
|
121
|
+
props,
|
|
122
|
+
bindings,
|
|
123
|
+
emit
|
|
124
|
+
}) => {
|
|
125
|
+
const [boundPage, setBoundPage] = useBoundProp(
|
|
126
|
+
props.current,
|
|
127
|
+
bindings?.current
|
|
128
|
+
);
|
|
129
|
+
const [localPage, setLocalPage] = useState(props.current ?? 1);
|
|
130
|
+
const isBound = !!bindings?.current;
|
|
131
|
+
const currentPage = isBound ? boundPage ?? 1 : localPage;
|
|
132
|
+
const setPage = isBound ? setBoundPage : setLocalPage;
|
|
133
|
+
const totalPages = Math.max(1, Math.ceil((props.total ?? 0) / (props.pageSize ?? 10)));
|
|
134
|
+
const pages = getPaginationRange(currentPage, totalPages);
|
|
135
|
+
return /* @__PURE__ */ jsx(Pagination, { children: /* @__PURE__ */ jsxs(PaginationContent, { children: [
|
|
136
|
+
/* @__PURE__ */ jsx(PaginationItem, { children: /* @__PURE__ */ jsx(
|
|
137
|
+
PaginationPrevious,
|
|
138
|
+
{
|
|
139
|
+
href: "#",
|
|
140
|
+
onClick: (e) => {
|
|
141
|
+
e.preventDefault();
|
|
142
|
+
if (currentPage > 1) {
|
|
143
|
+
setPage(currentPage - 1);
|
|
144
|
+
emit("change");
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
) }),
|
|
149
|
+
pages.map(
|
|
150
|
+
(page, idx) => page === "ellipsis" ? /* @__PURE__ */ jsx(PaginationItem, { children: /* @__PURE__ */ jsx(PaginationEllipsis, {}) }, `ellipsis-${idx}`) : /* @__PURE__ */ jsx(PaginationItem, { children: /* @__PURE__ */ jsx(
|
|
151
|
+
PaginationLink,
|
|
152
|
+
{
|
|
153
|
+
href: "#",
|
|
154
|
+
isActive: page === currentPage,
|
|
155
|
+
onClick: (e) => {
|
|
156
|
+
e.preventDefault();
|
|
157
|
+
setPage(page);
|
|
158
|
+
emit("change");
|
|
159
|
+
},
|
|
160
|
+
children: page
|
|
161
|
+
}
|
|
162
|
+
) }, page)
|
|
163
|
+
),
|
|
164
|
+
/* @__PURE__ */ jsx(PaginationItem, { children: /* @__PURE__ */ jsx(
|
|
165
|
+
PaginationNext,
|
|
166
|
+
{
|
|
167
|
+
href: "#",
|
|
168
|
+
onClick: (e) => {
|
|
169
|
+
e.preventDefault();
|
|
170
|
+
if (currentPage < totalPages) {
|
|
171
|
+
setPage(currentPage + 1);
|
|
172
|
+
emit("change");
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
) })
|
|
177
|
+
] }) });
|
|
178
|
+
},
|
|
179
|
+
Toggle: ({
|
|
180
|
+
props,
|
|
181
|
+
bindings,
|
|
182
|
+
emit
|
|
183
|
+
}) => {
|
|
184
|
+
const [boundPressed, setBoundPressed] = useBoundProp(
|
|
185
|
+
props.pressed,
|
|
186
|
+
bindings?.pressed
|
|
187
|
+
);
|
|
188
|
+
const [localPressed, setLocalPressed] = useState(props.pressed ?? false);
|
|
189
|
+
const isBound = !!bindings?.pressed;
|
|
190
|
+
const pressed = isBound ? boundPressed ?? false : localPressed;
|
|
191
|
+
const setPressed = isBound ? setBoundPressed : setLocalPressed;
|
|
192
|
+
return /* @__PURE__ */ jsx(
|
|
193
|
+
Toggle,
|
|
194
|
+
{
|
|
195
|
+
variant: props.variant ?? "default",
|
|
196
|
+
size: props.size ?? "default",
|
|
197
|
+
disabled: props.disabled ?? false,
|
|
198
|
+
pressed,
|
|
199
|
+
onPressedChange: (v) => {
|
|
200
|
+
setPressed(v);
|
|
201
|
+
emit("toggle");
|
|
202
|
+
},
|
|
203
|
+
children: props.label ?? null
|
|
204
|
+
}
|
|
205
|
+
);
|
|
206
|
+
},
|
|
207
|
+
ToggleGroup: ({
|
|
208
|
+
props,
|
|
209
|
+
bindings,
|
|
210
|
+
emit
|
|
211
|
+
}) => {
|
|
212
|
+
const type = props.type ?? "single";
|
|
213
|
+
const items = props.items ?? [];
|
|
214
|
+
const [boundValue, setBoundValue] = useBoundProp(
|
|
215
|
+
typeof props.value === "string" ? props.value : void 0,
|
|
216
|
+
bindings?.value
|
|
217
|
+
);
|
|
218
|
+
const [localValue, setLocalValue] = useState(
|
|
219
|
+
typeof props.value === "string" ? props.value : items[0]?.value ?? ""
|
|
220
|
+
);
|
|
221
|
+
const isBound = !!bindings?.value;
|
|
222
|
+
const value = isBound ? boundValue ?? "" : localValue;
|
|
223
|
+
const setValue = isBound ? setBoundValue : setLocalValue;
|
|
224
|
+
if (type === "multiple") {
|
|
225
|
+
const selected = value ? value.split(",").filter(Boolean) : [];
|
|
226
|
+
return /* @__PURE__ */ jsx(
|
|
227
|
+
ToggleGroup,
|
|
228
|
+
{
|
|
229
|
+
type: "multiple",
|
|
230
|
+
variant: props.variant ?? "default",
|
|
231
|
+
size: props.size ?? "default",
|
|
232
|
+
value: selected,
|
|
233
|
+
onValueChange: (v) => {
|
|
234
|
+
setValue(v.join(","));
|
|
235
|
+
emit("change");
|
|
236
|
+
},
|
|
237
|
+
children: items.map((item) => /* @__PURE__ */ jsx(
|
|
238
|
+
ToggleGroupItem,
|
|
239
|
+
{
|
|
240
|
+
value: item.value,
|
|
241
|
+
disabled: item.disabled ?? false,
|
|
242
|
+
children: item.label
|
|
243
|
+
},
|
|
244
|
+
item.value
|
|
245
|
+
))
|
|
246
|
+
}
|
|
247
|
+
);
|
|
248
|
+
}
|
|
249
|
+
return /* @__PURE__ */ jsx(
|
|
250
|
+
ToggleGroup,
|
|
251
|
+
{
|
|
252
|
+
type: "single",
|
|
253
|
+
variant: props.variant ?? "default",
|
|
254
|
+
size: props.size ?? "default",
|
|
255
|
+
value,
|
|
256
|
+
onValueChange: (v) => {
|
|
257
|
+
if (v) {
|
|
258
|
+
setValue(v);
|
|
259
|
+
emit("change");
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
children: items.map((item) => /* @__PURE__ */ jsx(
|
|
263
|
+
ToggleGroupItem,
|
|
264
|
+
{
|
|
265
|
+
value: item.value,
|
|
266
|
+
disabled: item.disabled ?? false,
|
|
267
|
+
children: item.label
|
|
268
|
+
},
|
|
269
|
+
item.value
|
|
270
|
+
))
|
|
271
|
+
}
|
|
272
|
+
);
|
|
273
|
+
},
|
|
274
|
+
ButtonGroup: ({ props, children }) => {
|
|
275
|
+
return /* @__PURE__ */ jsx(ButtonGroup, { className: nn(props.className), children });
|
|
276
|
+
},
|
|
277
|
+
ThemeToggle: ({ props, emit }) => {
|
|
278
|
+
return /* @__PURE__ */ jsx(ThemeToggle, { className: nn(props.className), onChange: () => emit("change") });
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
export { actionComponents };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { cn } from './chunk-QYZT24TS.js';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
function InputGroup({
|
|
5
|
+
className,
|
|
6
|
+
ref,
|
|
7
|
+
...props
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ jsx(
|
|
10
|
+
"div",
|
|
11
|
+
{
|
|
12
|
+
ref,
|
|
13
|
+
className: cn("flex w-full items-center", className),
|
|
14
|
+
...props
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
function InputGroupAddon({
|
|
19
|
+
className,
|
|
20
|
+
ref,
|
|
21
|
+
...props
|
|
22
|
+
}) {
|
|
23
|
+
return /* @__PURE__ */ jsx(
|
|
24
|
+
"div",
|
|
25
|
+
{
|
|
26
|
+
ref,
|
|
27
|
+
className: cn(
|
|
28
|
+
"flex h-9 items-center justify-center border border-border bg-secondary px-4 py-1.5 text-sm text-text-secondary first:rounded-l-md last:rounded-r-md first:border-r-0 last:border-l-0",
|
|
29
|
+
className
|
|
30
|
+
),
|
|
31
|
+
...props
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { InputGroup, InputGroupAddon };
|
|
@@ -1,24 +1,34 @@
|
|
|
1
1
|
import { getTimezoneGroups } from './chunk-PTJPPKDR.js';
|
|
2
2
|
import { Popover, PopoverTrigger, PopoverContent } from './chunk-UYT33NG6.js';
|
|
3
|
-
import { Command } from './chunk-
|
|
3
|
+
import { Command } from './chunk-37LY27CX.js';
|
|
4
4
|
import { Button } from './chunk-7KIDDF3I.js';
|
|
5
5
|
import { Badge } from './chunk-S4JAHKOP.js';
|
|
6
6
|
import { cn } from './chunk-QYZT24TS.js';
|
|
7
7
|
import { useState, useMemo } from 'react';
|
|
8
|
+
import { useBoundProp } from '@json-render/react';
|
|
8
9
|
import { Command as Command$1 } from 'cmdk';
|
|
9
10
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
10
11
|
|
|
11
12
|
var DEFAULT_GROUPS = getTimezoneGroups();
|
|
12
13
|
function TimezonePickerBlock({
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
name,
|
|
17
|
-
className,
|
|
18
|
-
groups = DEFAULT_GROUPS
|
|
14
|
+
props,
|
|
15
|
+
bindings,
|
|
16
|
+
emit
|
|
19
17
|
}) {
|
|
18
|
+
const valueProp = props.value ?? void 0;
|
|
19
|
+
const name = props.name ?? void 0;
|
|
20
|
+
const groups = props.groups ?? void 0;
|
|
21
|
+
const [boundValue, setBoundValue] = useBoundProp(
|
|
22
|
+
valueProp,
|
|
23
|
+
bindings?.value
|
|
24
|
+
);
|
|
25
|
+
const [localValue, setLocalValue] = useState(void 0);
|
|
26
|
+
const isBound = !!bindings?.value;
|
|
27
|
+
const value = isBound ? boundValue : valueProp ?? localValue;
|
|
28
|
+
const setValue = isBound ? setBoundValue : setLocalValue;
|
|
29
|
+
const resolvedGroups = groups ?? DEFAULT_GROUPS;
|
|
20
30
|
const [open, setOpen] = useState(false);
|
|
21
|
-
const entries = useMemo(() =>
|
|
31
|
+
const entries = useMemo(() => resolvedGroups.flatMap((group) => group.timezones), [resolvedGroups]);
|
|
22
32
|
const selectedTimezone = useMemo(
|
|
23
33
|
() => entries.find((timezone) => timezone.value === value) ?? null,
|
|
24
34
|
[entries, value]
|
|
@@ -29,13 +39,12 @@ function TimezonePickerBlock({
|
|
|
29
39
|
/* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
|
|
30
40
|
Button,
|
|
31
41
|
{
|
|
32
|
-
id,
|
|
33
42
|
type: "button",
|
|
34
43
|
variant: "outline",
|
|
35
44
|
role: "combobox",
|
|
36
45
|
"aria-expanded": open,
|
|
37
46
|
"aria-label": "Select timezone",
|
|
38
|
-
className: cn("w-full justify-between text-left"
|
|
47
|
+
className: cn("w-full justify-between text-left"),
|
|
39
48
|
children: [
|
|
40
49
|
/* @__PURE__ */ jsx("span", { className: "truncate", children: selectedTimezone ? `${selectedTimezone.value} (${selectedTimezone.offset})` : "Select timezone" }),
|
|
41
50
|
/* @__PURE__ */ jsx("span", { className: "ml-2 shrink-0 opacity-50", "aria-hidden": "true", children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 20 20", width: "14", height: "14", fill: "none", stroke: "currentColor", children: [
|
|
@@ -55,7 +64,7 @@ function TimezonePickerBlock({
|
|
|
55
64
|
) }),
|
|
56
65
|
/* @__PURE__ */ jsxs(Command$1.List, { className: "max-h-80 overflow-y-auto overflow-x-hidden", children: [
|
|
57
66
|
/* @__PURE__ */ jsx(Command$1.Empty, { className: "py-6 text-center text-sm", children: "No timezone found." }),
|
|
58
|
-
|
|
67
|
+
resolvedGroups.map((group) => /* @__PURE__ */ jsx(
|
|
59
68
|
Command$1.Group,
|
|
60
69
|
{
|
|
61
70
|
heading: /* @__PURE__ */ jsx(Badge, { variant: "secondary", children: group.region }),
|
|
@@ -65,7 +74,8 @@ function TimezonePickerBlock({
|
|
|
65
74
|
{
|
|
66
75
|
value: `${timezone.value} ${timezone.label} ${timezone.region} ${timezone.offset}`,
|
|
67
76
|
onSelect: () => {
|
|
68
|
-
|
|
77
|
+
setValue(timezone.value);
|
|
78
|
+
emit("change");
|
|
69
79
|
setOpen(false);
|
|
70
80
|
},
|
|
71
81
|
className: "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-background data-[disabled=true]:pointer-events-none data-[selected='true']:bg-surface-active data-[selected=true]:text-text-primary data-[disabled=true]:opacity-50",
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { overlayDefinitions } from './chunk-LYI5YMC6.js';
|
|
2
|
+
import { textEffectsDefinitions } from './chunk-UXYLA2IV.js';
|
|
3
|
+
import { textDefinitions } from './chunk-YXRIXTXW.js';
|
|
4
|
+
import { chartDefinitions } from './chunk-UQB54LIA.js';
|
|
5
|
+
import { chatDefinitions } from './chunk-6KRT337C.js';
|
|
6
|
+
import { displayDefinitions } from './chunk-W4KI424V.js';
|
|
7
|
+
import { effectsDefinitions } from './chunk-7SOMHO2L.js';
|
|
8
|
+
import { formDefinitions } from './chunk-XI775QZZ.js';
|
|
9
|
+
import { layoutDefinitions } from './chunk-P7JS4B7U.js';
|
|
10
|
+
import { navigationDefinitions } from './chunk-QCL76CM6.js';
|
|
11
|
+
import { agentDefinitions } from './chunk-5XDYCBR6.js';
|
|
12
|
+
import { blocksAgentDefinitions } from './chunk-XYYZRQES.js';
|
|
13
|
+
import { blocksAuthDefinitions } from './chunk-VUNXVYOH.js';
|
|
14
|
+
import { blocksContentDefinitions } from './chunk-UOUERAB4.js';
|
|
15
|
+
import { blocksCrudDefinitions } from './chunk-UGXI4PES.js';
|
|
16
|
+
import { blocksDataDefinitions } from './chunk-ZND7AAWG.js';
|
|
17
|
+
import { blocksMarketingDefinitions } from './chunk-FAKTXE3F.js';
|
|
18
|
+
import { blocksMiscDefinitions } from './chunk-WAIZR4CR.js';
|
|
19
|
+
import { actionDefinitions } from './chunk-XLIFWBE7.js';
|
|
20
|
+
|
|
21
|
+
// src/catalog/definitions/index.ts
|
|
22
|
+
var allDefinitions = {
|
|
23
|
+
...displayDefinitions,
|
|
24
|
+
...layoutDefinitions,
|
|
25
|
+
...textDefinitions,
|
|
26
|
+
...formDefinitions,
|
|
27
|
+
...actionDefinitions,
|
|
28
|
+
...overlayDefinitions,
|
|
29
|
+
...navigationDefinitions,
|
|
30
|
+
...effectsDefinitions,
|
|
31
|
+
...agentDefinitions,
|
|
32
|
+
...chartDefinitions,
|
|
33
|
+
...textEffectsDefinitions,
|
|
34
|
+
...chatDefinitions,
|
|
35
|
+
...blocksAuthDefinitions,
|
|
36
|
+
...blocksMarketingDefinitions,
|
|
37
|
+
...blocksDataDefinitions,
|
|
38
|
+
...blocksCrudDefinitions,
|
|
39
|
+
...blocksAgentDefinitions,
|
|
40
|
+
...blocksContentDefinitions,
|
|
41
|
+
...blocksMiscDefinitions
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export { allDefinitions };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StaggerChildren } from './chunk-DQPK2XRL.js';
|
|
2
2
|
import { Heading } from './chunk-UXX6HHPS.js';
|
|
3
|
-
import { ScrollFadeIn } from './chunk-I23DDSU7.js';
|
|
4
3
|
import { Card, CardHeader, CardContent } from './chunk-7UY24UWL.js';
|
|
4
|
+
import { ScrollFadeIn } from './chunk-I23DDSU7.js';
|
|
5
5
|
import { SparklesIcon } from './chunk-CGUCH322.js';
|
|
6
6
|
import { RocketIcon } from './chunk-QPXTBZWN.js';
|
|
7
7
|
import { CheckIcon } from './chunk-CXACRCZ4.js';
|
|
@@ -10,6 +10,15 @@ import { Badge } from './chunk-S4JAHKOP.js';
|
|
|
10
10
|
import { cn } from './chunk-QYZT24TS.js';
|
|
11
11
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
|
+
var SECTION_ICON_MAP = {
|
|
14
|
+
AlertTriangleIcon: /* @__PURE__ */ jsx(AlertTriangleIcon, { size: 20, "aria-hidden": true }),
|
|
15
|
+
SparklesIcon: /* @__PURE__ */ jsx(SparklesIcon, { size: 20, "aria-hidden": true }),
|
|
16
|
+
RocketIcon: /* @__PURE__ */ jsx(RocketIcon, { size: 20, "aria-hidden": true })
|
|
17
|
+
};
|
|
18
|
+
function resolveSectionIcon(iconKey) {
|
|
19
|
+
if (!iconKey) return null;
|
|
20
|
+
return SECTION_ICON_MAP[iconKey] ?? null;
|
|
21
|
+
}
|
|
13
22
|
var sectionStyles = [
|
|
14
23
|
{ border: "border-destructive/30", badgeVariant: "destructive" },
|
|
15
24
|
{ border: "border-accent/30", badgeVariant: "accent" },
|
|
@@ -17,7 +26,7 @@ var sectionStyles = [
|
|
|
17
26
|
];
|
|
18
27
|
var defaultSections = [
|
|
19
28
|
{
|
|
20
|
-
icon:
|
|
29
|
+
icon: "AlertTriangleIcon",
|
|
21
30
|
label: "The Problem",
|
|
22
31
|
title: "Manual processes drain your team",
|
|
23
32
|
description: "Repetitive tasks consume valuable hours that could be spent on strategic work.",
|
|
@@ -28,7 +37,7 @@ var defaultSections = [
|
|
|
28
37
|
]
|
|
29
38
|
},
|
|
30
39
|
{
|
|
31
|
-
icon:
|
|
40
|
+
icon: "SparklesIcon",
|
|
32
41
|
label: "Our Solution",
|
|
33
42
|
title: "AI workers that integrate seamlessly",
|
|
34
43
|
description: "Purpose-built digital workers that slot into your existing workflows.",
|
|
@@ -39,7 +48,7 @@ var defaultSections = [
|
|
|
39
48
|
]
|
|
40
49
|
},
|
|
41
50
|
{
|
|
42
|
-
icon:
|
|
51
|
+
icon: "RocketIcon",
|
|
43
52
|
label: "The Output",
|
|
44
53
|
title: "Measurable business impact",
|
|
45
54
|
description: "Concrete results from day one, with continuous improvement over time.",
|
|
@@ -50,14 +59,12 @@ var defaultSections = [
|
|
|
50
59
|
]
|
|
51
60
|
}
|
|
52
61
|
];
|
|
53
|
-
function SolutionShowcaseBlock({
|
|
54
|
-
title = "How we deliver results"
|
|
55
|
-
description = "A proven three-stage approach that transforms how your team operates."
|
|
56
|
-
badge
|
|
57
|
-
sections = defaultSections
|
|
58
|
-
className
|
|
59
|
-
}) {
|
|
60
|
-
return /* @__PURE__ */ jsx(ScrollFadeIn, { children: /* @__PURE__ */ jsx("section", { className: cn("py-16 md:py-32", className), children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-5xl px-6", children: [
|
|
62
|
+
function SolutionShowcaseBlock({ props }) {
|
|
63
|
+
const title = props.title ?? "How we deliver results";
|
|
64
|
+
const description = props.description ?? "A proven three-stage approach that transforms how your team operates.";
|
|
65
|
+
const badge = props.badge ?? void 0;
|
|
66
|
+
const sections = props.sections ?? defaultSections;
|
|
67
|
+
return /* @__PURE__ */ jsx(ScrollFadeIn, { children: /* @__PURE__ */ jsx("section", { className: "py-16 md:py-32", children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-5xl px-6", children: [
|
|
61
68
|
/* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
62
69
|
!!badge && /* @__PURE__ */ jsx(Badge, { variant: "outline", className: "mb-4", children: badge }),
|
|
63
70
|
/* @__PURE__ */ jsx(Heading, { level: 2, size: "section", className: "text-4xl lg:text-5xl", children: title }),
|
|
@@ -75,7 +82,7 @@ function SolutionShowcaseBlock({
|
|
|
75
82
|
children: [
|
|
76
83
|
/* @__PURE__ */ jsxs(CardHeader, { className: "gap-4 p-0 pb-4", children: [
|
|
77
84
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
78
|
-
section.icon && /* @__PURE__ */ jsx("span", { className: "text-text-secondary", children: section.icon }),
|
|
85
|
+
section.icon && /* @__PURE__ */ jsx("span", { className: "text-text-secondary", children: resolveSectionIcon(section.icon) }),
|
|
79
86
|
/* @__PURE__ */ jsx(Badge, { variant: style.badgeVariant, children: section.label })
|
|
80
87
|
] }),
|
|
81
88
|
/* @__PURE__ */ jsx(Heading, { level: 3, size: "subsection", className: "text-xl sm:text-2xl", children: section.title })
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PieChart } from './chunk-O4QTL2EQ.js';
|
|
2
2
|
import { Empty, EmptyTitle, EmptyDescription } from './chunk-4TF4QFIM.js';
|
|
3
3
|
import { Card, CardHeader, CardTitle, CardDescription, CardContent } from './chunk-7UY24UWL.js';
|
|
4
|
-
import { cn } from './chunk-QYZT24TS.js';
|
|
5
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
6
5
|
|
|
7
6
|
var defaultData = [
|
|
@@ -28,22 +27,15 @@ var defaultConfig = {
|
|
|
28
27
|
color: "rgb(var(--chart-4))"
|
|
29
28
|
}
|
|
30
29
|
};
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
config = defaultConfig,
|
|
41
|
-
title = "Storage",
|
|
42
|
-
description = "Distribution of data types",
|
|
43
|
-
centerLabel = defaultCenterLabel,
|
|
44
|
-
className
|
|
45
|
-
}) {
|
|
46
|
-
return /* @__PURE__ */ jsxs(Card, { className: cn("w-full max-w-[350px]", className), children: [
|
|
30
|
+
function UsageDonutBlock({ props }) {
|
|
31
|
+
const data = props.data ?? defaultData;
|
|
32
|
+
const config = props.config ?? defaultConfig;
|
|
33
|
+
const title = props.title ?? "Storage";
|
|
34
|
+
const description = props.description ?? "Distribution of data types";
|
|
35
|
+
const centerValue = props.centerValue ?? "1.2";
|
|
36
|
+
const centerUnit = props.centerUnit ?? "GB";
|
|
37
|
+
const centerLabel = props.centerLabel ?? "Used";
|
|
38
|
+
return /* @__PURE__ */ jsxs(Card, { className: "w-full max-w-[350px]", children: [
|
|
47
39
|
/* @__PURE__ */ jsxs(CardHeader, { children: [
|
|
48
40
|
/* @__PURE__ */ jsx(CardTitle, { children: title }),
|
|
49
41
|
/* @__PURE__ */ jsx(CardDescription, { children: description })
|
|
@@ -66,7 +58,13 @@ function UsageDonutBlock({
|
|
|
66
58
|
className: "mx-auto aspect-square max-h-[240px]"
|
|
67
59
|
}
|
|
68
60
|
),
|
|
69
|
-
/* @__PURE__ */
|
|
61
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute inset-0 flex flex-col items-center justify-center pointer-events-none", children: [
|
|
62
|
+
/* @__PURE__ */ jsxs("span", { className: "text-3xl font-semibold text-text-primary", children: [
|
|
63
|
+
centerValue,
|
|
64
|
+
/* @__PURE__ */ jsx("span", { className: "text-lg text-text-secondary", children: centerUnit })
|
|
65
|
+
] }),
|
|
66
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs text-text-tertiary uppercase tracking-wider", children: centerLabel })
|
|
67
|
+
] })
|
|
70
68
|
] }),
|
|
71
69
|
/* @__PURE__ */ jsx("div", { className: "mt-4 grid grid-cols-2 gap-2 text-sm", children: data.map((item) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-text-secondary", children: [
|
|
72
70
|
/* @__PURE__ */ jsx("div", { className: "h-2.5 w-2.5 rounded-full", style: { backgroundColor: item.fill } }),
|