@e-burgos/tucu-ui 2.4.1 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/datatable/common/constants.d.ts +1 -0
- package/datatable/common/functions/index.d.ts +39 -0
- package/datatable/common/functions/user-scopes/index.d.ts +3 -0
- package/datatable/common/helpers/ExpandedColumn.d.ts +9 -0
- package/datatable/common/helpers/OffsetColumn.d.ts +9 -0
- package/datatable/common/helpers/RowActionsColumn.d.ts +9 -0
- package/datatable/common/helpers/RowSelectionColumn.d.ts +9 -0
- package/datatable/common/helpers/cn.d.ts +10 -0
- package/datatable/common/helpers/convertColumns.d.ts +42 -0
- package/datatable/common/helpers/parseNumericValueToExport.d.ts +5 -0
- package/datatable/common/helpers/theme.d.ts +8 -0
- package/datatable/common/types/index.d.ts +416 -0
- package/datatable/components/Assets/ArrowDoubleIndicator.d.ts +26 -0
- package/datatable/components/Assets/ArrowIndicator.d.ts +26 -0
- package/datatable/components/Assets/ArrowLongIndicator.d.ts +26 -0
- package/datatable/components/Assets/ArrowPaginationIndicator.d.ts +26 -0
- package/datatable/components/Assets/AssetButton.d.ts +32 -0
- package/datatable/components/Assets/ColumnIndicator.d.ts +15 -0
- package/datatable/components/Assets/DeleteIndicator.d.ts +15 -0
- package/datatable/components/Assets/DownloadIndicator.d.ts +15 -0
- package/datatable/components/Assets/DragIndicator.d.ts +17 -0
- package/datatable/components/Assets/EditIndicator.d.ts +15 -0
- package/datatable/components/Assets/FilterIndicator.d.ts +15 -0
- package/datatable/components/Assets/MoreIndicator.d.ts +17 -0
- package/datatable/components/Assets/OpenNewTab.d.ts +15 -0
- package/datatable/components/Assets/PinIndicator.d.ts +17 -0
- package/datatable/components/Assets/RowIndicator.d.ts +15 -0
- package/datatable/components/Assets/ViewDetailsIndicator.d.ts +16 -0
- package/datatable/components/Assets/VisibilityIndicator.d.ts +17 -0
- package/datatable/components/Assets/VoidIndicator.d.ts +15 -0
- package/datatable/components/Assets/index.d.ts +18 -0
- package/datatable/components/Common/IconButton/index.d.ts +18 -0
- package/datatable/components/Common/Spinner.d.ts +15 -0
- package/datatable/components/Common/Tooltip.d.ts +37 -0
- package/datatable/components/DataTable/ColumnsVisibilityManager.d.ts +3 -0
- package/datatable/components/DataTable/DataTable.d.ts +26 -0
- package/datatable/components/DataTable/DataTableComponent/index.d.ts +70 -0
- package/datatable/components/DataTable/StateTableHandler/index.d.ts +23 -0
- package/datatable/components/DataTable/SubComponentDataTable/index.d.ts +18 -0
- package/datatable/components/DataTable/TableCell/ExpandedRowCell/index.d.ts +19 -0
- package/datatable/components/DataTable/TableCell/RowActionsCell/index.d.ts +29 -0
- package/datatable/components/DataTable/TableCell/RowSelectionCell/index.d.ts +21 -0
- package/datatable/components/DataTable/TableCell/index.d.ts +44 -0
- package/datatable/components/DataTable/TableHead/index.d.ts +33 -0
- package/datatable/components/DataTable/TableHeader/CheckboxSelector/index.d.ts +17 -0
- package/datatable/components/DataTable/TableHeader/ColumnDraggable/index.d.ts +22 -0
- package/datatable/components/DataTable/TableHeader/ColumnPin/index.d.ts +26 -0
- package/datatable/components/DataTable/TableHeader/ColumnSearcher/InputSearcher.d.ts +19 -0
- package/datatable/components/DataTable/TableHeader/ColumnSearcher/index.d.ts +18 -0
- package/datatable/components/DataTable/TableHeader/ColumnSort/index.d.ts +20 -0
- package/datatable/components/DataTable/TableHeader/ColumnVisibility/index.d.ts +18 -0
- package/datatable/components/DataTable/TableHeader/index.d.ts +30 -0
- package/datatable/components/DataTable/TableRow/index.d.ts +43 -0
- package/datatable/components/DataTable/TableWrapper/index.d.ts +34 -0
- package/datatable/components/DataTable/index.d.ts +3 -0
- package/datatable/components/Footer/index.d.ts +19 -0
- package/datatable/components/ManualPagination/index.d.ts +20 -0
- package/datatable/components/Pagination/index.d.ts +21 -0
- package/datatable/components/RowSelection/index.d.ts +14 -0
- package/datatable/context/DragDropContentContext.d.ts +33 -0
- package/datatable/context/DragDropTableContext.d.ts +35 -0
- package/datatable/context/index.d.ts +167 -0
- package/datatable/hooks/index.d.ts +6 -0
- package/datatable/hooks/useColumns.d.ts +27 -0
- package/datatable/hooks/useComponentEventListener.d.ts +21 -0
- package/datatable/hooks/useDataTableStore.d.ts +64 -0
- package/datatable/hooks/useGetCommonPinningStyles.d.ts +22 -0
- package/datatable/hooks/useInitialState.d.ts +27 -0
- package/datatable/hooks/useResetCacheVersion.d.ts +19 -0
- package/datatable/hooks/useScrollableTable.d.ts +30 -0
- package/datatable/index.d.ts +12 -0
- package/datatable/tanstack-table/index.d.ts +2 -0
- package/demo/generated/props-metadata.d.ts +2 -2
- package/demo/pages/datatable/DataTablePage.d.ts +2 -0
- package/demo/pages/datatable/datatable-sections/ColumnsSection.d.ts +3 -0
- package/demo/pages/datatable/datatable-sections/DataFetchingSection.d.ts +3 -0
- package/demo/pages/datatable/datatable-sections/DocumentationSection.d.ts +3 -0
- package/demo/pages/datatable/datatable-sections/ExamplesSection.d.ts +3 -0
- package/demo/pages/datatable/datatable-sections/PlaygroundSection.d.ts +3 -0
- package/demo/pages/datatable/datatable-sections/SearchSection.d.ts +3 -0
- package/demo/pages/index.d.ts +1 -0
- package/documentation/APIReferenceSection-DhLda4os.js +1 -0
- package/documentation/APIReferenceSection-bp_k9Tqz.js +213 -0
- package/documentation/ActiveLinkSection-VZpThvCH.js +79 -0
- package/documentation/ActiveLinkSection-tNH1S8co.js +23 -0
- package/documentation/AdvancedColorSystemSection-Bpg0ykpE.js +181 -0
- package/documentation/AdvancedColorSystemSection-DV105GJ4.js +17 -0
- package/documentation/AdvancedFeaturesSection-7mYHkn6Y.js +1 -0
- package/documentation/AdvancedFeaturesSection-Bg3qw8SS.js +70 -0
- package/documentation/AdvancedFeaturesSection-D5EPjVA_.js +32 -0
- package/documentation/AdvancedFeaturesSection-Dx2FHJQ4.js +117 -0
- package/documentation/AlertSection-BANRD0WY.js +26 -0
- package/documentation/AlertSection-D2ZMBu8r.js +96 -0
- package/documentation/AnchorLinkSection-BJiqE8DS.js +20 -0
- package/documentation/AnchorLinkSection-DzqR1Ja0.js +65 -0
- package/documentation/ArchitecturalPatternsComparisonSection-BXa3fD3O.js +34 -0
- package/documentation/ArchitecturalPatternsComparisonSection-qvrXsvTR.js +182 -0
- package/documentation/ArchitectureOverviewSection-C8sgSFI-.js +210 -0
- package/documentation/ArchitectureOverviewSection-D0tlNXWy.js +1 -0
- package/documentation/AreaChartSection-BOwKYw6Y.js +22 -0
- package/documentation/AreaChartSection-CzLGWCua.js +132 -0
- package/documentation/AuthorCardSection-CHuq5QLN.js +18 -0
- package/documentation/AuthorCardSection-CrxUxl7Q.js +79 -0
- package/documentation/AvatarSection-BG9u4AUq.js +89 -0
- package/documentation/AvatarSection-DevddyMw.js +19 -0
- package/documentation/BackgroundsSection-CC7L7uIS.js +6 -0
- package/documentation/BackgroundsSection-rIeljh3V.js +365 -0
- package/documentation/BadgeSection-3vXDcqn1.js +49 -0
- package/documentation/BadgeSection-DXHhFhnL.js +179 -0
- package/documentation/BarChartSection-CATVPfb7.js +23 -0
- package/documentation/BarChartSection-DZmMeDJ_.js +127 -0
- package/documentation/BasicTableSection-CKpQEXFP.js +36 -0
- package/documentation/BasicTableSection-Dk1pMX7T.js +133 -0
- package/documentation/BasicUsageSection-C6jzFsy4.js +45 -0
- package/documentation/BasicUsageSection-Cr562E1H.js +133 -0
- package/documentation/BestPracticesSection-BLDoPxOK.js +1 -0
- package/documentation/BestPracticesSection-BNrOOboM.js +137 -0
- package/documentation/BestPracticesSection-BVQwqior.js +1 -0
- package/documentation/BestPracticesSection-BhHp4zsd.js +151 -0
- package/documentation/BestPracticesSection-BjJJEr21.js +91 -0
- package/documentation/BestPracticesSection-C-w5FwtZ.js +79 -0
- package/documentation/BestPracticesSection-C0CfdYdW.js +153 -0
- package/documentation/BestPracticesSection-Coso4hou.js +34 -0
- package/documentation/BestPracticesSection-CuLnMSUm.js +1 -0
- package/documentation/BestPracticesSection-D1TzGwt4.js +1 -0
- package/documentation/BestPracticesSection-Dcf1Ecin.js +151 -0
- package/documentation/BestPracticesSection-WftLca9v.js +1 -0
- package/documentation/BestPracticesSection-ec4Mf-f9.js +61 -0
- package/documentation/BestPracticesSection-kFMiJLRj.js +1 -0
- package/documentation/BorderRadiusSection-CM_dDRJI.js +58 -0
- package/documentation/BorderRadiusSection-CQ2ET4Kp.js +1 -0
- package/documentation/ButtonDripSection-Dva1BJM-.js +110 -0
- package/documentation/ButtonDripSection-ZXvRsatv.js +21 -0
- package/documentation/ButtonLoaderSection-BZuT9Xfl.js +153 -0
- package/documentation/ButtonLoaderSection-ZUjulNxT.js +31 -0
- package/documentation/CardContainerSection-Z7NOSIc4.js +61 -0
- package/documentation/CardContainerSection-j-BU0Fsq.js +22 -0
- package/documentation/CardSection-nulnD1Rl.js +26 -0
- package/documentation/CardSection-xhkzCZXI.js +136 -0
- package/documentation/CardTitleSection-DKFkHUhY.js +20 -0
- package/documentation/CardTitleSection-kRleax_l.js +72 -0
- package/documentation/CarouselCardsSection-BZ49UPm1.js +174 -0
- package/documentation/CarouselCardsSection-DuLDA6jR.js +38 -0
- package/documentation/CarouselImageSection-Bw6VB4Sy.js +39 -0
- package/documentation/CarouselImageSection-xi_Ys2D4.js +179 -0
- package/documentation/CarouselSection-Deuko-HQ.js +123 -0
- package/documentation/CarouselSection-tGiiAPUS.js +25 -0
- package/documentation/CheckboxSection-CzqqD53Y.js +175 -0
- package/documentation/CheckboxSection-DvV3_WXa.js +29 -0
- package/documentation/ClientConfigSection-Gp3e7u6v.js +39 -0
- package/documentation/ClientConfigSection-IutnGjQM.js +126 -0
- package/documentation/CodeExamplesSection-B_dafIDz.js +134 -0
- package/documentation/CodeExamplesSection-DbIVosHK.js +68 -0
- package/documentation/CoinCardSection-Dva3hwNM.js +132 -0
- package/documentation/CoinCardSection-lovvJF09.js +13 -0
- package/documentation/CoinInfoCardSection-8zw579l9.js +12 -0
- package/documentation/CoinInfoCardSection-Did86Nnb.js +148 -0
- package/documentation/CoinListBoxSection-Bar8p9MH.js +24 -0
- package/documentation/CoinListBoxSection-D_KM8_nW.js +129 -0
- package/documentation/CollapseSection-BMLzKQqC.js +28 -0
- package/documentation/CollapseSection-js4VAcmK.js +84 -0
- package/documentation/CollectionCardSection-D2HwaGHj.js +78 -0
- package/documentation/CollectionCardSection-Df34NuPH.js +17 -0
- package/documentation/CollectionSelectListSection-CNAfimrX.js +15 -0
- package/documentation/CollectionSelectListSection-LGvQya5I.js +149 -0
- package/documentation/ColorCustomizationSection-B82JJ1c2.js +141 -0
- package/documentation/ColorCustomizationSection-D4e9KLUe.js +1 -0
- package/documentation/ColorSystemSection-CIqTbBOI.js +1 -0
- package/documentation/ColorSystemSection-Dhgkg-r-.js +339 -0
- package/documentation/ColumnsSection-DrYNzV9j.js +435 -0
- package/documentation/ColumnsSection-qPdS2C02.js +109 -0
- package/documentation/CommonErrorsSection-D5ulhjHy.js +77 -0
- package/documentation/CommonErrorsSection-D__sdWvP.js +1 -0
- package/documentation/ComponentAnatomySection-C9tEDK7p.js +78 -0
- package/documentation/ComponentAnatomySection-CqsdkM8N.js +1 -0
- package/documentation/ComponentStatusSection-BR69AE7p.js +148 -0
- package/documentation/ComponentStatusSection-CNigvIxm.js +1 -0
- package/documentation/ComposedChartSection-CoIPhfXm.js +21 -0
- package/documentation/ComposedChartSection-Q_8Ho__v.js +113 -0
- package/documentation/CurrencySwapIconsSection-DQn8jXE-.js +7 -0
- package/documentation/CurrencySwapIconsSection-zs2ai4Bd.js +73 -0
- package/documentation/CustomColorPaletteSection-CDwYb_hG.js +74 -0
- package/documentation/CustomColorPaletteSection-D7wgseaA.js +19 -0
- package/documentation/CustomIconsSection-BlUe77an.js +172 -0
- package/documentation/CustomIconsSection-WTHmHO_1.js +3 -0
- package/documentation/DataFetchingSection-D5ZMyrfR.js +576 -0
- package/documentation/DataFetchingSection-ZdwqQJWR.js +128 -0
- package/documentation/DefiAppLogoSection-CM6swWaf.js +38 -0
- package/documentation/DefiAppLogoSection-DdW6TZ5c.js +132 -0
- package/documentation/DeploymentSection-BptA4WV3.js +36 -0
- package/documentation/DeploymentSection-Ca1Z8a_c.js +136 -0
- package/documentation/DesignPrinciplesSection-BZwAzzwG.js +68 -0
- package/documentation/DesignPrinciplesSection-DYwidCK8.js +1 -0
- package/documentation/DocumentationSection-BD7CQC84.js +1 -0
- package/documentation/DocumentationSection-CWJn_wOD.js +66 -0
- package/documentation/DrawerSection-Cl0RmlNx.js +155 -0
- package/documentation/DrawerSection-DHBZDxRV.js +42 -0
- package/documentation/DynamicRoutesSection-Der_Tsz0.js +112 -0
- package/documentation/DynamicRoutesSection-NQ3SszLU.js +47 -0
- package/documentation/ExamplesSection-BFn_F-uM.js +54 -0
- package/documentation/ExamplesSection-CUiKkdx2.js +261 -0
- package/documentation/FileInputSection-BNVeIt5U.js +73 -0
- package/documentation/FileInputSection-xuGI-LEy.js +237 -0
- package/documentation/FileStructureSection-BA53QV4j.js +26 -0
- package/documentation/FileStructureSection-BORCUzqw.js +101 -0
- package/documentation/FormComponentsSection-BB7qCeJ_.js +1 -0
- package/documentation/FormComponentsSection-yKE3yL-Y.js +148 -0
- package/documentation/FormMethodsSection-BjBBjdJs.js +194 -0
- package/documentation/FormMethodsSection-DUQ4_4_0.js +53 -0
- package/documentation/HamburgerSection-BjB9wmVz.js +97 -0
- package/documentation/HamburgerSection-Cu9u90NY.js +19 -0
- package/documentation/HookCategoriesSection-C4pBQyC8.js +119 -0
- package/documentation/HookCategoriesSection-RnedxUZ_.js +1 -0
- package/documentation/HookDocumentationSection-4pMJBhbt.js +100 -0
- package/documentation/HookDocumentationSection-CUmrdSCq.js +467 -0
- package/documentation/HookFeaturesSection-BbF7TeKh.js +1 -0
- package/documentation/HookFeaturesSection-luGHopK_.js +70 -0
- package/documentation/IconArchitectureSection-BAj9emvS.js +145 -0
- package/documentation/IconArchitectureSection-BOrQFHbe.js +11 -0
- package/documentation/IconSizingGuideSection-Bow9HZ_l.js +1 -0
- package/documentation/IconSizingGuideSection-DuhPNOqd.js +118 -0
- package/documentation/IconSystemAPISection-C95E0VaN.js +138 -0
- package/documentation/IconSystemAPISection-DcO3FtRL.js +1 -0
- package/documentation/IconSystemBenefitsSection-DT75ytKf.js +1 -0
- package/documentation/IconSystemBenefitsSection-zDDW4StV.js +120 -0
- package/documentation/ImageSection-CQzFYVm1.js +82 -0
- package/documentation/ImageSection-VZ3y1snc.js +508 -0
- package/documentation/ImplementationExamplesSection-COS7tuYv.js +761 -0
- package/documentation/ImplementationExamplesSection-DL4lxRDR.js +429 -0
- package/documentation/ImplementationGuidelinesSection-DNJwGuZi.js +144 -0
- package/documentation/ImplementationGuidelinesSection-nkcQfH3s.js +1 -0
- package/documentation/ImplementationStatusSection-CtqaxsyY.js +1 -0
- package/documentation/ImplementationStatusSection-lv5t0EIh.js +62 -0
- package/documentation/ImplementedFeaturesSection-Bddbm4jZ.js +1 -0
- package/documentation/ImplementedFeaturesSection-DP37ByDA.js +70 -0
- package/documentation/InfoCardSection-4npPvpiJ.js +291 -0
- package/documentation/InfoCardSection-C7W36XJN.js +38 -0
- package/documentation/InputSearcherSection-Bm_4y_eJ.js +267 -0
- package/documentation/InputSearcherSection-DnVt-6OY.js +45 -0
- package/documentation/InputSection-DDSrmZ91.js +50 -0
- package/documentation/InputSection-DSFy5BhS.js +280 -0
- package/documentation/InstallationSection-Pi9lzZwp.js +22 -0
- package/documentation/InstallationSection-t5nTJfBu.js +125 -0
- package/documentation/KeyValueRowSection-CGEK8RAk.js +17 -0
- package/documentation/KeyValueRowSection-wAQ2xSoa.js +117 -0
- package/documentation/KeyboardNavigationSection-B5JFQ5NE.js +27 -0
- package/documentation/KeyboardNavigationSection-_hqOBAEW.js +130 -0
- package/documentation/LayoutPrinciplesSection-D5lu96bu.js +148 -0
- package/documentation/LayoutPrinciplesSection-U-wTD-h4.js +1 -0
- package/documentation/LayoutTypesSection-dCUlT5Rx.js +450 -0
- package/documentation/LayoutTypesSection-qQ-9wgXe.js +1 -0
- package/documentation/LineChartSection-C-ssHn9r.js +130 -0
- package/documentation/LineChartSection-CVJV483A.js +21 -0
- package/documentation/ListContainerSection-BljbeejO.js +39 -0
- package/documentation/ListContainerSection-DialCrM_.js +168 -0
- package/documentation/ListItemSection-BDxVzPbx.js +132 -0
- package/documentation/ListItemSection-BdCtOBHx.js +37 -0
- package/documentation/LiveDemoSection-DosdGK0A.js +1 -0
- package/documentation/LiveDemoSection-NoTlYspW.js +56 -0
- package/documentation/LiveDemonstrationsSection-CbcGEM9e.js +539 -0
- package/documentation/LiveDemonstrationsSection-CwEpTYEs.js +28 -0
- package/documentation/LivePriceFeedSection-CIIrnZ4o.js +143 -0
- package/documentation/LivePriceFeedSection-V76Z5Fer.js +20 -0
- package/documentation/LoaderSection-CkUnMvCy.js +96 -0
- package/documentation/LoaderSection-DEAO4HDA.js +23 -0
- package/documentation/LogoSection-DBRfP-OY.js +101 -0
- package/documentation/LogoSection-DuwWvmb4.js +265 -0
- package/documentation/LucideIconsSection-C8zgDfWJ.js +1 -0
- package/documentation/LucideIconsSection-kEaPLh0V.js +169 -0
- package/documentation/MFESupportSection-Bv716SHU.js +97 -0
- package/documentation/MFESupportSection-Du1uqyKB.js +222 -0
- package/documentation/MacOSBackgroundsSection-BCOYwP0T.js +1 -0
- package/documentation/MacOSBackgroundsSection-CFzGRTIi.js +293 -0
- package/documentation/MacOSColorsSection-BLdQLmVU.js +1 -0
- package/documentation/MacOSColorsSection-C7Z8okVD.js +305 -0
- package/documentation/MacOSCommandPaletteSection-BTrRzuuO.js +143 -0
- package/documentation/MacOSCommandPaletteSection-DVNy_6I7.js +33 -0
- package/documentation/MacOSMaterialsSection-Df-ADZ6d.js +280 -0
- package/documentation/MacOSMaterialsSection-DsZwofSg.js +1 -0
- package/documentation/MacOSNotificationBannerSection-C58OPCNq.js +169 -0
- package/documentation/MacOSNotificationBannerSection-CUorA6r9.js +25 -0
- package/documentation/MacOSPopoverSection-BDDYuhqI.js +266 -0
- package/documentation/MacOSPopoverSection-BkgBnoyB.js +33 -0
- package/documentation/MacOSSearchBarSection-B4kt_090.js +17 -0
- package/documentation/MacOSSearchBarSection-CAqjk9yl.js +108 -0
- package/documentation/MacOSSegmentedControlSection-BmrrShpJ.js +19 -0
- package/documentation/MacOSSegmentedControlSection-D_zqGd1h.js +138 -0
- package/documentation/MacOSSidebarSection-D-64MM8U.js +35 -0
- package/documentation/MacOSSidebarSection-DUpDMHGi.js +251 -0
- package/documentation/MacOSTahoeSection-Glabuf3q.js +1 -0
- package/documentation/MacOSTahoeSection-N_tppoSk.js +98 -0
- package/documentation/MacOSTextStylesSection-BHMRNo-v.js +366 -0
- package/documentation/MacOSTextStylesSection-DlvKbXki.js +1 -0
- package/documentation/MacOSToolbarSection-COuNpmj_.js +100 -0
- package/documentation/MacOSToolbarSection-CdsL85Jb.js +23 -0
- package/documentation/MacOSWidgetSection-BNaAjj5p.js +107 -0
- package/documentation/MacOSWidgetSection-b_I1PVF7.js +19 -0
- package/documentation/MacOSWindowSection-29UkbnpD.js +237 -0
- package/documentation/MacOSWindowSection-D4C22kkM.js +22 -0
- package/documentation/MenuItemsGuideSection-Ba6VQNK9.js +351 -0
- package/documentation/MenuItemsGuideSection-CbvbuCdn.js +126 -0
- package/documentation/ModalSection-445ZMEa_.js +30 -0
- package/documentation/ModalSection-BWoZ5Pcl.js +114 -0
- package/documentation/NFTGridSection-2-m_Uk8V.js +19 -0
- package/documentation/NFTGridSection-CEinlBJu.js +160 -0
- package/documentation/NestedRoutesSection-D_qsJSnp.js +39 -0
- package/documentation/NestedRoutesSection-DrqTtZfw.js +120 -0
- package/documentation/NotificationCardSection-BajbpGsh.js +29 -0
- package/documentation/NotificationCardSection-BsEFLr03.js +120 -0
- package/documentation/OverviewSection-BFOZHsnd.js +21 -0
- package/documentation/OverviewSection-qQ_zeErg.js +149 -0
- package/documentation/PaginationSection-DBp0eqDB.js +141 -0
- package/documentation/PaginationSection-Vg1h9RV9.js +19 -0
- package/documentation/PanelActionCardSection-Czo1uDNy.js +29 -0
- package/documentation/PanelActionCardSection-Dpm0_Mfp.js +104 -0
- package/documentation/PanelCardSection-Db257Bkk.js +60 -0
- package/documentation/PanelCardSection-DvJ5QG8z.js +16 -0
- package/documentation/ParamTabSection-D3tpzPXp.js +94 -0
- package/documentation/ParamTabSection-DzcRCqZr.js +581 -0
- package/documentation/PieChartSection-DHKMnFF6.js +91 -0
- package/documentation/PieChartSection-Oe6rJh93.js +19 -0
- package/documentation/PinCodeSection-CDtuT8Kw.js +235 -0
- package/documentation/PinCodeSection-CnM3hDz5.js +32 -0
- package/documentation/PlaygroundSection-BDwyp4DF.js +1 -0
- package/documentation/PlaygroundSection-CbAGK96L.js +415 -0
- package/documentation/ProgressbarSection-BzHZ0AfK.js +22 -0
- package/documentation/ProgressbarSection-CXAiNNFG.js +142 -0
- package/documentation/PromptsSection-Be0ObKFK.js +118 -0
- package/documentation/PromptsSection-COY6XUPp.js +18 -0
- package/documentation/RadarChartSection-B8qTV7dc.js +21 -0
- package/documentation/RadarChartSection-Dsjj4EQ6.js +114 -0
- package/documentation/RadioGroupSection-D4QKj2um.js +269 -0
- package/documentation/RadioGroupSection-uEBc9tpG.js +37 -0
- package/documentation/RadioSection-3Q2d-3lM.js +27 -0
- package/documentation/RadioSection-CULyvM_s.js +183 -0
- package/documentation/ResourcesSection-BwB_aHaD.js +13 -0
- package/documentation/ResourcesSection-CTMhP33o.js +119 -0
- package/documentation/RevealContentSection-ZnhGy2aO.js +21 -0
- package/documentation/RevealContentSection-fASJbh2Y.js +80 -0
- package/documentation/RouteConfigurationSection-B3spETiJ.js +42 -0
- package/documentation/RouteConfigurationSection-goiMMamN.js +88 -0
- package/documentation/ScrollToTopSection-CtOc-TS2.js +141 -0
- package/documentation/ScrollToTopSection-IPskJwsB.js +38 -0
- package/documentation/ScrollbarSection-BpZ-yYIY.js +103 -0
- package/documentation/ScrollbarSection-DfK0WSIX.js +30 -0
- package/documentation/SearchSection-WT9_CxCF.js +45 -0
- package/documentation/SearchSection-fY2x4mhW.js +268 -0
- package/documentation/SecuritySection-DKj4sx3q.js +27 -0
- package/documentation/SecuritySection-fTtKf_Se.js +164 -0
- package/documentation/SelectSection-ChCN6Gvt.js +346 -0
- package/documentation/SelectSection-XHHIw0x1.js +52 -0
- package/documentation/SettingsPanelSection-C7_20M4F.js +1 -0
- package/documentation/SettingsPanelSection-Ks-nNrFJ.js +139 -0
- package/documentation/ShadowsSection-CJYATM7F.js +1 -0
- package/documentation/ShadowsSection-DfueUFqR.js +101 -0
- package/documentation/SidebarMenuSection-DXhSvAfX.js +108 -0
- package/documentation/SidebarMenuSection-SrSpe80k.js +47 -0
- package/documentation/SidebarSection-BaFbib_i.js +70 -0
- package/documentation/SidebarSection-DEYX9Kqh.js +26 -0
- package/documentation/SizingSection-B0SxFX0i.js +1 -0
- package/documentation/SizingSection-CFCLxAKR.js +97 -0
- package/documentation/SkeletonSection-CVq7HYVY.js +202 -0
- package/documentation/SkeletonSection-CbIR-XQ0.js +53 -0
- package/documentation/SonomaColorsSection-ByEpUCmF.js +388 -0
- package/documentation/SonomaColorsSection-Dgz5XvhV.js +1 -0
- package/documentation/SonomaLayoutContentSection-D1AFn8Hp.js +67 -0
- package/documentation/SonomaLayoutContentSection-bZkduOQx.js +16 -0
- package/documentation/SonomaLayoutSidebarSection-CJgyBUch.js +96 -0
- package/documentation/SonomaLayoutSidebarSection-Yyp4COXe.js +27 -0
- package/documentation/SonomaMaterialsSection-BBoVMvgC.js +9 -0
- package/documentation/SonomaMaterialsSection-CXb0ND7f.js +334 -0
- package/documentation/SonomaShapesSection-DwvNaMWx.js +482 -0
- package/documentation/SonomaShapesSection-IficAPxh.js +10 -0
- package/documentation/SonomaTypographySection-BYarPbGF.js +389 -0
- package/documentation/SonomaTypographySection-LjJ2_rZA.js +1 -0
- package/documentation/SpacingSystemSection-DHOiKnLP.js +1 -0
- package/documentation/SpacingSystemSection-gi1hOD6c.js +79 -0
- package/documentation/SpinnerSection-DNHEdjKZ.js +78 -0
- package/documentation/SpinnerSection-nP1nOJnU.js +18 -0
- package/documentation/StandaloneAppSection-DktAXH3T.js +181 -0
- package/documentation/StandaloneAppSection-zGt98xAO.js +71 -0
- package/documentation/StepperSection-BdPopNnz.js +29 -0
- package/documentation/StepperSection-CsJZAGkY.js +166 -0
- package/documentation/SwitchSection-BAgMBu2Q.js +28 -0
- package/documentation/SwitchSection-ByC85Kap.js +223 -0
- package/documentation/SystemOverviewSection-CAWlhqIB.js +1 -0
- package/documentation/SystemOverviewSection-ydaPDpDw.js +58 -0
- package/documentation/TabModalSection-Bu3a4ryu.js +52 -0
- package/documentation/TabModalSection-TRVdGNTT.js +200 -0
- package/documentation/TabSection-BdLxBPop.js +85 -0
- package/documentation/TabSection-CDQ62WfZ.js +293 -0
- package/documentation/TabSelectSection-Bwf53Fqf.js +420 -0
- package/documentation/TabSelectSection-qEsIlzZP.js +102 -0
- package/documentation/TahoeCommandPaletteSection-CAOQM68l.js +21 -0
- package/documentation/TahoeCommandPaletteSection-DLEKbcYr.js +217 -0
- package/documentation/TahoeDialogSection-JnVEuZ_D.js +22 -0
- package/documentation/TahoeDialogSection-hRAC-9FQ.js +228 -0
- package/documentation/TahoeDockSection-DN01lgZU.js +29 -0
- package/documentation/TahoeDockSection-DeSCH1-K.js +228 -0
- package/documentation/TahoeLayoutContentSection-B7FMGrb_.js +68 -0
- package/documentation/TahoeLayoutContentSection-DR8ZGq2-.js +17 -0
- package/documentation/TahoeLayoutSidebarSection-BB1sn0vA.js +114 -0
- package/documentation/TahoeLayoutSidebarSection-YtwQSoHS.js +36 -0
- package/documentation/TahoeNotificationBannerSection-B5wxMzg7.js +22 -0
- package/documentation/TahoeNotificationBannerSection-Cfz6pCML.js +144 -0
- package/documentation/TahoePopoverSection-FNNHRW8y.js +220 -0
- package/documentation/TahoePopoverSection-Sws9YM-u.js +24 -0
- package/documentation/TahoeProgressBarSection-CDG0UwBs.js +124 -0
- package/documentation/TahoeProgressBarSection-rnsLopEr.js +16 -0
- package/documentation/TahoeSearchBarSection-BjALRSiL.js +10 -0
- package/documentation/TahoeSearchBarSection-ClkkTHcY.js +117 -0
- package/documentation/TahoeSegmentedControlSection-Cm6Ds1no.js +178 -0
- package/documentation/TahoeSegmentedControlSection-DJxWMV52.js +12 -0
- package/documentation/TahoeToolbarSection-BNGPeBHt.js +17 -0
- package/documentation/TahoeToolbarSection-g85Im8FS.js +81 -0
- package/documentation/TahoeWidgetSection-DD7Apywi.js +121 -0
- package/documentation/TahoeWidgetSection-DVnHBOjI.js +13 -0
- package/documentation/TahoeWindowSection-B42c7BLl.js +24 -0
- package/documentation/TahoeWindowSection-CuHmRGj3.js +289 -0
- package/documentation/TailwindConfigSection-BY9HXUhA.js +23 -0
- package/documentation/TailwindConfigSection-DvZuNkc7.js +128 -0
- package/documentation/TestingSection-BVxXJMgj.js +150 -0
- package/documentation/TestingSection-DOh318Tm.js +36 -0
- package/documentation/TextareaSection-3_t7ai9G.js +34 -0
- package/documentation/TextareaSection-Dzu49LSf.js +258 -0
- package/documentation/ThemeArchitectureSection-Bw24JBsA.js +143 -0
- package/documentation/ThemeArchitectureSection-CDldshGL.js +27 -0
- package/documentation/ThemeConfigurationSection-4TdHDxO0.js +1 -0
- package/documentation/ThemeConfigurationSection-COAiRQZF.js +139 -0
- package/documentation/ThemeHooksSection-Cd6DadGN.js +1 -0
- package/documentation/ThemeHooksSection-dOrSRbrn.js +173 -0
- package/documentation/ThemeProviderIntegrationSection-8ztYnv_H.js +73 -0
- package/documentation/ThemeProviderIntegrationSection-BTj95Kt0.js +122 -0
- package/documentation/ThemeProviderRequiredSection-hcvSPDrZ.js +1 -0
- package/documentation/ThemeProviderRequiredSection-kWXCDNKy.js +114 -0
- package/documentation/ThemeProviderSection-C9ZV8aUv.js +1 -0
- package/documentation/ThemeProviderSection-EtkntPnC.js +143 -0
- package/documentation/ToastSection-C2_Av055.js +38 -0
- package/documentation/ToastSection-NoDnkMGu.js +168 -0
- package/documentation/ToggleBarSection-BdjFoJjH.js +186 -0
- package/documentation/ToggleBarSection-CSPKIKSE.js +45 -0
- package/documentation/ToolsSection-C-esUuLz.js +221 -0
- package/documentation/ToolsSection-DWfaPzVU.js +58 -0
- package/documentation/TooltipSection-FyDJKnf1.js +64 -0
- package/documentation/TooltipSection-jjPa6g0x.js +185 -0
- package/documentation/TopupButtonSection-BXI8TeYG.js +25 -0
- package/documentation/TopupButtonSection-BynGsCmq.js +98 -0
- package/documentation/TransactionInfoSection-DdhvAYC-.js +86 -0
- package/documentation/TransactionInfoSection-XCLFoGEj.js +16 -0
- package/documentation/TucuUiLogoSection--s8pA7EB.js +26 -0
- package/documentation/TucuUiLogoSection-BC4AT0Nk.js +85 -0
- package/documentation/TypographySection--Tmn50-J.js +276 -0
- package/documentation/TypographySection-BiGmlBcz.js +33 -0
- package/documentation/TypographySection-CNrhDmGi.js +1 -0
- package/documentation/TypographySection-Dus4EyTE.js +142 -0
- package/documentation/UsageExamplesSection-DcTyTiz0.js +150 -0
- package/documentation/UsageExamplesSection-tPQlBUXB.js +84 -0
- package/documentation/UsingThemeSystemSection-Bn76akZW.js +164 -0
- package/documentation/UsingThemeSystemSection-CK0SJMLl.js +106 -0
- package/documentation/ValidationSystemSection-Bl-anwHL.js +222 -0
- package/documentation/ValidationSystemSection-w5wRflZH.js +53 -0
- package/documentation/WCAGPrinciplesSection-B_iYHZne.js +1 -0
- package/documentation/WCAGPrinciplesSection-By2amHOf.js +126 -0
- package/index-DWDUS-PU.js +1342 -0
- package/index-DoxeCFUJ.js +88761 -0
- package/index.css +1 -1
- package/index.d.ts +1 -0
- package/index.js +1 -1
- package/index.mjs +460 -407
- package/package.json +22 -14
- package/themes/components/settings/index.d.ts +14 -0
- package/themes/components/settings/settings-drawer.d.ts +0 -1
- package/themes/config/index.d.ts +32 -0
- package/themes/hooks/use-theme.d.ts +31 -0
- package/documentation/APIReferenceSection-DGjGAJB9.js +0 -213
- package/documentation/APIReferenceSection-pgQd8-DV.js +0 -1
- package/documentation/ActiveLinkSection-2k77Clqe.js +0 -79
- package/documentation/ActiveLinkSection-B76tuuXw.js +0 -23
- package/documentation/AdvancedColorSystemSection-Blf5xe2P.js +0 -181
- package/documentation/AdvancedColorSystemSection-Bvh-vXID.js +0 -17
- package/documentation/AdvancedFeaturesSection-C0AyvKVK.js +0 -1
- package/documentation/AdvancedFeaturesSection-DDfgpjLJ.js +0 -117
- package/documentation/AdvancedFeaturesSection-DjZHdBFE.js +0 -32
- package/documentation/AdvancedFeaturesSection-O7eEZZO_.js +0 -70
- package/documentation/AlertSection-CqHakHWs.js +0 -96
- package/documentation/AlertSection-D46TjzkL.js +0 -26
- package/documentation/AnchorLinkSection-DsUgbSEm.js +0 -65
- package/documentation/AnchorLinkSection-jeSB9dMj.js +0 -20
- package/documentation/ArchitecturalPatternsComparisonSection-WjwGHvLI.js +0 -34
- package/documentation/ArchitecturalPatternsComparisonSection-swBSbNfF.js +0 -182
- package/documentation/ArchitectureOverviewSection-BW5yWoUz.js +0 -1
- package/documentation/ArchitectureOverviewSection-DKK7vmMI.js +0 -210
- package/documentation/AreaChartSection-DDWYGFqO.js +0 -22
- package/documentation/AreaChartSection-Q9Tn3n_O.js +0 -132
- package/documentation/AuthorCardSection-BL-LbErp.js +0 -18
- package/documentation/AuthorCardSection-DV9KL8f5.js +0 -79
- package/documentation/AvatarSection-D7MyLCi2.js +0 -89
- package/documentation/AvatarSection-_WQ5YMC4.js +0 -19
- package/documentation/BackgroundsSection-DcDyNEff.js +0 -365
- package/documentation/BackgroundsSection-Dz2YX5p3.js +0 -6
- package/documentation/BadgeSection-C-vCd8lV.js +0 -49
- package/documentation/BadgeSection-aXjeiwMF.js +0 -179
- package/documentation/BarChartSection-B63rAWOW.js +0 -127
- package/documentation/BarChartSection-C3ja91d3.js +0 -23
- package/documentation/BasicTableSection-BzAoXTvC.js +0 -133
- package/documentation/BasicTableSection-CkNjMQ9B.js +0 -36
- package/documentation/BasicUsageSection-D50gdSvN.js +0 -133
- package/documentation/BasicUsageSection-H0Aj_WdG.js +0 -45
- package/documentation/BestPracticesSection-B522nFdo.js +0 -61
- package/documentation/BestPracticesSection-C7oQHBfx.js +0 -137
- package/documentation/BestPracticesSection-CMW0NGj2.js +0 -151
- package/documentation/BestPracticesSection-CRPC7HR-.js +0 -1
- package/documentation/BestPracticesSection-CWEX6cPH.js +0 -34
- package/documentation/BestPracticesSection-CcV9JBLS.js +0 -1
- package/documentation/BestPracticesSection-CehKumFB.js +0 -1
- package/documentation/BestPracticesSection-CgjMdKFX.js +0 -1
- package/documentation/BestPracticesSection-D5Q-WnOS.js +0 -1
- package/documentation/BestPracticesSection-Do13tJHA.js +0 -153
- package/documentation/BestPracticesSection-MUDLaOXj.js +0 -91
- package/documentation/BestPracticesSection-cejYRZHH.js +0 -1
- package/documentation/BestPracticesSection-ftxO88ZU.js +0 -151
- package/documentation/BestPracticesSection-wmf2_O-5.js +0 -79
- package/documentation/BorderRadiusSection-C53fGJbg.js +0 -1
- package/documentation/BorderRadiusSection-C_cRGAYg.js +0 -58
- package/documentation/ButtonDripSection-CcxU4YYs.js +0 -110
- package/documentation/ButtonDripSection-D7uFMR-S.js +0 -21
- package/documentation/ButtonLoaderSection-CA4lAZL9.js +0 -153
- package/documentation/ButtonLoaderSection-Cmie6GkV.js +0 -31
- package/documentation/CardContainerSection-BO6U2Twq.js +0 -61
- package/documentation/CardContainerSection-VRvlZ6yl.js +0 -22
- package/documentation/CardSection-CuAefGvD.js +0 -26
- package/documentation/CardSection-hf0H8g46.js +0 -136
- package/documentation/CardTitleSection-Bf9a3XyB.js +0 -72
- package/documentation/CardTitleSection-QYIz9C-S.js +0 -20
- package/documentation/CarouselCardsSection-DHc69oGD.js +0 -174
- package/documentation/CarouselCardsSection-DZLAv-vH.js +0 -38
- package/documentation/CarouselImageSection-e8UuOzG0.js +0 -179
- package/documentation/CarouselImageSection-hoYh0DTb.js +0 -39
- package/documentation/CarouselSection-B0SpiF4C.js +0 -123
- package/documentation/CarouselSection-DJXvgJKN.js +0 -25
- package/documentation/CheckboxSection-DdE2L0g_.js +0 -175
- package/documentation/CheckboxSection-gZFSdh4-.js +0 -29
- package/documentation/ClientConfigSection-BFMXFku2.js +0 -126
- package/documentation/ClientConfigSection-BzTtDL_p.js +0 -39
- package/documentation/CodeExamplesSection-Bvg6IER-.js +0 -134
- package/documentation/CodeExamplesSection-C7hUcmhR.js +0 -68
- package/documentation/CoinCardSection-B7JGAS6O.js +0 -13
- package/documentation/CoinCardSection-CyTl92vb.js +0 -132
- package/documentation/CoinInfoCardSection-D2PR9Z8T.js +0 -148
- package/documentation/CoinInfoCardSection-DFW8nTyu.js +0 -12
- package/documentation/CoinListBoxSection-sTtI2LXp.js +0 -24
- package/documentation/CoinListBoxSection-xE4xCt7y.js +0 -129
- package/documentation/CollapseSection-B3GG1O8d.js +0 -28
- package/documentation/CollapseSection-CHwNK6GZ.js +0 -84
- package/documentation/CollectionCardSection-_8k9-xO6.js +0 -17
- package/documentation/CollectionCardSection-jrIHtpwC.js +0 -78
- package/documentation/CollectionSelectListSection-CKjV1fUH.js +0 -149
- package/documentation/CollectionSelectListSection-D3Mv8OEN.js +0 -15
- package/documentation/ColorCustomizationSection-BTHiQZtR.js +0 -1
- package/documentation/ColorCustomizationSection-BXoG5K4k.js +0 -141
- package/documentation/ColorSystemSection-BmgWVDqJ.js +0 -339
- package/documentation/ColorSystemSection-C0v8slG8.js +0 -1
- package/documentation/CommonErrorsSection-CK7bAW53.js +0 -77
- package/documentation/CommonErrorsSection-Di9h7P8r.js +0 -1
- package/documentation/ComponentAnatomySection-D29gXJBy.js +0 -78
- package/documentation/ComponentAnatomySection-eLEDxKgv.js +0 -1
- package/documentation/ComponentStatusSection-BoXNDBJe.js +0 -1
- package/documentation/ComponentStatusSection-CjHaDAMx.js +0 -148
- package/documentation/ComposedChartSection-DGZFslYS.js +0 -113
- package/documentation/ComposedChartSection-EaJ4agwW.js +0 -21
- package/documentation/CurrencySwapIconsSection-BRp0GjkH.js +0 -73
- package/documentation/CurrencySwapIconsSection-C4DsbEkX.js +0 -7
- package/documentation/CustomColorPaletteSection-1_oBwMQN.js +0 -19
- package/documentation/CustomColorPaletteSection-CdqeitBi.js +0 -74
- package/documentation/CustomIconsSection-DJbVitV_.js +0 -3
- package/documentation/CustomIconsSection-LiZL3Qmb.js +0 -172
- package/documentation/DefiAppLogoSection-D9C4xk3f.js +0 -132
- package/documentation/DefiAppLogoSection-DxtuFqvT.js +0 -38
- package/documentation/DeploymentSection-D-Yx6v1P.js +0 -136
- package/documentation/DeploymentSection-LE_SiP9B.js +0 -36
- package/documentation/DesignPrinciplesSection-Cg2qjQxj.js +0 -1
- package/documentation/DesignPrinciplesSection-DwnhGATt.js +0 -68
- package/documentation/DrawerSection-CmL97l-L.js +0 -42
- package/documentation/DrawerSection-Dtj5-Obn.js +0 -155
- package/documentation/DynamicRoutesSection-Df86Mbtq.js +0 -47
- package/documentation/DynamicRoutesSection-g8NsBlcP.js +0 -112
- package/documentation/FileInputSection-C1gQEhpZ.js +0 -237
- package/documentation/FileInputSection-DMYHx5oq.js +0 -73
- package/documentation/FileStructureSection-CRxcqutO.js +0 -101
- package/documentation/FileStructureSection-TGH1rdbO.js +0 -26
- package/documentation/FormComponentsSection-47BMOPGC.js +0 -1
- package/documentation/FormComponentsSection-Bqgb35Gq.js +0 -148
- package/documentation/FormMethodsSection-DZlQpuWY.js +0 -53
- package/documentation/FormMethodsSection-nqwEykis.js +0 -194
- package/documentation/HamburgerSection-D1Nyn-VZ.js +0 -97
- package/documentation/HamburgerSection-KRh6nrp6.js +0 -19
- package/documentation/HookCategoriesSection-BMus_9Kv.js +0 -1
- package/documentation/HookCategoriesSection-dhCDwuXZ.js +0 -119
- package/documentation/HookDocumentationSection-BN0rEdw2.js +0 -467
- package/documentation/HookDocumentationSection-xSjkUQih.js +0 -100
- package/documentation/HookFeaturesSection-BixNPyMu.js +0 -1
- package/documentation/HookFeaturesSection-CwZxg2m_.js +0 -70
- package/documentation/IconArchitectureSection-CBQmrZ-3.js +0 -145
- package/documentation/IconArchitectureSection-CbgKL8wA.js +0 -11
- package/documentation/IconSizingGuideSection-Bs_V_U2L.js +0 -118
- package/documentation/IconSizingGuideSection-DUaYue72.js +0 -1
- package/documentation/IconSystemAPISection-CD2TVIQ8.js +0 -1
- package/documentation/IconSystemAPISection-aIL4b2ls.js +0 -138
- package/documentation/IconSystemBenefitsSection-b1K1BuU8.js +0 -1
- package/documentation/IconSystemBenefitsSection-vZ7BGLGd.js +0 -120
- package/documentation/ImageSection-B0T3q65-.js +0 -508
- package/documentation/ImageSection-CuWgPtlO.js +0 -82
- package/documentation/ImplementationExamplesSection-BTRGs2-O.js +0 -761
- package/documentation/ImplementationExamplesSection-Bg1pxSq4.js +0 -429
- package/documentation/ImplementationGuidelinesSection-CzVzQGt_.js +0 -1
- package/documentation/ImplementationGuidelinesSection-KKOi8nhe.js +0 -144
- package/documentation/ImplementationStatusSection-BBRsTCjW.js +0 -1
- package/documentation/ImplementationStatusSection-uKHfu95W.js +0 -62
- package/documentation/ImplementedFeaturesSection-Baaf7l2K.js +0 -70
- package/documentation/ImplementedFeaturesSection-tWRlprHx.js +0 -1
- package/documentation/InfoCardSection-DJbs2kgq.js +0 -291
- package/documentation/InfoCardSection-DfvH6cJr.js +0 -38
- package/documentation/InputSearcherSection-BTC7rf_c.js +0 -267
- package/documentation/InputSearcherSection-DaAxnx93.js +0 -45
- package/documentation/InputSection-DytXb0qL.js +0 -50
- package/documentation/InputSection-NHjW_Bl5.js +0 -280
- package/documentation/InstallationSection-BTlUWHUv.js +0 -125
- package/documentation/InstallationSection-C9o9wOGv.js +0 -22
- package/documentation/KeyValueRowSection-D4VtxDPa.js +0 -117
- package/documentation/KeyValueRowSection-Dj8-9NOR.js +0 -17
- package/documentation/KeyboardNavigationSection-BWaSWrlf.js +0 -130
- package/documentation/KeyboardNavigationSection-C6ngRzOZ.js +0 -27
- package/documentation/LayoutPrinciplesSection-B8KFKSB8.js +0 -1
- package/documentation/LayoutPrinciplesSection-BoiWGCr-.js +0 -148
- package/documentation/LayoutTypesSection-92rXEzWM.js +0 -1
- package/documentation/LayoutTypesSection-CPDatKp3.js +0 -450
- package/documentation/LineChartSection-BOtO8D1i.js +0 -130
- package/documentation/LineChartSection-aZFyYG54.js +0 -21
- package/documentation/ListContainerSection-hzBvAkRk.js +0 -168
- package/documentation/ListContainerSection-isZkb0EC.js +0 -39
- package/documentation/ListItemSection-6c9ZKkje.js +0 -37
- package/documentation/ListItemSection-Cyg9R1bp.js +0 -132
- package/documentation/LiveDemoSection-Co4_jUVL.js +0 -1
- package/documentation/LiveDemoSection-DWeRYQbn.js +0 -56
- package/documentation/LiveDemonstrationsSection-BTSSQDY6.js +0 -28
- package/documentation/LiveDemonstrationsSection-DI5sl1qw.js +0 -539
- package/documentation/LivePriceFeedSection-BOaRGHM0.js +0 -143
- package/documentation/LivePriceFeedSection-C_feidPE.js +0 -20
- package/documentation/LoaderSection-Cxm475TP.js +0 -23
- package/documentation/LoaderSection-CyZbjLvf.js +0 -96
- package/documentation/LogoSection-C00NxxKe.js +0 -265
- package/documentation/LogoSection-DS9Xscvr.js +0 -101
- package/documentation/LucideIconsSection-C0n0paNq.js +0 -169
- package/documentation/LucideIconsSection-YRMbgBaz.js +0 -1
- package/documentation/MFESupportSection-8uaQYZzW.js +0 -97
- package/documentation/MFESupportSection-BeOAR6kr.js +0 -222
- package/documentation/MacOSBackgroundsSection-Bu2DRMD8.js +0 -293
- package/documentation/MacOSBackgroundsSection-VxUSMkbM.js +0 -1
- package/documentation/MacOSColorsSection-CdREot4P.js +0 -1
- package/documentation/MacOSColorsSection-ffci7cUN.js +0 -305
- package/documentation/MacOSCommandPaletteSection-3jJQ4U0w.js +0 -33
- package/documentation/MacOSCommandPaletteSection-C-MhyNbG.js +0 -143
- package/documentation/MacOSMaterialsSection-BgMWu2Wb.js +0 -280
- package/documentation/MacOSMaterialsSection-DS1i23w7.js +0 -1
- package/documentation/MacOSNotificationBannerSection-C8s-LCvF.js +0 -169
- package/documentation/MacOSNotificationBannerSection-DctjAwCv.js +0 -25
- package/documentation/MacOSPopoverSection-7Q1LYLO1.js +0 -33
- package/documentation/MacOSPopoverSection-Dy1sUwS_.js +0 -266
- package/documentation/MacOSSearchBarSection-BMbcOTEv.js +0 -17
- package/documentation/MacOSSearchBarSection-D-ouTDPv.js +0 -108
- package/documentation/MacOSSegmentedControlSection-BwUktsuc.js +0 -19
- package/documentation/MacOSSegmentedControlSection-DdrQI-e6.js +0 -138
- package/documentation/MacOSSidebarSection-BK89_r52.js +0 -35
- package/documentation/MacOSSidebarSection-C-eSSQXS.js +0 -251
- package/documentation/MacOSTahoeSection-3805r8dT.js +0 -98
- package/documentation/MacOSTahoeSection-BSih7uvf.js +0 -1
- package/documentation/MacOSTextStylesSection-BnhSklUV.js +0 -1
- package/documentation/MacOSTextStylesSection-DOz_80JV.js +0 -366
- package/documentation/MacOSToolbarSection-C-uYtli7.js +0 -100
- package/documentation/MacOSToolbarSection-CATKLz6C.js +0 -23
- package/documentation/MacOSWidgetSection-3qzvChkc.js +0 -19
- package/documentation/MacOSWidgetSection-Cj0SdOxn.js +0 -107
- package/documentation/MacOSWindowSection-BoHCg9F6.js +0 -22
- package/documentation/MacOSWindowSection-uQs-6APa.js +0 -237
- package/documentation/MenuItemsGuideSection-C5sAxs0l.js +0 -351
- package/documentation/MenuItemsGuideSection-DnvCuLqg.js +0 -126
- package/documentation/ModalSection-C694lmzl.js +0 -30
- package/documentation/ModalSection-cOhdUson.js +0 -114
- package/documentation/NFTGridSection-C0hG4cUz.js +0 -160
- package/documentation/NFTGridSection-C4Sl1A_9.js +0 -19
- package/documentation/NestedRoutesSection-BYeeHsRt.js +0 -120
- package/documentation/NestedRoutesSection-D2f0QuOR.js +0 -39
- package/documentation/NotificationCardSection-B0uifGYN.js +0 -120
- package/documentation/NotificationCardSection-DrXsyCme.js +0 -29
- package/documentation/OverviewSection-z0j3HNDh.js +0 -21
- package/documentation/OverviewSection-z2HPIyDK.js +0 -149
- package/documentation/PaginationSection-6kuxpMF4.js +0 -19
- package/documentation/PaginationSection-DnfHU7XM.js +0 -141
- package/documentation/PanelActionCardSection-B7TtZMTv.js +0 -29
- package/documentation/PanelActionCardSection-C-Q78_rO.js +0 -104
- package/documentation/PanelCardSection-DbZuajYd.js +0 -16
- package/documentation/PanelCardSection-VCxpzjjQ.js +0 -60
- package/documentation/ParamTabSection-A8WxPxKK.js +0 -94
- package/documentation/ParamTabSection-BjvM0xFF.js +0 -581
- package/documentation/PieChartSection-IF-DA83c.js +0 -91
- package/documentation/PieChartSection-s7Qhg_gy.js +0 -19
- package/documentation/PinCodeSection-10Ny8Tfo.js +0 -235
- package/documentation/PinCodeSection-5XKvi3Dq.js +0 -32
- package/documentation/ProgressbarSection-CggiM8_u.js +0 -22
- package/documentation/ProgressbarSection-DFKnEWzf.js +0 -142
- package/documentation/PromptsSection-DQfhzbTs.js +0 -18
- package/documentation/PromptsSection-gq0dUlEx.js +0 -118
- package/documentation/RadarChartSection-CoreDd-j.js +0 -114
- package/documentation/RadarChartSection-DMNqPqSD.js +0 -21
- package/documentation/RadioGroupSection-CiYdp5lM.js +0 -269
- package/documentation/RadioGroupSection-DzsVLTaq.js +0 -37
- package/documentation/RadioSection-CRm2E57T.js +0 -183
- package/documentation/RadioSection-Di-vz5wn.js +0 -27
- package/documentation/ResourcesSection-BUD19JA0.js +0 -119
- package/documentation/ResourcesSection-b_NwlrRw.js +0 -13
- package/documentation/RevealContentSection-DilfDY1J.js +0 -80
- package/documentation/RevealContentSection-Dx-D2Jok.js +0 -21
- package/documentation/RouteConfigurationSection-C-tEX3xU.js +0 -88
- package/documentation/RouteConfigurationSection-CuPLXY56.js +0 -42
- package/documentation/ScrollToTopSection-BROZCsGA.js +0 -141
- package/documentation/ScrollToTopSection-DOmJ0OXF.js +0 -38
- package/documentation/ScrollbarSection-COHnpkTw.js +0 -30
- package/documentation/ScrollbarSection-DWyuIQ7v.js +0 -103
- package/documentation/SecuritySection-CssoZr5U.js +0 -27
- package/documentation/SecuritySection-DaITl11D.js +0 -164
- package/documentation/SelectSection-9hO4sphD.js +0 -52
- package/documentation/SelectSection-FIB14WbX.js +0 -346
- package/documentation/SettingsPanelSection-9BPlNMEc.js +0 -1
- package/documentation/SettingsPanelSection-Cz8hNZ2n.js +0 -139
- package/documentation/ShadowsSection-C1_pL_1F.js +0 -1
- package/documentation/ShadowsSection-JbP49QED.js +0 -101
- package/documentation/SidebarMenuSection-BY_3hqLL.js +0 -47
- package/documentation/SidebarMenuSection-C03pWwP1.js +0 -108
- package/documentation/SidebarSection-f0CyeTbn.js +0 -70
- package/documentation/SidebarSection-q4S55Do1.js +0 -26
- package/documentation/SizingSection-g3udDovw.js +0 -97
- package/documentation/SizingSection-ploDZXNF.js +0 -1
- package/documentation/SkeletonSection-CrKqGpq_.js +0 -202
- package/documentation/SkeletonSection-DsICOfEO.js +0 -53
- package/documentation/SonomaColorsSection-BRLJ1nsS.js +0 -1
- package/documentation/SonomaColorsSection-l8x3XdsP.js +0 -388
- package/documentation/SonomaLayoutContentSection--vkq4d5P.js +0 -67
- package/documentation/SonomaLayoutContentSection-C4ur21fK.js +0 -16
- package/documentation/SonomaLayoutSidebarSection-0QSWFkTs.js +0 -27
- package/documentation/SonomaLayoutSidebarSection-k0MMj6Wd.js +0 -96
- package/documentation/SonomaMaterialsSection-CoIPJMOx.js +0 -334
- package/documentation/SonomaMaterialsSection-D5QvfZ-a.js +0 -9
- package/documentation/SonomaShapesSection-C2h4Xc-h.js +0 -482
- package/documentation/SonomaShapesSection-Dp0FggJA.js +0 -10
- package/documentation/SonomaTypographySection-BwdPUraH.js +0 -389
- package/documentation/SonomaTypographySection-CUcTN91T.js +0 -1
- package/documentation/SpacingSystemSection-CZqar8tk.js +0 -1
- package/documentation/SpacingSystemSection-Dc78tsOa.js +0 -79
- package/documentation/SpinnerSection-BUJOmJnm.js +0 -78
- package/documentation/SpinnerSection-DjVOmedh.js +0 -18
- package/documentation/StandaloneAppSection-4D17ptHx.js +0 -71
- package/documentation/StandaloneAppSection-D6S47Bsk.js +0 -181
- package/documentation/StepperSection-DfbitP_R.js +0 -166
- package/documentation/StepperSection-NPyRSwF7.js +0 -29
- package/documentation/SwitchSection-Ct0cAzWD.js +0 -223
- package/documentation/SwitchSection-DO4MWuur.js +0 -28
- package/documentation/SystemOverviewSection-DbcEZogo.js +0 -1
- package/documentation/SystemOverviewSection-Dc2mGjYK.js +0 -58
- package/documentation/TabModalSection-Cr9cNbZq.js +0 -52
- package/documentation/TabModalSection-DRntcTMa.js +0 -200
- package/documentation/TabSection-B1M0ozE4.js +0 -293
- package/documentation/TabSection-D47PKsIw.js +0 -85
- package/documentation/TabSelectSection-CH7wbbF-.js +0 -420
- package/documentation/TabSelectSection-DcSilG1V.js +0 -102
- package/documentation/TahoeCommandPaletteSection-B1t030RG.js +0 -21
- package/documentation/TahoeCommandPaletteSection-CcTB67hA.js +0 -217
- package/documentation/TahoeDialogSection-BuVF5DzL.js +0 -228
- package/documentation/TahoeDialogSection-Cv5a9eHs.js +0 -22
- package/documentation/TahoeDockSection-BMvBO87k.js +0 -29
- package/documentation/TahoeDockSection-DadkGbhq.js +0 -228
- package/documentation/TahoeLayoutContentSection-C4Y7g9ah.js +0 -17
- package/documentation/TahoeLayoutContentSection-DwDqKaG-.js +0 -68
- package/documentation/TahoeLayoutSidebarSection-B6bLyWNx.js +0 -114
- package/documentation/TahoeLayoutSidebarSection-TxleKKuc.js +0 -36
- package/documentation/TahoeNotificationBannerSection-B8ixXPhU.js +0 -144
- package/documentation/TahoeNotificationBannerSection-BvY7PWKj.js +0 -22
- package/documentation/TahoePopoverSection-CQN86mL6.js +0 -24
- package/documentation/TahoePopoverSection-DLSByLez.js +0 -220
- package/documentation/TahoeProgressBarSection-BDgXOlAO.js +0 -124
- package/documentation/TahoeProgressBarSection-DbBQBSYJ.js +0 -16
- package/documentation/TahoeSearchBarSection-BiKbZOj2.js +0 -10
- package/documentation/TahoeSearchBarSection-BrffWsFy.js +0 -117
- package/documentation/TahoeSegmentedControlSection-CHdD9yCN.js +0 -12
- package/documentation/TahoeSegmentedControlSection-DaPH0Wkn.js +0 -178
- package/documentation/TahoeToolbarSection-BW0JhTAj.js +0 -81
- package/documentation/TahoeToolbarSection-CiBO45zJ.js +0 -17
- package/documentation/TahoeWidgetSection-B8VHeOdO.js +0 -121
- package/documentation/TahoeWidgetSection-Cnsa_IF4.js +0 -13
- package/documentation/TahoeWindowSection-CdvHTZrj.js +0 -24
- package/documentation/TahoeWindowSection-dmucU8bq.js +0 -289
- package/documentation/TailwindConfigSection-BZMbbrq5.js +0 -128
- package/documentation/TailwindConfigSection-Ttg7FR_l.js +0 -23
- package/documentation/TestingSection-B2FcntZ4.js +0 -150
- package/documentation/TestingSection-DeW3JIPr.js +0 -36
- package/documentation/TextareaSection-7aQKIZSA.js +0 -258
- package/documentation/TextareaSection-qyiIapqr.js +0 -34
- package/documentation/ThemeArchitectureSection-BTiGemvL.js +0 -143
- package/documentation/ThemeArchitectureSection-BgBOzECq.js +0 -27
- package/documentation/ThemeConfigurationSection-CG2v9a7q.js +0 -139
- package/documentation/ThemeConfigurationSection-CaTIBFEj.js +0 -1
- package/documentation/ThemeHooksSection-6Pv9HSrI.js +0 -173
- package/documentation/ThemeHooksSection-D6MA-s34.js +0 -1
- package/documentation/ThemeProviderIntegrationSection-CSqBgdje.js +0 -122
- package/documentation/ThemeProviderIntegrationSection-Cl6q6G27.js +0 -73
- package/documentation/ThemeProviderRequiredSection-CP6kXW-j.js +0 -1
- package/documentation/ThemeProviderRequiredSection-CtqiGpHS.js +0 -114
- package/documentation/ThemeProviderSection-BeQ603mN.js +0 -143
- package/documentation/ThemeProviderSection-Jdo9JzMP.js +0 -1
- package/documentation/ToastSection-CupBCVQO.js +0 -38
- package/documentation/ToastSection-D2imLsTx.js +0 -168
- package/documentation/ToggleBarSection-B5y31SEQ.js +0 -45
- package/documentation/ToggleBarSection-CRq9mYIs.js +0 -186
- package/documentation/ToolsSection-BkIVMrhG.js +0 -58
- package/documentation/ToolsSection-D64ikHYv.js +0 -221
- package/documentation/TooltipSection-CgO3WvnB.js +0 -64
- package/documentation/TooltipSection-ClLS6sMj.js +0 -185
- package/documentation/TopupButtonSection-BVZkgT4t.js +0 -98
- package/documentation/TopupButtonSection-CVTOcoOM.js +0 -25
- package/documentation/TransactionInfoSection-BLNqOdvb.js +0 -86
- package/documentation/TransactionInfoSection-BRuH7tQ1.js +0 -16
- package/documentation/TucuUiLogoSection-C1qi4sb_.js +0 -26
- package/documentation/TucuUiLogoSection-HjFQA8Fo.js +0 -85
- package/documentation/TypographySection-BkDTMQwG.js +0 -142
- package/documentation/TypographySection-BrI_uliJ.js +0 -33
- package/documentation/TypographySection-DRVxkHz5.js +0 -276
- package/documentation/TypographySection-wLNSDWQd.js +0 -1
- package/documentation/UsageExamplesSection-Bw_qeCD1.js +0 -84
- package/documentation/UsageExamplesSection-CGsPSHPD.js +0 -150
- package/documentation/UsingThemeSystemSection-BypuWB6W.js +0 -164
- package/documentation/UsingThemeSystemSection-CqZ3HJ5Z.js +0 -106
- package/documentation/ValidationSystemSection-BLhB9q-7.js +0 -53
- package/documentation/ValidationSystemSection-C7-m7dP-.js +0 -222
- package/documentation/WCAGPrinciplesSection-CM9Jr6vY.js +0 -126
- package/documentation/WCAGPrinciplesSection-D1IX2K3A.js +0 -1
- package/index-BOVWnu1L.js +0 -77292
- package/index-CQ1tqJiQ.js +0 -1194
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { jsxs as s, Fragment as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as m, C as a, a as n, T as t, P as r, a7 as l, A as d, c } from "../index-BOVWnu1L.js";
|
|
3
|
-
import { LayoutList as u } from "lucide-react";
|
|
4
|
-
import "react-router-dom";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
const N = () => /* @__PURE__ */ s(o, { children: [
|
|
8
|
-
/* @__PURE__ */ e(
|
|
9
|
-
m,
|
|
10
|
-
{
|
|
11
|
-
title: "SidebarMenu",
|
|
12
|
-
description: `A sidebar component with built-in menu navigation, supporting icons,
|
|
13
|
-
paths, and dropdown items.`,
|
|
14
|
-
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-yellow-500 to-amber-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(u, { className: "w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg" }) })
|
|
15
|
-
}
|
|
16
|
-
),
|
|
17
|
-
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Basic Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e("div", { className: "space-y-4", children: /* @__PURE__ */ s(a, { className: "p-4", children: [
|
|
18
|
-
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Basic Sidebar Menu" }),
|
|
19
|
-
/* @__PURE__ */ e(t, { tag: "p", className: "mb-4 text-sm text-gray-600", children: "Note: SidebarMenu is typically used within a Drawer component. This example shows the structure." }),
|
|
20
|
-
/* @__PURE__ */ e(t, { tag: "p", className: "text-sm", children: "The SidebarMenu component provides a navigation menu with icons and links, perfect for mobile navigation drawers." })
|
|
21
|
-
] }) }) }) }) }),
|
|
22
|
-
/* @__PURE__ */ e(
|
|
23
|
-
r,
|
|
24
|
-
{
|
|
25
|
-
componentName: "SidebarMenu",
|
|
26
|
-
title: "SidebarMenu Playground",
|
|
27
|
-
defaultValues: {
|
|
28
|
-
title: "Navigation",
|
|
29
|
-
position: "left"
|
|
30
|
-
},
|
|
31
|
-
excludeProps: [
|
|
32
|
-
"menuItems",
|
|
33
|
-
"onClose",
|
|
34
|
-
"actionContent",
|
|
35
|
-
"logo",
|
|
36
|
-
"className"
|
|
37
|
-
],
|
|
38
|
-
children: (i) => /* @__PURE__ */ e(
|
|
39
|
-
l,
|
|
40
|
-
{
|
|
41
|
-
...i,
|
|
42
|
-
menuItems: [
|
|
43
|
-
{ name: "Home", href: "#" },
|
|
44
|
-
{ name: "Settings", href: "#" },
|
|
45
|
-
{ name: "Profile", href: "#" }
|
|
46
|
-
],
|
|
47
|
-
onClose: () => null
|
|
48
|
-
}
|
|
49
|
-
)
|
|
50
|
-
}
|
|
51
|
-
),
|
|
52
|
-
/* @__PURE__ */ e(d, { componentName: "SidebarMenu" }),
|
|
53
|
-
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
54
|
-
c,
|
|
55
|
-
{
|
|
56
|
-
language: "tsx",
|
|
57
|
-
code: `import { SidebarMenu, LucideIcons } from '@e-burgos/tucu-ui';
|
|
58
|
-
|
|
59
|
-
const menuItems = [
|
|
60
|
-
{
|
|
61
|
-
name: 'Home',
|
|
62
|
-
icon: <LucideIcons.Home className="w-5 h-5" />,
|
|
63
|
-
path: '/home',
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
name: 'Settings',
|
|
67
|
-
icon: <LucideIcons.Settings className="w-5 h-5" />,
|
|
68
|
-
path: '/settings',
|
|
69
|
-
},
|
|
70
|
-
];
|
|
71
|
-
|
|
72
|
-
// Basic usage (typically within Drawer)
|
|
73
|
-
<SidebarMenu
|
|
74
|
-
menuItems={menuItems}
|
|
75
|
-
onClose={() => setIsOpen(false)}
|
|
76
|
-
/>
|
|
77
|
-
|
|
78
|
-
// With title
|
|
79
|
-
<SidebarMenu
|
|
80
|
-
menuItems={menuItems}
|
|
81
|
-
title="Navigation"
|
|
82
|
-
onClose={() => setIsOpen(false)}
|
|
83
|
-
/>
|
|
84
|
-
|
|
85
|
-
// With logo
|
|
86
|
-
<SidebarMenu
|
|
87
|
-
menuItems={menuItems}
|
|
88
|
-
logo={{ name: 'MyApp' }}
|
|
89
|
-
onClose={() => setIsOpen(false)}
|
|
90
|
-
/>
|
|
91
|
-
|
|
92
|
-
// With dropdown items
|
|
93
|
-
const menuItemsWithDropdown = [
|
|
94
|
-
{
|
|
95
|
-
name: 'Products',
|
|
96
|
-
path: '/products',
|
|
97
|
-
dropdownItems: [
|
|
98
|
-
{ name: 'All Products', path: '/products/all' },
|
|
99
|
-
{ name: 'Featured', path: '/products/featured' },
|
|
100
|
-
],
|
|
101
|
-
},
|
|
102
|
-
];`
|
|
103
|
-
}
|
|
104
|
-
) }) }) })
|
|
105
|
-
] });
|
|
106
|
-
export {
|
|
107
|
-
N as default
|
|
108
|
-
};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { jsxs as o, Fragment as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as r, C as t, a as i, T as a, P as n, a6 as d, A as c, c as m } from "../index-BOVWnu1L.js";
|
|
3
|
-
import { PanelLeftOpen as p } from "lucide-react";
|
|
4
|
-
import "react-router-dom";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
const f = () => /* @__PURE__ */ o(s, { children: [
|
|
8
|
-
/* @__PURE__ */ e(
|
|
9
|
-
r,
|
|
10
|
-
{
|
|
11
|
-
title: "Sidebar",
|
|
12
|
-
description: `A sidebar component with scrollable content, optional logo, title, and
|
|
13
|
-
action buttons.`,
|
|
14
|
-
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-orange-500 to-yellow-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" }) })
|
|
15
|
-
}
|
|
16
|
-
),
|
|
17
|
-
/* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(i, { title: "Basic Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e("div", { className: "space-y-4", children: /* @__PURE__ */ o(t, { className: "p-4", children: [
|
|
18
|
-
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "Basic Sidebar" }),
|
|
19
|
-
/* @__PURE__ */ e(a, { tag: "p", className: "mb-4 text-sm text-gray-600", children: "Note: Sidebar is typically used within a Drawer component. This example shows the structure." }),
|
|
20
|
-
/* @__PURE__ */ e(a, { tag: "p", className: "text-sm", children: "The Sidebar component provides a scrollable container with optional header (logo or title) and action buttons at the bottom." })
|
|
21
|
-
] }) }) }) }) }),
|
|
22
|
-
/* @__PURE__ */ e(
|
|
23
|
-
n,
|
|
24
|
-
{
|
|
25
|
-
componentName: "Sidebar",
|
|
26
|
-
title: "Sidebar Playground",
|
|
27
|
-
defaultValues: {
|
|
28
|
-
title: "Sidebar",
|
|
29
|
-
position: "left"
|
|
30
|
-
},
|
|
31
|
-
excludeProps: ["onClose", "actionContent", "logo", "className"],
|
|
32
|
-
children: (l) => /* @__PURE__ */ e(d, { ...l, onClose: () => null, children: /* @__PURE__ */ e(a, { tag: "p", children: "Sidebar content goes here" }) })
|
|
33
|
-
}
|
|
34
|
-
),
|
|
35
|
-
/* @__PURE__ */ e(c, { componentName: "Sidebar" }),
|
|
36
|
-
/* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(i, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
37
|
-
m,
|
|
38
|
-
{
|
|
39
|
-
language: "tsx",
|
|
40
|
-
code: `import { Sidebar } from '@e-burgos/tucu-ui';
|
|
41
|
-
|
|
42
|
-
// Basic usage (typically within Drawer)
|
|
43
|
-
<Sidebar title="Sidebar Title" onClose={() => setIsOpen(false)}>
|
|
44
|
-
<div>
|
|
45
|
-
<Typography tag="p">Sidebar content</Typography>
|
|
46
|
-
</div>
|
|
47
|
-
</Sidebar>
|
|
48
|
-
|
|
49
|
-
// With logo
|
|
50
|
-
<Sidebar
|
|
51
|
-
logo={{ name: 'MyApp' }}
|
|
52
|
-
onClose={() => setIsOpen(false)}
|
|
53
|
-
>
|
|
54
|
-
<div>Content</div>
|
|
55
|
-
</Sidebar>
|
|
56
|
-
|
|
57
|
-
// With action buttons
|
|
58
|
-
<Sidebar
|
|
59
|
-
title="Sidebar"
|
|
60
|
-
actionContent={<Button>Action</Button>}
|
|
61
|
-
onClose={() => setIsOpen(false)}
|
|
62
|
-
>
|
|
63
|
-
<div>Content</div>
|
|
64
|
-
</Sidebar>`
|
|
65
|
-
}
|
|
66
|
-
) }) }) })
|
|
67
|
-
] });
|
|
68
|
-
export {
|
|
69
|
-
f as default
|
|
70
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-CQ1tqJiQ.js"),i=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>e.jsxs(e.Fragment,{children:[e.jsx(t.HeroCard,{title:"Sidebar",description:`A sidebar component with scrollable content, optional logo, title, and
|
|
2
|
-
action buttons.`,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-orange-500 to-yellow-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(i.PanelLeftOpen,{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(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.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(t.CardContainer,{className:"p-4",children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Basic Sidebar"}),e.jsx(t.Typography,{tag:"p",className:"mb-4 text-sm text-gray-600",children:"Note: Sidebar is typically used within a Drawer component. This example shows the structure."}),e.jsx(t.Typography,{tag:"p",className:"text-sm",children:"The Sidebar component provides a scrollable container with optional header (logo or title) and action buttons at the bottom."})]})})})})}),e.jsx(t.PropPlayground,{componentName:"Sidebar",title:"Sidebar Playground",defaultValues:{title:"Sidebar",position:"left"},excludeProps:["onClose","actionContent","logo","className"],children:a=>e.jsx(t.Sidebar,{...a,onClose:()=>null,children:e.jsx(t.Typography,{tag:"p",children:"Sidebar content goes here"})})}),e.jsx(t.AutoPropsTable,{componentName:"Sidebar"}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(t.CodeBlock,{language:"tsx",code:`import { Sidebar } from '@e-burgos/tucu-ui';
|
|
3
|
-
|
|
4
|
-
// Basic usage (typically within Drawer)
|
|
5
|
-
<Sidebar title="Sidebar Title" onClose={() => setIsOpen(false)}>
|
|
6
|
-
<div>
|
|
7
|
-
<Typography tag="p">Sidebar content</Typography>
|
|
8
|
-
</div>
|
|
9
|
-
</Sidebar>
|
|
10
|
-
|
|
11
|
-
// With logo
|
|
12
|
-
<Sidebar
|
|
13
|
-
logo={{ name: 'MyApp' }}
|
|
14
|
-
onClose={() => setIsOpen(false)}
|
|
15
|
-
>
|
|
16
|
-
<div>Content</div>
|
|
17
|
-
</Sidebar>
|
|
18
|
-
|
|
19
|
-
// With action buttons
|
|
20
|
-
<Sidebar
|
|
21
|
-
title="Sidebar"
|
|
22
|
-
actionContent={<Button>Action</Button>}
|
|
23
|
-
onClose={() => setIsOpen(false)}
|
|
24
|
-
>
|
|
25
|
-
<div>Content</div>
|
|
26
|
-
</Sidebar>`})})})})]});exports.default=o;
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as n, C as c, a as o, T as d } from "../index-BOVWnu1L.js";
|
|
3
|
-
import { Maximize as h } from "lucide-react";
|
|
4
|
-
import "react-router-dom";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
const m = (a) => {
|
|
8
|
-
if (typeof window > "u") return "";
|
|
9
|
-
const s = document.documentElement;
|
|
10
|
-
return getComputedStyle(s).getPropertyValue(a).trim() || "";
|
|
11
|
-
}, N = () => /* @__PURE__ */ i("div", { className: "space-y-8 max-w-6xl sm:space-y-12 w-full mx-auto px-4 sm:px-6 lg:px-8 relative pt-8 lg:pt-12", children: [
|
|
12
|
-
/* @__PURE__ */ e(
|
|
13
|
-
n,
|
|
14
|
-
{
|
|
15
|
-
title: "Sizing",
|
|
16
|
-
description: "Icon and avatar size tokens from Tucu UI Design Tokens.",
|
|
17
|
-
icon: /* @__PURE__ */ e("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", children: /* @__PURE__ */ e(h, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
|
|
18
|
-
}
|
|
19
|
-
),
|
|
20
|
-
/* @__PURE__ */ i("div", { className: "space-y-8", children: [
|
|
21
|
-
/* @__PURE__ */ e(c, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Icon Sizes", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full space-y-8 p-4 sm:p-6", children: /* @__PURE__ */ e("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4", children: ["xs", "s", "m", "l"].map((a) => {
|
|
22
|
-
const s = `w-icon-${a}`, l = `h-icon-${a}`, r = `--size-icon-${a}`, t = m(r);
|
|
23
|
-
return /* @__PURE__ */ i(
|
|
24
|
-
"div",
|
|
25
|
-
{
|
|
26
|
-
className: "text-center space-y-2 border border-border rounded-lg p-3",
|
|
27
|
-
children: [
|
|
28
|
-
/* @__PURE__ */ e(
|
|
29
|
-
"div",
|
|
30
|
-
{
|
|
31
|
-
className: `bg-primary rounded mx-auto ${s} ${l}`,
|
|
32
|
-
style: {
|
|
33
|
-
width: t || `var(${r})`,
|
|
34
|
-
height: t || `var(${r})`
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
),
|
|
38
|
-
/* @__PURE__ */ e(d, { tag: "h4", className: "font-semibold", children: a }),
|
|
39
|
-
t && /* @__PURE__ */ e(d, { tag: "h4", className: "text-muted text-[10px]", children: t }),
|
|
40
|
-
/* @__PURE__ */ i(
|
|
41
|
-
d,
|
|
42
|
-
{
|
|
43
|
-
tag: "h4",
|
|
44
|
-
className: "text-muted text-[9px] mt-1 break-all px-1",
|
|
45
|
-
children: [
|
|
46
|
-
s,
|
|
47
|
-
", ",
|
|
48
|
-
l
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
)
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
a
|
|
55
|
-
);
|
|
56
|
-
}) }) }) }) }),
|
|
57
|
-
/* @__PURE__ */ e(c, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Avatar Sizes", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full space-y-8 p-4 sm:p-6", children: /* @__PURE__ */ e("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4", children: ["s", "m", "l", "xl", "xxl", "xxxl"].map((a) => {
|
|
58
|
-
const s = `w-avatar-${a}`, l = `h-avatar-${a}`, r = `--size-avatar-${a}`, t = m(r);
|
|
59
|
-
return /* @__PURE__ */ i(
|
|
60
|
-
"div",
|
|
61
|
-
{
|
|
62
|
-
className: "text-center space-y-2 border border-border rounded-lg p-3",
|
|
63
|
-
children: [
|
|
64
|
-
/* @__PURE__ */ e(
|
|
65
|
-
"div",
|
|
66
|
-
{
|
|
67
|
-
className: `bg-primary rounded-full mx-auto ${s} ${l}`,
|
|
68
|
-
style: {
|
|
69
|
-
width: t || `var(${r})`,
|
|
70
|
-
height: t || `var(${r})`
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
),
|
|
74
|
-
/* @__PURE__ */ e(d, { tag: "h4", className: "font-semibold", children: a }),
|
|
75
|
-
t && /* @__PURE__ */ e(d, { tag: "h4", className: "text-muted text-[10px]", children: t }),
|
|
76
|
-
/* @__PURE__ */ i(
|
|
77
|
-
d,
|
|
78
|
-
{
|
|
79
|
-
tag: "h4",
|
|
80
|
-
className: "text-muted text-[9px] mt-1 break-all px-1",
|
|
81
|
-
children: [
|
|
82
|
-
s,
|
|
83
|
-
", ",
|
|
84
|
-
l
|
|
85
|
-
]
|
|
86
|
-
}
|
|
87
|
-
)
|
|
88
|
-
]
|
|
89
|
-
},
|
|
90
|
-
a
|
|
91
|
-
);
|
|
92
|
-
}) }) }) }) })
|
|
93
|
-
] })
|
|
94
|
-
] });
|
|
95
|
-
export {
|
|
96
|
-
N as default
|
|
97
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-CQ1tqJiQ.js"),c=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const d=s=>{if(typeof window>"u")return"";const r=document.documentElement;return getComputedStyle(r).getPropertyValue(s).trim()||""},o=()=>e.jsxs("div",{className:"space-y-8 max-w-6xl sm:space-y-12 w-full mx-auto px-4 sm:px-6 lg:px-8 relative pt-8 lg:pt-12",children:[e.jsx(a.HeroCard,{title:"Sizing",description:"Icon and avatar size tokens from Tucu UI Design Tokens.",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-indigo-500 via-purple-500 to-pink-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(c.Maximize,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("div",{className:"space-y-8",children:[e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Icon Sizes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-8 p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:["xs","s","m","l"].map(s=>{const r=`w-icon-${s}`,i=`h-icon-${s}`,l=`--size-icon-${s}`,t=d(l);return e.jsxs("div",{className:"text-center space-y-2 border border-border rounded-lg p-3",children:[e.jsx("div",{className:`bg-primary rounded mx-auto ${r} ${i}`,style:{width:t||`var(${l})`,height:t||`var(${l})`}}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold",children:s}),t&&e.jsx(a.Typography,{tag:"h4",className:"text-muted text-[10px]",children:t}),e.jsxs(a.Typography,{tag:"h4",className:"text-muted text-[9px] mt-1 break-all px-1",children:[r,", ",i]})]},s)})})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Avatar Sizes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-8 p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:["s","m","l","xl","xxl","xxxl"].map(s=>{const r=`w-avatar-${s}`,i=`h-avatar-${s}`,l=`--size-avatar-${s}`,t=d(l);return e.jsxs("div",{className:"text-center space-y-2 border border-border rounded-lg p-3",children:[e.jsx("div",{className:`bg-primary rounded-full mx-auto ${r} ${i}`,style:{width:t||`var(${l})`,height:t||`var(${l})`}}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold",children:s}),t&&e.jsx(a.Typography,{tag:"h4",className:"text-muted text-[10px]",children:t}),e.jsxs(a.Typography,{tag:"h4",className:"text-muted text-[9px] mt-1 break-all px-1",children:[r,", ",i]})]},s)})})})})})]})]});exports.default=o;
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
import { jsxs as a, Fragment as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as c, C as s, a as n, T as l, _ as i, P as d, A as h, c as r } from "../index-BOVWnu1L.js";
|
|
3
|
-
import { Square as o } from "lucide-react";
|
|
4
|
-
import "react-router-dom";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
const w = () => /* @__PURE__ */ a(m, { children: [
|
|
8
|
-
/* @__PURE__ */ e(
|
|
9
|
-
c,
|
|
10
|
-
{
|
|
11
|
-
title: "Skeleton",
|
|
12
|
-
description: `A skeleton loader component for displaying placeholder content while
|
|
13
|
-
data is loading.`,
|
|
14
|
-
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-emerald-500 to-green-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(o, { className: "w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg" }) })
|
|
15
|
-
}
|
|
16
|
-
),
|
|
17
|
-
/* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Basic Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "space-y-6", children: [
|
|
18
|
-
/* @__PURE__ */ a("div", { children: [
|
|
19
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Default Skeleton" }),
|
|
20
|
-
/* @__PURE__ */ e(i, {})
|
|
21
|
-
] }),
|
|
22
|
-
/* @__PURE__ */ a("div", { children: [
|
|
23
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "With Text Lines" }),
|
|
24
|
-
/* @__PURE__ */ e(i, { shape: "text", count: 3 })
|
|
25
|
-
] }),
|
|
26
|
-
/* @__PURE__ */ a("div", { children: [
|
|
27
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Circle Shape" }),
|
|
28
|
-
/* @__PURE__ */ a("div", { className: "flex gap-3", children: [
|
|
29
|
-
/* @__PURE__ */ e(i, { shape: "circle", size: "small", width: "2rem" }),
|
|
30
|
-
/* @__PURE__ */ e(i, { shape: "circle", size: "medium", width: "4rem" }),
|
|
31
|
-
/* @__PURE__ */ e(i, { shape: "circle", size: "large", width: "6rem" })
|
|
32
|
-
] })
|
|
33
|
-
] }),
|
|
34
|
-
/* @__PURE__ */ a("div", { children: [
|
|
35
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Different Sizes" }),
|
|
36
|
-
/* @__PURE__ */ a("div", { className: "space-y-2", children: [
|
|
37
|
-
/* @__PURE__ */ e(i, { size: "tiny" }),
|
|
38
|
-
/* @__PURE__ */ e(i, { size: "small" }),
|
|
39
|
-
/* @__PURE__ */ e(i, { size: "medium" }),
|
|
40
|
-
/* @__PURE__ */ e(i, { size: "large" })
|
|
41
|
-
] })
|
|
42
|
-
] })
|
|
43
|
-
] }) }) }) }),
|
|
44
|
-
/* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Animations", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "space-y-6", children: [
|
|
45
|
-
/* @__PURE__ */ a("div", { children: [
|
|
46
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Shimmer Animation (Default)" }),
|
|
47
|
-
/* @__PURE__ */ e(i, { animation: "shimmer" })
|
|
48
|
-
] }),
|
|
49
|
-
/* @__PURE__ */ a("div", { children: [
|
|
50
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Wave Animation" }),
|
|
51
|
-
/* @__PURE__ */ e(i, { animation: "wave" })
|
|
52
|
-
] }),
|
|
53
|
-
/* @__PURE__ */ a("div", { children: [
|
|
54
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Pulse Animation" }),
|
|
55
|
-
/* @__PURE__ */ e(i, { animation: "pulse" })
|
|
56
|
-
] }),
|
|
57
|
-
/* @__PURE__ */ a("div", { children: [
|
|
58
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "No Animation" }),
|
|
59
|
-
/* @__PURE__ */ e(i, { animation: "none" })
|
|
60
|
-
] })
|
|
61
|
-
] }) }) }) }),
|
|
62
|
-
/* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Shapes", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "space-y-6", children: [
|
|
63
|
-
/* @__PURE__ */ a("div", { children: [
|
|
64
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Rounded (Default)" }),
|
|
65
|
-
/* @__PURE__ */ e(i, { shape: "rounded" })
|
|
66
|
-
] }),
|
|
67
|
-
/* @__PURE__ */ a("div", { children: [
|
|
68
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Rectangle" }),
|
|
69
|
-
/* @__PURE__ */ e(i, { shape: "rectangle" })
|
|
70
|
-
] }),
|
|
71
|
-
/* @__PURE__ */ a("div", { children: [
|
|
72
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Circle" }),
|
|
73
|
-
/* @__PURE__ */ e(i, { shape: "circle", width: "8rem", height: "8rem" })
|
|
74
|
-
] }),
|
|
75
|
-
/* @__PURE__ */ a("div", { children: [
|
|
76
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Text Lines" }),
|
|
77
|
-
/* @__PURE__ */ e(i, { shape: "text", count: 4 })
|
|
78
|
-
] })
|
|
79
|
-
] }) }) }) }),
|
|
80
|
-
/* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Common Patterns", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "space-y-6", children: [
|
|
81
|
-
/* @__PURE__ */ a("div", { children: [
|
|
82
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Card Skeleton" }),
|
|
83
|
-
/* @__PURE__ */ a(s, { className: "p-4", children: [
|
|
84
|
-
/* @__PURE__ */ e(i, { size: "large", className: "mb-3" }),
|
|
85
|
-
/* @__PURE__ */ e(i, { shape: "text", count: 3 })
|
|
86
|
-
] })
|
|
87
|
-
] }),
|
|
88
|
-
/* @__PURE__ */ a("div", { children: [
|
|
89
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Profile Skeleton" }),
|
|
90
|
-
/* @__PURE__ */ e(s, { className: "p-4", children: /* @__PURE__ */ a("div", { className: "flex items-center gap-4", children: [
|
|
91
|
-
/* @__PURE__ */ e(i, { shape: "circle", width: "4rem", height: "4rem" }),
|
|
92
|
-
/* @__PURE__ */ a("div", { className: "flex-1 space-y-2", children: [
|
|
93
|
-
/* @__PURE__ */ e(i, { width: "60%", height: "1rem" }),
|
|
94
|
-
/* @__PURE__ */ e(i, { width: "40%", height: "0.875rem" })
|
|
95
|
-
] })
|
|
96
|
-
] }) })
|
|
97
|
-
] }),
|
|
98
|
-
/* @__PURE__ */ a("div", { children: [
|
|
99
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "List Skeleton" }),
|
|
100
|
-
/* @__PURE__ */ e(s, { className: "p-4 space-y-3", children: [1, 2, 3].map((t) => /* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
|
|
101
|
-
/* @__PURE__ */ e(i, { shape: "circle", width: "2.5rem", height: "2.5rem" }),
|
|
102
|
-
/* @__PURE__ */ a("div", { className: "flex-1 space-y-2", children: [
|
|
103
|
-
/* @__PURE__ */ e(i, { width: "70%", height: "0.875rem" }),
|
|
104
|
-
/* @__PURE__ */ e(i, { width: "50%", height: "0.75rem" })
|
|
105
|
-
] })
|
|
106
|
-
] }, t)) })
|
|
107
|
-
] }),
|
|
108
|
-
/* @__PURE__ */ a("div", { children: [
|
|
109
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Article Skeleton" }),
|
|
110
|
-
/* @__PURE__ */ a(s, { className: "p-4", children: [
|
|
111
|
-
/* @__PURE__ */ e(i, { size: "large", className: "mb-4" }),
|
|
112
|
-
/* @__PURE__ */ e(i, { width: "80%", className: "mb-2 h-6" }),
|
|
113
|
-
/* @__PURE__ */ e(i, { width: "60%", className: "mb-4 h-6" }),
|
|
114
|
-
/* @__PURE__ */ e(i, { shape: "text", count: 5 })
|
|
115
|
-
] })
|
|
116
|
-
] }),
|
|
117
|
-
/* @__PURE__ */ a("div", { children: [
|
|
118
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Grid Skeleton" }),
|
|
119
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-4", children: [1, 2, 3].map((t) => /* @__PURE__ */ a(s, { className: "p-4", children: [
|
|
120
|
-
/* @__PURE__ */ e(i, { height: "10rem", className: "mb-3" }),
|
|
121
|
-
/* @__PURE__ */ e(i, { width: "80%", className: "mb-2 h-5" }),
|
|
122
|
-
/* @__PURE__ */ e(i, { shape: "text", count: 2 })
|
|
123
|
-
] }, t)) })
|
|
124
|
-
] })
|
|
125
|
-
] }) }) }) }),
|
|
126
|
-
/* @__PURE__ */ e(
|
|
127
|
-
d,
|
|
128
|
-
{
|
|
129
|
-
componentName: "Skeleton",
|
|
130
|
-
defaultValues: {
|
|
131
|
-
shape: "rounded",
|
|
132
|
-
animation: "shimmer",
|
|
133
|
-
size: "medium",
|
|
134
|
-
count: 1
|
|
135
|
-
},
|
|
136
|
-
excludeProps: ["width", "height"],
|
|
137
|
-
children: (t) => /* @__PURE__ */ e(i, { ...t })
|
|
138
|
-
}
|
|
139
|
-
),
|
|
140
|
-
/* @__PURE__ */ e(h, { componentName: "Skeleton" }),
|
|
141
|
-
/* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
142
|
-
r,
|
|
143
|
-
{
|
|
144
|
-
language: "tsx",
|
|
145
|
-
code: `import { Skeleton } from '@e-burgos/tucu-ui';
|
|
146
|
-
|
|
147
|
-
// Basic usage
|
|
148
|
-
<Skeleton />
|
|
149
|
-
|
|
150
|
-
// Different animations
|
|
151
|
-
<Skeleton animation="shimmer" />
|
|
152
|
-
<Skeleton animation="wave" />
|
|
153
|
-
<Skeleton animation="pulse" />
|
|
154
|
-
<Skeleton animation="none" />
|
|
155
|
-
|
|
156
|
-
// Different shapes
|
|
157
|
-
<Skeleton shape="rounded" />
|
|
158
|
-
<Skeleton shape="rectangle" />
|
|
159
|
-
<Skeleton shape="circle" width="4rem" height="4rem" />
|
|
160
|
-
<Skeleton shape="text" count={3} />
|
|
161
|
-
|
|
162
|
-
// Different sizes
|
|
163
|
-
<Skeleton size="tiny" />
|
|
164
|
-
<Skeleton size="small" />
|
|
165
|
-
<Skeleton size="medium" />
|
|
166
|
-
<Skeleton size="large" />
|
|
167
|
-
|
|
168
|
-
// Custom dimensions
|
|
169
|
-
<Skeleton width="80%" height="2rem" />
|
|
170
|
-
|
|
171
|
-
// Multiple lines
|
|
172
|
-
<Skeleton count={5} />
|
|
173
|
-
|
|
174
|
-
// Card skeleton pattern
|
|
175
|
-
<div>
|
|
176
|
-
<Skeleton size="large" className="mb-3" />
|
|
177
|
-
<Skeleton shape="text" count={3} />
|
|
178
|
-
</div>
|
|
179
|
-
|
|
180
|
-
// Profile skeleton pattern
|
|
181
|
-
<div className="flex items-center gap-4">
|
|
182
|
-
<Skeleton shape="circle" width="4rem" height="4rem" />
|
|
183
|
-
<div className="flex-1 space-y-2">
|
|
184
|
-
<Skeleton width="60%" height="1rem" />
|
|
185
|
-
<Skeleton width="40%" height="0.875rem" />
|
|
186
|
-
</div>
|
|
187
|
-
</div>
|
|
188
|
-
|
|
189
|
-
// List item skeleton pattern
|
|
190
|
-
<div className="flex items-center gap-3">
|
|
191
|
-
<Skeleton shape="circle" width="2.5rem" height="2.5rem" />
|
|
192
|
-
<div className="flex-1 space-y-2">
|
|
193
|
-
<Skeleton width="70%" height="0.875rem" />
|
|
194
|
-
<Skeleton width="50%" height="0.75rem" />
|
|
195
|
-
</div>
|
|
196
|
-
</div>`
|
|
197
|
-
}
|
|
198
|
-
) }) }) })
|
|
199
|
-
] });
|
|
200
|
-
export {
|
|
201
|
-
w as default
|
|
202
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-CQ1tqJiQ.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=()=>e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Skeleton",description:`A skeleton loader component for displaying placeholder content while
|
|
2
|
-
data is loading.`,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-emerald-500 to-green-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(a.Square,{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(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.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-6",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Default Skeleton"}),e.jsx(s.Skeleton,{})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"With Text Lines"}),e.jsx(s.Skeleton,{shape:"text",count:3})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Circle Shape"}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(s.Skeleton,{shape:"circle",size:"small",width:"2rem"}),e.jsx(s.Skeleton,{shape:"circle",size:"medium",width:"4rem"}),e.jsx(s.Skeleton,{shape:"circle",size:"large",width:"6rem"})]})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Different Sizes"}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(s.Skeleton,{size:"tiny"}),e.jsx(s.Skeleton,{size:"small"}),e.jsx(s.Skeleton,{size:"medium"}),e.jsx(s.Skeleton,{size:"large"})]})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Animations",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.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Shimmer Animation (Default)"}),e.jsx(s.Skeleton,{animation:"shimmer"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Wave Animation"}),e.jsx(s.Skeleton,{animation:"wave"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Pulse Animation"}),e.jsx(s.Skeleton,{animation:"pulse"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"No Animation"}),e.jsx(s.Skeleton,{animation:"none"})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Shapes",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.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Rounded (Default)"}),e.jsx(s.Skeleton,{shape:"rounded"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Rectangle"}),e.jsx(s.Skeleton,{shape:"rectangle"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Circle"}),e.jsx(s.Skeleton,{shape:"circle",width:"8rem",height:"8rem"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Text Lines"}),e.jsx(s.Skeleton,{shape:"text",count:4})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Common Patterns",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.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Card Skeleton"}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Skeleton,{size:"large",className:"mb-3"}),e.jsx(s.Skeleton,{shape:"text",count:3})]})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Profile Skeleton"}),e.jsx(s.CardContainer,{className:"p-4",children:e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(s.Skeleton,{shape:"circle",width:"4rem",height:"4rem"}),e.jsxs("div",{className:"flex-1 space-y-2",children:[e.jsx(s.Skeleton,{width:"60%",height:"1rem"}),e.jsx(s.Skeleton,{width:"40%",height:"0.875rem"})]})]})})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"List Skeleton"}),e.jsx(s.CardContainer,{className:"p-4 space-y-3",children:[1,2,3].map(l=>e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(s.Skeleton,{shape:"circle",width:"2.5rem",height:"2.5rem"}),e.jsxs("div",{className:"flex-1 space-y-2",children:[e.jsx(s.Skeleton,{width:"70%",height:"0.875rem"}),e.jsx(s.Skeleton,{width:"50%",height:"0.75rem"})]})]},l))})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Article Skeleton"}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Skeleton,{size:"large",className:"mb-4"}),e.jsx(s.Skeleton,{width:"80%",className:"mb-2 h-6"}),e.jsx(s.Skeleton,{width:"60%",className:"mb-4 h-6"}),e.jsx(s.Skeleton,{shape:"text",count:5})]})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Grid Skeleton"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[1,2,3].map(l=>e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Skeleton,{height:"10rem",className:"mb-3"}),e.jsx(s.Skeleton,{width:"80%",className:"mb-2 h-5"}),e.jsx(s.Skeleton,{shape:"text",count:2})]},l))})]})]})})})}),e.jsx(s.PropPlayground,{componentName:"Skeleton",defaultValues:{shape:"rounded",animation:"shimmer",size:"medium",count:1},excludeProps:["width","height"],children:l=>e.jsx(s.Skeleton,{...l})}),e.jsx(s.AutoPropsTable,{componentName:"Skeleton"}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.CodeBlock,{language:"tsx",code:`import { Skeleton } from '@e-burgos/tucu-ui';
|
|
3
|
-
|
|
4
|
-
// Basic usage
|
|
5
|
-
<Skeleton />
|
|
6
|
-
|
|
7
|
-
// Different animations
|
|
8
|
-
<Skeleton animation="shimmer" />
|
|
9
|
-
<Skeleton animation="wave" />
|
|
10
|
-
<Skeleton animation="pulse" />
|
|
11
|
-
<Skeleton animation="none" />
|
|
12
|
-
|
|
13
|
-
// Different shapes
|
|
14
|
-
<Skeleton shape="rounded" />
|
|
15
|
-
<Skeleton shape="rectangle" />
|
|
16
|
-
<Skeleton shape="circle" width="4rem" height="4rem" />
|
|
17
|
-
<Skeleton shape="text" count={3} />
|
|
18
|
-
|
|
19
|
-
// Different sizes
|
|
20
|
-
<Skeleton size="tiny" />
|
|
21
|
-
<Skeleton size="small" />
|
|
22
|
-
<Skeleton size="medium" />
|
|
23
|
-
<Skeleton size="large" />
|
|
24
|
-
|
|
25
|
-
// Custom dimensions
|
|
26
|
-
<Skeleton width="80%" height="2rem" />
|
|
27
|
-
|
|
28
|
-
// Multiple lines
|
|
29
|
-
<Skeleton count={5} />
|
|
30
|
-
|
|
31
|
-
// Card skeleton pattern
|
|
32
|
-
<div>
|
|
33
|
-
<Skeleton size="large" className="mb-3" />
|
|
34
|
-
<Skeleton shape="text" count={3} />
|
|
35
|
-
</div>
|
|
36
|
-
|
|
37
|
-
// Profile skeleton pattern
|
|
38
|
-
<div className="flex items-center gap-4">
|
|
39
|
-
<Skeleton shape="circle" width="4rem" height="4rem" />
|
|
40
|
-
<div className="flex-1 space-y-2">
|
|
41
|
-
<Skeleton width="60%" height="1rem" />
|
|
42
|
-
<Skeleton width="40%" height="0.875rem" />
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
|
|
46
|
-
// List item skeleton pattern
|
|
47
|
-
<div className="flex items-center gap-3">
|
|
48
|
-
<Skeleton shape="circle" width="2.5rem" height="2.5rem" />
|
|
49
|
-
<div className="flex-1 space-y-2">
|
|
50
|
-
<Skeleton width="70%" height="0.875rem" />
|
|
51
|
-
<Skeleton width="50%" height="0.75rem" />
|
|
52
|
-
</div>
|
|
53
|
-
</div>`})})})})]});exports.default=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-CQ1tqJiQ.js"),u=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const r={light:[{label:"Red",cssVar:"--macos-system-red",value:"#ff383c"},{label:"Orange",cssVar:"--macos-system-orange",value:"#ff8d28"},{label:"Yellow",cssVar:"--macos-system-yellow",value:"#ffcc00"},{label:"Green",cssVar:"--macos-system-green",value:"#34c759"},{label:"Mint",cssVar:"--macos-system-mint",value:"#00c8b3"},{label:"Teal",cssVar:"--macos-system-teal",value:"#00c3d0"},{label:"Cyan",cssVar:"--macos-system-cyan",value:"#00c0e8"},{label:"Blue",cssVar:"--macos-system-blue",value:"#0088ff"},{label:"Indigo",cssVar:"--macos-system-indigo",value:"#6155f5"},{label:"Purple",cssVar:"--macos-system-purple",value:"#cb30e0"},{label:"Pink",cssVar:"--macos-system-pink",value:"#ff2d55"},{label:"Brown",cssVar:"--macos-system-brown",value:"#ac7f5e"}],dark:[{label:"Red",cssVar:"--macos-system-red",value:"#ff4245"},{label:"Orange",cssVar:"--macos-system-orange",value:"#ff9230"},{label:"Yellow",cssVar:"--macos-system-yellow",value:"#ffd600"},{label:"Green",cssVar:"--macos-system-green",value:"#30d158"},{label:"Mint",cssVar:"--macos-system-mint",value:"#00dac3"},{label:"Teal",cssVar:"--macos-system-teal",value:"#00d2e0"},{label:"Cyan",cssVar:"--macos-system-cyan",value:"#3cd3fe"},{label:"Blue",cssVar:"--macos-system-blue",value:"#0091ff"},{label:"Indigo",cssVar:"--macos-system-indigo",value:"#6d7cff"},{label:"Purple",cssVar:"--macos-system-purple",value:"#db34f2"},{label:"Pink",cssVar:"--macos-system-pink",value:"#ff375f"},{label:"Brown",cssVar:"--macos-system-brown",value:"#b78a66"}]},c={light:[{label:"Gray",cssVar:"--macos-gray",value:"#8e8e93"},{label:"Gray 2",cssVar:"--macos-gray2",value:"#aeaeb2"},{label:"Gray 3",cssVar:"--macos-gray3",value:"#c7c7cc"},{label:"Gray 4",cssVar:"--macos-gray4",value:"#d1d1d6"},{label:"Gray 5",cssVar:"--macos-gray5",value:"#e5e5ea"},{label:"Gray 6",cssVar:"--macos-gray6",value:"#f2f2f7"}],dark:[{label:"Gray",cssVar:"--macos-gray",value:"#8e8e93"},{label:"Gray 2",cssVar:"--macos-gray2",value:"#636366"},{label:"Gray 3",cssVar:"--macos-gray3",value:"#48484a"},{label:"Gray 4",cssVar:"--macos-gray4",value:"#3a3a3c"},{label:"Gray 5",cssVar:"--macos-gray5",value:"#2c2c2e"},{label:"Gray 6",cssVar:"--macos-gray6",value:"#1c1c1e"}]},t={light:[{label:"Label",cssVar:"--macos-label",value:"rgba(0,0,0,0.88)",desc:"Primary text"},{label:"Secondary Label",cssVar:"--macos-secondary-label",value:"rgba(60,60,67,0.68)",desc:"Supporting text"},{label:"Tertiary Label",cssVar:"--macos-tertiary-label",value:"rgba(60,60,67,0.42)",desc:"Placeholder, disabled"},{label:"Quaternary Label",cssVar:"--macos-quaternary-label",value:"rgba(60,60,67,0.24)",desc:"Faint text"},{label:"Separator",cssVar:"--macos-separator",value:"rgba(60,60,67,0.24)",desc:"Dividers, borders"},{label:"Opaque Separator",cssVar:"--macos-opaque-separator",value:"#c6c6c8",desc:"Non-vibrancy separator"},{label:"Window BG",cssVar:"--macos-window-bg",value:"#f5f5f7",desc:"Root window"},{label:"Content BG",cssVar:"--macos-content-bg",value:"#ffffff",desc:"Content areas"},{label:"Grouped BG",cssVar:"--macos-grouped-bg",value:"#f2f2f7",desc:"Grouped tables/lists"},{label:"Control BG",cssVar:"--macos-control-bg",value:"rgba(255,255,255,0.72)",desc:"Buttons, fields"}],dark:[{label:"Label",cssVar:"--macos-label",value:"rgba(255,255,255,0.92)",desc:"Primary text"},{label:"Secondary Label",cssVar:"--macos-secondary-label",value:"rgba(235,235,245,0.72)",desc:"Supporting text"},{label:"Tertiary Label",cssVar:"--macos-tertiary-label",value:"rgba(235,235,245,0.44)",desc:"Placeholder, disabled"},{label:"Quaternary Label",cssVar:"--macos-quaternary-label",value:"rgba(235,235,245,0.26)",desc:"Faint text"},{label:"Separator",cssVar:"--macos-separator",value:"rgba(84,84,88,0.6)",desc:"Dividers, borders"},{label:"Opaque Separator",cssVar:"--macos-opaque-separator",value:"#38383a",desc:"Non-vibrancy separator"},{label:"Window BG",cssVar:"--macos-window-bg",value:"#1c1c1e",desc:"Root window"},{label:"Content BG",cssVar:"--macos-content-bg",value:"#151516",desc:"Content areas"},{label:"Grouped BG",cssVar:"--macos-grouped-bg",value:"#1c1c1e",desc:"Grouped tables/lists"},{label:"Control BG",cssVar:"--macos-control-bg",value:"rgba(255,255,255,0.10)",desc:"Buttons, fields"}]},x=[{label:"Close",cssVar:"--macos-traffic-close",light:"#ff5f57",dark:"#ff5f57"},{label:"Minimize",cssVar:"--macos-traffic-minimize",light:"#febc2e",dark:"#febc2e"},{label:"Maximize",cssVar:"--macos-traffic-maximize",light:"#28c840",dark:"#28c840"},{label:"Inactive",cssVar:"--macos-traffic-inactive",light:"#dcdcdc",dark:"#444444"}],o={light:[{label:"Series 1",cssVar:"--macos-chart-series-1",value:"#0088ff"},{label:"Series 2",cssVar:"--macos-chart-series-2",value:"#34c759"},{label:"Series 3",cssVar:"--macos-chart-series-3",value:"#ff8d28"},{label:"Series 4",cssVar:"--macos-chart-series-4",value:"#cb30e0"},{label:"Series 5",cssVar:"--macos-chart-series-5",value:"#ff383c"},{label:"Series 6",cssVar:"--macos-chart-series-6",value:"#00c3d0"}],dark:[{label:"Series 1",cssVar:"--macos-chart-series-1",value:"#0091ff"},{label:"Series 2",cssVar:"--macos-chart-series-2",value:"#30d158"},{label:"Series 3",cssVar:"--macos-chart-series-3",value:"#ff9230"},{label:"Series 4",cssVar:"--macos-chart-series-4",value:"#db34f2"},{label:"Series 5",cssVar:"--macos-chart-series-5",value:"#ff4245"},{label:"Series 6",cssVar:"--macos-chart-series-6",value:"#00d2e0"}]},g=()=>{const{mode:d}=s.useTheme(),l=d==="dark",i=l?r.dark:r.light,n=l?c.dark:c.light,m=l?t.dark:t.light,b=l?o.dark:o.light;return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Colors",description:"macOS Sonoma color tokens — CSS custom properties from html.macos. All colors adapt between light and dark appearances.",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-red-400 via-blue-500 to-purple-600 rounded-full flex items-center justify-center shadow-lg border border-red-400/50",children:e.jsx(u.Palette,{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(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"System Colors",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsxs(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:["12 vibrant system colors. Showing"," ",e.jsx("strong",{children:l?"dark":"light"})," mode values."]}),e.jsx("div",{className:"grid grid-cols-3 sm:grid-cols-4 lg:grid-cols-6 gap-3",children:i.map(a=>e.jsxs("div",{className:"flex flex-col items-center gap-1.5",children:[e.jsx("div",{className:"w-full h-14 rounded-xl shadow-sm border border-border",style:{backgroundColor:`var(${a.cssVar}, ${a.value})`}}),e.jsx("span",{className:"text-xs font-medium text-center leading-tight",children:a.label}),e.jsx("code",{className:"text-[9px] text-gray-400 font-mono text-center leading-tight",children:a.cssVar})]},a.label))})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Semantic Colors",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsxs(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:["Role-based color tokens for UI surfaces, labels, separators, and backgrounds. Showing ",e.jsx("strong",{children:l?"dark":"light"})," ","mode."]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:m.map(a=>e.jsxs("div",{className:"flex items-center gap-3 p-3 rounded-xl border border-border",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg shrink-0 border border-border",style:{backgroundColor:`var(${a.cssVar}, ${a.value})`}}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-sm font-medium truncate",children:a.label}),e.jsx("p",{className:"text-[10px] text-gray-400 truncate",children:a.desc}),e.jsx("code",{className:"text-[9px] text-gray-400 font-mono",children:a.cssVar})]}),e.jsx("code",{className:"text-[9px] text-gray-400 font-mono text-right shrink-0 max-w-[120px] break-all",children:a.value})]},a.label))})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Gray Scale",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsx(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:"6-step gray ramp following Apple HIG Sonoma. Grays 1–6 map to increasing lightness in light mode and decreasing lightness in dark mode."}),e.jsx("div",{className:"flex flex-col gap-2",children:n.map(a=>e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-12 h-8 rounded-lg border border-border shrink-0",style:{backgroundColor:`var(${a.cssVar}, ${a.value})`}}),e.jsx("code",{className:"text-xs font-mono w-40 text-gray-500",children:a.cssVar}),e.jsx("code",{className:"text-xs font-mono text-gray-400",children:a.value}),e.jsx("span",{className:"text-xs text-gray-400 ml-auto",children:a.label})]},a.label))})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Traffic Light Controls",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsx(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:"Window control button colors — Close (red), Minimize (yellow), Maximize (green). These are fixed colors; only the inactive state changes between appearances."}),e.jsx("div",{className:"flex flex-wrap gap-6",children:x.map(a=>e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsx("div",{className:"w-12 h-12 rounded-full border border-border shadow-sm",style:{backgroundColor:`var(${a.cssVar}, ${l?a.dark:a.light})`}}),e.jsx("span",{className:"text-xs font-medium",children:a.label}),e.jsx("code",{className:"text-[9px] font-mono text-gray-400",children:a.cssVar}),e.jsx("code",{className:"text-[9px] font-mono text-gray-400",children:l?a.dark:a.light})]},a.label))})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Chart Series Colors",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsxs(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:["Used by"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 dark:bg-gray-800 px-1 rounded",children:"useChartTheme()"})," ","when"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 dark:bg-gray-800 px-1 rounded",children:"colorScheme === 'macos'"}),"."]}),e.jsx("div",{className:"flex flex-wrap gap-4",children:b.map(a=>e.jsxs("div",{className:"flex flex-col items-center gap-1.5",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl shadow-sm border border-border",style:{backgroundColor:`var(${a.cssVar}, ${a.value})`}}),e.jsx("span",{className:"text-[10px] font-medium",children:a.label}),e.jsx("code",{className:"text-[9px] font-mono text-gray-400",children:a.value})]},a.label))})]})})})]})};exports.default=g;
|