@e-burgos/tucu-ui 2.0.9 → 2.0.11
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/CHANGELOG.md +163 -0
- package/components/layouts/macos-layout/index.d.ts +5 -3
- package/components/layouts/macos-layout/macos-sonoma-clean-layout.d.ts +7 -0
- package/components/layouts/macos-layout/macos-tahoe-clean-layout.d.ts +7 -0
- package/components/list/list-container.d.ts +2 -0
- package/components/macos/tahoe/foundations/background.d.ts +7 -23
- package/demo/pages/design-system/design-system-sections/BackgroundsSection.d.ts +3 -0
- package/documentation/{APIReferenceSection-DQ9eEJU3.js → APIReferenceSection-D-0yFcGB.js} +1 -1
- package/documentation/{APIReferenceSection-DNlAQ8GG.js → APIReferenceSection-atXRbZ3K.js} +1 -1
- package/documentation/{ActiveLinkSection-ClQ5IBOo.js → ActiveLinkSection-DfDLkxts.js} +1 -1
- package/documentation/{ActiveLinkSection-ZQgU44Mo.js → ActiveLinkSection-DzIK-w3U.js} +1 -1
- package/documentation/{AdvancedColorSystemSection-D-6qlD3s.js → AdvancedColorSystemSection-Bf729JeV.js} +1 -1
- package/documentation/{AdvancedColorSystemSection-BT-UpUVF.js → AdvancedColorSystemSection-BhT4nZB1.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-D2ZWLXY5.js → AdvancedFeaturesSection-BFMW48vw.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-B5wK85Bl.js → AdvancedFeaturesSection-BKGD3z9z.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-mfiPnKVY.js → AdvancedFeaturesSection-ChbswzIX.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-mbP5hR-H.js → AdvancedFeaturesSection-Dz1_1lrC.js} +1 -1
- package/documentation/{AlertSection-BBto0fHS.js → AlertSection-PCql-dTz.js} +1 -1
- package/documentation/{AlertSection-D4Gq9upX.js → AlertSection-cU2Ed_fE.js} +1 -1
- package/documentation/{AnchorLinkSection-DSCjeuS9.js → AnchorLinkSection-Cs8t_LkK.js} +1 -1
- package/documentation/{AnchorLinkSection-k40j2vM0.js → AnchorLinkSection-DA-Q9PB2.js} +1 -1
- package/documentation/{ArchitecturalPatternsComparisonSection-Doa_MJjU.js → ArchitecturalPatternsComparisonSection-Ckw-hj50.js} +6 -4
- package/documentation/{ArchitecturalPatternsComparisonSection-DesoQ7S_.js → ArchitecturalPatternsComparisonSection-l5Wrr7He.js} +1 -1
- package/documentation/{ArchitectureOverviewSection-DUkNwRmR.js → ArchitectureOverviewSection-2GHOBuT3.js} +1 -1
- package/documentation/{ArchitectureOverviewSection-Cu_PStpk.js → ArchitectureOverviewSection-BXXzg8Af.js} +1 -1
- package/documentation/{AreaChartSection-BDVO57jx.js → AreaChartSection-B1G50vNb.js} +1 -1
- package/documentation/{AreaChartSection-C4ruqExr.js → AreaChartSection-DHp2cGnI.js} +1 -1
- package/documentation/{AuthorCardSection-DpUU5KDU.js → AuthorCardSection-DD1rPOTi.js} +1 -1
- package/documentation/{AuthorCardSection-cB8Liia6.js → AuthorCardSection-DKWXsN5r.js} +1 -1
- package/documentation/{AvatarSection-DZCiBPX4.js → AvatarSection-CEy3tSFZ.js} +1 -1
- package/documentation/{AvatarSection-DpUjg_yW.js → AvatarSection-D6q5cCro.js} +1 -1
- package/documentation/BackgroundsSection-DIO489vW.js +6 -0
- package/documentation/BackgroundsSection-ml2K7sVT.js +367 -0
- package/documentation/{BadgeSection-Cteg--jV.js → BadgeSection-D87SEfxH.js} +1 -1
- package/documentation/{BadgeSection-B7mtSvQv.js → BadgeSection-Nan3Lkev.js} +1 -1
- package/documentation/{BarChartSection-rkETKOO2.js → BarChartSection-CDVExS5W.js} +1 -1
- package/documentation/{BarChartSection-Clrho1um.js → BarChartSection-kjXT_9gz.js} +1 -1
- package/documentation/{BasicTableSection-Cf3FcRGV.js → BasicTableSection-6_00z3Ow.js} +1 -1
- package/documentation/{BasicTableSection-7S3mV6WL.js → BasicTableSection-BZZ4LZPr.js} +1 -1
- package/documentation/{BasicUsageSection-C04Vk4Xo.js → BasicUsageSection-C0jPVah2.js} +3 -3
- package/documentation/{BasicUsageSection-D_OADsjB.js → BasicUsageSection-DxI1q1Q2.js} +38 -52
- package/documentation/{BestPracticesSection-BiznpoaJ.js → BestPracticesSection-BR4dbFpB.js} +1 -1
- package/documentation/{BestPracticesSection-CNwUYNOW.js → BestPracticesSection-BgPOX_gI.js} +1 -1
- package/documentation/{BestPracticesSection-41CW61J-.js → BestPracticesSection-Bi5xrYmy.js} +1 -1
- package/documentation/{BestPracticesSection-BJUyOw5K.js → BestPracticesSection-CDbUzkng.js} +1 -1
- package/documentation/{BestPracticesSection-wKpFsyId.js → BestPracticesSection-CJYUqkS3.js} +1 -1
- package/documentation/{BestPracticesSection-hs6vGhuu.js → BestPracticesSection-CKgzm1wF.js} +1 -1
- package/documentation/{BestPracticesSection-BklrYpDV.js → BestPracticesSection-CSnNKGOl.js} +1 -1
- package/documentation/{BestPracticesSection-C7p3sqSS.js → BestPracticesSection-CxMpa6p1.js} +1 -1
- package/documentation/{BestPracticesSection-DL24k5DX.js → BestPracticesSection-DCIOp37N.js} +3 -3
- package/documentation/{BestPracticesSection-Bnccg1L-.js → BestPracticesSection-DFD5nxVx.js} +1 -1
- package/documentation/{BestPracticesSection-CCTlvAEc.js → BestPracticesSection-DjiIOPo0.js} +1 -1
- package/documentation/{BestPracticesSection-C8R3e6wG.js → BestPracticesSection-Dk8CWxop.js} +1 -1
- package/documentation/{BestPracticesSection-4oonl6Xs.js → BestPracticesSection-LF77lB2o.js} +1 -1
- package/documentation/{BestPracticesSection-CGBKNc2j.js → BestPracticesSection-p6yKTAKz.js} +2 -2
- package/documentation/{BorderRadiusSection-CY90awsm.js → BorderRadiusSection--NQ7VUFN.js} +1 -1
- package/documentation/{BorderRadiusSection-CgppX9KI.js → BorderRadiusSection-zrkMx4HO.js} +2 -2
- package/documentation/{ButtonDripSection-D8zkJ-6j.js → ButtonDripSection-8b--VA4e.js} +1 -1
- package/documentation/{ButtonDripSection-BQkw59yH.js → ButtonDripSection-DDKo9R2R.js} +1 -1
- package/documentation/{ButtonLoaderSection-B5XP49FM.js → ButtonLoaderSection-CBA_ZHhE.js} +1 -1
- package/documentation/{ButtonLoaderSection-CjGBMNiM.js → ButtonLoaderSection-CLz_h6dG.js} +1 -1
- package/documentation/{CardContainerSection-DcioQ7uD.js → CardContainerSection-CiUChb20.js} +1 -1
- package/documentation/{CardContainerSection-DfKrRKR1.js → CardContainerSection-CvmjXgXA.js} +1 -1
- package/documentation/{CardSection-C6FmBvSW.js → CardSection-CNAxXZ-P.js} +1 -1
- package/documentation/{CardSection-By7KZdmx.js → CardSection-CjX674hF.js} +1 -1
- package/documentation/{CardTitleSection-Cwlv3Iuv.js → CardTitleSection-B_J-KuJt.js} +1 -1
- package/documentation/{CardTitleSection-JuseDFmx.js → CardTitleSection-DPb1vFGs.js} +1 -1
- package/documentation/{CarouselCardsSection-HwS5Pilj.js → CarouselCardsSection-BZEnKwjk.js} +1 -1
- package/documentation/{CarouselCardsSection-t54tXA0y.js → CarouselCardsSection-Cb0YzM4g.js} +1 -1
- package/documentation/{CarouselImageSection-yRgXBEHG.js → CarouselImageSection-CvH76d92.js} +1 -1
- package/documentation/{CarouselImageSection-DxcOoLwL.js → CarouselImageSection-DOlEyXWk.js} +1 -1
- package/documentation/{CarouselSection-Dyv4W4kt.js → CarouselSection-BMY8qfVw.js} +1 -1
- package/documentation/{CarouselSection-DVkA2Zts.js → CarouselSection-DFowJi8B.js} +1 -1
- package/documentation/{CheckboxSection-CFyl2-Lg.js → CheckboxSection-BH4VhJEm.js} +1 -1
- package/documentation/{CheckboxSection-Cm9sabKa.js → CheckboxSection-CplIdb6X.js} +1 -1
- package/documentation/{CodeExamplesSection-D4BjomLZ.js → CodeExamplesSection-CXVbcTuR.js} +1 -1
- package/documentation/{CodeExamplesSection-ZevLOjfL.js → CodeExamplesSection-Uzy_nx_w.js} +1 -1
- package/documentation/{CoinCardSection-BP75BKln.js → CoinCardSection-BqzqGzNX.js} +1 -1
- package/documentation/{CoinCardSection-DWe-P9aE.js → CoinCardSection-CYQiTXMY.js} +1 -1
- package/documentation/{CoinInfoCardSection-Cp5dwucx.js → CoinInfoCardSection-BraT4PKL.js} +1 -1
- package/documentation/{CoinInfoCardSection-CHd_B21e.js → CoinInfoCardSection-D17ShK89.js} +1 -1
- package/documentation/{CoinListBoxSection-CgQPCN1-.js → CoinListBoxSection-3HDvscAm.js} +1 -1
- package/documentation/{CoinListBoxSection-CFTwACjZ.js → CoinListBoxSection-DIkN2YGf.js} +1 -1
- package/documentation/{CollapseSection-DV4iEoTo.js → CollapseSection-Bu-jCulM.js} +1 -1
- package/documentation/{CollapseSection-BObnZGBa.js → CollapseSection-DTRVS-NX.js} +1 -1
- package/documentation/{CollectionCardSection-V2vYAGul.js → CollectionCardSection-B1wa7op1.js} +1 -1
- package/documentation/{CollectionCardSection-Cl5rgWzn.js → CollectionCardSection-CTopH3nY.js} +1 -1
- package/documentation/{CollectionSelectListSection-CW5Wwg5e.js → CollectionSelectListSection-DS58qWW3.js} +1 -1
- package/documentation/{CollectionSelectListSection-l-apJPKq.js → CollectionSelectListSection-dVI4VFBg.js} +1 -1
- package/documentation/ColorCustomizationSection-Baixq5Ip.js +1 -0
- package/documentation/{ColorCustomizationSection-v0OWFiFx.js → ColorCustomizationSection-YYlI9A1C.js} +45 -33
- package/documentation/ColorSystemSection-BtlskPJf.js +1 -0
- package/documentation/ColorSystemSection-CnTw7ZkK.js +339 -0
- package/documentation/{CommonErrorsSection-8pIQ5P0f.js → CommonErrorsSection-L1rlea_g.js} +1 -1
- package/documentation/{CommonErrorsSection-CPIUNSdZ.js → CommonErrorsSection-QlP5fF-A.js} +1 -1
- package/documentation/{ComponentAnatomySection-D9CJ7NKe.js → ComponentAnatomySection-BxcXCnq8.js} +1 -1
- package/documentation/{ComponentAnatomySection-B_3X6zAV.js → ComponentAnatomySection-DJZZE1hI.js} +1 -1
- package/documentation/{ComponentStatusSection-BPM9MaGx.js → ComponentStatusSection-BYXnGGLk.js} +1 -1
- package/documentation/{ComponentStatusSection-DckFRSjC.js → ComponentStatusSection-botHuCNS.js} +1 -1
- package/documentation/{ComposedChartSection-DgidskHN.js → ComposedChartSection-CUShZ_0K.js} +1 -1
- package/documentation/{ComposedChartSection-Dx2m0rSy.js → ComposedChartSection-Dw7y3z1I.js} +1 -1
- package/documentation/{CurrencySwapIconsSection-DZab3CRP.js → CurrencySwapIconsSection-BrzmuJ2v.js} +1 -1
- package/documentation/{CurrencySwapIconsSection-u7r7QNnv.js → CurrencySwapIconsSection-G1PKgwmJ.js} +1 -1
- package/documentation/{CustomColorPaletteSection-pjhXRzh7.js → CustomColorPaletteSection-B7Vi4tu_.js} +8 -8
- package/documentation/{CustomColorPaletteSection-BgsWYeFi.js → CustomColorPaletteSection-DrQhXtL8.js} +2 -2
- package/documentation/{CustomIconsSection-8d02BzFW.js → CustomIconsSection-B-jyDcJY.js} +11 -11
- package/documentation/{CustomIconsSection-DVTQjvmK.js → CustomIconsSection-CA138JJG.js} +1 -1
- package/documentation/{DefiAppLogoSection-BloxEw2r.js → DefiAppLogoSection-CQSUi_EO.js} +1 -1
- package/documentation/{DefiAppLogoSection-DeVkbZnS.js → DefiAppLogoSection-D1NyWvoG.js} +1 -1
- package/documentation/{DesignPrinciplesSection-AGfHYdRQ.js → DesignPrinciplesSection-uWTGLlz4.js} +1 -1
- package/documentation/{DesignPrinciplesSection-DnXrx_3r.js → DesignPrinciplesSection-uZtMtWe-.js} +1 -1
- package/documentation/{DrawerSection-C5umOiTH.js → DrawerSection-Bu-pp5NC.js} +1 -1
- package/documentation/{DrawerSection-0xOnVMih.js → DrawerSection-Ds5Oc88-.js} +1 -1
- package/documentation/{DynamicRoutesSection-D9cAVioz.js → DynamicRoutesSection-CqEWf50D.js} +1 -1
- package/documentation/{DynamicRoutesSection-CplA4H_-.js → DynamicRoutesSection-Dbi8goa2.js} +1 -1
- package/documentation/{FileInputSection-DYnf_T8n.js → FileInputSection-Cj_JBMzc.js} +1 -1
- package/documentation/{FileInputSection-DiFwCplu.js → FileInputSection-FoXDZNUE.js} +1 -1
- package/documentation/{FileStructureSection-qyFRzFR7.js → FileStructureSection-B5V2bYDr.js} +2 -2
- package/documentation/{FileStructureSection-C7CT7MLA.js → FileStructureSection-DcF6kqva.js} +5 -5
- package/documentation/{FormComponentsSection-BGNG7LT5.js → FormComponentsSection-BZD-gsSe.js} +1 -1
- package/documentation/{FormComponentsSection-D8FXeYch.js → FormComponentsSection-Di5UuXlL.js} +13 -13
- package/documentation/{FormMethodsSection-D7QrdOOf.js → FormMethodsSection-BvgQzx8p.js} +1 -1
- package/documentation/{FormMethodsSection-KJIlWtlf.js → FormMethodsSection-EpCyOiml.js} +1 -1
- package/documentation/{HamburgerSection-B4QTD7QB.js → HamburgerSection-DRj8TUsp.js} +1 -1
- package/documentation/{HamburgerSection-1Co0vSYI.js → HamburgerSection-dEpg89yn.js} +1 -1
- package/documentation/{HookCategoriesSection-BgTUwS4d.js → HookCategoriesSection-B9bwaXr8.js} +1 -1
- package/documentation/{HookCategoriesSection-DT7PsLf5.js → HookCategoriesSection-D7eQRtCp.js} +1 -1
- package/documentation/{HookDocumentationSection-B7eGJAtC.js → HookDocumentationSection-BHs71TyY.js} +33 -40
- package/documentation/{HookDocumentationSection-Dm5vp60W.js → HookDocumentationSection-Baawctkv.js} +15 -15
- package/documentation/{HookFeaturesSection-XWh6oPJo.js → HookFeaturesSection-C30Q6_Md.js} +1 -1
- package/documentation/{HookFeaturesSection-C_CfuHPq.js → HookFeaturesSection-CvoRWckR.js} +1 -1
- package/documentation/{IconArchitectureSection-2pqGfRWh.js → IconArchitectureSection-DJaQZCiw.js} +1 -1
- package/documentation/{IconArchitectureSection-Cyft-9ck.js → IconArchitectureSection-DSKUvUAF.js} +1 -1
- package/documentation/{IconSizingGuideSection-D0WIGnpi.js → IconSizingGuideSection-DR-890fr.js} +1 -1
- package/documentation/{IconSizingGuideSection-DWP8TfCJ.js → IconSizingGuideSection-Nktvsp16.js} +2 -2
- package/documentation/{IconSystemAPISection-BafhVMj8.js → IconSystemAPISection-BWnG2nl0.js} +1 -1
- package/documentation/{IconSystemAPISection-BykSbNfn.js → IconSystemAPISection-Dsg2l2Pe.js} +1 -1
- package/documentation/{IconSystemBenefitsSection-D-Z8n3yK.js → IconSystemBenefitsSection-Drm0OXrA.js} +1 -1
- package/documentation/{IconSystemBenefitsSection-DnPy73uB.js → IconSystemBenefitsSection-Dwe4wlPF.js} +1 -1
- package/documentation/ImageSection-BSsfirP2.js +82 -0
- package/documentation/{ImageSection-BDC-XBOn.js → ImageSection-mNyUYSpC.js} +3 -3
- package/documentation/ImplementationExamplesSection-C7b93cmS.js +761 -0
- package/documentation/ImplementationExamplesSection-uBcrCqN-.js +429 -0
- package/documentation/{ImplementationGuidelinesSection-Bmt5UnLA.js → ImplementationGuidelinesSection-Db4WawJm.js} +1 -1
- package/documentation/{ImplementationGuidelinesSection-C0DtOFA3.js → ImplementationGuidelinesSection-ofXFqxXz.js} +1 -1
- package/documentation/{ImplementationStatusSection-gIxBd7m5.js → ImplementationStatusSection-DIC4prgh.js} +1 -1
- package/documentation/{ImplementationStatusSection-C59DZ2XS.js → ImplementationStatusSection-Dx5HVl6S.js} +1 -1
- package/documentation/{ImplementedFeaturesSection-BwktoGqA.js → ImplementedFeaturesSection-BLVqF9zz.js} +1 -1
- package/documentation/{ImplementedFeaturesSection-1l8t4Nij.js → ImplementedFeaturesSection-DU4h-rtj.js} +1 -1
- package/documentation/{InfoCardSection-DtgYtueH.js → InfoCardSection-BZQCI6lH.js} +15 -13
- package/documentation/{InfoCardSection-BcXFWEjI.js → InfoCardSection-COui0eJ9.js} +2 -2
- package/documentation/{InputSearcherSection-DD2KwzOG.js → InputSearcherSection-B7TecgvV.js} +1 -1
- package/documentation/{InputSearcherSection-DMtIqnZm.js → InputSearcherSection-BHmasUtU.js} +1 -1
- package/documentation/{InputSection-DAQlSKNm.js → InputSection-CwVgbFkV.js} +1 -1
- package/documentation/{InputSection-WnlrF_LD.js → InputSection-D5v6_90Q.js} +1 -1
- package/documentation/{KeyValueRowSection-BjXEg9g3.js → KeyValueRowSection-BIaGvJJR.js} +1 -1
- package/documentation/{KeyValueRowSection-Ctph5iO5.js → KeyValueRowSection-BpUw-iFf.js} +1 -1
- package/documentation/{KeyboardNavigationSection-BcQUUxeW.js → KeyboardNavigationSection-Cq0rQMvL.js} +4 -4
- package/documentation/{KeyboardNavigationSection-BgP2RBJx.js → KeyboardNavigationSection-L2ARF25K.js} +1 -1
- package/documentation/{LayoutPrinciplesSection-CZE5j4TD.js → LayoutPrinciplesSection-BaGAYyM4.js} +1 -1
- package/documentation/{LayoutPrinciplesSection-DZgjhU-5.js → LayoutPrinciplesSection-DIHhrL8w.js} +2 -2
- package/documentation/LayoutTypesSection-CtvHSbiu.js +1 -0
- package/documentation/{LayoutTypesSection-847E1FZA.js → LayoutTypesSection-D5fWevL5.js} +180 -30
- package/documentation/{LineChartSection-CLKCstC7.js → LineChartSection-DN4zy5UM.js} +1 -1
- package/documentation/{LineChartSection-BFVXYiK4.js → LineChartSection-DykwK2G5.js} +1 -1
- package/documentation/{ListContainerSection-rSWVVjfW.js → ListContainerSection-6Kb0Eyvz.js} +1 -1
- package/documentation/{ListContainerSection-D5k1iNKV.js → ListContainerSection-CNdIMVPD.js} +1 -1
- package/documentation/{ListItemSection-Bwr8NH-L.js → ListItemSection-CDiUyEEa.js} +1 -1
- package/documentation/{ListItemSection-CU785nZa.js → ListItemSection-SGEMovLU.js} +1 -1
- package/documentation/{LiveDemoSection-B5j1ZGtq.js → LiveDemoSection-B25zuxk-.js} +1 -1
- package/documentation/{LiveDemoSection-BHq8HDj_.js → LiveDemoSection-DOq43-14.js} +1 -1
- package/documentation/{LiveDemonstrationsSection-CSSKZrex.js → LiveDemonstrationsSection-BKjaRELq.js} +4 -4
- package/documentation/{LiveDemonstrationsSection-B5iutGu_.js → LiveDemonstrationsSection-C4UcxA40.js} +13 -13
- package/documentation/{LivePriceFeedSection-CguTUwPn.js → LivePriceFeedSection-BefdnOKq.js} +1 -1
- package/documentation/{LivePriceFeedSection-Ie3MtK5B.js → LivePriceFeedSection-DEOXLnRs.js} +1 -1
- package/documentation/{LoaderSection-wo7VqH01.js → LoaderSection-BZvT07RC.js} +1 -1
- package/documentation/{LoaderSection-CFIf6Cwz.js → LoaderSection-xaMFxvDA.js} +1 -1
- package/documentation/{LogoSection-D2o5z1v0.js → LogoSection-Dd5fUaTc.js} +1 -1
- package/documentation/{LogoSection-D53DSw6e.js → LogoSection-ahbLL3rC.js} +1 -1
- package/documentation/{LucideIconsSection-BmFnUvOo.js → LucideIconsSection-BZDRn21n.js} +1 -1
- package/documentation/{LucideIconsSection-BGhOfZ2S.js → LucideIconsSection-BrrSM3Gx.js} +1 -1
- package/documentation/{MFESupportSection-BfZN1ruk.js → MFESupportSection-Cnqx9zly.js} +12 -8
- package/documentation/{MFESupportSection-BsWrFr8n.js → MFESupportSection-Y46AZL5B.js} +2 -2
- package/documentation/MacOSBackgroundsSection-BZX6uCBD.js +1 -0
- package/documentation/{MacOSBackgroundsSection-5FwRmwSt.js → MacOSBackgroundsSection-Dj11FbQr.js} +25 -22
- package/documentation/MacOSColorsSection-CjuG1kI6.js +1 -0
- package/documentation/{MacOSColorsSection-YEtkXtT9.js → MacOSColorsSection-DGPBZ1Sb.js} +25 -25
- package/documentation/{MacOSCommandPaletteSection-WanBDypB.js → MacOSCommandPaletteSection-B6xGLV1Q.js} +4 -4
- package/documentation/{MacOSCommandPaletteSection-BNpF6qM7.js → MacOSCommandPaletteSection-ClWl0xxk.js} +1 -1
- package/documentation/{MacOSMaterialsSection-CL8WKiWl.js → MacOSMaterialsSection-CFHz_vYl.js} +6 -6
- package/documentation/MacOSMaterialsSection-QdDsz0mK.js +1 -0
- package/documentation/{MacOSNotificationBannerSection-CccD5Lyx.js → MacOSNotificationBannerSection-Bo1oagT9.js} +1 -1
- package/documentation/{MacOSNotificationBannerSection-DCtVh4mP.js → MacOSNotificationBannerSection-D9se5v0x.js} +1 -1
- package/documentation/MacOSPopoverSection-CHmPgYov.js +33 -0
- package/documentation/{MacOSPopoverSection-Ct-lBd1V.js → MacOSPopoverSection-CkT1ssbc.js} +136 -41
- package/documentation/{MacOSSearchBarSection-DNHmkSQF.js → MacOSSearchBarSection-Bq6w8HML.js} +1 -1
- package/documentation/{MacOSSearchBarSection-DruORVTc.js → MacOSSearchBarSection-BsqmjAJO.js} +1 -1
- package/documentation/{MacOSSegmentedControlSection-D5ZpMdGL.js → MacOSSegmentedControlSection-BgsDLI96.js} +1 -1
- package/documentation/{MacOSSegmentedControlSection-BFuSzzal.js → MacOSSegmentedControlSection-ls5gxPUT.js} +1 -1
- package/documentation/MacOSSidebarSection-CiN4hOs1.js +35 -0
- package/documentation/{MacOSSidebarSection-D0DT2x5w.js → MacOSSidebarSection-ZtF4anKi.js} +120 -46
- package/documentation/{MacOSTahoeSection-ErqFjWX4.js → MacOSTahoeSection-D_vk1Evv.js} +1 -1
- package/documentation/{MacOSTahoeSection-DKtgrult.js → MacOSTahoeSection-mC8_isTc.js} +2 -2
- package/documentation/{MacOSTextStylesSection-B4xYNfLo.js → MacOSTextStylesSection-D8sjMitr.js} +52 -48
- package/documentation/MacOSTextStylesSection-imhQhiIB.js +1 -0
- package/documentation/{MacOSToolbarSection-GwXI_HM0.js → MacOSToolbarSection-BZe5dcqG.js} +1 -1
- package/documentation/{MacOSToolbarSection-BUSdw1-N.js → MacOSToolbarSection-DfFGfIYr.js} +1 -1
- package/documentation/{MacOSWidgetSection-BEuuPDcI.js → MacOSWidgetSection-DDArll2O.js} +1 -1
- package/documentation/{MacOSWidgetSection-B2c5Jiqb.js → MacOSWidgetSection-qJYsLW4w.js} +1 -1
- package/documentation/{MacOSWindowSection-ChLGxWkJ.js → MacOSWindowSection-BXRF47Xp.js} +1 -1
- package/documentation/{MacOSWindowSection-CJSekAJj.js → MacOSWindowSection-CNCeYJ4q.js} +1 -1
- package/documentation/{MenuItemsGuideSection-CW7znzf9.js → MenuItemsGuideSection-C3s0ZKp_.js} +1 -1
- package/documentation/{MenuItemsGuideSection-3rCQXRbI.js → MenuItemsGuideSection-D9Rppez7.js} +1 -1
- package/documentation/{ModalSection-Bm2c0cZ3.js → ModalSection-7_9nd9h1.js} +1 -1
- package/documentation/{ModalSection-B4Ay5tMm.js → ModalSection-BhxfjESN.js} +1 -1
- package/documentation/{NFTGridSection-DjfH-Wb_.js → NFTGridSection-CiMimQqR.js} +1 -1
- package/documentation/{NFTGridSection-C167-_5t.js → NFTGridSection-DyDP-kAx.js} +1 -1
- package/documentation/{NestedRoutesSection-BQBIMv26.js → NestedRoutesSection-B3NOQ7H9.js} +2 -2
- package/documentation/{NestedRoutesSection-BTIFUyu3.js → NestedRoutesSection-BfiOJSNr.js} +5 -5
- package/documentation/{NotificationCardSection-fW5poNpt.js → NotificationCardSection-C0ij0FZI.js} +1 -1
- package/documentation/{NotificationCardSection-Dc9k9m0z.js → NotificationCardSection-CyqVwqlr.js} +1 -1
- package/documentation/{PaginationSection-Dkozx1NR.js → PaginationSection-CyKsKgsQ.js} +1 -1
- package/documentation/{PaginationSection-Chxlsiar.js → PaginationSection-DlMA8zm0.js} +1 -1
- package/documentation/{PanelActionCardSection-CrHET2qr.js → PanelActionCardSection-BEW1jxMc.js} +1 -1
- package/documentation/{PanelActionCardSection-DH2lDA1v.js → PanelActionCardSection-DsRYmx7a.js} +1 -1
- package/documentation/{PanelCardSection-4huN71a_.js → PanelCardSection-BA0dNZBU.js} +1 -1
- package/documentation/{PanelCardSection-Cxgvd7E9.js → PanelCardSection-GTYF-40N.js} +1 -1
- package/documentation/{ParamTabSection-hI9LkIIz.js → ParamTabSection-BeS0YAiS.js} +2 -2
- package/documentation/{ParamTabSection-CnjtpMbJ.js → ParamTabSection-DhMnwgtB.js} +96 -59
- package/documentation/{PieChartSection-CE8jY8sm.js → PieChartSection-HK1lUzR4.js} +1 -1
- package/documentation/{PieChartSection-pR0IxyX_.js → PieChartSection-vp248RVf.js} +1 -1
- package/documentation/{PinCodeSection-LjDbYnRA.js → PinCodeSection-BRaBhpIp.js} +1 -1
- package/documentation/{PinCodeSection-oizvSnHW.js → PinCodeSection-DY5sV9tT.js} +1 -1
- package/documentation/{ProgressbarSection-DLvuQRqH.js → ProgressbarSection-BFO12wVG.js} +5 -5
- package/documentation/{ProgressbarSection-BMNMHb6k.js → ProgressbarSection-ByqSgYbQ.js} +2 -2
- package/documentation/{RadarChartSection-DHx5xzix.js → RadarChartSection-Bkg1mcQW.js} +1 -1
- package/documentation/{RadarChartSection-GP1TRYs5.js → RadarChartSection-CaAgWjU1.js} +1 -1
- package/documentation/{RadioGroupSection-C0qbZCEy.js → RadioGroupSection-Db4dih50.js} +1 -1
- package/documentation/{RadioGroupSection-Dnu2rhAj.js → RadioGroupSection-Dr20Esct.js} +1 -1
- package/documentation/{RadioSection-rHrHsIha.js → RadioSection-BewKd6Cu.js} +1 -1
- package/documentation/{RadioSection-DWy0dsvZ.js → RadioSection-CTdsPiv3.js} +1 -1
- package/documentation/{RevealContentSection-B7d6jZ3X.js → RevealContentSection-BEtqdh2z.js} +1 -1
- package/documentation/{RevealContentSection-DFeDG75P.js → RevealContentSection-BI7veCWN.js} +1 -1
- package/documentation/{RouteConfigurationSection-DdJ4tMwr.js → RouteConfigurationSection-BwWi-YdG.js} +1 -1
- package/documentation/{RouteConfigurationSection-Dj3ufwLr.js → RouteConfigurationSection-Dn51fITk.js} +1 -1
- package/documentation/{ScrollToTopSection-BzOG4wgw.js → ScrollToTopSection-El0Oj80E.js} +1 -1
- package/documentation/{ScrollToTopSection-JmnQvioT.js → ScrollToTopSection-IiOq9uyv.js} +1 -1
- package/documentation/{ScrollbarSection-DNOAHiAh.js → ScrollbarSection--Mi5OoqC.js} +1 -1
- package/documentation/{ScrollbarSection-C0IIJ90W.js → ScrollbarSection-D2xX8I_t.js} +1 -1
- package/documentation/{SelectSection-CYx0EZJX.js → SelectSection-CDKlo64x.js} +1 -1
- package/documentation/{SelectSection-DupPSBKF.js → SelectSection-DZbzNNto.js} +1 -1
- package/documentation/{SettingsPanelSection-GhZ66ZdG.js → SettingsPanelSection-5F7Ejvta.js} +4 -4
- package/documentation/SettingsPanelSection-DNFBwdbu.js +1 -0
- package/documentation/{ShadowsSection-qjRGL4vP.js → ShadowsSection-CC31G_pA.js} +1 -1
- package/documentation/{ShadowsSection-kJV-ttft.js → ShadowsSection-CjDQWjSH.js} +1 -1
- package/documentation/{SidebarMenuSection-Co9XzZgf.js → SidebarMenuSection-BqAlCKVK.js} +1 -1
- package/documentation/{SidebarMenuSection-CQunF-oM.js → SidebarMenuSection-CX26EQG5.js} +1 -1
- package/documentation/{SidebarSection-BTlba2fa.js → SidebarSection-B0n5UOpR.js} +1 -1
- package/documentation/{SidebarSection-CpNHqxdM.js → SidebarSection-De6UWk1X.js} +1 -1
- package/documentation/{SizingSection-DZRyEWJJ.js → SizingSection-BGID0Xcc.js} +28 -28
- package/documentation/SizingSection-CJLOGeHY.js +1 -0
- package/documentation/{SkeletonSection-DbSYqbHd.js → SkeletonSection-CgfOFx1m.js} +1 -1
- package/documentation/{SkeletonSection-BQKerqPH.js → SkeletonSection-DelgS1pN.js} +1 -1
- package/documentation/{SonomaColorsSection-B7L_UMjk.js → SonomaColorsSection-C28VtKd_.js} +1 -1
- package/documentation/{SonomaColorsSection-BqkMh28_.js → SonomaColorsSection-CQULhACY.js} +57 -57
- package/documentation/{SonomaLayoutContentSection-DFQgh479.js → SonomaLayoutContentSection-BSuTmwMI.js} +1 -1
- package/documentation/{SonomaLayoutContentSection-BaASk6kp.js → SonomaLayoutContentSection-iY1VAiSM.js} +1 -1
- package/documentation/{SonomaLayoutSidebarSection-CZ5rM-MM.js → SonomaLayoutSidebarSection-B1bkV4gJ.js} +1 -1
- package/documentation/{SonomaLayoutSidebarSection-DeT7y6e9.js → SonomaLayoutSidebarSection-DFNlJTT4.js} +1 -1
- package/documentation/SonomaMaterialsSection-BuwXPkij.js +9 -0
- package/documentation/{SonomaMaterialsSection-BYnpWwWt.js → SonomaMaterialsSection-D-fB1mIO.js} +4 -4
- package/documentation/{SonomaShapesSection-C17AoE2N.js → SonomaShapesSection-29muIlaP.js} +2 -2
- package/documentation/{SonomaShapesSection-OlLezJRJ.js → SonomaShapesSection-BjIQNju1.js} +3 -3
- package/documentation/{SonomaTypographySection-BXzAkRPA.js → SonomaTypographySection-3UGv1D5a.js} +48 -47
- package/documentation/{SonomaTypographySection-C7bSKgHl.js → SonomaTypographySection-DE_CNkXW.js} +1 -1
- package/documentation/{SpacingSystemSection-RdnzjpSK.js → SpacingSystemSection-BajYRcpw.js} +1 -1
- package/documentation/{SpacingSystemSection-rDylj_Un.js → SpacingSystemSection-CbW8Ty5w.js} +2 -2
- package/documentation/{SpinnerSection-C2SLIBWN.js → SpinnerSection-CL1dfMRs.js} +1 -1
- package/documentation/{SpinnerSection-BTEupT8d.js → SpinnerSection-Cj1Lldfj.js} +1 -1
- package/documentation/{StandaloneAppSection-uFMN1K6i.js → StandaloneAppSection-XYaz2aEl.js} +9 -6
- package/documentation/{StandaloneAppSection-BVoGM1bD.js → StandaloneAppSection-wECFbb9Q.js} +2 -2
- package/documentation/{StepperSection-BWUQ_trS.js → StepperSection-CXMKgINY.js} +1 -1
- package/documentation/{StepperSection-BgQQn9Q3.js → StepperSection-Dtfg5GXq.js} +1 -1
- package/documentation/{SwitchSection-CQo06YWs.js → SwitchSection-BTn9p7eE.js} +1 -1
- package/documentation/{SwitchSection-D-6X3w3o.js → SwitchSection-DSSq56jC.js} +1 -1
- package/documentation/{SystemOverviewSection-BNhzrT6U.js → SystemOverviewSection-CE6LLl1z.js} +1 -1
- package/documentation/{SystemOverviewSection-Bc602IQG.js → SystemOverviewSection-Doao-Hyc.js} +1 -1
- package/documentation/{TabModalSection-dg7LGi0f.js → TabModalSection-BZl8Ce2m.js} +1 -1
- package/documentation/{TabModalSection-D7XCTFKs.js → TabModalSection-D8NTK60d.js} +1 -1
- package/documentation/{TabSection-DnD_Te-M.js → TabSection-BDoaQ3_L.js} +1 -1
- package/documentation/{TabSection-DPBrpBDN.js → TabSection-C4-7MzLK.js} +1 -1
- package/documentation/{TabSelectSection-jn_HenZM.js → TabSelectSection-2x7PhRTC.js} +2 -2
- package/documentation/{TabSelectSection-Cs-fzdRm.js → TabSelectSection-Ce-UvvAP.js} +2 -2
- package/documentation/{TahoeCommandPaletteSection-Bs1enphA.js → TahoeCommandPaletteSection-B1uicEeB.js} +1 -1
- package/documentation/{TahoeCommandPaletteSection-ClvMCVUp.js → TahoeCommandPaletteSection-GkW2XtA4.js} +1 -1
- package/documentation/{TahoeDialogSection-LvFsaPNL.js → TahoeDialogSection-2fnBkj9s.js} +1 -1
- package/documentation/{TahoeDialogSection-Bzn59FfH.js → TahoeDialogSection-LTcS3rqS.js} +1 -1
- package/documentation/{TahoeDockSection-CE4XVjge.js → TahoeDockSection-Bka-Twi9.js} +1 -1
- package/documentation/{TahoeDockSection-g1Jh1rVL.js → TahoeDockSection-DdSI6L77.js} +1 -1
- package/documentation/TahoeLayoutContentSection-Bm3-DBbk.js +17 -0
- package/documentation/{TahoeLayoutContentSection-DGwHsEUK.js → TahoeLayoutContentSection-CrRsQuke.js} +3 -3
- package/documentation/{TahoeLayoutSidebarSection-Cxx0NWOi.js → TahoeLayoutSidebarSection-DHTZE8kA.js} +1 -1
- package/documentation/{TahoeLayoutSidebarSection-pdzlnLJM.js → TahoeLayoutSidebarSection-wmkAitsD.js} +9 -9
- package/documentation/{TahoeNotificationBannerSection-DhskVUvC.js → TahoeNotificationBannerSection-C7hRrN5c.js} +1 -1
- package/documentation/{TahoeNotificationBannerSection-CHvq-2oK.js → TahoeNotificationBannerSection-DopVDXIZ.js} +1 -1
- package/documentation/{TahoePopoverSection-DF-k50xc.js → TahoePopoverSection-DBgoBPbL.js} +1 -1
- package/documentation/{TahoePopoverSection-C8iVtmgr.js → TahoePopoverSection-Dy_GhXDS.js} +1 -1
- package/documentation/{TahoeProgressBarSection-Clt50U44.js → TahoeProgressBarSection-BtNAURTz.js} +1 -1
- package/documentation/{TahoeProgressBarSection-BSjAa0mD.js → TahoeProgressBarSection-CVn_9odq.js} +1 -1
- package/documentation/{TahoeSearchBarSection-6TwJoFIv.js → TahoeSearchBarSection-CRQd02HZ.js} +1 -1
- package/documentation/{TahoeSearchBarSection-BGwmcq39.js → TahoeSearchBarSection-DjYPJ24R.js} +1 -1
- package/documentation/{TahoeSegmentedControlSection-C2tTySf8.js → TahoeSegmentedControlSection-C90mrl2e.js} +1 -1
- package/documentation/{TahoeSegmentedControlSection-gNZlSqSs.js → TahoeSegmentedControlSection-Cc7avVAW.js} +1 -1
- package/documentation/TahoeToolbarSection-C1TrsJiL.js +17 -0
- package/documentation/{TahoeToolbarSection-CndSLUyc.js → TahoeToolbarSection-DSdjscAS.js} +7 -7
- package/documentation/{TahoeWidgetSection-DvFhIsO1.js → TahoeWidgetSection-3ooFCTjD.js} +1 -1
- package/documentation/{TahoeWidgetSection-CxG_Uvly.js → TahoeWidgetSection-D7xHKEFu.js} +1 -1
- package/documentation/{TahoeWindowSection-Dlt40eFZ.js → TahoeWindowSection-D53dFI9U.js} +1 -1
- package/documentation/{TahoeWindowSection-CA5hMRQS.js → TahoeWindowSection-DgLmDp7C.js} +1 -1
- package/documentation/{TailwindConfigSection-DTEVHxfY.js → TailwindConfigSection-HPhiOayZ.js} +6 -6
- package/documentation/{TailwindConfigSection-BOdIg9p4.js → TailwindConfigSection-qnCValDL.js} +2 -2
- package/documentation/{TestingSection-sjNf_YR6.js → TestingSection-B8qrXvks.js} +1 -1
- package/documentation/{TestingSection-p_a3TLFg.js → TestingSection-CVlwcTS4.js} +1 -1
- package/documentation/{TextareaSection-B7E_PE99.js → TextareaSection-D2ucvmZ7.js} +1 -1
- package/documentation/{TextareaSection-CD-kZuGl.js → TextareaSection-DvcVNcQx.js} +1 -1
- package/documentation/{ThemeArchitectureSection-DTZZ9DW8.js → ThemeArchitectureSection-CFA5PLA5.js} +6 -4
- package/documentation/{ThemeArchitectureSection-CJLVZw1o.js → ThemeArchitectureSection-DtwFtzPZ.js} +12 -10
- package/documentation/{ThemeConfigurationSection-DKcO1n8f.js → ThemeConfigurationSection-25YbgMAK.js} +2 -2
- package/documentation/{ThemeConfigurationSection-66D5XJGb.js → ThemeConfigurationSection-C5tQbIaa.js} +1 -1
- package/documentation/{ThemeHooksSection-D5hs4bKp.js → ThemeHooksSection-C-kIo8WZ.js} +56 -37
- package/documentation/ThemeHooksSection-W_-66rEy.js +1 -0
- package/documentation/{ThemeProviderIntegrationSection-T1FvNpOT.js → ThemeProviderIntegrationSection-Bq7eJCE2.js} +1 -1
- package/documentation/{ThemeProviderIntegrationSection-hBvjgSG1.js → ThemeProviderIntegrationSection-Cx2QOk6u.js} +1 -1
- package/documentation/{ThemeProviderRequiredSection-03ZYoeWQ.js → ThemeProviderRequiredSection-FqbgJmWa.js} +5 -5
- package/documentation/ThemeProviderRequiredSection-HBMuiqAj.js +1 -0
- package/documentation/ThemeProviderSection-QT77eC5J.js +1 -0
- package/documentation/{ThemeProviderSection-nIdNlZjq.js → ThemeProviderSection-tPE7Fvv3.js} +11 -11
- package/documentation/{ToastSection-DF3L8jxW.js → ToastSection-CwyCI-Ba.js} +1 -1
- package/documentation/{ToastSection-C3RQpSox.js → ToastSection-H1vwT3GU.js} +1 -1
- package/documentation/{ToggleBarSection-D26Mzrf4.js → ToggleBarSection-D0omE45k.js} +1 -1
- package/documentation/{ToggleBarSection-CJmXFlZa.js → ToggleBarSection-DX_2Mvkt.js} +1 -1
- package/documentation/{TooltipSection-DhfdMLxD.js → TooltipSection-DpvcjLkT.js} +1 -1
- package/documentation/{TooltipSection-DugfAWzs.js → TooltipSection-_eCQLTSq.js} +1 -1
- package/documentation/{TopupButtonSection-6THSaEvz.js → TopupButtonSection-BPfTseVo.js} +1 -1
- package/documentation/{TopupButtonSection-DO2sCxIV.js → TopupButtonSection-DlkO5OXT.js} +1 -1
- package/documentation/{TransactionInfoSection-BL23o6Ao.js → TransactionInfoSection-DuJ6rMpf.js} +1 -1
- package/documentation/{TransactionInfoSection-7ZWdfrbf.js → TransactionInfoSection-b-wi9Avm.js} +1 -1
- package/documentation/{TucuUiLogoSection-Dyfblzs7.js → TucuUiLogoSection-ClCGW3YN.js} +1 -1
- package/documentation/{TucuUiLogoSection-BsYhhz9J.js → TucuUiLogoSection-sG2b8760.js} +1 -1
- package/documentation/TypographySection-BaZcGbgZ.js +1 -0
- package/documentation/{TypographySection-BPidPkKl.js → TypographySection-C4qUEDNc.js} +1 -1
- package/documentation/{TypographySection-BVa4hd_u.js → TypographySection-CIJJq9Ek.js} +1 -1
- package/documentation/{TypographySection-Ct3zNnpW.js → TypographySection-Dxp8woDR.js} +64 -64
- package/documentation/{UsageExamplesSection-D-ai2y1j.js → UsageExamplesSection-COHPEjrD.js} +1 -1
- package/documentation/{UsageExamplesSection-BWDg6OSi.js → UsageExamplesSection-DaOjsNTB.js} +1 -1
- package/documentation/{UsingThemeSystemSection-Db0Hs67Q.js → UsingThemeSystemSection-8RYuDUEP.js} +1 -1
- package/documentation/{UsingThemeSystemSection-D7Wbw8sv.js → UsingThemeSystemSection-ClyEzmVE.js} +1 -1
- package/documentation/{ValidationSystemSection-Bqszchd7.js → ValidationSystemSection-C9chD4rm.js} +9 -9
- package/documentation/{ValidationSystemSection-CcHCIL8A.js → ValidationSystemSection-CfL8aR6T.js} +3 -3
- package/documentation/{WCAGPrinciplesSection-DHmT6YQy.js → WCAGPrinciplesSection-BXuOoMt5.js} +1 -1
- package/documentation/{WCAGPrinciplesSection-BYNqkBJt.js → WCAGPrinciplesSection-yq3Hm2ep.js} +1 -1
- package/{index-lfg6LZ1p.js → index-4GONhZIF.js} +26760 -26155
- package/index-C0NugKZs.js +1178 -0
- package/index.css +1 -1
- package/index.js +1 -1
- package/index.mjs +303 -288
- package/package.json +1 -1
- package/themes/components/index.d.ts +1 -0
- package/themes/components/theme-background.d.ts +33 -0
- package/themes/components/theme-provider/theme-wrapper.d.ts +15 -1
- package/themes/config/index.d.ts +56 -2
- package/themes/hooks/use-theme-color.d.ts +13 -1
- package/themes/hooks/use-theme.d.ts +15 -2
- package/documentation/ColorCustomizationSection-Cb8PEuks.js +0 -1
- package/documentation/ColorSystemSection-CduyyhhZ.js +0 -263
- package/documentation/ColorSystemSection-D8sZHXAT.js +0 -1
- package/documentation/ImageSection-C1nOKmH2.js +0 -82
- package/documentation/ImplementationExamplesSection-Cxl08TTf.js +0 -305
- package/documentation/ImplementationExamplesSection-mHJwxbf_.js +0 -178
- package/documentation/LayoutTypesSection-hnxHeuA2.js +0 -1
- package/documentation/MacOSBackgroundsSection-c6o8Zwj8.js +0 -1
- package/documentation/MacOSColorsSection-VDHMUov0.js +0 -1
- package/documentation/MacOSMaterialsSection-DEKSWeUb.js +0 -1
- package/documentation/MacOSPopoverSection-4bHoomAo.js +0 -33
- package/documentation/MacOSSidebarSection-DDGdU_Wr.js +0 -35
- package/documentation/MacOSTextStylesSection-DL6rw2CK.js +0 -1
- package/documentation/SettingsPanelSection-legHUhoT.js +0 -1
- package/documentation/SizingSection-D9czoO1Z.js +0 -1
- package/documentation/SonomaMaterialsSection-B7ttrkPV.js +0 -9
- package/documentation/TahoeLayoutContentSection-B1bj_svL.js +0 -17
- package/documentation/TahoeToolbarSection-B_mWA-L_.js +0 -17
- package/documentation/ThemeHooksSection-nIFp-F0q.js +0 -1
- package/documentation/ThemeProviderRequiredSection-MqNAwToF.js +0 -1
- package/documentation/ThemeProviderSection-FaRMSgB9.js +0 -1
- package/documentation/TypographySection-Co79YcZL.js +0 -1
- package/index-BaGqriuz.js +0 -1178
package/documentation/{PanelActionCardSection-CrHET2qr.js → PanelActionCardSection-BEW1jxMc.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as c, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { H as s, C as t, a as i, T as e, O as n, P as r, A as d, c as h } from "../index-
|
|
2
|
+
import { H as s, C as t, a as i, T as e, O as n, P as r, A as d, c as h } from "../index-4GONhZIF.js";
|
|
3
3
|
import { PanelLeft as m } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
package/documentation/{PanelActionCardSection-DH2lDA1v.js → PanelActionCardSection-DsRYmx7a.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-C0NugKZs.js"),l=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=()=>e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"PanelActionCard",description:`A panel card component with a scrollable content area and action
|
|
2
2
|
buttons at the bottom.`,icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-purple-500 to-fuchsia-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(l.PanelLeft,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Panel with Actions"}),e.jsx(a.PanelActionCard,{title:"Panel Title",actions:[{label:"Cancel",variant:"ghost",onClick:()=>console.log("Cancel")},{label:"Save",variant:"solid",color:"primary",onClick:()=>console.log("Save")}],children:e.jsxs("div",{className:"space-y-2",children:[e.jsx(a.Typography,{tag:"p",children:"Content line 1"}),e.jsx(a.Typography,{tag:"p",children:"Content line 2"}),e.jsx(a.Typography,{tag:"p",children:"Content line 3"})]})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Without Actions"}),e.jsx(a.PanelActionCard,{title:"Panel Without Actions",children:e.jsx("div",{className:"space-y-2",children:e.jsx(a.Typography,{tag:"p",children:"This panel has no action buttons."})})})]})]})})})}),e.jsx(a.PropPlayground,{componentName:"PanelActionCard",defaultValues:{title:"Panel Title"},excludeProps:["actions"],children:n=>e.jsx(a.PanelActionCard,{...n,actions:[{label:"Action",onClick:()=>{}}]})}),e.jsx(a.AutoPropsTable,{componentName:"PanelActionCard"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { PanelActionCard, Typography } from '@e-burgos/tucu-ui';
|
|
3
3
|
|
|
4
4
|
// With actions
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-C0NugKZs.js"),n=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const r=()=>e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"PanelCard",description:`A simple panel card component with a title header and scrollable
|
|
2
2
|
content area.`,icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-fuchsia-500 to-purple-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(n.PanelTop,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx("div",{className:"space-y-4",children:e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Panel Card"}),e.jsx(a.PanelCard,{title:"Panel Title",children:e.jsxs("div",{className:"space-y-2",children:[e.jsx(a.Typography,{tag:"p",children:"Content line 1"}),e.jsx(a.Typography,{tag:"p",children:"Content line 2"}),e.jsx(a.Typography,{tag:"p",children:"Content line 3"}),e.jsx(a.Typography,{tag:"p",children:"Content line 4"}),e.jsx(a.Typography,{tag:"p",children:"Content line 5"})]})})]})})})})}),e.jsx(a.PropPlayground,{componentName:"PanelCard",defaultValues:{title:"Panel Card"},children:l=>e.jsx(a.PanelCard,{...l,children:e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Panel content goes here"})})}),e.jsx(a.AutoPropsTable,{componentName:"PanelCard"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { PanelCard, Typography } from '@e-burgos/tucu-ui';
|
|
3
3
|
|
|
4
4
|
// Basic usage
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as o, C as t, a as n, T as a, Q as r, P as d, A as c, c as p } from "../index-
|
|
2
|
+
import { H as o, C as t, a as n, T as a, Q as r, P as d, A as c, c as p } from "../index-4GONhZIF.js";
|
|
3
3
|
import { PanelTop as m } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-C0NugKZs.js"),t=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>{const i=[{title:"Overview",path:"overview"},{title:"Details",path:"details"},{title:"Settings",path:"settings"}],r=[{title:"Dashboard",path:"dashboard",icon:e.jsx(t.Home,{size:16})},{title:"Analytics",path:"analytics",icon:e.jsx(t.BarChart,{size:16})},{title:"Reports",path:"reports",icon:e.jsx(t.FileText,{size:16})},{title:"Settings",path:"settings",icon:e.jsx(t.Settings,{size:16})}],n=[{title:"Profile",path:"profile",icon:e.jsx(t.User,{size:16})},{title:"Notifications",path:"notifications",icon:e.jsx(t.Bell,{size:16})},{title:"Settings",path:"settings",icon:e.jsx(t.Settings,{size:16})}],l=[{prop:"title",type:"React.ReactNode",default:"required",description:"Tab label (can be text, JSX, or components)"},{prop:"path",type:"string",default:"required",description:'Unique path for URL parameter (e.g., "overview")'},{prop:"icon",type:"React.ReactNode",default:"-",description:"Optional icon to display before tab label"}];return e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"ParamTab",description:`A powerful tab component that automatically syncs with URL query
|
|
2
2
|
parameters and switches to a dropdown selector on mobile devices for
|
|
3
|
-
optimal responsive behavior.`,icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-purple-600 to-indigo-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(t.Hash,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Underline Variant (Default)"}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"Classic underline style with animated indicator. URL syncs with ?view=overview, ?view=details, etc."}),e.jsxs(a.ParamTab,{tabMenu:r,variant:"underline",children:[e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold mb-2",children:"Overview Dashboard"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Main dashboard content with key metrics and overview information. The URL parameter updates to ?view=overview when this tab is active."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold mb-2",children:"Detailed Information"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Comprehensive details and in-depth analysis. URL parameter: ?view=details"})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold mb-2",children:"Configuration Settings"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Manage your preferences and application settings. URL parameter: ?view=settings"})]})})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Pills Variant with Icons"}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"Modern rounded pills with icon support for enhanced visual clarity."}),e.jsxs(a.ParamTab,{tabMenu:i,variant:"pills",size:"medium",children:[e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(t.Home,{className:"text-brand",size:24}),e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold",children:"Dashboard Home"})]}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Welcome to your dashboard! Here you'll find a summary of your most important information."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(t.BarChart,{className:"text-brand",size:24}),e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold",children:"Analytics Overview"})]}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Track your performance with detailed analytics and insights."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(t.FileText,{className:"text-brand",size:24}),e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold",children:"Reports Center"})]}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Generate and view comprehensive reports for your data."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(t.Settings,{className:"text-brand",size:24}),e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold",children:"Application Settings"})]}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Customize your application preferences and configuration."})]})})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Bordered Variant"}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"Distinct bordered style with highlighted selection state."}),e.jsxs(a.ParamTab,{tabMenu:n,variant:"bordered",children:[e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold mb-2",children:"User Profile"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Manage your personal information and profile settings."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold mb-2",children:"Notifications"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Configure how and when you receive notifications."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold mb-2",children:"Account Settings"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Manage your account security and privacy settings."})]})})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Solid Variant (Small Size)"}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"Compact solid background style perfect for space-constrained layouts."}),e.jsxs(a.ParamTab,{tabMenu:r,variant:"solid",size:"small",children:[e.jsx(a.TabPanel,{children:e.jsx(a.CardContainer,{className:"p-6",children:e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Compact overview content with small tab size."})})}),e.jsx(a.TabPanel,{children:e.jsx(a.CardContainer,{className:"p-6",children:e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Detailed information in a compact format."})})}),e.jsx(a.TabPanel,{children:e.jsx(a.CardContainer,{className:"p-6",children:e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Settings panel with space-efficient design."})})})]})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Key Features",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsxs(a.Typography,{tag:"h5",className:"mb-2",children:[e.jsx("span",{role:"img","aria-label":"link",children:"🔗"})," ","URL Synchronization"]}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Automatically syncs tab state with URL query parameters (e.g., ?view=overview). This enables:"}),e.jsxs("ul",{className:"list-disc list-inside text-sm text-gray-600 dark:text-gray-400 space-y-1 ml-4",children:[e.jsx("li",{children:"Deep linking to specific tabs"}),e.jsx("li",{children:"Browser back/forward navigation"}),e.jsx("li",{children:"Shareable URLs with selected tab state"}),e.jsx("li",{children:"Bookmark support for specific views"})]})]}),e.jsxs("div",{children:[e.jsxs(a.Typography,{tag:"h5",className:"mb-2",children:[e.jsx("span",{role:"img","aria-label":"mobile",children:"📱"})," ","Responsive Mobile Adaptation"]}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Automatically switches to TabSelect dropdown on mobile devices (xs, sm breakpoints) for optimal space usage and better UX."}),e.jsx(a.CardContainer,{className:"p-4 bg-blue-50 dark:bg-blue-900/20",children:e.jsxs(a.Typography,{tag:"p",className:"text-sm",children:[e.jsx("span",{role:"img","aria-label":"tip",children:"💡"})," ",e.jsx("span",{className:"font-semibold",children:"Tip:"})," Resize your browser window to see the automatic switch between tab bar and dropdown selector!"]})})]}),e.jsxs("div",{children:[e.jsxs(a.Typography,{tag:"h5",className:"mb-2",children:[e.jsx("span",{role:"img","aria-label":"styles",children:"🎨"})," ","Multiple Style Variants"]}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Choose from 4 distinct visual styles (underline, pills, bordered, solid) and 3 sizes (small, medium, large) to match your design system."})]}),e.jsxs("div",{children:[e.jsxs(a.Typography,{tag:"h5",className:"mb-2",children:[e.jsx("span",{role:"img","aria-label":"icons",children:"✨"})," ","Icon Support"]}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Add icons to tabs for better visual communication and improved scannability. Works seamlessly with Lucide Icons."})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"TabMenuItem Interface",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("table",{className:"w-full text-sm text-left",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-gray-200 dark:border-gray-700",children:[e.jsx("th",{className:"px-3 py-2 font-semibold",children:"Prop"}),e.jsx("th",{className:"px-3 py-2 font-semibold",children:"Type"}),e.jsx("th",{className:"px-3 py-2 font-semibold",children:"Default"}),e.jsx("th",{className:"px-3 py-2 font-semibold",children:"Description"})]})}),e.jsx("tbody",{children:l.map(s=>e.jsxs("tr",{className:"border-b border-gray-100 dark:border-gray-800",children:[e.jsx("td",{className:"px-3 py-2",children:e.jsx("code",{className:"text-xs text-brand",children:s.prop})}),e.jsx("td",{className:"px-3 py-2",children:e.jsx("code",{className:"text-xs",children:s.type})}),e.jsx("td",{className:"px-3 py-2",children:s.default==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:s.default})}),e.jsx("td",{className:"px-3 py-2 text-gray-600 dark:text-gray-400",children:s.description})]},s.prop))})]})})})}),e.jsx(a.PropPlayground,{componentName:"ParamTab",title:"ParamTab Playground",defaultValues:{variant:"solid",size:"medium",showMobileSelect:!1},excludeProps:["tabMenu","tabListClassName"],children:s=>e.jsx(a.ParamTab,{...s,tabMenu:[{title:"Tab 1",path:"#tab1"},{title:"Tab 2",path:"#tab2"},{title:"Tab 3",path:"#tab3"}]})}),e.jsx(a.AutoPropsTable,{componentName:"ParamTab"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { ParamTab, TabPanel } from '@e-burgos/tucu-ui';
|
|
3
|
+
optimal responsive behavior.`,icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-purple-600 to-indigo-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(t.Hash,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Underline Variant (Default)"}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"Classic underline style with animated indicator. URL syncs with ?view=overview, ?view=details, etc."}),e.jsxs(a.ParamTab,{tabMenu:i,variant:"underline",children:[e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold mb-2",children:"Overview Dashboard"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Main dashboard content with key metrics and overview information. The URL parameter updates to ?view=overview when this tab is active."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold mb-2",children:"Detailed Information"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Comprehensive details and in-depth analysis. URL parameter: ?view=details"})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold mb-2",children:"Configuration Settings"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Manage your preferences and application settings. URL parameter: ?view=settings"})]})})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Pills Variant with Icons"}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"Modern rounded pills with icon support for enhanced visual clarity."}),e.jsxs(a.ParamTab,{tabMenu:r,variant:"pills",size:"medium",children:[e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(t.Home,{className:"text-brand",size:24}),e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold",children:"Dashboard Home"})]}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Welcome to your dashboard! Here you'll find a summary of your most important information."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(t.BarChart,{className:"text-brand",size:24}),e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold",children:"Analytics Overview"})]}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Track your performance with detailed analytics and insights."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(t.FileText,{className:"text-brand",size:24}),e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold",children:"Reports Center"})]}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Generate and view comprehensive reports for your data."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(t.Settings,{className:"text-brand",size:24}),e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold",children:"Application Settings"})]}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Customize your application preferences and configuration."})]})})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Bordered Variant"}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"Distinct bordered style with highlighted selection state."}),e.jsxs(a.ParamTab,{tabMenu:n,variant:"bordered",children:[e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold mb-2",children:"User Profile"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Manage your personal information and profile settings."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold mb-2",children:"Notifications"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Configure how and when you receive notifications."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-base font-semibold mb-2",children:"Account Settings"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Manage your account security and privacy settings."})]})})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Solid Variant (Small Size)"}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"Compact solid background style perfect for space-constrained layouts."}),e.jsxs(a.ParamTab,{tabMenu:i,variant:"solid",size:"small",children:[e.jsx(a.TabPanel,{children:e.jsx(a.CardContainer,{className:"p-6",children:e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Compact overview content with small tab size."})})}),e.jsx(a.TabPanel,{children:e.jsx(a.CardContainer,{className:"p-6",children:e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Detailed information in a compact format."})})}),e.jsx(a.TabPanel,{children:e.jsx(a.CardContainer,{className:"p-6",children:e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Settings panel with space-efficient design."})})})]})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Key Features",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsxs(a.Typography,{tag:"h5",className:"mb-2",children:[e.jsx("span",{role:"img","aria-label":"link",children:"🔗"})," ","URL Synchronization"]}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Automatically syncs tab state with URL query parameters (e.g., ?view=overview). This enables:"}),e.jsxs("ul",{className:"list-disc list-inside text-sm text-gray-600 dark:text-gray-400 space-y-1 ml-4",children:[e.jsx("li",{children:"Deep linking to specific tabs"}),e.jsx("li",{children:"Browser back/forward navigation"}),e.jsx("li",{children:"Shareable URLs with selected tab state"}),e.jsx("li",{children:"Bookmark support for specific views"})]})]}),e.jsxs("div",{children:[e.jsxs(a.Typography,{tag:"h5",className:"mb-2",children:[e.jsx("span",{role:"img","aria-label":"mobile",children:"📱"})," ","Responsive Mobile Adaptation"]}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Automatically switches to TabSelect dropdown on mobile devices (xs, sm breakpoints) for optimal space usage and better UX."}),e.jsx(a.CardContainer,{className:"p-4 bg-blue-50 dark:bg-blue-900/20",children:e.jsxs(a.Typography,{tag:"p",className:"text-sm",children:[e.jsx("span",{role:"img","aria-label":"tip",children:"💡"})," ",e.jsx("span",{className:"font-semibold",children:"Tip:"})," Resize your browser window to see the automatic switch between tab bar and dropdown selector!"]})})]}),e.jsxs("div",{children:[e.jsxs(a.Typography,{tag:"h5",className:"mb-2",children:[e.jsx("span",{role:"img","aria-label":"styles",children:"🎨"})," ","Multiple Style Variants"]}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Choose from 4 distinct visual styles (underline, pills, bordered, solid) and 3 sizes (small, medium, large) to match your design system."})]}),e.jsxs("div",{children:[e.jsxs(a.Typography,{tag:"h5",className:"mb-2",children:[e.jsx("span",{role:"img","aria-label":"icons",children:"✨"})," ","Icon Support"]}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Add icons to tabs for better visual communication and improved scannability. Works seamlessly with Lucide Icons."})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"TabMenuItem Interface",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.BasicTable,{columns:[{key:"prop",label:"Prop",render:s=>e.jsx("code",{className:"text-xs text-brand",children:s})},{key:"type",label:"Type",render:s=>e.jsx("code",{className:"text-xs",children:s})},{key:"default",label:"Default",render:s=>s==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:s})},{key:"description",label:"Description",className:"text-gray-600 dark:text-gray-400"}],data:l,maxRows:10,resizable:!1})})})}),e.jsx(a.PropPlayground,{componentName:"ParamTab",title:"ParamTab Playground",defaultValues:{variant:"solid",size:"medium",showMobileSelect:!1},excludeProps:["tabMenu","tabListClassName"],children:s=>e.jsx(a.ParamTab,{...s,tabMenu:[{title:"Tab 1",path:"#tab1"},{title:"Tab 2",path:"#tab2"},{title:"Tab 3",path:"#tab3"}]})}),e.jsx(a.AutoPropsTable,{componentName:"ParamTab"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { ParamTab, TabPanel } from '@e-burgos/tucu-ui';
|
|
4
4
|
import { Home, Settings, User } from 'lucide-react';
|
|
5
5
|
|
|
6
6
|
// Basic usage with URL sync
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as p, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as b, C as i, a as n, T as a, at as l, ar as s,
|
|
3
|
-
import { Hash as
|
|
2
|
+
import { H as b, C as i, a as n, T as a, at as l, ar as s, y as g, P as u, A as y, c as x } from "../index-4GONhZIF.js";
|
|
3
|
+
import { Hash as f, Home as d, BarChart as m, FileText as h, Settings as c, User as v, Bell as N } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
const
|
|
8
|
-
const
|
|
7
|
+
const U = () => {
|
|
8
|
+
const o = [
|
|
9
9
|
{ title: "Overview", path: "overview" },
|
|
10
10
|
{ title: "Details", path: "details" },
|
|
11
11
|
{ title: "Settings", path: "settings" }
|
|
@@ -18,7 +18,7 @@ const R = () => {
|
|
|
18
18
|
description: `A powerful tab component that automatically syncs with URL query
|
|
19
19
|
parameters and switches to a dropdown selector on mobile devices for
|
|
20
20
|
optimal responsive behavior.`,
|
|
21
|
-
icon: /* @__PURE__ */ e("div", { className: "w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-purple-600 to-indigo-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(
|
|
21
|
+
icon: /* @__PURE__ */ e("div", { className: "w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-purple-600 to-indigo-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(f, { className: "w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg" }) })
|
|
22
22
|
}
|
|
23
23
|
),
|
|
24
24
|
/* @__PURE__ */ e(i, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Variants", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ t("div", { className: "space-y-8", children: [
|
|
@@ -32,7 +32,7 @@ const R = () => {
|
|
|
32
32
|
children: "Classic underline style with animated indicator. URL syncs with ?view=overview, ?view=details, etc."
|
|
33
33
|
}
|
|
34
34
|
),
|
|
35
|
-
/* @__PURE__ */ t(l, { tabMenu:
|
|
35
|
+
/* @__PURE__ */ t(l, { tabMenu: o, variant: "underline", children: [
|
|
36
36
|
/* @__PURE__ */ e(s, { children: /* @__PURE__ */ t(i, { className: "p-6", children: [
|
|
37
37
|
/* @__PURE__ */ e(
|
|
38
38
|
a,
|
|
@@ -103,7 +103,7 @@ const R = () => {
|
|
|
103
103
|
{
|
|
104
104
|
title: "Dashboard",
|
|
105
105
|
path: "dashboard",
|
|
106
|
-
icon: /* @__PURE__ */ e(
|
|
106
|
+
icon: /* @__PURE__ */ e(d, { size: 16 })
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
109
|
title: "Analytics",
|
|
@@ -123,8 +123,15 @@ const R = () => {
|
|
|
123
123
|
], variant: "pills", size: "medium", children: [
|
|
124
124
|
/* @__PURE__ */ e(s, { children: /* @__PURE__ */ t(i, { className: "p-6", children: [
|
|
125
125
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-3 mb-4", children: [
|
|
126
|
-
/* @__PURE__ */ e(
|
|
127
|
-
/* @__PURE__ */ e(
|
|
126
|
+
/* @__PURE__ */ e(d, { className: "text-brand", size: 24 }),
|
|
127
|
+
/* @__PURE__ */ e(
|
|
128
|
+
a,
|
|
129
|
+
{
|
|
130
|
+
tag: "h3",
|
|
131
|
+
className: "text-base font-semibold",
|
|
132
|
+
children: "Dashboard Home"
|
|
133
|
+
}
|
|
134
|
+
)
|
|
128
135
|
] }),
|
|
129
136
|
/* @__PURE__ */ e(
|
|
130
137
|
a,
|
|
@@ -138,7 +145,14 @@ const R = () => {
|
|
|
138
145
|
/* @__PURE__ */ e(s, { children: /* @__PURE__ */ t(i, { className: "p-6", children: [
|
|
139
146
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-3 mb-4", children: [
|
|
140
147
|
/* @__PURE__ */ e(m, { className: "text-brand", size: 24 }),
|
|
141
|
-
/* @__PURE__ */ e(
|
|
148
|
+
/* @__PURE__ */ e(
|
|
149
|
+
a,
|
|
150
|
+
{
|
|
151
|
+
tag: "h3",
|
|
152
|
+
className: "text-base font-semibold",
|
|
153
|
+
children: "Analytics Overview"
|
|
154
|
+
}
|
|
155
|
+
)
|
|
142
156
|
] }),
|
|
143
157
|
/* @__PURE__ */ e(
|
|
144
158
|
a,
|
|
@@ -152,7 +166,14 @@ const R = () => {
|
|
|
152
166
|
/* @__PURE__ */ e(s, { children: /* @__PURE__ */ t(i, { className: "p-6", children: [
|
|
153
167
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-3 mb-4", children: [
|
|
154
168
|
/* @__PURE__ */ e(h, { className: "text-brand", size: 24 }),
|
|
155
|
-
/* @__PURE__ */ e(
|
|
169
|
+
/* @__PURE__ */ e(
|
|
170
|
+
a,
|
|
171
|
+
{
|
|
172
|
+
tag: "h3",
|
|
173
|
+
className: "text-base font-semibold",
|
|
174
|
+
children: "Reports Center"
|
|
175
|
+
}
|
|
176
|
+
)
|
|
156
177
|
] }),
|
|
157
178
|
/* @__PURE__ */ e(
|
|
158
179
|
a,
|
|
@@ -166,7 +187,14 @@ const R = () => {
|
|
|
166
187
|
/* @__PURE__ */ e(s, { children: /* @__PURE__ */ t(i, { className: "p-6", children: [
|
|
167
188
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-3 mb-4", children: [
|
|
168
189
|
/* @__PURE__ */ e(c, { className: "text-brand", size: 24 }),
|
|
169
|
-
/* @__PURE__ */ e(
|
|
190
|
+
/* @__PURE__ */ e(
|
|
191
|
+
a,
|
|
192
|
+
{
|
|
193
|
+
tag: "h3",
|
|
194
|
+
className: "text-base font-semibold",
|
|
195
|
+
children: "Application Settings"
|
|
196
|
+
}
|
|
197
|
+
)
|
|
170
198
|
] }),
|
|
171
199
|
/* @__PURE__ */ e(
|
|
172
200
|
a,
|
|
@@ -193,12 +221,12 @@ const R = () => {
|
|
|
193
221
|
{
|
|
194
222
|
title: "Profile",
|
|
195
223
|
path: "profile",
|
|
196
|
-
icon: /* @__PURE__ */ e(
|
|
224
|
+
icon: /* @__PURE__ */ e(v, { size: 16 })
|
|
197
225
|
},
|
|
198
226
|
{
|
|
199
227
|
title: "Notifications",
|
|
200
228
|
path: "notifications",
|
|
201
|
-
icon: /* @__PURE__ */ e(
|
|
229
|
+
icon: /* @__PURE__ */ e(N, { size: 16 })
|
|
202
230
|
},
|
|
203
231
|
{
|
|
204
232
|
title: "Settings",
|
|
@@ -272,7 +300,7 @@ const R = () => {
|
|
|
272
300
|
children: "Compact solid background style perfect for space-constrained layouts."
|
|
273
301
|
}
|
|
274
302
|
),
|
|
275
|
-
/* @__PURE__ */ t(l, { tabMenu:
|
|
303
|
+
/* @__PURE__ */ t(l, { tabMenu: o, variant: "solid", size: "small", children: [
|
|
276
304
|
/* @__PURE__ */ e(s, { children: /* @__PURE__ */ e(i, { className: "p-6", children: /* @__PURE__ */ e(
|
|
277
305
|
a,
|
|
278
306
|
{
|
|
@@ -374,48 +402,57 @@ const R = () => {
|
|
|
374
402
|
)
|
|
375
403
|
] })
|
|
376
404
|
] }) }) }) }),
|
|
377
|
-
/* @__PURE__ */ e(i, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "TabMenuItem Interface", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */
|
|
378
|
-
/* @__PURE__ */ e("thead", { children: /* @__PURE__ */ t("tr", { className: "border-b border-gray-200 dark:border-gray-700", children: [
|
|
379
|
-
/* @__PURE__ */ e("th", { className: "px-3 py-2 font-semibold", children: "Prop" }),
|
|
380
|
-
/* @__PURE__ */ e("th", { className: "px-3 py-2 font-semibold", children: "Type" }),
|
|
381
|
-
/* @__PURE__ */ e("th", { className: "px-3 py-2 font-semibold", children: "Default" }),
|
|
382
|
-
/* @__PURE__ */ e("th", { className: "px-3 py-2 font-semibold", children: "Description" })
|
|
383
|
-
] }) }),
|
|
384
|
-
/* @__PURE__ */ e("tbody", { children: [
|
|
385
|
-
{
|
|
386
|
-
prop: "title",
|
|
387
|
-
type: "React.ReactNode",
|
|
388
|
-
default: "required",
|
|
389
|
-
description: "Tab label (can be text, JSX, or components)"
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
prop: "path",
|
|
393
|
-
type: "string",
|
|
394
|
-
default: "required",
|
|
395
|
-
description: 'Unique path for URL parameter (e.g., "overview")'
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
prop: "icon",
|
|
399
|
-
type: "React.ReactNode",
|
|
400
|
-
default: "-",
|
|
401
|
-
description: "Optional icon to display before tab label"
|
|
402
|
-
}
|
|
403
|
-
].map((r) => /* @__PURE__ */ t(
|
|
404
|
-
"tr",
|
|
405
|
-
{
|
|
406
|
-
className: "border-b border-gray-100 dark:border-gray-800",
|
|
407
|
-
children: [
|
|
408
|
-
/* @__PURE__ */ e("td", { className: "px-3 py-2", children: /* @__PURE__ */ e("code", { className: "text-xs text-brand", children: r.prop }) }),
|
|
409
|
-
/* @__PURE__ */ e("td", { className: "px-3 py-2", children: /* @__PURE__ */ e("code", { className: "text-xs", children: r.type }) }),
|
|
410
|
-
/* @__PURE__ */ e("td", { className: "px-3 py-2", children: r.default === "required" ? /* @__PURE__ */ e("span", { className: "text-xs text-red-500", children: "required" }) : /* @__PURE__ */ e("code", { className: "text-xs", children: r.default }) }),
|
|
411
|
-
/* @__PURE__ */ e("td", { className: "px-3 py-2 text-gray-600 dark:text-gray-400", children: r.description })
|
|
412
|
-
]
|
|
413
|
-
},
|
|
414
|
-
r.prop
|
|
415
|
-
)) })
|
|
416
|
-
] }) }) }) }),
|
|
417
|
-
/* @__PURE__ */ e(
|
|
405
|
+
/* @__PURE__ */ e(i, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "TabMenuItem Interface", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
418
406
|
g,
|
|
407
|
+
{
|
|
408
|
+
columns: [
|
|
409
|
+
{
|
|
410
|
+
key: "prop",
|
|
411
|
+
label: "Prop",
|
|
412
|
+
render: (r) => /* @__PURE__ */ e("code", { className: "text-xs text-brand", children: r })
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
key: "type",
|
|
416
|
+
label: "Type",
|
|
417
|
+
render: (r) => /* @__PURE__ */ e("code", { className: "text-xs", children: r })
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
key: "default",
|
|
421
|
+
label: "Default",
|
|
422
|
+
render: (r) => r === "required" ? /* @__PURE__ */ e("span", { className: "text-xs text-red-500", children: "required" }) : /* @__PURE__ */ e("code", { className: "text-xs", children: r })
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
key: "description",
|
|
426
|
+
label: "Description",
|
|
427
|
+
className: "text-gray-600 dark:text-gray-400"
|
|
428
|
+
}
|
|
429
|
+
],
|
|
430
|
+
data: [
|
|
431
|
+
{
|
|
432
|
+
prop: "title",
|
|
433
|
+
type: "React.ReactNode",
|
|
434
|
+
default: "required",
|
|
435
|
+
description: "Tab label (can be text, JSX, or components)"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
prop: "path",
|
|
439
|
+
type: "string",
|
|
440
|
+
default: "required",
|
|
441
|
+
description: 'Unique path for URL parameter (e.g., "overview")'
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
prop: "icon",
|
|
445
|
+
type: "React.ReactNode",
|
|
446
|
+
default: "-",
|
|
447
|
+
description: "Optional icon to display before tab label"
|
|
448
|
+
}
|
|
449
|
+
],
|
|
450
|
+
maxRows: 10,
|
|
451
|
+
resizable: !1
|
|
452
|
+
}
|
|
453
|
+
) }) }) }),
|
|
454
|
+
/* @__PURE__ */ e(
|
|
455
|
+
u,
|
|
419
456
|
{
|
|
420
457
|
componentName: "ParamTab",
|
|
421
458
|
title: "ParamTab Playground",
|
|
@@ -438,9 +475,9 @@ const R = () => {
|
|
|
438
475
|
)
|
|
439
476
|
}
|
|
440
477
|
),
|
|
441
|
-
/* @__PURE__ */ e(
|
|
478
|
+
/* @__PURE__ */ e(y, { componentName: "ParamTab" }),
|
|
442
479
|
/* @__PURE__ */ e(i, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Code Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
443
|
-
|
|
480
|
+
x,
|
|
444
481
|
{
|
|
445
482
|
language: "tsx",
|
|
446
483
|
code: `import { ParamTab, TabPanel } from '@e-burgos/tucu-ui';
|
|
@@ -540,5 +577,5 @@ function CompactExample() {
|
|
|
540
577
|
] });
|
|
541
578
|
};
|
|
542
579
|
export {
|
|
543
|
-
|
|
580
|
+
U as default
|
|
544
581
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as n, Fragment as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as r, C as a, a as t, n as l, c as d, P as m, A as h } from "../index-
|
|
2
|
+
import { T as r, C as a, a as t, n as l, c as d, P as m, A as h } from "../index-4GONhZIF.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-C0NugKZs.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=[{name:"Chrome",value:62},{name:"Safari",value:19},{name:"Firefox",value:10},{name:"Edge",value:6},{name:"Other",value:3}],r=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(a.Typography,{tag:"h2",className:"text-base md:text-base font-semibold",children:"PieChart"}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Pie and donut chart component for displaying proportions and distributions with labels and inner content support."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Pie Chart",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.PieChart,{data:t,height:300})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Donut Chart",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.PieChart,{data:t,donut:!0,height:300})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Donut with Inner Content",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.PieChart,{data:t,donut:!0,height:300,innerContent:e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-2xl font-bold",children:"100%"}),e.jsx("p",{className:"text-sm text-gray-500",children:"Total"})]})})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Without Labels",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.PieChart,{data:t,showLabels:!1,height:300})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Usage",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{code:`import { PieChart } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
const data = [
|
|
4
4
|
{ name: 'Chrome', value: 62 },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("react"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("react"),a=require("../index-C0NugKZs.js"),m=require("lucide-react");require("react-router-dom");require("react-dom");const g=()=>{const[n,r]=i.useState(""),[d,o]=i.useState(""),t=[{label:"Primary",color:"primary"},{label:"Secondary",color:"secondary"},{label:"Danger",color:"danger"},{label:"Info",color:"info"},{label:"Success",color:"success"},{label:"Warning",color:"warning"}],c=[{label:"Small",size:"sm"},{label:"Medium",size:"md"},{label:"Large",size:"lg"}],h=[{label:"Square",rounded:"none"},{label:"Soft",rounded:"sm"},{label:"Default",rounded:"md"},{label:"Large",rounded:"lg"},{label:"Pill",rounded:"full"}];return e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"PinCode",description:"A pin code input component for entering numeric codes digit by digit.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-amber-500 via-orange-500 to-yellow-500 rounded-full flex items-center justify-center shadow-lg border border-amber-500/50",children:e.jsx(m.Hash,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"4 Digit PinCode"}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-2",children:"Pin Code"}),e.jsx(a.PinCode,{length:4,value:n,onChange:r})]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"6 Digit PinCode"}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-2",children:"Verification Code"}),e.jsx(a.PinCode,{length:6,value:n,onChange:r})]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Helper Text"}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-2",children:"Security Code"}),e.jsx(a.PinCode,{length:4,helperText:"Enter the 4-digit code",value:n,onChange:r})]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Error"}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-2",children:"Pin Code"}),e.jsx(a.PinCode,{length:4,error:"Invalid pin code",value:n,onChange:r})]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-2",children:"Pin Code"}),e.jsx(a.PinCode,{length:4,disabled:!0})]})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-2",children:"Ghost (default)"}),e.jsx(a.PinCode,{length:4,variant:"ghost"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-2",children:"Solid"}),e.jsx(a.PinCode,{length:4,variant:"solid"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-2",children:"Transparent"}),e.jsx(a.PinCode,{length:4,variant:"transparent"})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Colors",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-3",children:t.map(({label:s,color:l})=>e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-2 text-sm",children:s}),e.jsx(a.PinCode,{length:4,color:l})]},l))})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Sizes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-3",children:c.map(({label:s,size:l})=>e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-2 text-sm",children:s}),e.jsx(a.PinCode,{length:4,size:l})]},l))})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Shapes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-3",children:h.map(({label:s,rounded:l})=>e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-2 text-sm",children:s}),e.jsx(a.PinCode,{length:4,rounded:l})]},l))})})})}),e.jsx(a.PropPlayground,{componentName:"PinCode",defaultValues:{length:4,type:"text",placeholder:"-",mask:!1,center:!0,size:"md",rounded:"md",variant:"ghost",color:"primary",helperText:"",error:"",fullWidth:!1,disabled:!1},controlOverrides:[{name:"placeholder",type:"text",description:"Character placeholder rendered in each box"},{name:"disabled",type:"boolean",description:"Disables the pin input and prevents interaction"}],includeProps:["length","type","placeholder","mask","center","size","rounded","variant","color","helperText","error","fullWidth","disabled"],excludeProps:["value","onChange","inputClassName","errorClassName","helperTextClassName","className"],children:s=>e.jsx("div",{className:"w-full max-w-lg flex justify-center",children:e.jsx(a.PinCode,{...s,value:d,onChange:o})})}),e.jsx(a.AutoPropsTable,{componentName:"PinCode"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { PinCode } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
<PinCode
|
|
4
4
|
length={4}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as C, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as t } from "react";
|
|
3
|
-
import { H as N, C as a, a as s, T as n, r as i, P as b, A as v, c as f } from "../index-
|
|
3
|
+
import { H as N, C as a, a as s, T as n, r as i, P as b, A as v, c as f } from "../index-4GONhZIF.js";
|
|
4
4
|
import { Hash as P } from "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as t, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import { H as m, C as l, a as o, T as i, ae as a, P as h, A as u, c as v } from "../index-
|
|
4
|
-
import { BarChart3 as
|
|
3
|
+
import { H as m, C as l, a as o, T as i, ae as a, P as h, A as u, c as v } from "../index-4GONhZIF.js";
|
|
4
|
+
import { BarChart3 as p } from "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const x = () => {
|
|
@@ -13,7 +13,7 @@ const x = () => {
|
|
|
13
13
|
title: "Progressbar",
|
|
14
14
|
description: `A progress bar component for displaying completion status with
|
|
15
15
|
customizable colors, sizes, and variants.`,
|
|
16
|
-
icon: /* @__PURE__ */ e("div", { className: "w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-violet-500 to-indigo-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(
|
|
16
|
+
icon: /* @__PURE__ */ e("div", { className: "w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-violet-500 to-indigo-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(p, { className: "w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg" }) })
|
|
17
17
|
}
|
|
18
18
|
),
|
|
19
19
|
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Basic Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ r("div", { className: "space-y-4", children: [
|
|
@@ -48,7 +48,7 @@ const x = () => {
|
|
|
48
48
|
"button",
|
|
49
49
|
{
|
|
50
50
|
onClick: () => c(Math.max(0, s - 10)),
|
|
51
|
-
className: "px-3 py-1 bg-light-dark rounded border border-
|
|
51
|
+
className: "px-3 py-1 bg-light-dark rounded border border-border hover:opacity-80 transition-opacity",
|
|
52
52
|
children: "-10"
|
|
53
53
|
}
|
|
54
54
|
),
|
|
@@ -56,7 +56,7 @@ const x = () => {
|
|
|
56
56
|
"button",
|
|
57
57
|
{
|
|
58
58
|
onClick: () => c(Math.min(100, s + 10)),
|
|
59
|
-
className: "px-3 py-1 bg-light-dark rounded border border-
|
|
59
|
+
className: "px-3 py-1 bg-light-dark rounded border border-border hover:opacity-80 transition-opacity",
|
|
60
60
|
children: "+10"
|
|
61
61
|
}
|
|
62
62
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),i=require("react"),e=require("../index-
|
|
2
|
-
customizable colors, sizes, and variants.`,icon:s.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-violet-500 to-indigo-500 rounded-full flex items-center justify-center shadow-lg",children:s.jsx(o.BarChart3,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),s.jsx(e.CardContainer,{className:"overflow-hidden",children:s.jsx(e.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:s.jsx("div",{className:"w-full p-4 sm:p-6",children:s.jsxs("div",{className:"space-y-4",children:[s.jsxs(e.CardContainer,{className:"p-4",children:[s.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Basic Progressbar"}),s.jsx(e.Progressbar,{value:r})]}),s.jsxs(e.CardContainer,{className:"p-4",children:[s.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"With Label"}),s.jsx(e.Progressbar,{value:r,label:`${r}%`,size:"xl"})]}),s.jsxs(e.CardContainer,{className:"p-4",children:[s.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Interactive Example"}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(e.Progressbar,{value:r,label:`${r}%`,size:"xl"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx("button",{onClick:()=>a(Math.max(0,r-10)),className:"px-3 py-1 bg-light-dark rounded border border-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),i=require("react"),e=require("../index-C0NugKZs.js"),o=require("lucide-react");require("react-router-dom");require("react-dom");const c=()=>{const[r,a]=i.useState(45);return s.jsxs(s.Fragment,{children:[s.jsx(e.HeroCard,{title:"Progressbar",description:`A progress bar component for displaying completion status with
|
|
2
|
+
customizable colors, sizes, and variants.`,icon:s.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-violet-500 to-indigo-500 rounded-full flex items-center justify-center shadow-lg",children:s.jsx(o.BarChart3,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),s.jsx(e.CardContainer,{className:"overflow-hidden",children:s.jsx(e.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:s.jsx("div",{className:"w-full p-4 sm:p-6",children:s.jsxs("div",{className:"space-y-4",children:[s.jsxs(e.CardContainer,{className:"p-4",children:[s.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Basic Progressbar"}),s.jsx(e.Progressbar,{value:r})]}),s.jsxs(e.CardContainer,{className:"p-4",children:[s.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"With Label"}),s.jsx(e.Progressbar,{value:r,label:`${r}%`,size:"xl"})]}),s.jsxs(e.CardContainer,{className:"p-4",children:[s.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Interactive Example"}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(e.Progressbar,{value:r,label:`${r}%`,size:"xl"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx("button",{onClick:()=>a(Math.max(0,r-10)),className:"px-3 py-1 bg-light-dark rounded border border-border hover:opacity-80 transition-opacity",children:"-10"}),s.jsx("button",{onClick:()=>a(Math.min(100,r+10)),className:"px-3 py-1 bg-light-dark rounded border border-border hover:opacity-80 transition-opacity",children:"+10"})]})]})]})]})})})}),s.jsx(e.CardContainer,{className:"overflow-hidden",children:s.jsx(e.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:s.jsx("div",{className:"w-full p-4 sm:p-6",children:s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{children:[s.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Colors"}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(e.Progressbar,{value:60,color:"primary"}),s.jsx(e.Progressbar,{value:60,color:"success"}),s.jsx(e.Progressbar,{value:60,color:"danger"}),s.jsx(e.Progressbar,{value:60,color:"info"}),s.jsx(e.Progressbar,{value:60,color:"warning"})]})]}),s.jsxs("div",{children:[s.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Variants"}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(e.Progressbar,{value:60,variant:"solid"}),s.jsx(e.Progressbar,{value:60,variant:"flat"})]})]}),s.jsxs("div",{children:[s.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Sizes"}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(e.Progressbar,{value:60,size:"sm"}),s.jsx(e.Progressbar,{value:60,size:"DEFAULT"}),s.jsx(e.Progressbar,{value:60,size:"lg"}),s.jsx(e.Progressbar,{value:60,size:"xl"})]})]})]})})})}),s.jsx(e.PropPlayground,{componentName:"Progressbar",defaultValues:{value:65,variant:"solid",size:"DEFAULT",color:"primary",rounded:"DEFAULT"},excludeProps:["label","barClassName","labelClassName"],children:l=>s.jsx("div",{className:"w-full",children:s.jsx(e.Progressbar,{...l})})}),s.jsx(e.AutoPropsTable,{componentName:"Progressbar"}),s.jsx(e.CardContainer,{className:"overflow-hidden",children:s.jsx(e.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:s.jsx("div",{className:"w-full p-4 sm:p-6",children:s.jsx(e.CodeBlock,{language:"tsx",code:`import { Progressbar } from '@e-burgos/tucu-ui';
|
|
3
3
|
|
|
4
4
|
// Basic usage
|
|
5
5
|
<Progressbar value={45} />
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-C0NugKZs.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=[{subject:"Performance",teamA:85,teamB:70,teamC:60},{subject:"Reliability",teamA:90,teamB:80,teamC:75},{subject:"Scalability",teamA:70,teamB:85,teamC:90},{subject:"Security",teamA:95,teamB:75,teamC:80},{subject:"Usability",teamA:80,teamB:90,teamC:70},{subject:"Efficiency",teamA:75,teamB:65,teamC:85}],r=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(a.Typography,{tag:"h2",className:"text-base md:text-base font-semibold",children:"RadarChart"}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Radar chart component for comparing multiple variables across categories, ideal for skill assessments and performance comparisons."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Radar Chart",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.RadarChart,{data:t,series:[{dataKey:"teamA",name:"Team A"}],height:350})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Multiple Series Comparison",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.RadarChart,{data:t,series:[{dataKey:"teamA",name:"Team A"},{dataKey:"teamB",name:"Team B"},{dataKey:"teamC",name:"Team C"}],height:350})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Higher Fill Opacity",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.RadarChart,{data:t,series:[{dataKey:"teamA",name:"Team A"},{dataKey:"teamB",name:"Team B"}],fillOpacity:.6,height:350})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Usage",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{code:`import { RadarChart } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
const data = [
|
|
4
4
|
{ subject: 'Performance', teamA: 85, teamB: 70 },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as c, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { T as r, C as e, a as t, R as m, c as d, P as o, A as n } from "../index-
|
|
2
|
+
import { T as r, C as e, a as t, R as m, c as d, P as o, A as n } from "../index-4GONhZIF.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as g, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d } from "react";
|
|
3
|
-
import { H as v, C as e, a as t, T as i, t as o, P as N, A as f, c as G } from "../index-
|
|
3
|
+
import { H as v, C as e, a as t, T as i, t as o, P as N, A as f, c as G } from "../index-4GONhZIF.js";
|
|
4
4
|
import { CircleDot as w } from "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),i=require("react"),e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),i=require("react"),e=require("../index-C0NugKZs.js"),u=require("lucide-react");require("react-router-dom");require("react-dom");const m=()=>{const[s,n]=i.useState(""),[t,d]=i.useState("starter"),p=[{label:"Primary",color:"primary"},{label:"Secondary",color:"secondary"},{label:"Danger",color:"danger"},{label:"Info",color:"info"},{label:"Success",color:"success"},{label:"Warning",color:"warning"}],c=[{label:"Small",size:"sm"},{label:"Medium",size:"md"},{label:"Large",size:"lg"},{label:"Extra Large",size:"xl"}],r=[{value:"male",label:"Male"},{value:"female",label:"Female"},{value:"other",label:"Other"}];return a.jsxs(a.Fragment,{children:[a.jsx(e.HeroCard,{title:"RadioGroup",description:"A group of radio buttons for selecting one option from multiple choices.",icon:a.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-indigo-500 via-purple-500 to-pink-500 rounded-full flex items-center justify-center shadow-lg border border-indigo-500/50",children:a.jsx(u.CircleDot,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Examples",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Basic RadioGroup"}),a.jsx(e.RadioGroup,{label:"Gender",options:r,value:s,onChange:l=>n(l)})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"With Helper Text"}),a.jsx(e.RadioGroup,{label:"Size",helperText:"Select your preferred size",options:[{value:"small",label:"Small"},{value:"medium",label:"Medium"},{value:"large",label:"Large"}]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"With Error"}),a.jsx(e.RadioGroup,{label:"Priority",error:"Please select a priority",options:[{value:"low",label:"Low"},{value:"high",label:"High"}]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),a.jsx(e.RadioGroup,{label:"Status",disabled:!0,options:[{value:"active",label:"Active"},{value:"inactive",label:"Inactive"}]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Horizontal Layout"}),a.jsx(e.RadioGroup,{label:"Direction",direction:"horizontal",options:[{value:"vertical",label:"Vertical"},{value:"horizontal",label:"Horizontal"}]})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Ghost (default)"}),a.jsx(e.RadioGroup,{label:"Ghost Variant",variant:"ghost",options:[{value:"opt1",label:"Option 1"},{value:"opt2",label:"Option 2"}]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Solid"}),a.jsx(e.RadioGroup,{label:"Solid Variant",variant:"solid",options:[{value:"opt1",label:"Option 1"},{value:"opt2",label:"Option 2"}]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Transparent"}),a.jsx(e.RadioGroup,{label:"Transparent Variant",variant:"transparent",options:[{value:"opt1",label:"Option 1"},{value:"opt2",label:"Option 2"}]})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Colors",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsx("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-3",children:p.map(({label:l,color:o})=>a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:l}),a.jsx(e.RadioGroup,{label:`${l} Group`,color:o,options:r})]},o))})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Sizes",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsx("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-4",children:c.map(({label:l,size:o})=>a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:l}),a.jsx(e.RadioGroup,{label:`${l} Group`,size:o,options:r})]},o))})})})}),a.jsx(e.PropPlayground,{componentName:"RadioGroup",defaultValues:{label:"Preview RadioGroup",variant:"ghost",color:"primary",size:"md",labelPlacement:"end",disabled:!1,helperText:"",error:"",direction:"vertical",gap:"md"},includeProps:["label","variant","color","size","labelPlacement","disabled","helperText","error","direction","gap"],excludeProps:["options","value","defaultValue","children","onChange"],children:l=>a.jsx("div",{className:"w-full max-w-lg",children:a.jsx(e.RadioGroup,{...l,options:[{value:"starter",label:"Starter"},{value:"growth",label:"Growth"},{value:"scale",label:"Scale"}],value:t,onChange:o=>d(String(o))})})}),a.jsx(e.AutoPropsTable,{componentName:"RadioGroup"}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsx(e.CodeBlock,{language:"typescript",code:`import { RadioGroup } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
const options = [
|
|
4
4
|
{ value: 'male', label: 'Male' },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as p, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as g } from "react";
|
|
3
|
-
import { H as v, C as l, a as d, T as o, s as r, P as N, A as f, c as R } from "../index-
|
|
3
|
+
import { H as v, C as l, a as d, T as o, s as r, P as N, A as f, c as R } from "../index-4GONhZIF.js";
|
|
4
4
|
import { Circle as w } from "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|