@e-burgos/tucu-ui 2.5.0 → 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 +30 -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 +462 -426
- package/package.json +22 -14
- package/documentation/APIReferenceSection-BuGaLjk4.js +0 -213
- package/documentation/APIReferenceSection-vOO5q7kb.js +0 -1
- package/documentation/ActiveLinkSection-DIb03elW.js +0 -23
- package/documentation/ActiveLinkSection-hXSKjm7P.js +0 -79
- package/documentation/AdvancedColorSystemSection-BNGCLPR3.js +0 -181
- package/documentation/AdvancedColorSystemSection-pzKTpmEy.js +0 -17
- package/documentation/AdvancedFeaturesSection-B5lA3r0v.js +0 -1
- package/documentation/AdvancedFeaturesSection-Bh-WxfFY.js +0 -117
- package/documentation/AdvancedFeaturesSection-DExCw62I.js +0 -70
- package/documentation/AdvancedFeaturesSection-rwcki92F.js +0 -32
- package/documentation/AlertSection-D9eDywN3.js +0 -96
- package/documentation/AlertSection-wm1TI70h.js +0 -26
- package/documentation/AnchorLinkSection-CCVHnu-V.js +0 -65
- package/documentation/AnchorLinkSection-CXA1DwCn.js +0 -20
- package/documentation/ArchitecturalPatternsComparisonSection-D59jbCG8.js +0 -34
- package/documentation/ArchitecturalPatternsComparisonSection-Df1CQv6V.js +0 -182
- package/documentation/ArchitectureOverviewSection-B8Gu1Qwg.js +0 -1
- package/documentation/ArchitectureOverviewSection-CqMMpWAZ.js +0 -210
- package/documentation/AreaChartSection-CwmW-uJO.js +0 -132
- package/documentation/AreaChartSection-DjxzNYFk.js +0 -22
- package/documentation/AuthorCardSection-BszBY56Q.js +0 -79
- package/documentation/AuthorCardSection-DX6K6A58.js +0 -18
- package/documentation/AvatarSection-BaNCsM7-.js +0 -89
- package/documentation/AvatarSection-CHC86-XQ.js +0 -19
- package/documentation/BackgroundsSection-BphgbOsP.js +0 -6
- package/documentation/BackgroundsSection-DRGHkPRw.js +0 -365
- package/documentation/BadgeSection-DPqnIeW_.js +0 -179
- package/documentation/BadgeSection-DQuVvzuk.js +0 -49
- package/documentation/BarChartSection-192XA4lC.js +0 -127
- package/documentation/BarChartSection-CQTrN7II.js +0 -23
- package/documentation/BasicTableSection-DS9tghtn.js +0 -133
- package/documentation/BasicTableSection-DUxEk0Xz.js +0 -36
- package/documentation/BasicUsageSection-Bnk07Qtr.js +0 -45
- package/documentation/BasicUsageSection-D1mvyWVC.js +0 -133
- package/documentation/BestPracticesSection-B7d1WnXg.js +0 -61
- package/documentation/BestPracticesSection-BvEXXuBH.js +0 -1
- package/documentation/BestPracticesSection-C9A7z9xg.js +0 -1
- package/documentation/BestPracticesSection-CFILeUX1.js +0 -34
- package/documentation/BestPracticesSection-CH7suMGV.js +0 -79
- package/documentation/BestPracticesSection-C_UO8oF3.js +0 -1
- package/documentation/BestPracticesSection-DI3iv7N4.js +0 -151
- package/documentation/BestPracticesSection-DfkGrr2Q.js +0 -1
- package/documentation/BestPracticesSection-Dl3jrGq4.js +0 -1
- package/documentation/BestPracticesSection-DlYPFmx9.js +0 -91
- package/documentation/BestPracticesSection-DvxanX6e.js +0 -151
- package/documentation/BestPracticesSection-fJ-_uwQu.js +0 -1
- package/documentation/BestPracticesSection-klWNOwRv.js +0 -153
- package/documentation/BestPracticesSection-nvtTMLIJ.js +0 -137
- package/documentation/BorderRadiusSection-BCNMPn6e.js +0 -58
- package/documentation/BorderRadiusSection-Cf18TiCF.js +0 -1
- package/documentation/ButtonDripSection-BEhYR8Ne.js +0 -110
- package/documentation/ButtonDripSection-CI9fFXx_.js +0 -21
- package/documentation/ButtonLoaderSection-BW_hgeeM.js +0 -153
- package/documentation/ButtonLoaderSection-BZUXqzag.js +0 -31
- package/documentation/CardContainerSection-BRPPLI1C.js +0 -61
- package/documentation/CardContainerSection-dZUV-wdl.js +0 -22
- package/documentation/CardSection-B-RjdTHj.js +0 -26
- package/documentation/CardSection-BEcASXn9.js +0 -136
- package/documentation/CardTitleSection-CZbYlPce.js +0 -20
- package/documentation/CardTitleSection-DC_JgQnV.js +0 -72
- package/documentation/CarouselCardsSection-BgSiYzS-.js +0 -38
- package/documentation/CarouselCardsSection-CyuFw30M.js +0 -174
- package/documentation/CarouselImageSection-CYUZkmE7.js +0 -179
- package/documentation/CarouselImageSection-RaIGiFPI.js +0 -39
- package/documentation/CarouselSection-BcAird9B.js +0 -25
- package/documentation/CarouselSection-CmOg8CA7.js +0 -123
- package/documentation/CheckboxSection-Ci3XeeBU.js +0 -29
- package/documentation/CheckboxSection-fCbCTXVi.js +0 -175
- package/documentation/ClientConfigSection-B1u9ICgp.js +0 -39
- package/documentation/ClientConfigSection-DKoyUKX1.js +0 -126
- package/documentation/CodeExamplesSection-BUiRFlz_.js +0 -68
- package/documentation/CodeExamplesSection-BiY0m_Cj.js +0 -134
- package/documentation/CoinCardSection-bsveQMjk.js +0 -13
- package/documentation/CoinCardSection-zgM8YzAw.js +0 -132
- package/documentation/CoinInfoCardSection-BGxjfX33.js +0 -12
- package/documentation/CoinInfoCardSection-BpDitwaZ.js +0 -148
- package/documentation/CoinListBoxSection-BNhCV6tk.js +0 -129
- package/documentation/CoinListBoxSection-D4FrHQqq.js +0 -24
- package/documentation/CollapseSection-BJ_Eq2XG.js +0 -28
- package/documentation/CollapseSection-BTJCuwtH.js +0 -84
- package/documentation/CollectionCardSection-DhqMENmH.js +0 -17
- package/documentation/CollectionCardSection-Dnw-AMeA.js +0 -78
- package/documentation/CollectionSelectListSection-DjER6UPv.js +0 -149
- package/documentation/CollectionSelectListSection-q3vag31o.js +0 -15
- package/documentation/ColorCustomizationSection-Cc_eIdHN.js +0 -141
- package/documentation/ColorCustomizationSection-K07wRIed.js +0 -1
- package/documentation/ColorSystemSection-BsW26KPw.js +0 -339
- package/documentation/ColorSystemSection-DewtcS09.js +0 -1
- package/documentation/CommonErrorsSection-DUfQIOFx.js +0 -77
- package/documentation/CommonErrorsSection-DYprV2-q.js +0 -1
- package/documentation/ComponentAnatomySection-B48mRC0o.js +0 -1
- package/documentation/ComponentAnatomySection-MVU9xWRw.js +0 -78
- package/documentation/ComponentStatusSection-C8Xgbs1J.js +0 -1
- package/documentation/ComponentStatusSection-TiSLIuX0.js +0 -148
- package/documentation/ComposedChartSection-Be70sMuM.js +0 -113
- package/documentation/ComposedChartSection-Xih3hFxi.js +0 -21
- package/documentation/CurrencySwapIconsSection-D1-0fKb2.js +0 -7
- package/documentation/CurrencySwapIconsSection-LJEH4zY2.js +0 -73
- package/documentation/CustomColorPaletteSection-17OLhGAJ.js +0 -74
- package/documentation/CustomColorPaletteSection-DvcVgPSw.js +0 -19
- package/documentation/CustomIconsSection-BML7Ykph.js +0 -172
- package/documentation/CustomIconsSection-B_twKCge.js +0 -3
- package/documentation/DefiAppLogoSection-DV9roRzn.js +0 -132
- package/documentation/DefiAppLogoSection-yU373rnC.js +0 -38
- package/documentation/DeploymentSection-DdrdxadS.js +0 -36
- package/documentation/DeploymentSection-Zq8li6Rk.js +0 -136
- package/documentation/DesignPrinciplesSection-BFeLS1Jc.js +0 -1
- package/documentation/DesignPrinciplesSection-CQ9uXtm0.js +0 -68
- package/documentation/DrawerSection-BXsL-pSW.js +0 -155
- package/documentation/DrawerSection-tFhF0Yk2.js +0 -42
- package/documentation/DynamicRoutesSection-ByxCJkKq.js +0 -112
- package/documentation/DynamicRoutesSection-DtEe2l3H.js +0 -47
- package/documentation/FileInputSection-CUNjOlBC.js +0 -237
- package/documentation/FileInputSection-D9YC4zr4.js +0 -73
- package/documentation/FileStructureSection-DCuzzRzZ.js +0 -26
- package/documentation/FileStructureSection-RjF24Eeb.js +0 -101
- package/documentation/FormComponentsSection-W4xthxql.js +0 -1
- package/documentation/FormComponentsSection-qIVGkJO5.js +0 -148
- package/documentation/FormMethodsSection-BshjLI6k.js +0 -53
- package/documentation/FormMethodsSection-H0NH1Kq_.js +0 -194
- package/documentation/HamburgerSection-BEuEb_AH.js +0 -97
- package/documentation/HamburgerSection-BhZWXoXB.js +0 -19
- package/documentation/HookCategoriesSection-BKSM-O8G.js +0 -119
- package/documentation/HookCategoriesSection-CV5hBia7.js +0 -1
- package/documentation/HookDocumentationSection-Ch4nDyTq.js +0 -100
- package/documentation/HookDocumentationSection-ijU1LCaj.js +0 -467
- package/documentation/HookFeaturesSection-C_V77TA5.js +0 -1
- package/documentation/HookFeaturesSection-D_dR8OBL.js +0 -70
- package/documentation/IconArchitectureSection-CiVJ4728.js +0 -145
- package/documentation/IconArchitectureSection-ias4EYu3.js +0 -11
- package/documentation/IconSizingGuideSection-C5rHdRmp.js +0 -1
- package/documentation/IconSizingGuideSection-ZHrKT5rP.js +0 -118
- package/documentation/IconSystemAPISection-B-s4deWd.js +0 -1
- package/documentation/IconSystemAPISection-K1q81uHL.js +0 -138
- package/documentation/IconSystemBenefitsSection-BXM5YXn5.js +0 -1
- package/documentation/IconSystemBenefitsSection-DhmIDZc1.js +0 -120
- package/documentation/ImageSection-D3mMNujR.js +0 -82
- package/documentation/ImageSection-q1QmHQ_L.js +0 -508
- package/documentation/ImplementationExamplesSection-BzmiP-T4.js +0 -429
- package/documentation/ImplementationExamplesSection-WGGTXLkG.js +0 -761
- package/documentation/ImplementationGuidelinesSection-D2ms5PqO.js +0 -1
- package/documentation/ImplementationGuidelinesSection-DlpKMLZ_.js +0 -144
- package/documentation/ImplementationStatusSection-BnEi6nv4.js +0 -62
- package/documentation/ImplementationStatusSection-ChX-zdjZ.js +0 -1
- package/documentation/ImplementedFeaturesSection-C7ep5GNQ.js +0 -70
- package/documentation/ImplementedFeaturesSection-CFHFcIUm.js +0 -1
- package/documentation/InfoCardSection-B02qLuF6.js +0 -38
- package/documentation/InfoCardSection-CTygtxPU.js +0 -291
- package/documentation/InputSearcherSection-CJd1uwoE.js +0 -45
- package/documentation/InputSearcherSection-JzvqQlCG.js +0 -267
- package/documentation/InputSection-BPLR_DD_.js +0 -50
- package/documentation/InputSection-DdzpSHWp.js +0 -280
- package/documentation/InstallationSection-BfQULwsk.js +0 -22
- package/documentation/InstallationSection-DAX5Jma4.js +0 -125
- package/documentation/KeyValueRowSection-DpXvuany.js +0 -117
- package/documentation/KeyValueRowSection-Vk2Og3XV.js +0 -17
- package/documentation/KeyboardNavigationSection-DBHb6M7i.js +0 -130
- package/documentation/KeyboardNavigationSection-DSDQWvAN.js +0 -27
- package/documentation/LayoutPrinciplesSection-BbZcW8R3.js +0 -148
- package/documentation/LayoutPrinciplesSection-XpAJdllO.js +0 -1
- package/documentation/LayoutTypesSection-BtXrqAIT.js +0 -450
- package/documentation/LayoutTypesSection-C-7mU0ZX.js +0 -1
- package/documentation/LineChartSection-2vGnmySf.js +0 -130
- package/documentation/LineChartSection-97CrQcFO.js +0 -21
- package/documentation/ListContainerSection-5rcF8Fpk.js +0 -168
- package/documentation/ListContainerSection-DRJITbJp.js +0 -39
- package/documentation/ListItemSection-D0Bbbebh.js +0 -37
- package/documentation/ListItemSection-DnAV85N9.js +0 -132
- package/documentation/LiveDemoSection-BsPDLjy5.js +0 -1
- package/documentation/LiveDemoSection-CcWjO6e8.js +0 -56
- package/documentation/LiveDemonstrationsSection-CFmKZyVT.js +0 -28
- package/documentation/LiveDemonstrationsSection-CqiqsC9o.js +0 -539
- package/documentation/LivePriceFeedSection-2f2Lri-M.js +0 -143
- package/documentation/LivePriceFeedSection-xruqFumk.js +0 -20
- package/documentation/LoaderSection-B3_cpL4h.js +0 -23
- package/documentation/LoaderSection-CVIcsumu.js +0 -96
- package/documentation/LogoSection-Bi9m5Eid.js +0 -265
- package/documentation/LogoSection-DQq_CA5R.js +0 -101
- package/documentation/LucideIconsSection-C1yoAR38.js +0 -169
- package/documentation/LucideIconsSection-DMLkXGfp.js +0 -1
- package/documentation/MFESupportSection-CNJLJykb.js +0 -97
- package/documentation/MFESupportSection-D4qheJMQ.js +0 -222
- package/documentation/MacOSBackgroundsSection-Cqgf2s_S.js +0 -1
- package/documentation/MacOSBackgroundsSection-D2rvKLZc.js +0 -293
- package/documentation/MacOSColorsSection-3kw_FYMA.js +0 -1
- package/documentation/MacOSColorsSection-LeWmqCH6.js +0 -305
- package/documentation/MacOSCommandPaletteSection-ChoMTEdg.js +0 -33
- package/documentation/MacOSCommandPaletteSection-CigtkU3V.js +0 -143
- package/documentation/MacOSMaterialsSection-BpbSIN1m.js +0 -280
- package/documentation/MacOSMaterialsSection-DVc8K0Ra.js +0 -1
- package/documentation/MacOSNotificationBannerSection-D1_xjcml.js +0 -169
- package/documentation/MacOSNotificationBannerSection-GYBjryLN.js +0 -25
- package/documentation/MacOSPopoverSection-B7aiG5Q6.js +0 -266
- package/documentation/MacOSPopoverSection-BiNY5oHn.js +0 -33
- package/documentation/MacOSSearchBarSection-BPmwBz_E.js +0 -108
- package/documentation/MacOSSearchBarSection-DeKloWI2.js +0 -17
- package/documentation/MacOSSegmentedControlSection-D2RWyh1M.js +0 -138
- package/documentation/MacOSSegmentedControlSection-DQYUVgAQ.js +0 -19
- package/documentation/MacOSSidebarSection-CD_Mk8gZ.js +0 -35
- package/documentation/MacOSSidebarSection-CMlYDEdz.js +0 -251
- package/documentation/MacOSTahoeSection-DPuq0Mdo.js +0 -98
- package/documentation/MacOSTahoeSection-NuwSNNQr.js +0 -1
- package/documentation/MacOSTextStylesSection-CC3hy3IX.js +0 -1
- package/documentation/MacOSTextStylesSection-DZ7P33PQ.js +0 -366
- package/documentation/MacOSToolbarSection-B09pIaYX.js +0 -100
- package/documentation/MacOSToolbarSection-CSO5R58s.js +0 -23
- package/documentation/MacOSWidgetSection-BiwLJeZs.js +0 -107
- package/documentation/MacOSWidgetSection-Dd9uuDwE.js +0 -19
- package/documentation/MacOSWindowSection-BFew8rAG.js +0 -237
- package/documentation/MacOSWindowSection-DD9TSZrq.js +0 -22
- package/documentation/MenuItemsGuideSection-BQX2CJl8.js +0 -351
- package/documentation/MenuItemsGuideSection-CpwqiKXd.js +0 -126
- package/documentation/ModalSection-Ba-YDDxD.js +0 -114
- package/documentation/ModalSection-BaKzs5hZ.js +0 -30
- package/documentation/NFTGridSection-Dy-Ul2Ik.js +0 -19
- package/documentation/NFTGridSection-P8SUQfCz.js +0 -160
- package/documentation/NestedRoutesSection-BtgXarM0.js +0 -120
- package/documentation/NestedRoutesSection-CAAjjFZN.js +0 -39
- package/documentation/NotificationCardSection-CahW9xWR.js +0 -120
- package/documentation/NotificationCardSection-DLHftS_t.js +0 -29
- package/documentation/OverviewSection-Dx4cWnvO.js +0 -149
- package/documentation/OverviewSection-yESqzgpR.js +0 -21
- package/documentation/PaginationSection-BTm7MLWb.js +0 -19
- package/documentation/PaginationSection-w-C3_8OX.js +0 -141
- package/documentation/PanelActionCardSection-DB5atYQH.js +0 -29
- package/documentation/PanelActionCardSection-DThpH-iA.js +0 -104
- package/documentation/PanelCardSection-PoZLivo5.js +0 -16
- package/documentation/PanelCardSection-qkmlfddG.js +0 -60
- package/documentation/ParamTabSection-B8Ea5Jyo.js +0 -581
- package/documentation/ParamTabSection-BUFHEsdU.js +0 -94
- package/documentation/PieChartSection-DZ-efnf5.js +0 -91
- package/documentation/PieChartSection-rvFWOh4i.js +0 -19
- package/documentation/PinCodeSection-DY6pf21z.js +0 -235
- package/documentation/PinCodeSection-iYhP8WRn.js +0 -32
- package/documentation/ProgressbarSection-CDDDOLHD.js +0 -22
- package/documentation/ProgressbarSection-DYz8aKoY.js +0 -142
- package/documentation/PromptsSection-DNXFATf2.js +0 -118
- package/documentation/PromptsSection-goD5CutA.js +0 -18
- package/documentation/RadarChartSection-DLousZqi.js +0 -114
- package/documentation/RadarChartSection-DRdLj3Uf.js +0 -21
- package/documentation/RadioGroupSection-BKRE5Sf7.js +0 -37
- package/documentation/RadioGroupSection-DimH8B5V.js +0 -269
- package/documentation/RadioSection-Bs-DIwBf.js +0 -183
- package/documentation/RadioSection-DAHq52V_.js +0 -27
- package/documentation/ResourcesSection-BBvso4xC.js +0 -119
- package/documentation/ResourcesSection-hRVu0-E3.js +0 -13
- package/documentation/RevealContentSection-CE7RMGJq.js +0 -80
- package/documentation/RevealContentSection-GfXzu3Ol.js +0 -21
- package/documentation/RouteConfigurationSection-B8L9XluH.js +0 -88
- package/documentation/RouteConfigurationSection-BYS8XsJC.js +0 -42
- package/documentation/ScrollToTopSection-DKG5MWPc.js +0 -38
- package/documentation/ScrollToTopSection-yVHR_9Pk.js +0 -141
- package/documentation/ScrollbarSection-DQF_A8ik.js +0 -103
- package/documentation/ScrollbarSection-eY8OTJHe.js +0 -30
- package/documentation/SecuritySection-64HgmRhe.js +0 -164
- package/documentation/SecuritySection-Bj_wYKUq.js +0 -27
- package/documentation/SelectSection-DJ3tgyvR.js +0 -52
- package/documentation/SelectSection-Dgxl0it2.js +0 -346
- package/documentation/SettingsPanelSection-SFgqPTH6.js +0 -139
- package/documentation/SettingsPanelSection-v6yvF5g4.js +0 -1
- package/documentation/ShadowsSection-D2Xwyeuv.js +0 -101
- package/documentation/ShadowsSection-OFJWDo8c.js +0 -1
- package/documentation/SidebarMenuSection-BFiHaKIQ.js +0 -108
- package/documentation/SidebarMenuSection-C-6Mru3D.js +0 -47
- package/documentation/SidebarSection-BUYMpIy9.js +0 -26
- package/documentation/SidebarSection-DHG4M5g2.js +0 -70
- package/documentation/SizingSection-CXXXGeBV.js +0 -1
- package/documentation/SizingSection-QO_NL9qO.js +0 -97
- package/documentation/SkeletonSection-C5O2AHio.js +0 -53
- package/documentation/SkeletonSection-D4gNU7bm.js +0 -202
- package/documentation/SonomaColorsSection-DaX0wgtU.js +0 -388
- package/documentation/SonomaColorsSection-qE3LKcsl.js +0 -1
- package/documentation/SonomaLayoutContentSection-KH_Pmq1e.js +0 -16
- package/documentation/SonomaLayoutContentSection-lk3jOdcA.js +0 -67
- package/documentation/SonomaLayoutSidebarSection-B_lVlOoF.js +0 -27
- package/documentation/SonomaLayoutSidebarSection-CGsVHx3w.js +0 -96
- package/documentation/SonomaMaterialsSection-B2GKoQVM.js +0 -334
- package/documentation/SonomaMaterialsSection-CgbY4y-g.js +0 -9
- package/documentation/SonomaShapesSection-CLA0w7wt.js +0 -482
- package/documentation/SonomaShapesSection-aQq097e6.js +0 -10
- package/documentation/SonomaTypographySection-DuZtgZjb.js +0 -1
- package/documentation/SonomaTypographySection-U1N16kAy.js +0 -389
- package/documentation/SpacingSystemSection-BkqBvLpk.js +0 -1
- package/documentation/SpacingSystemSection-DnU8aeIx.js +0 -79
- package/documentation/SpinnerSection-DDwEF3DD.js +0 -78
- package/documentation/SpinnerSection-Su1usSZJ.js +0 -18
- package/documentation/StandaloneAppSection-BC6MhdY2.js +0 -181
- package/documentation/StandaloneAppSection-DANtoenH.js +0 -71
- package/documentation/StepperSection-BLwNTd_9.js +0 -166
- package/documentation/StepperSection-BtE0uEh8.js +0 -29
- package/documentation/SwitchSection-Bm8EmnZc.js +0 -223
- package/documentation/SwitchSection-MO2zu9Js.js +0 -28
- package/documentation/SystemOverviewSection-DXic3wL2.js +0 -1
- package/documentation/SystemOverviewSection-X7-1cqED.js +0 -58
- package/documentation/TabModalSection-ClQQ9-6q.js +0 -200
- package/documentation/TabModalSection-Cy5MPQVA.js +0 -52
- package/documentation/TabSection-CPijk6Ta.js +0 -293
- package/documentation/TabSection-qGiMXnBi.js +0 -85
- package/documentation/TabSelectSection-Bk-DIJad.js +0 -102
- package/documentation/TabSelectSection-BrYYnzPJ.js +0 -420
- package/documentation/TahoeCommandPaletteSection-CXpg1hY6.js +0 -21
- package/documentation/TahoeCommandPaletteSection-uLevgWk8.js +0 -217
- package/documentation/TahoeDialogSection-CD5v8gt3.js +0 -22
- package/documentation/TahoeDialogSection-e1-T1_QN.js +0 -228
- package/documentation/TahoeDockSection-CAo5ifrl.js +0 -29
- package/documentation/TahoeDockSection-DX2OvS5V.js +0 -228
- package/documentation/TahoeLayoutContentSection-BV20aXQn.js +0 -17
- package/documentation/TahoeLayoutContentSection-GRD0fXGl.js +0 -68
- package/documentation/TahoeLayoutSidebarSection-BBtU52ML.js +0 -114
- package/documentation/TahoeLayoutSidebarSection-CtTixYWq.js +0 -36
- package/documentation/TahoeNotificationBannerSection-DRI2NGMf.js +0 -144
- package/documentation/TahoeNotificationBannerSection-E_QfykrY.js +0 -22
- package/documentation/TahoePopoverSection-BALDKfWy.js +0 -220
- package/documentation/TahoePopoverSection-DxyiMe8a.js +0 -24
- package/documentation/TahoeProgressBarSection--ntwmqLK.js +0 -16
- package/documentation/TahoeProgressBarSection-BfluMJvJ.js +0 -124
- package/documentation/TahoeSearchBarSection-Cu3D_UUb.js +0 -117
- package/documentation/TahoeSearchBarSection-D0MgndhN.js +0 -10
- package/documentation/TahoeSegmentedControlSection-1o7lVQYN.js +0 -12
- package/documentation/TahoeSegmentedControlSection-mMZpbchw.js +0 -178
- package/documentation/TahoeToolbarSection-D8WWxm4T.js +0 -17
- package/documentation/TahoeToolbarSection-PFkeKd3i.js +0 -81
- package/documentation/TahoeWidgetSection-BVEBRImz.js +0 -13
- package/documentation/TahoeWidgetSection-rEATjL-l.js +0 -121
- package/documentation/TahoeWindowSection-DGavFNJq.js +0 -289
- package/documentation/TahoeWindowSection-u3bobm-J.js +0 -24
- package/documentation/TailwindConfigSection-Bq962qB7.js +0 -128
- package/documentation/TailwindConfigSection-gSs5teqc.js +0 -23
- package/documentation/TestingSection-C4zu2OqX.js +0 -36
- package/documentation/TestingSection-CubylMzq.js +0 -150
- package/documentation/TextareaSection-De5qUuU6.js +0 -34
- package/documentation/TextareaSection-Dh2N_sLE.js +0 -258
- package/documentation/ThemeArchitectureSection-B8s4f7v9.js +0 -27
- package/documentation/ThemeArchitectureSection-c2yjz-7G.js +0 -143
- package/documentation/ThemeConfigurationSection-BEHURMU6.js +0 -139
- package/documentation/ThemeConfigurationSection-ClZzmEKO.js +0 -1
- package/documentation/ThemeHooksSection-BBqxGbmE.js +0 -173
- package/documentation/ThemeHooksSection-BJ9-8M4s.js +0 -1
- package/documentation/ThemeProviderIntegrationSection-CJxrVkBK.js +0 -122
- package/documentation/ThemeProviderIntegrationSection-iwBZSotn.js +0 -73
- package/documentation/ThemeProviderRequiredSection-BO4kIXXp.js +0 -1
- package/documentation/ThemeProviderRequiredSection-DBZtSffE.js +0 -114
- package/documentation/ThemeProviderSection-DSP62663.js +0 -143
- package/documentation/ThemeProviderSection-DTJSAXbf.js +0 -1
- package/documentation/ToastSection-B8c3PKzz.js +0 -168
- package/documentation/ToastSection-JtNX8amB.js +0 -38
- package/documentation/ToggleBarSection-CDIah9a9.js +0 -186
- package/documentation/ToggleBarSection-Cru1aZle.js +0 -45
- package/documentation/ToolsSection-CZnoKySA.js +0 -58
- package/documentation/ToolsSection-DgggfsKW.js +0 -221
- package/documentation/TooltipSection-CzgM1bYL.js +0 -185
- package/documentation/TooltipSection-U16kRVYC.js +0 -64
- package/documentation/TopupButtonSection-BkbtkCl1.js +0 -98
- package/documentation/TopupButtonSection-CcxFcarn.js +0 -25
- package/documentation/TransactionInfoSection-Bol_mikk.js +0 -86
- package/documentation/TransactionInfoSection-CL6fAjRQ.js +0 -16
- package/documentation/TucuUiLogoSection-BoczvN10.js +0 -26
- package/documentation/TucuUiLogoSection-CuIdpQE7.js +0 -85
- package/documentation/TypographySection--uRpR5g0.js +0 -33
- package/documentation/TypographySection-BaFvpZpE.js +0 -276
- package/documentation/TypographySection-C_BYg98p.js +0 -142
- package/documentation/TypographySection-Ct9gaoxy.js +0 -1
- package/documentation/UsageExamplesSection-BC5Bc2JE.js +0 -84
- package/documentation/UsageExamplesSection-CxLDaga8.js +0 -150
- package/documentation/UsingThemeSystemSection-BTmRwgWH.js +0 -164
- package/documentation/UsingThemeSystemSection-B_CnEDPB.js +0 -106
- package/documentation/ValidationSystemSection-PT3LnSuX.js +0 -53
- package/documentation/ValidationSystemSection-gd_ZxQ3N.js +0 -222
- package/documentation/WCAGPrinciplesSection-BvBX0KP3.js +0 -1
- package/documentation/WCAGPrinciplesSection-D94j2dIa.js +0 -126
- package/index-COp_AWCS.js +0 -1194
- package/index-DYDFy1df.js +0 -77520
|
@@ -0,0 +1,539 @@
|
|
|
1
|
+
import { jsxs as a, Fragment as K, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as d, useRef as X, useEffect as Y } from "react";
|
|
3
|
+
import { aD as Z, aE as q, aF as J, al as _, aG as Q, aH as V, aI as ee, aJ as ae, aK as se, aL as te, aM as re, aN as le, aO as de, H as ie, T as s, C as i, K as l, c, x as r } from "../index-DoxeCFUJ.js";
|
|
4
|
+
import { Play as oe, Monitor as ce, Ruler as ne, MousePointer as me, ChevronDown as he, Copy as ge, Settings as ue, LayoutGrid as pe, Zap as be, ChevronLeft as xe, ChevronRight as Ne, Lock as fe, X as we } from "lucide-react";
|
|
5
|
+
import "react-router-dom";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const Te = () => {
|
|
8
|
+
const [n, C] = d("Hello, World!"), [m, h] = d(!1), [b, x] = d(!1), [S, N] = d(""), [M, f] = d("Checking..."), T = Z(), { isMobile: E } = q(), [w, I] = J(), { addToast: g } = _(), { isGridCompact: u, setIsGridCompact: L } = Q(), { x: R, y: z } = V(), y = ee(), v = X(null), [B, { width: G, height: D }] = ae(), [W, k] = se(), {
|
|
9
|
+
sliderEl: H,
|
|
10
|
+
sliderPrevBtn: $,
|
|
11
|
+
sliderNextBtn: A,
|
|
12
|
+
scrollToTheRight: O,
|
|
13
|
+
scrollToTheLeft: P
|
|
14
|
+
} = te("/");
|
|
15
|
+
re(m), le(v, () => {
|
|
16
|
+
x(!1);
|
|
17
|
+
}), de("keydown", (t) => {
|
|
18
|
+
N(t.key), setTimeout(() => N(""), 1e3);
|
|
19
|
+
}), Y(() => {
|
|
20
|
+
f(y ? "Component is mounted" : "Component is not mounted");
|
|
21
|
+
}, [y]);
|
|
22
|
+
const j = () => {
|
|
23
|
+
I(n), g({
|
|
24
|
+
id: `copy-${Date.now()}`,
|
|
25
|
+
title: "Copied!",
|
|
26
|
+
message: `Copied "${n}" to clipboard`,
|
|
27
|
+
variant: "success"
|
|
28
|
+
});
|
|
29
|
+
}, U = () => {
|
|
30
|
+
const t = !u;
|
|
31
|
+
L(t), g({
|
|
32
|
+
id: `layout-${Date.now()}`,
|
|
33
|
+
title: "Layout Changed",
|
|
34
|
+
message: `Switched to ${t ? "Compact" : "Normal"} layout`,
|
|
35
|
+
variant: "info"
|
|
36
|
+
});
|
|
37
|
+
}, o = (t = "success") => {
|
|
38
|
+
g({
|
|
39
|
+
id: `toast-${Date.now()}`,
|
|
40
|
+
title: "Test Toast",
|
|
41
|
+
message: `This is a ${t} toast notification`,
|
|
42
|
+
variant: t,
|
|
43
|
+
timeout: 3e3
|
|
44
|
+
});
|
|
45
|
+
}, F = Array.from({ length: 10 }, (t, p) => ({
|
|
46
|
+
id: p + 1,
|
|
47
|
+
title: `Item ${p + 1}`,
|
|
48
|
+
content: `Content for item ${p + 1}`
|
|
49
|
+
}));
|
|
50
|
+
return /* @__PURE__ */ a(K, { children: [
|
|
51
|
+
/* @__PURE__ */ e(
|
|
52
|
+
ie,
|
|
53
|
+
{
|
|
54
|
+
title: "Live Hook Demonstrations",
|
|
55
|
+
description: "Interactive examples showing every hook in action. Resize the window, click buttons, and interact with the demos to see real-time hook behavior.",
|
|
56
|
+
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-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(oe, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
|
|
57
|
+
}
|
|
58
|
+
),
|
|
59
|
+
/* @__PURE__ */ a("section", { className: "space-y-8", children: [
|
|
60
|
+
/* @__PURE__ */ a("div", { className: "text-center", children: [
|
|
61
|
+
/* @__PURE__ */ e(s, { tag: "h2", className: "mb-2", children: "Responsive Detection" }),
|
|
62
|
+
/* @__PURE__ */ e(
|
|
63
|
+
s,
|
|
64
|
+
{
|
|
65
|
+
tag: "p",
|
|
66
|
+
className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
|
|
67
|
+
children: "Real-time breakpoint detection and mobile state tracking"
|
|
68
|
+
}
|
|
69
|
+
)
|
|
70
|
+
] }),
|
|
71
|
+
/* @__PURE__ */ e(i, { children: /* @__PURE__ */ a("div", { className: "w-full space-y-6 p-4 sm:p-6", children: [
|
|
72
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
|
|
73
|
+
/* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-blue-500 to-cyan-500 shadow-lg", children: /* @__PURE__ */ e(ce, { className: "w-6 h-6 text-white filter drop-shadow-sm" }) }),
|
|
74
|
+
/* @__PURE__ */ e(s, { tag: "h3", className: "text-base font-semibold", children: "useBreakpoint & useIsMobile" })
|
|
75
|
+
] }),
|
|
76
|
+
/* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
|
|
77
|
+
/* @__PURE__ */ a("div", { className: "bg-white dark:bg-gray-800 p-4 rounded-lg border", children: [
|
|
78
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useBreakpoint" }),
|
|
79
|
+
/* @__PURE__ */ a("div", { className: "space-y-2", children: [
|
|
80
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
|
|
81
|
+
/* @__PURE__ */ e("span", { className: "text-sm text-gray-600 dark:text-gray-400", children: "Current:" }),
|
|
82
|
+
/* @__PURE__ */ e(l, { className: "text-dark dark:text-white", children: T })
|
|
83
|
+
] }),
|
|
84
|
+
/* @__PURE__ */ e(s, { tag: "p", className: "text-xs text-gray-500", children: "Resize your window to see changes" })
|
|
85
|
+
] })
|
|
86
|
+
] }),
|
|
87
|
+
/* @__PURE__ */ a("div", { className: "bg-white dark:bg-gray-800 p-4 rounded-lg border", children: [
|
|
88
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useIsMobile" }),
|
|
89
|
+
/* @__PURE__ */ a("div", { className: "space-y-2", children: [
|
|
90
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
|
|
91
|
+
/* @__PURE__ */ e("span", { className: "text-sm text-gray-600 dark:text-gray-400", children: "Is Mobile:" }),
|
|
92
|
+
/* @__PURE__ */ e(l, { className: "text-dark dark:text-white", children: E ? "Yes" : "No" })
|
|
93
|
+
] }),
|
|
94
|
+
/* @__PURE__ */ e(s, { tag: "p", className: "text-xs text-gray-500", children: "True for xs, sm, md breakpoints (≤768px)" })
|
|
95
|
+
] })
|
|
96
|
+
] })
|
|
97
|
+
] }),
|
|
98
|
+
/* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
|
|
99
|
+
c,
|
|
100
|
+
{
|
|
101
|
+
language: "tsx",
|
|
102
|
+
noExpand: !0,
|
|
103
|
+
code: `const breakpoint = useBreakpoint();
|
|
104
|
+
// Returns: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl'
|
|
105
|
+
|
|
106
|
+
const { isMobile } = useIsMobile();
|
|
107
|
+
// Returns: { isMobile: boolean } — true for xs/sm/md`
|
|
108
|
+
}
|
|
109
|
+
) })
|
|
110
|
+
] }) })
|
|
111
|
+
] }),
|
|
112
|
+
/* @__PURE__ */ a("section", { className: "space-y-8", children: [
|
|
113
|
+
/* @__PURE__ */ a("div", { className: "text-center", children: [
|
|
114
|
+
/* @__PURE__ */ e(s, { tag: "h2", className: "mb-2", children: "Element Measurement" }),
|
|
115
|
+
/* @__PURE__ */ e(
|
|
116
|
+
s,
|
|
117
|
+
{
|
|
118
|
+
tag: "p",
|
|
119
|
+
className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
|
|
120
|
+
children: "Track element dimensions and bounds in real-time"
|
|
121
|
+
}
|
|
122
|
+
)
|
|
123
|
+
] }),
|
|
124
|
+
/* @__PURE__ */ e(i, { children: /* @__PURE__ */ a("div", { className: "w-full space-y-6 p-4 sm:p-6", children: [
|
|
125
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
|
|
126
|
+
/* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-green-500 to-emerald-500 shadow-lg", children: /* @__PURE__ */ e(ne, { className: "w-6 h-6 text-white filter drop-shadow-sm" }) }),
|
|
127
|
+
/* @__PURE__ */ e(s, { tag: "h3", className: "text-base font-semibold", children: "useElementSize & useMeasure" })
|
|
128
|
+
] }),
|
|
129
|
+
/* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
|
|
130
|
+
/* @__PURE__ */ a("div", { children: [
|
|
131
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useElementSize" }),
|
|
132
|
+
/* @__PURE__ */ a(
|
|
133
|
+
"div",
|
|
134
|
+
{
|
|
135
|
+
ref: B,
|
|
136
|
+
className: "bg-blue-100 dark:bg-blue-800 p-4 rounded-lg border-2 border-dashed border-blue-300 dark:border-blue-600 resize overflow-auto min-h-25",
|
|
137
|
+
children: [
|
|
138
|
+
/* @__PURE__ */ e(s, { tag: "p", className: "text-sm", children: "Resize this element (drag corner)" }),
|
|
139
|
+
/* @__PURE__ */ a(
|
|
140
|
+
s,
|
|
141
|
+
{
|
|
142
|
+
tag: "p",
|
|
143
|
+
className: "text-xs text-gray-600 dark:text-gray-400 mt-2",
|
|
144
|
+
children: [
|
|
145
|
+
"Size: ",
|
|
146
|
+
Math.round(G),
|
|
147
|
+
" ×",
|
|
148
|
+
" ",
|
|
149
|
+
Math.round(D),
|
|
150
|
+
"px"
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
)
|
|
154
|
+
]
|
|
155
|
+
}
|
|
156
|
+
)
|
|
157
|
+
] }),
|
|
158
|
+
/* @__PURE__ */ a("div", { children: [
|
|
159
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useMeasure" }),
|
|
160
|
+
/* @__PURE__ */ a(
|
|
161
|
+
"div",
|
|
162
|
+
{
|
|
163
|
+
ref: W,
|
|
164
|
+
className: "bg-cyan-100 dark:bg-cyan-800 p-4 rounded-lg border-2 border-dashed border-cyan-300 dark:border-cyan-600 min-h-25",
|
|
165
|
+
children: [
|
|
166
|
+
/* @__PURE__ */ e(s, { tag: "p", className: "text-sm", children: "Measured element" }),
|
|
167
|
+
/* @__PURE__ */ a(
|
|
168
|
+
s,
|
|
169
|
+
{
|
|
170
|
+
tag: "p",
|
|
171
|
+
className: "text-xs text-gray-600 dark:text-gray-400 mt-2",
|
|
172
|
+
children: [
|
|
173
|
+
"Bounds: ",
|
|
174
|
+
Math.round(k.width),
|
|
175
|
+
" ×",
|
|
176
|
+
" ",
|
|
177
|
+
Math.round(k.height),
|
|
178
|
+
"px"
|
|
179
|
+
]
|
|
180
|
+
}
|
|
181
|
+
)
|
|
182
|
+
]
|
|
183
|
+
}
|
|
184
|
+
)
|
|
185
|
+
] })
|
|
186
|
+
] }),
|
|
187
|
+
/* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
|
|
188
|
+
c,
|
|
189
|
+
{
|
|
190
|
+
language: "tsx",
|
|
191
|
+
noExpand: !0,
|
|
192
|
+
code: `// useElementSize — returns [callbackRef, { width, height }]
|
|
193
|
+
const [ref, { width, height }] = useElementSize<HTMLDivElement>();
|
|
194
|
+
|
|
195
|
+
// useMeasure — returns [callbackRef, bounds]
|
|
196
|
+
const [ref, bounds] = useMeasure<HTMLDivElement>();
|
|
197
|
+
// bounds: { x, y, width, height, top, right, bottom, left }`
|
|
198
|
+
}
|
|
199
|
+
) })
|
|
200
|
+
] }) })
|
|
201
|
+
] }),
|
|
202
|
+
/* @__PURE__ */ a("section", { className: "space-y-8", children: [
|
|
203
|
+
/* @__PURE__ */ a("div", { className: "text-center", children: [
|
|
204
|
+
/* @__PURE__ */ e(s, { tag: "h2", className: "mb-2", children: "User Interaction" }),
|
|
205
|
+
/* @__PURE__ */ e(
|
|
206
|
+
s,
|
|
207
|
+
{
|
|
208
|
+
tag: "p",
|
|
209
|
+
className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
|
|
210
|
+
children: "Click detection, clipboard, and event handling demos"
|
|
211
|
+
}
|
|
212
|
+
)
|
|
213
|
+
] }),
|
|
214
|
+
/* @__PURE__ */ e(i, { children: /* @__PURE__ */ a("div", { className: "w-full space-y-6 p-4 sm:p-6", children: [
|
|
215
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
|
|
216
|
+
/* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-purple-500 to-violet-500 shadow-lg", children: /* @__PURE__ */ e(me, { className: "w-6 h-6 text-white filter drop-shadow-sm" }) }),
|
|
217
|
+
/* @__PURE__ */ e(s, { tag: "h3", className: "text-base font-semibold", children: "useClickAway & useCopyToClipboard" })
|
|
218
|
+
] }),
|
|
219
|
+
/* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
|
|
220
|
+
/* @__PURE__ */ a("div", { children: [
|
|
221
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useClickAway" }),
|
|
222
|
+
/* @__PURE__ */ a("div", { className: "relative", ref: v, children: [
|
|
223
|
+
/* @__PURE__ */ a(
|
|
224
|
+
r,
|
|
225
|
+
{
|
|
226
|
+
onClick: () => x(!b),
|
|
227
|
+
variant: "ghost",
|
|
228
|
+
className: "w-full",
|
|
229
|
+
children: [
|
|
230
|
+
/* @__PURE__ */ e(he, { className: "w-4 h-4 mr-2" }),
|
|
231
|
+
"Click to open dropdown"
|
|
232
|
+
]
|
|
233
|
+
}
|
|
234
|
+
),
|
|
235
|
+
b && /* @__PURE__ */ e("div", { className: "absolute top-full left-0 right-0 mt-2 bg-white dark:bg-gray-800 border rounded-lg shadow-lg p-4 z-10", children: /* @__PURE__ */ e(s, { tag: "p", className: "text-sm", children: "Click outside to close this dropdown" }) })
|
|
236
|
+
] })
|
|
237
|
+
] }),
|
|
238
|
+
/* @__PURE__ */ a("div", { children: [
|
|
239
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useCopyToClipboard" }),
|
|
240
|
+
/* @__PURE__ */ a("div", { className: "space-y-3", children: [
|
|
241
|
+
/* @__PURE__ */ e(
|
|
242
|
+
"input",
|
|
243
|
+
{
|
|
244
|
+
type: "text",
|
|
245
|
+
value: n,
|
|
246
|
+
onChange: (t) => C(t.target.value),
|
|
247
|
+
className: "w-full px-3 py-2 border rounded-lg dark:bg-gray-800 dark:border-border",
|
|
248
|
+
placeholder: "Enter text to copy"
|
|
249
|
+
}
|
|
250
|
+
),
|
|
251
|
+
/* @__PURE__ */ a(r, { onClick: j, className: "w-full", children: [
|
|
252
|
+
/* @__PURE__ */ e(ge, { className: "w-4 h-4 mr-2" }),
|
|
253
|
+
"Copy to Clipboard"
|
|
254
|
+
] }),
|
|
255
|
+
w.value && /* @__PURE__ */ a(
|
|
256
|
+
s,
|
|
257
|
+
{
|
|
258
|
+
tag: "p",
|
|
259
|
+
className: "text-sm text-green-600 dark:text-green-400",
|
|
260
|
+
children: [
|
|
261
|
+
"✓ Copied: ",
|
|
262
|
+
w.value
|
|
263
|
+
]
|
|
264
|
+
}
|
|
265
|
+
)
|
|
266
|
+
] })
|
|
267
|
+
] })
|
|
268
|
+
] }),
|
|
269
|
+
/* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
|
|
270
|
+
c,
|
|
271
|
+
{
|
|
272
|
+
language: "tsx",
|
|
273
|
+
noExpand: !0,
|
|
274
|
+
code: `// useCopyToClipboard — returns [state, copyFn]
|
|
275
|
+
const [state, copyToClipboard] = useCopyToClipboard();
|
|
276
|
+
// state: { value?: string; error?: Error; noUserInteraction: boolean }
|
|
277
|
+
copyToClipboard('text');
|
|
278
|
+
|
|
279
|
+
// useClickAway — detects clicks outside ref
|
|
280
|
+
const ref = useRef(null);
|
|
281
|
+
useClickAway(ref, () => setIsOpen(false));`
|
|
282
|
+
}
|
|
283
|
+
) })
|
|
284
|
+
] }) })
|
|
285
|
+
] }),
|
|
286
|
+
/* @__PURE__ */ a("section", { className: "space-y-8", children: [
|
|
287
|
+
/* @__PURE__ */ a("div", { className: "text-center", children: [
|
|
288
|
+
/* @__PURE__ */ e(s, { tag: "h2", className: "mb-2", children: "UI State Management" }),
|
|
289
|
+
/* @__PURE__ */ e(
|
|
290
|
+
s,
|
|
291
|
+
{
|
|
292
|
+
tag: "p",
|
|
293
|
+
className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
|
|
294
|
+
children: "Global state hooks for layout and notifications"
|
|
295
|
+
}
|
|
296
|
+
)
|
|
297
|
+
] }),
|
|
298
|
+
/* @__PURE__ */ e(i, { children: /* @__PURE__ */ a("div", { className: "w-full space-y-6 p-4 sm:p-6", children: [
|
|
299
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
|
|
300
|
+
/* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-green-500 to-emerald-500 shadow-lg", children: /* @__PURE__ */ e(ue, { className: "w-6 h-6 text-white filter drop-shadow-sm" }) }),
|
|
301
|
+
/* @__PURE__ */ e(s, { tag: "h3", className: "text-base font-semibold", children: "useGridSwitcher & useToastStore" })
|
|
302
|
+
] }),
|
|
303
|
+
/* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
|
|
304
|
+
/* @__PURE__ */ a("div", { children: [
|
|
305
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useGridSwitcher" }),
|
|
306
|
+
/* @__PURE__ */ a("div", { className: "space-y-3", children: [
|
|
307
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
|
|
308
|
+
/* @__PURE__ */ e("span", { className: "text-sm text-gray-600 dark:text-gray-400", children: "Current layout:" }),
|
|
309
|
+
/* @__PURE__ */ e(l, { className: "text-dark dark:text-white", children: u ? "Compact" : "Normal" })
|
|
310
|
+
] }),
|
|
311
|
+
/* @__PURE__ */ a(
|
|
312
|
+
r,
|
|
313
|
+
{
|
|
314
|
+
onClick: U,
|
|
315
|
+
variant: "ghost",
|
|
316
|
+
className: "w-full",
|
|
317
|
+
children: [
|
|
318
|
+
/* @__PURE__ */ e(pe, { className: "w-4 h-4 mr-2" }),
|
|
319
|
+
"Switch to ",
|
|
320
|
+
u ? "Normal" : "Compact"
|
|
321
|
+
]
|
|
322
|
+
}
|
|
323
|
+
)
|
|
324
|
+
] })
|
|
325
|
+
] }),
|
|
326
|
+
/* @__PURE__ */ a("div", { children: [
|
|
327
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useToastStore" }),
|
|
328
|
+
/* @__PURE__ */ a("div", { className: "grid grid-cols-2 gap-2", children: [
|
|
329
|
+
/* @__PURE__ */ e(
|
|
330
|
+
r,
|
|
331
|
+
{
|
|
332
|
+
color: "success",
|
|
333
|
+
fullWidth: !0,
|
|
334
|
+
onClick: () => o("success"),
|
|
335
|
+
children: "Success"
|
|
336
|
+
}
|
|
337
|
+
),
|
|
338
|
+
/* @__PURE__ */ e(
|
|
339
|
+
r,
|
|
340
|
+
{
|
|
341
|
+
color: "danger",
|
|
342
|
+
fullWidth: !0,
|
|
343
|
+
onClick: () => o("destructive"),
|
|
344
|
+
children: "Error"
|
|
345
|
+
}
|
|
346
|
+
),
|
|
347
|
+
/* @__PURE__ */ e(
|
|
348
|
+
r,
|
|
349
|
+
{
|
|
350
|
+
color: "warning",
|
|
351
|
+
fullWidth: !0,
|
|
352
|
+
onClick: () => o("warning"),
|
|
353
|
+
children: "Warning"
|
|
354
|
+
}
|
|
355
|
+
),
|
|
356
|
+
/* @__PURE__ */ e(
|
|
357
|
+
r,
|
|
358
|
+
{
|
|
359
|
+
color: "info",
|
|
360
|
+
fullWidth: !0,
|
|
361
|
+
onClick: () => o("info"),
|
|
362
|
+
children: "Info"
|
|
363
|
+
}
|
|
364
|
+
)
|
|
365
|
+
] })
|
|
366
|
+
] })
|
|
367
|
+
] }),
|
|
368
|
+
/* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
|
|
369
|
+
c,
|
|
370
|
+
{
|
|
371
|
+
language: "tsx",
|
|
372
|
+
noExpand: !0,
|
|
373
|
+
code: `// useToastStore — Zustand store for notifications
|
|
374
|
+
const { addToast, dismissToast, toasts } = useToastStore();
|
|
375
|
+
addToast({
|
|
376
|
+
id: 'unique-id',
|
|
377
|
+
title: 'Title',
|
|
378
|
+
message: 'Message text',
|
|
379
|
+
variant: 'success', // 'default' | 'destructive' | 'success' | 'warning' | 'info'
|
|
380
|
+
timeout: 3000,
|
|
381
|
+
});
|
|
382
|
+
|
|
383
|
+
// useGridSwitcher — Zustand store for grid layout
|
|
384
|
+
const { isGridCompact, setIsGridCompact } = useGridSwitcher();`
|
|
385
|
+
}
|
|
386
|
+
) })
|
|
387
|
+
] }) })
|
|
388
|
+
] }),
|
|
389
|
+
/* @__PURE__ */ a("section", { className: "space-y-8", children: [
|
|
390
|
+
/* @__PURE__ */ a("div", { className: "text-center", children: [
|
|
391
|
+
/* @__PURE__ */ e(s, { tag: "h2", className: "mb-2", children: "Advanced Utilities" }),
|
|
392
|
+
/* @__PURE__ */ e(
|
|
393
|
+
s,
|
|
394
|
+
{
|
|
395
|
+
tag: "p",
|
|
396
|
+
className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
|
|
397
|
+
children: "Scroll control, event listeners, and lifecycle hooks"
|
|
398
|
+
}
|
|
399
|
+
)
|
|
400
|
+
] }),
|
|
401
|
+
/* @__PURE__ */ e(i, { children: /* @__PURE__ */ a("div", { className: "w-full space-y-6 p-4 sm:p-6", children: [
|
|
402
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
|
|
403
|
+
/* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-orange-500 to-amber-500 shadow-lg", children: /* @__PURE__ */ e(be, { className: "w-6 h-6 text-white filter drop-shadow-sm" }) }),
|
|
404
|
+
/* @__PURE__ */ e(s, { tag: "h3", className: "text-base font-semibold", children: "useScrollableSlider, useEventListener & more" })
|
|
405
|
+
] }),
|
|
406
|
+
/* @__PURE__ */ a("div", { children: [
|
|
407
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useScrollableSlider" }),
|
|
408
|
+
/* @__PURE__ */ a("div", { className: "relative", children: [
|
|
409
|
+
/* @__PURE__ */ e(
|
|
410
|
+
"button",
|
|
411
|
+
{
|
|
412
|
+
ref: $,
|
|
413
|
+
onClick: P,
|
|
414
|
+
className: "absolute left-0 top-1/2 -translate-y-1/2 z-10 bg-white dark:bg-gray-800 border rounded-full p-2 shadow-md opacity-0 invisible transition-opacity",
|
|
415
|
+
children: /* @__PURE__ */ e(xe, { className: "w-4 h-4" })
|
|
416
|
+
}
|
|
417
|
+
),
|
|
418
|
+
/* @__PURE__ */ e(
|
|
419
|
+
"div",
|
|
420
|
+
{
|
|
421
|
+
ref: H,
|
|
422
|
+
className: "flex gap-4 overflow-x-auto scrollbar-hide py-4",
|
|
423
|
+
children: F.map((t) => /* @__PURE__ */ a(
|
|
424
|
+
"div",
|
|
425
|
+
{
|
|
426
|
+
className: "shrink-0 w-48 p-4 bg-white dark:bg-gray-800 border rounded-lg",
|
|
427
|
+
children: [
|
|
428
|
+
/* @__PURE__ */ e(s, { tag: "h6", className: "font-medium mb-2", children: t.title }),
|
|
429
|
+
/* @__PURE__ */ e(
|
|
430
|
+
s,
|
|
431
|
+
{
|
|
432
|
+
tag: "p",
|
|
433
|
+
className: "text-sm text-gray-600 dark:text-gray-400",
|
|
434
|
+
children: t.content
|
|
435
|
+
}
|
|
436
|
+
)
|
|
437
|
+
]
|
|
438
|
+
},
|
|
439
|
+
t.id
|
|
440
|
+
))
|
|
441
|
+
}
|
|
442
|
+
),
|
|
443
|
+
/* @__PURE__ */ e(
|
|
444
|
+
"button",
|
|
445
|
+
{
|
|
446
|
+
ref: A,
|
|
447
|
+
onClick: O,
|
|
448
|
+
className: "absolute right-0 top-1/2 -translate-y-1/2 z-10 bg-white dark:bg-gray-800 border rounded-full p-2 shadow-md transition-opacity",
|
|
449
|
+
children: /* @__PURE__ */ e(Ne, { className: "w-4 h-4" })
|
|
450
|
+
}
|
|
451
|
+
)
|
|
452
|
+
] })
|
|
453
|
+
] }),
|
|
454
|
+
/* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-6", children: [
|
|
455
|
+
/* @__PURE__ */ a("div", { children: [
|
|
456
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useEventListener" }),
|
|
457
|
+
/* @__PURE__ */ a("div", { className: "bg-white dark:bg-gray-800 p-4 rounded-lg border", children: [
|
|
458
|
+
/* @__PURE__ */ e(s, { tag: "p", className: "text-sm mb-2", children: "Press any key:" }),
|
|
459
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
|
|
460
|
+
/* @__PURE__ */ e("span", { className: "text-sm text-gray-600 dark:text-gray-400", children: "Last key:" }),
|
|
461
|
+
/* @__PURE__ */ e(l, { className: "text-dark dark:text-white", children: S || "None" })
|
|
462
|
+
] })
|
|
463
|
+
] })
|
|
464
|
+
] }),
|
|
465
|
+
/* @__PURE__ */ a("div", { children: [
|
|
466
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useWindowScroll" }),
|
|
467
|
+
/* @__PURE__ */ a("div", { className: "bg-white dark:bg-gray-800 p-4 rounded-lg border", children: [
|
|
468
|
+
/* @__PURE__ */ e(s, { tag: "p", className: "text-sm mb-2", children: "Scroll position:" }),
|
|
469
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
|
|
470
|
+
/* @__PURE__ */ a(l, { className: "text-dark dark:text-white", children: [
|
|
471
|
+
"X: ",
|
|
472
|
+
Math.round(R),
|
|
473
|
+
"px"
|
|
474
|
+
] }),
|
|
475
|
+
/* @__PURE__ */ a(l, { className: "text-dark dark:text-white", children: [
|
|
476
|
+
"Y: ",
|
|
477
|
+
Math.round(z),
|
|
478
|
+
"px"
|
|
479
|
+
] })
|
|
480
|
+
] })
|
|
481
|
+
] })
|
|
482
|
+
] }),
|
|
483
|
+
/* @__PURE__ */ a("div", { children: [
|
|
484
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useIsMounted" }),
|
|
485
|
+
/* @__PURE__ */ a("div", { className: "bg-white dark:bg-gray-800 p-4 rounded-lg border", children: [
|
|
486
|
+
/* @__PURE__ */ e(s, { tag: "p", className: "text-sm mb-2", children: "Mount status:" }),
|
|
487
|
+
/* @__PURE__ */ e(l, { className: "text-dark dark:text-white", children: M })
|
|
488
|
+
] })
|
|
489
|
+
] })
|
|
490
|
+
] }),
|
|
491
|
+
/* @__PURE__ */ a("div", { children: [
|
|
492
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "font-medium mb-3", children: "useLockBodyScroll" }),
|
|
493
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-4", children: [
|
|
494
|
+
/* @__PURE__ */ a(r, { onClick: () => h(!0), variant: "ghost", children: [
|
|
495
|
+
/* @__PURE__ */ e(fe, { className: "w-4 h-4 mr-2" }),
|
|
496
|
+
"Open Modal (Locks Scroll)"
|
|
497
|
+
] }),
|
|
498
|
+
/* @__PURE__ */ a(
|
|
499
|
+
s,
|
|
500
|
+
{
|
|
501
|
+
tag: "p",
|
|
502
|
+
className: "text-sm text-gray-600 dark:text-gray-400",
|
|
503
|
+
children: [
|
|
504
|
+
"Body scroll is ",
|
|
505
|
+
m ? "locked" : "unlocked"
|
|
506
|
+
]
|
|
507
|
+
}
|
|
508
|
+
)
|
|
509
|
+
] })
|
|
510
|
+
] })
|
|
511
|
+
] }) })
|
|
512
|
+
] }),
|
|
513
|
+
m && /* @__PURE__ */ e("div", { className: "fixed inset-0 bg-black/50 flex items-center justify-center z-50", children: /* @__PURE__ */ a("div", { className: "bg-white dark:bg-gray-800 p-6 rounded-lg max-w-md w-full mx-4", children: [
|
|
514
|
+
/* @__PURE__ */ a("div", { className: "flex items-center justify-between mb-4", children: [
|
|
515
|
+
/* @__PURE__ */ e(s, { tag: "h3", className: "font-semibold", children: "Modal with Locked Scroll" }),
|
|
516
|
+
/* @__PURE__ */ e(
|
|
517
|
+
"button",
|
|
518
|
+
{
|
|
519
|
+
onClick: () => h(!1),
|
|
520
|
+
className: "text-gray-500 hover:text-gray-700",
|
|
521
|
+
children: /* @__PURE__ */ e(we, { className: "w-5 h-5" })
|
|
522
|
+
}
|
|
523
|
+
)
|
|
524
|
+
] }),
|
|
525
|
+
/* @__PURE__ */ e(
|
|
526
|
+
s,
|
|
527
|
+
{
|
|
528
|
+
tag: "p",
|
|
529
|
+
className: "text-gray-600 dark:text-gray-400 mb-4",
|
|
530
|
+
children: "While this modal is open, body scrolling is locked using useLockBodyScroll. The scrollbar width is preserved to prevent layout shift."
|
|
531
|
+
}
|
|
532
|
+
),
|
|
533
|
+
/* @__PURE__ */ e(r, { onClick: () => h(!1), className: "w-full", children: "Close Modal" })
|
|
534
|
+
] }) })
|
|
535
|
+
] });
|
|
536
|
+
};
|
|
537
|
+
export {
|
|
538
|
+
Te as default
|
|
539
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("react"),s=require("../index-DWDUS-PU.js"),t=require("lucide-react");require("react-router-dom");require("react-dom");const O=()=>{const[o,N]=r.useState("Hello, World!"),[d,i]=r.useState(!1),[m,x]=r.useState(!1),[f,g]=r.useState(""),[w,p]=r.useState("Checking..."),k=s.useBreakpoint(),{isMobile:v}=s.useIsMobile(),[u,T]=s.useCopyToClipboard(),{addToast:n}=s.useToastStore(),{isGridCompact:c,setIsGridCompact:C}=s.useGridSwitcher(),{x:S,y:M}=s.useWindowScroll(),y=s.useIsMounted(),b=r.useRef(null),[B,{width:E,height:R}]=s.useElementSize(),[I,j]=s.useMeasure(),{sliderEl:L,sliderPrevBtn:z,sliderNextBtn:G,scrollToTheRight:D,scrollToTheLeft:W}=s.useScrollableSlider("/");s.useLockBodyScroll(d),s.useClickAway(b,()=>{x(!1)}),s.useEventListener("keydown",a=>{g(a.key),setTimeout(()=>g(""),1e3)}),r.useEffect(()=>{p(y?"Component is mounted":"Component is not mounted")},[y]);const $=()=>{T(o),n({id:`copy-${Date.now()}`,title:"Copied!",message:`Copied "${o}" to clipboard`,variant:"success"})},q=()=>{const a=!c;C(a),n({id:`layout-${Date.now()}`,title:"Layout Changed",message:`Switched to ${a?"Compact":"Normal"} layout`,variant:"info"})},l=(a="success")=>{n({id:`toast-${Date.now()}`,title:"Test Toast",message:`This is a ${a} toast notification`,variant:a,timeout:3e3})},A=Array.from({length:10},(a,h)=>({id:h+1,title:`Item ${h+1}`,content:`Content for item ${h+1}`}));return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Live Hook Demonstrations",description:"Interactive examples showing every hook in action. Resize the window, click buttons, and interact with the demos to see real-time hook behavior.",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-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(t.Play,{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("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Responsive Detection"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Real-time breakpoint detection and mobile state tracking"})]}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full space-y-6 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-blue-500 to-cyan-500 shadow-lg",children:e.jsx(t.Monitor,{className:"w-6 h-6 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"text-base font-semibold",children:"useBreakpoint & useIsMobile"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"bg-white dark:bg-gray-800 p-4 rounded-lg border",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useBreakpoint"}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Current:"}),e.jsx(s.Badge,{className:"text-dark dark:text-white",children:k})]}),e.jsx(s.Typography,{tag:"p",className:"text-xs text-gray-500",children:"Resize your window to see changes"})]})]}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 p-4 rounded-lg border",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useIsMobile"}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Is Mobile:"}),e.jsx(s.Badge,{className:"text-dark dark:text-white",children:v?"Yes":"No"})]}),e.jsx(s.Typography,{tag:"p",className:"text-xs text-gray-500",children:"True for xs, sm, md breakpoints (≤768px)"})]})]})]}),e.jsx("div",{className:"bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto",children:e.jsx(s.CodeBlock,{language:"tsx",noExpand:!0,code:`const breakpoint = useBreakpoint();
|
|
2
|
+
// Returns: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl'
|
|
3
|
+
|
|
4
|
+
const { isMobile } = useIsMobile();
|
|
5
|
+
// Returns: { isMobile: boolean } — true for xs/sm/md`})})]})})]}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Element Measurement"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Track element dimensions and bounds in real-time"})]}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full space-y-6 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-green-500 to-emerald-500 shadow-lg",children:e.jsx(t.Ruler,{className:"w-6 h-6 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"text-base font-semibold",children:"useElementSize & useMeasure"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useElementSize"}),e.jsxs("div",{ref:B,className:"bg-blue-100 dark:bg-blue-800 p-4 rounded-lg border-2 border-dashed border-blue-300 dark:border-blue-600 resize overflow-auto min-h-25",children:[e.jsx(s.Typography,{tag:"p",className:"text-sm",children:"Resize this element (drag corner)"}),e.jsxs(s.Typography,{tag:"p",className:"text-xs text-gray-600 dark:text-gray-400 mt-2",children:["Size: ",Math.round(E)," ×"," ",Math.round(R),"px"]})]})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useMeasure"}),e.jsxs("div",{ref:I,className:"bg-cyan-100 dark:bg-cyan-800 p-4 rounded-lg border-2 border-dashed border-cyan-300 dark:border-cyan-600 min-h-25",children:[e.jsx(s.Typography,{tag:"p",className:"text-sm",children:"Measured element"}),e.jsxs(s.Typography,{tag:"p",className:"text-xs text-gray-600 dark:text-gray-400 mt-2",children:["Bounds: ",Math.round(j.width)," ×"," ",Math.round(j.height),"px"]})]})]})]}),e.jsx("div",{className:"bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto",children:e.jsx(s.CodeBlock,{language:"tsx",noExpand:!0,code:`// useElementSize — returns [callbackRef, { width, height }]
|
|
6
|
+
const [ref, { width, height }] = useElementSize<HTMLDivElement>();
|
|
7
|
+
|
|
8
|
+
// useMeasure — returns [callbackRef, bounds]
|
|
9
|
+
const [ref, bounds] = useMeasure<HTMLDivElement>();
|
|
10
|
+
// bounds: { x, y, width, height, top, right, bottom, left }`})})]})})]}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"User Interaction"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Click detection, clipboard, and event handling demos"})]}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full space-y-6 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-purple-500 to-violet-500 shadow-lg",children:e.jsx(t.MousePointer,{className:"w-6 h-6 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"text-base font-semibold",children:"useClickAway & useCopyToClipboard"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useClickAway"}),e.jsxs("div",{className:"relative",ref:b,children:[e.jsxs(s.Button,{onClick:()=>x(!m),variant:"ghost",className:"w-full",children:[e.jsx(t.ChevronDown,{className:"w-4 h-4 mr-2"}),"Click to open dropdown"]}),m&&e.jsx("div",{className:"absolute top-full left-0 right-0 mt-2 bg-white dark:bg-gray-800 border rounded-lg shadow-lg p-4 z-10",children:e.jsx(s.Typography,{tag:"p",className:"text-sm",children:"Click outside to close this dropdown"})})]})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useCopyToClipboard"}),e.jsxs("div",{className:"space-y-3",children:[e.jsx("input",{type:"text",value:o,onChange:a=>N(a.target.value),className:"w-full px-3 py-2 border rounded-lg dark:bg-gray-800 dark:border-border",placeholder:"Enter text to copy"}),e.jsxs(s.Button,{onClick:$,className:"w-full",children:[e.jsx(t.Copy,{className:"w-4 h-4 mr-2"}),"Copy to Clipboard"]}),u.value&&e.jsxs(s.Typography,{tag:"p",className:"text-sm text-green-600 dark:text-green-400",children:["✓ Copied: ",u.value]})]})]})]}),e.jsx("div",{className:"bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto",children:e.jsx(s.CodeBlock,{language:"tsx",noExpand:!0,code:`// useCopyToClipboard — returns [state, copyFn]
|
|
11
|
+
const [state, copyToClipboard] = useCopyToClipboard();
|
|
12
|
+
// state: { value?: string; error?: Error; noUserInteraction: boolean }
|
|
13
|
+
copyToClipboard('text');
|
|
14
|
+
|
|
15
|
+
// useClickAway — detects clicks outside ref
|
|
16
|
+
const ref = useRef(null);
|
|
17
|
+
useClickAway(ref, () => setIsOpen(false));`})})]})})]}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"UI State Management"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Global state hooks for layout and notifications"})]}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full space-y-6 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-green-500 to-emerald-500 shadow-lg",children:e.jsx(t.Settings,{className:"w-6 h-6 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"text-base font-semibold",children:"useGridSwitcher & useToastStore"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useGridSwitcher"}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Current layout:"}),e.jsx(s.Badge,{className:"text-dark dark:text-white",children:c?"Compact":"Normal"})]}),e.jsxs(s.Button,{onClick:q,variant:"ghost",className:"w-full",children:[e.jsx(t.LayoutGrid,{className:"w-4 h-4 mr-2"}),"Switch to ",c?"Normal":"Compact"]})]})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useToastStore"}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsx(s.Button,{color:"success",fullWidth:!0,onClick:()=>l("success"),children:"Success"}),e.jsx(s.Button,{color:"danger",fullWidth:!0,onClick:()=>l("destructive"),children:"Error"}),e.jsx(s.Button,{color:"warning",fullWidth:!0,onClick:()=>l("warning"),children:"Warning"}),e.jsx(s.Button,{color:"info",fullWidth:!0,onClick:()=>l("info"),children:"Info"})]})]})]}),e.jsx("div",{className:"bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto",children:e.jsx(s.CodeBlock,{language:"tsx",noExpand:!0,code:`// useToastStore — Zustand store for notifications
|
|
18
|
+
const { addToast, dismissToast, toasts } = useToastStore();
|
|
19
|
+
addToast({
|
|
20
|
+
id: 'unique-id',
|
|
21
|
+
title: 'Title',
|
|
22
|
+
message: 'Message text',
|
|
23
|
+
variant: 'success', // 'default' | 'destructive' | 'success' | 'warning' | 'info'
|
|
24
|
+
timeout: 3000,
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
// useGridSwitcher — Zustand store for grid layout
|
|
28
|
+
const { isGridCompact, setIsGridCompact } = useGridSwitcher();`})})]})})]}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Advanced Utilities"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Scroll control, event listeners, and lifecycle hooks"})]}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full space-y-6 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-orange-500 to-amber-500 shadow-lg",children:e.jsx(t.Zap,{className:"w-6 h-6 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"text-base font-semibold",children:"useScrollableSlider, useEventListener & more"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useScrollableSlider"}),e.jsxs("div",{className:"relative",children:[e.jsx("button",{ref:z,onClick:W,className:"absolute left-0 top-1/2 -translate-y-1/2 z-10 bg-white dark:bg-gray-800 border rounded-full p-2 shadow-md opacity-0 invisible transition-opacity",children:e.jsx(t.ChevronLeft,{className:"w-4 h-4"})}),e.jsx("div",{ref:L,className:"flex gap-4 overflow-x-auto scrollbar-hide py-4",children:A.map(a=>e.jsxs("div",{className:"shrink-0 w-48 p-4 bg-white dark:bg-gray-800 border rounded-lg",children:[e.jsx(s.Typography,{tag:"h6",className:"font-medium mb-2",children:a.title}),e.jsx(s.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:a.content})]},a.id))}),e.jsx("button",{ref:G,onClick:D,className:"absolute right-0 top-1/2 -translate-y-1/2 z-10 bg-white dark:bg-gray-800 border rounded-full p-2 shadow-md transition-opacity",children:e.jsx(t.ChevronRight,{className:"w-4 h-4"})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useEventListener"}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 p-4 rounded-lg border",children:[e.jsx(s.Typography,{tag:"p",className:"text-sm mb-2",children:"Press any key:"}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Last key:"}),e.jsx(s.Badge,{className:"text-dark dark:text-white",children:f||"None"})]})]})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useWindowScroll"}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 p-4 rounded-lg border",children:[e.jsx(s.Typography,{tag:"p",className:"text-sm mb-2",children:"Scroll position:"}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs(s.Badge,{className:"text-dark dark:text-white",children:["X: ",Math.round(S),"px"]}),e.jsxs(s.Badge,{className:"text-dark dark:text-white",children:["Y: ",Math.round(M),"px"]})]})]})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useIsMounted"}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 p-4 rounded-lg border",children:[e.jsx(s.Typography,{tag:"p",className:"text-sm mb-2",children:"Mount status:"}),e.jsx(s.Badge,{className:"text-dark dark:text-white",children:w})]})]})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useLockBodyScroll"}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsxs(s.Button,{onClick:()=>i(!0),variant:"ghost",children:[e.jsx(t.Lock,{className:"w-4 h-4 mr-2"}),"Open Modal (Locks Scroll)"]}),e.jsxs(s.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:["Body scroll is ",d?"locked":"unlocked"]})]})]})]})})]}),d&&e.jsx("div",{className:"fixed inset-0 bg-black/50 flex items-center justify-center z-50",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 p-6 rounded-lg max-w-md w-full mx-4",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:"Modal with Locked Scroll"}),e.jsx("button",{onClick:()=>i(!1),className:"text-gray-500 hover:text-gray-700",children:e.jsx(t.X,{className:"w-5 h-5"})})]}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-4",children:"While this modal is open, body scrolling is locked using useLockBodyScroll. The scrollbar width is preserved to prevent layout shift."}),e.jsx(s.Button,{onClick:()=>i(!1),className:"w-full",children:"Close Modal"})]})})]})};exports.default=O;
|