@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,27 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../index-DWDUS-PU.js"),t=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const s=()=>e.jsxs("div",{className:"flex flex-col gap-8",children:[e.jsx(r.HeroCard,{title:"Security",description:"Authentication, rate limiting, and hardening measures for production deployments.",icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 bg-linear-to-br from-red-500 to-rose-600 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(t.Shield,{className:"w-8 h-8 sm:w-10 sm:h-10 text-white"})})}),e.jsx(r.CardContainer,{children:e.jsxs(r.CardTitle,{title:"Bearer Token Authentication",children:[e.jsxs(r.Typography,{className:"text-sm text-foreground/70 mb-3",children:["The HTTP transport requires a Bearer token when"," ",e.jsx("code",{className:"px-1.5 py-0.5 bg-muted rounded text-xs font-mono",children:"MCP_API_KEY"})," ","is set. All requests must include the Authorization header:"]}),e.jsx(r.CodeBlock,{code:`# Set the API key on the server
|
|
2
|
+
export MCP_API_KEY="your-secure-random-string"
|
|
3
|
+
|
|
4
|
+
# Clients must send:
|
|
5
|
+
Authorization: Bearer your-secure-random-string
|
|
6
|
+
|
|
7
|
+
# Generate a secure key:
|
|
8
|
+
openssl rand -base64 32`}),e.jsx("div",{className:"mt-3 p-3 rounded-lg border border-amber-500/20 bg-amber-500/5",children:e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(t.AlertTriangle,{className:"w-4 h-4 text-amber-500 mt-0.5"}),e.jsxs(r.Typography,{className:"text-xs text-amber-600 dark:text-amber-400",children:["If ",e.jsx("code",{className:"font-mono",children:"MCP_API_KEY"})," is not set, the server runs without auth — only suitable for local/stdio usage."]})]})})]})}),e.jsx(r.CardContainer,{children:e.jsxs(r.CardTitle,{title:"Rate Limiting",children:[e.jsx(r.Typography,{className:"text-sm text-foreground/70 mb-3",children:"Built-in rate limiting protects the server from abuse:"}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3",children:[e.jsxs("div",{className:"p-3 rounded-lg border border-border bg-muted/30 text-center",children:[e.jsx(r.Typography,{className:"text-2xl font-bold text-foreground",children:"100"}),e.jsx(r.Typography,{className:"text-xs text-foreground/50",children:"requests/min per IP"})]}),e.jsxs("div",{className:"p-3 rounded-lg border border-border bg-muted/30 text-center",children:[e.jsx(r.Typography,{className:"text-2xl font-bold text-foreground",children:"429"}),e.jsx(r.Typography,{className:"text-xs text-foreground/50",children:"status when exceeded"})]}),e.jsxs("div",{className:"p-3 rounded-lg border border-border bg-muted/30 text-center",children:[e.jsx(r.Typography,{className:"text-2xl font-bold text-foreground",children:"60s"}),e.jsx(r.Typography,{className:"text-xs text-foreground/50",children:"window reset"})]})]}),e.jsx(r.CodeBlock,{code:`// Rate limit response when exceeded:
|
|
9
|
+
HTTP/1.1 429 Too Many Requests
|
|
10
|
+
Retry-After: 60
|
|
11
|
+
Content-Type: application/json
|
|
12
|
+
|
|
13
|
+
{ "error": "Rate limit exceeded. Try again in 60 seconds." }`})]})}),e.jsx(r.CardContainer,{children:e.jsxs(r.CardTitle,{title:"Timing-Safe Comparison",children:[e.jsx(r.Typography,{className:"text-sm text-foreground/70 mb-3",children:"Token validation uses constant-time comparison to prevent timing attacks:"}),e.jsx(r.CodeBlock,{code:`import { timingSafeEqual } from 'node:crypto';
|
|
14
|
+
|
|
15
|
+
function verifyToken(provided: string, expected: string): boolean {
|
|
16
|
+
const a = Buffer.from(provided);
|
|
17
|
+
const b = Buffer.from(expected);
|
|
18
|
+
if (a.length !== b.length) return false;
|
|
19
|
+
return timingSafeEqual(a, b);
|
|
20
|
+
}`})]})}),e.jsxs("section",{className:"space-y-6",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(r.Typography,{tag:"h2",className:"mb-2",children:"Infrastructure Security"}),e.jsx(r.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Docker hardening and HTTPS enforcement for production deployments"})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:[e.jsx(r.FeatureCard,{layout:"vertical",icon:e.jsx(t.User,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"Non-Root User",description:"Runs as node user (UID 1000) — never as root",iconBgClassName:"from-blue-500 to-indigo-500"}),e.jsx(r.FeatureCard,{layout:"vertical",icon:e.jsx(t.Layers,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"Multi-Stage Build",description:"Only production deps in final Alpine-based image",iconBgClassName:"from-emerald-500 to-teal-500"}),e.jsx(r.FeatureCard,{layout:"vertical",icon:e.jsx(t.Lock,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"Auto TLS",description:"Automatic certificate provisioning and HTTP→HTTPS redirect",iconBgClassName:"from-violet-500 to-purple-500"}),e.jsx(r.FeatureCard,{layout:"vertical",icon:e.jsx(t.KeyRound,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"Encrypted Secrets",description:"Secrets stored encrypted at rest with fly secrets",iconBgClassName:"from-rose-500 to-red-500"})]})]}),e.jsx(r.CardContainer,{children:e.jsxs(r.CardTitle,{title:"Security Checklist",children:[e.jsx(r.Typography,{className:"text-sm text-foreground/70 mb-3",children:"Before deploying to production, ensure:"}),e.jsx(r.CodeBlock,{code:`✓ MCP_API_KEY is set to a strong random value (32+ chars)
|
|
21
|
+
✓ HTTPS is enforced (automatic on Fly.io)
|
|
22
|
+
✓ Rate limiting is enabled (default: 100 req/min)
|
|
23
|
+
✓ Docker runs as non-root user
|
|
24
|
+
✓ No secrets in source code or Docker image layers
|
|
25
|
+
✓ Fly.io secrets set via 'fly secrets set' (not env files)
|
|
26
|
+
✓ Health endpoint (/health) does not expose internals
|
|
27
|
+
✓ CORS restricted to known origins in production`})]})})]});exports.default=s;
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { H as n, C as o, a as s, T as r, c as i, ax as a } from "../index-DoxeCFUJ.js";
|
|
3
|
+
import { Shield as d, AlertTriangle as l, User as c, Layers as m, Lock as u, KeyRound as h } from "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const N = () => /* @__PURE__ */ t("div", { className: "flex flex-col gap-8", children: [
|
|
8
|
+
/* @__PURE__ */ e(
|
|
9
|
+
n,
|
|
10
|
+
{
|
|
11
|
+
title: "Security",
|
|
12
|
+
description: "Authentication, rate limiting, and hardening measures for production deployments.",
|
|
13
|
+
icon: /* @__PURE__ */ e("div", { className: "w-16 h-16 sm:w-20 sm:h-20 bg-linear-to-br from-red-500 to-rose-600 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(d, { className: "w-8 h-8 sm:w-10 sm:h-10 text-white" }) })
|
|
14
|
+
}
|
|
15
|
+
),
|
|
16
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ t(s, { title: "Bearer Token Authentication", children: [
|
|
17
|
+
/* @__PURE__ */ t(r, { className: "text-sm text-foreground/70 mb-3", children: [
|
|
18
|
+
"The HTTP transport requires a Bearer token when",
|
|
19
|
+
" ",
|
|
20
|
+
/* @__PURE__ */ e("code", { className: "px-1.5 py-0.5 bg-muted rounded text-xs font-mono", children: "MCP_API_KEY" }),
|
|
21
|
+
" ",
|
|
22
|
+
"is set. All requests must include the Authorization header:"
|
|
23
|
+
] }),
|
|
24
|
+
/* @__PURE__ */ e(
|
|
25
|
+
i,
|
|
26
|
+
{
|
|
27
|
+
code: `# Set the API key on the server
|
|
28
|
+
export MCP_API_KEY="your-secure-random-string"
|
|
29
|
+
|
|
30
|
+
# Clients must send:
|
|
31
|
+
Authorization: Bearer your-secure-random-string
|
|
32
|
+
|
|
33
|
+
# Generate a secure key:
|
|
34
|
+
openssl rand -base64 32`
|
|
35
|
+
}
|
|
36
|
+
),
|
|
37
|
+
/* @__PURE__ */ e("div", { className: "mt-3 p-3 rounded-lg border border-amber-500/20 bg-amber-500/5", children: /* @__PURE__ */ t("div", { className: "flex items-start gap-2", children: [
|
|
38
|
+
/* @__PURE__ */ e(l, { className: "w-4 h-4 text-amber-500 mt-0.5" }),
|
|
39
|
+
/* @__PURE__ */ t(r, { className: "text-xs text-amber-600 dark:text-amber-400", children: [
|
|
40
|
+
"If ",
|
|
41
|
+
/* @__PURE__ */ e("code", { className: "font-mono", children: "MCP_API_KEY" }),
|
|
42
|
+
" is not set, the server runs without auth — only suitable for local/stdio usage."
|
|
43
|
+
] })
|
|
44
|
+
] }) })
|
|
45
|
+
] }) }),
|
|
46
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ t(s, { title: "Rate Limiting", children: [
|
|
47
|
+
/* @__PURE__ */ e(r, { className: "text-sm text-foreground/70 mb-3", children: "Built-in rate limiting protects the server from abuse:" }),
|
|
48
|
+
/* @__PURE__ */ t("div", { className: "grid grid-cols-1 sm:grid-cols-3 gap-3", children: [
|
|
49
|
+
/* @__PURE__ */ t("div", { className: "p-3 rounded-lg border border-border bg-muted/30 text-center", children: [
|
|
50
|
+
/* @__PURE__ */ e(r, { className: "text-2xl font-bold text-foreground", children: "100" }),
|
|
51
|
+
/* @__PURE__ */ e(r, { className: "text-xs text-foreground/50", children: "requests/min per IP" })
|
|
52
|
+
] }),
|
|
53
|
+
/* @__PURE__ */ t("div", { className: "p-3 rounded-lg border border-border bg-muted/30 text-center", children: [
|
|
54
|
+
/* @__PURE__ */ e(r, { className: "text-2xl font-bold text-foreground", children: "429" }),
|
|
55
|
+
/* @__PURE__ */ e(r, { className: "text-xs text-foreground/50", children: "status when exceeded" })
|
|
56
|
+
] }),
|
|
57
|
+
/* @__PURE__ */ t("div", { className: "p-3 rounded-lg border border-border bg-muted/30 text-center", children: [
|
|
58
|
+
/* @__PURE__ */ e(r, { className: "text-2xl font-bold text-foreground", children: "60s" }),
|
|
59
|
+
/* @__PURE__ */ e(r, { className: "text-xs text-foreground/50", children: "window reset" })
|
|
60
|
+
] })
|
|
61
|
+
] }),
|
|
62
|
+
/* @__PURE__ */ e(
|
|
63
|
+
i,
|
|
64
|
+
{
|
|
65
|
+
code: `// Rate limit response when exceeded:
|
|
66
|
+
HTTP/1.1 429 Too Many Requests
|
|
67
|
+
Retry-After: 60
|
|
68
|
+
Content-Type: application/json
|
|
69
|
+
|
|
70
|
+
{ "error": "Rate limit exceeded. Try again in 60 seconds." }`
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
] }) }),
|
|
74
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ t(s, { title: "Timing-Safe Comparison", children: [
|
|
75
|
+
/* @__PURE__ */ e(r, { className: "text-sm text-foreground/70 mb-3", children: "Token validation uses constant-time comparison to prevent timing attacks:" }),
|
|
76
|
+
/* @__PURE__ */ e(
|
|
77
|
+
i,
|
|
78
|
+
{
|
|
79
|
+
code: `import { timingSafeEqual } from 'node:crypto';
|
|
80
|
+
|
|
81
|
+
function verifyToken(provided: string, expected: string): boolean {
|
|
82
|
+
const a = Buffer.from(provided);
|
|
83
|
+
const b = Buffer.from(expected);
|
|
84
|
+
if (a.length !== b.length) return false;
|
|
85
|
+
return timingSafeEqual(a, b);
|
|
86
|
+
}`
|
|
87
|
+
}
|
|
88
|
+
)
|
|
89
|
+
] }) }),
|
|
90
|
+
/* @__PURE__ */ t("section", { className: "space-y-6", children: [
|
|
91
|
+
/* @__PURE__ */ t("div", { className: "text-center", children: [
|
|
92
|
+
/* @__PURE__ */ e(r, { tag: "h2", className: "mb-2", children: "Infrastructure Security" }),
|
|
93
|
+
/* @__PURE__ */ e(
|
|
94
|
+
r,
|
|
95
|
+
{
|
|
96
|
+
tag: "p",
|
|
97
|
+
className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
|
|
98
|
+
children: "Docker hardening and HTTPS enforcement for production deployments"
|
|
99
|
+
}
|
|
100
|
+
)
|
|
101
|
+
] }),
|
|
102
|
+
/* @__PURE__ */ t("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4", children: [
|
|
103
|
+
/* @__PURE__ */ e(
|
|
104
|
+
a,
|
|
105
|
+
{
|
|
106
|
+
layout: "vertical",
|
|
107
|
+
icon: /* @__PURE__ */ e(c, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
108
|
+
title: "Non-Root User",
|
|
109
|
+
description: "Runs as node user (UID 1000) — never as root",
|
|
110
|
+
iconBgClassName: "from-blue-500 to-indigo-500"
|
|
111
|
+
}
|
|
112
|
+
),
|
|
113
|
+
/* @__PURE__ */ e(
|
|
114
|
+
a,
|
|
115
|
+
{
|
|
116
|
+
layout: "vertical",
|
|
117
|
+
icon: /* @__PURE__ */ e(m, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
118
|
+
title: "Multi-Stage Build",
|
|
119
|
+
description: "Only production deps in final Alpine-based image",
|
|
120
|
+
iconBgClassName: "from-emerald-500 to-teal-500"
|
|
121
|
+
}
|
|
122
|
+
),
|
|
123
|
+
/* @__PURE__ */ e(
|
|
124
|
+
a,
|
|
125
|
+
{
|
|
126
|
+
layout: "vertical",
|
|
127
|
+
icon: /* @__PURE__ */ e(u, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
128
|
+
title: "Auto TLS",
|
|
129
|
+
description: "Automatic certificate provisioning and HTTP→HTTPS redirect",
|
|
130
|
+
iconBgClassName: "from-violet-500 to-purple-500"
|
|
131
|
+
}
|
|
132
|
+
),
|
|
133
|
+
/* @__PURE__ */ e(
|
|
134
|
+
a,
|
|
135
|
+
{
|
|
136
|
+
layout: "vertical",
|
|
137
|
+
icon: /* @__PURE__ */ e(h, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
138
|
+
title: "Encrypted Secrets",
|
|
139
|
+
description: "Secrets stored encrypted at rest with fly secrets",
|
|
140
|
+
iconBgClassName: "from-rose-500 to-red-500"
|
|
141
|
+
}
|
|
142
|
+
)
|
|
143
|
+
] })
|
|
144
|
+
] }),
|
|
145
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ t(s, { title: "Security Checklist", children: [
|
|
146
|
+
/* @__PURE__ */ e(r, { className: "text-sm text-foreground/70 mb-3", children: "Before deploying to production, ensure:" }),
|
|
147
|
+
/* @__PURE__ */ e(
|
|
148
|
+
i,
|
|
149
|
+
{
|
|
150
|
+
code: `✓ MCP_API_KEY is set to a strong random value (32+ chars)
|
|
151
|
+
✓ HTTPS is enforced (automatic on Fly.io)
|
|
152
|
+
✓ Rate limiting is enabled (default: 100 req/min)
|
|
153
|
+
✓ Docker runs as non-root user
|
|
154
|
+
✓ No secrets in source code or Docker image layers
|
|
155
|
+
✓ Fly.io secrets set via 'fly secrets set' (not env files)
|
|
156
|
+
✓ Health endpoint (/health) does not expose internals
|
|
157
|
+
✓ CORS restricted to known origins in production`
|
|
158
|
+
}
|
|
159
|
+
)
|
|
160
|
+
] }) })
|
|
161
|
+
] });
|
|
162
|
+
export {
|
|
163
|
+
N as default
|
|
164
|
+
};
|
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
import { jsxs as l, Fragment as S, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as d } from "react";
|
|
3
|
+
import { H as N, C as a, a as n, T as s, S as o, P as f, A as w, c as y } from "../index-DoxeCFUJ.js";
|
|
4
|
+
import { ChevronDown as C, Globe as i, Star as x, Zap as P, Shield as O } from "lucide-react";
|
|
5
|
+
import "react-router-dom";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const E = () => {
|
|
8
|
+
const [p, m] = d(void 0), r = [
|
|
9
|
+
{ name: "Argentina", value: "ar" },
|
|
10
|
+
{ name: "Brasil", value: "br" },
|
|
11
|
+
{ name: "Chile", value: "cl" },
|
|
12
|
+
{ name: "Colombia", value: "co" },
|
|
13
|
+
{ name: "México", value: "mx" },
|
|
14
|
+
{ name: "Perú", value: "pe" },
|
|
15
|
+
{ name: "Uruguay", value: "uy" },
|
|
16
|
+
{ name: "Venezuela", value: "ve" }
|
|
17
|
+
], h = [
|
|
18
|
+
{
|
|
19
|
+
name: "Free",
|
|
20
|
+
value: "free",
|
|
21
|
+
description: "Basic features, 1 user",
|
|
22
|
+
icon: /* @__PURE__ */ e(x, { className: "h-4 w-4 text-gray-400" })
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: "Pro",
|
|
26
|
+
value: "pro",
|
|
27
|
+
description: "Advanced features, 5 users",
|
|
28
|
+
icon: /* @__PURE__ */ e(P, { className: "h-4 w-4 text-brand" })
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: "Enterprise",
|
|
32
|
+
value: "enterprise",
|
|
33
|
+
description: "Custom features, unlimited",
|
|
34
|
+
icon: /* @__PURE__ */ e(O, { className: "h-4 w-4 text-green-500" })
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: "Legacy",
|
|
38
|
+
value: "legacy",
|
|
39
|
+
description: "No longer available",
|
|
40
|
+
disabled: !0
|
|
41
|
+
}
|
|
42
|
+
], u = [
|
|
43
|
+
{ label: "Primary", color: "primary" },
|
|
44
|
+
{ label: "Secondary", color: "secondary" },
|
|
45
|
+
{ label: "Danger", color: "danger" },
|
|
46
|
+
{ label: "Info", color: "info" },
|
|
47
|
+
{ label: "Success", color: "success" },
|
|
48
|
+
{ label: "Warning", color: "warning" }
|
|
49
|
+
], g = [
|
|
50
|
+
{ label: "Small", size: "sm" },
|
|
51
|
+
{ label: "Medium", size: "md" },
|
|
52
|
+
{ label: "Large", size: "lg" }
|
|
53
|
+
], [b, v] = d(r[0]);
|
|
54
|
+
return /* @__PURE__ */ l(S, { children: [
|
|
55
|
+
/* @__PURE__ */ e(
|
|
56
|
+
N,
|
|
57
|
+
{
|
|
58
|
+
title: "Select",
|
|
59
|
+
description: "A dropdown select component with search, descriptions, disabled options, and check indicators.",
|
|
60
|
+
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-teal-500 via-emerald-500 to-green-500 rounded-full flex items-center justify-center shadow-lg border border-teal-500/50", children: /* @__PURE__ */ e(C, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
|
|
61
|
+
}
|
|
62
|
+
),
|
|
63
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ l("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
64
|
+
/* @__PURE__ */ l(a, { className: "p-4", children: [
|
|
65
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: "Basic Select" }),
|
|
66
|
+
/* @__PURE__ */ e(
|
|
67
|
+
o,
|
|
68
|
+
{
|
|
69
|
+
label: "Country",
|
|
70
|
+
placeholder: "Select a country",
|
|
71
|
+
options: r,
|
|
72
|
+
selectedOption: p,
|
|
73
|
+
onChange: m
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
] }),
|
|
77
|
+
/* @__PURE__ */ l(a, { className: "p-4", children: [
|
|
78
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: "Searchable" }),
|
|
79
|
+
/* @__PURE__ */ e(
|
|
80
|
+
o,
|
|
81
|
+
{
|
|
82
|
+
label: "Country",
|
|
83
|
+
placeholder: "Search and select...",
|
|
84
|
+
options: r,
|
|
85
|
+
searchable: !0,
|
|
86
|
+
searchPlaceholder: "Type to filter...",
|
|
87
|
+
showCheck: !0
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
] }),
|
|
91
|
+
/* @__PURE__ */ l(a, { className: "p-4", children: [
|
|
92
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: "With Descriptions & Icons" }),
|
|
93
|
+
/* @__PURE__ */ e(
|
|
94
|
+
o,
|
|
95
|
+
{
|
|
96
|
+
label: "Plan",
|
|
97
|
+
placeholder: "Choose a plan",
|
|
98
|
+
options: h,
|
|
99
|
+
showCheck: !0
|
|
100
|
+
}
|
|
101
|
+
)
|
|
102
|
+
] }),
|
|
103
|
+
/* @__PURE__ */ l(a, { className: "p-4", children: [
|
|
104
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: "With Helper Text" }),
|
|
105
|
+
/* @__PURE__ */ e(
|
|
106
|
+
o,
|
|
107
|
+
{
|
|
108
|
+
label: "Language",
|
|
109
|
+
placeholder: "Select a language",
|
|
110
|
+
helperText: "Choose your preferred language",
|
|
111
|
+
options: [
|
|
112
|
+
{
|
|
113
|
+
name: "English",
|
|
114
|
+
value: "en",
|
|
115
|
+
icon: /* @__PURE__ */ e(i, { className: "h-4 w-4" })
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: "Spanish",
|
|
119
|
+
value: "es",
|
|
120
|
+
icon: /* @__PURE__ */ e(i, { className: "h-4 w-4" })
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
name: "French",
|
|
124
|
+
value: "fr",
|
|
125
|
+
icon: /* @__PURE__ */ e(i, { className: "h-4 w-4" })
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
)
|
|
130
|
+
] }),
|
|
131
|
+
/* @__PURE__ */ l(a, { className: "p-4", children: [
|
|
132
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: "With Error" }),
|
|
133
|
+
/* @__PURE__ */ e(
|
|
134
|
+
o,
|
|
135
|
+
{
|
|
136
|
+
label: "Category",
|
|
137
|
+
placeholder: "Select a category",
|
|
138
|
+
errorMessage: "Category is required",
|
|
139
|
+
options: [
|
|
140
|
+
{ name: "Option 1", value: "opt1" },
|
|
141
|
+
{ name: "Option 2", value: "opt2" }
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
)
|
|
145
|
+
] }),
|
|
146
|
+
/* @__PURE__ */ l(a, { className: "p-4", children: [
|
|
147
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: "Disabled" }),
|
|
148
|
+
/* @__PURE__ */ e(
|
|
149
|
+
o,
|
|
150
|
+
{
|
|
151
|
+
label: "Status",
|
|
152
|
+
placeholder: "Select status",
|
|
153
|
+
disabled: !0,
|
|
154
|
+
options: [
|
|
155
|
+
{ name: "Active", value: "active" },
|
|
156
|
+
{ name: "Inactive", value: "inactive" }
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
)
|
|
160
|
+
] })
|
|
161
|
+
] }) }) }) }),
|
|
162
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Variants", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ l("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-4", children: [
|
|
163
|
+
/* @__PURE__ */ l(a, { className: "p-4", children: [
|
|
164
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: "Ghost (default)" }),
|
|
165
|
+
/* @__PURE__ */ e(
|
|
166
|
+
o,
|
|
167
|
+
{
|
|
168
|
+
label: "Ghost Variant",
|
|
169
|
+
placeholder: "Select option",
|
|
170
|
+
variant: "ghost",
|
|
171
|
+
options: r
|
|
172
|
+
}
|
|
173
|
+
)
|
|
174
|
+
] }),
|
|
175
|
+
/* @__PURE__ */ l(a, { className: "p-4", children: [
|
|
176
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: "Solid" }),
|
|
177
|
+
/* @__PURE__ */ e(
|
|
178
|
+
o,
|
|
179
|
+
{
|
|
180
|
+
label: "Solid Variant",
|
|
181
|
+
placeholder: "Select option",
|
|
182
|
+
variant: "solid",
|
|
183
|
+
options: r
|
|
184
|
+
}
|
|
185
|
+
)
|
|
186
|
+
] }),
|
|
187
|
+
/* @__PURE__ */ l(a, { className: "p-4", children: [
|
|
188
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: "Transparent" }),
|
|
189
|
+
/* @__PURE__ */ e(
|
|
190
|
+
o,
|
|
191
|
+
{
|
|
192
|
+
label: "Transparent Variant",
|
|
193
|
+
placeholder: "Select option",
|
|
194
|
+
variant: "transparent",
|
|
195
|
+
options: r
|
|
196
|
+
}
|
|
197
|
+
)
|
|
198
|
+
] })
|
|
199
|
+
] }) }) }) }),
|
|
200
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Colors", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-3", children: u.map(({ label: t, color: c }) => /* @__PURE__ */ l(a, { className: "p-4", children: [
|
|
201
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: t }),
|
|
202
|
+
/* @__PURE__ */ e(
|
|
203
|
+
o,
|
|
204
|
+
{
|
|
205
|
+
label: `${t} Select`,
|
|
206
|
+
placeholder: "Select option",
|
|
207
|
+
color: c,
|
|
208
|
+
options: r
|
|
209
|
+
}
|
|
210
|
+
)
|
|
211
|
+
] }, c)) }) }) }) }),
|
|
212
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Sizes", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-4 md:grid-cols-3", children: g.map(({ label: t, size: c }) => /* @__PURE__ */ l(a, { className: "p-4", children: [
|
|
213
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: t }),
|
|
214
|
+
/* @__PURE__ */ e(
|
|
215
|
+
o,
|
|
216
|
+
{
|
|
217
|
+
label: `${t} Select`,
|
|
218
|
+
placeholder: "Select option",
|
|
219
|
+
size: c,
|
|
220
|
+
options: r
|
|
221
|
+
}
|
|
222
|
+
)
|
|
223
|
+
] }, c)) }) }) }) }),
|
|
224
|
+
/* @__PURE__ */ e(
|
|
225
|
+
f,
|
|
226
|
+
{
|
|
227
|
+
componentName: "Select",
|
|
228
|
+
defaultValues: {
|
|
229
|
+
label: "Preview Select",
|
|
230
|
+
placeholder: "Select a country",
|
|
231
|
+
variant: "ghost",
|
|
232
|
+
color: "primary",
|
|
233
|
+
size: "md",
|
|
234
|
+
helperText: "",
|
|
235
|
+
errorMessage: "",
|
|
236
|
+
searchable: !1,
|
|
237
|
+
searchPlaceholder: "Search...",
|
|
238
|
+
showCheck: !0,
|
|
239
|
+
disabled: !1
|
|
240
|
+
},
|
|
241
|
+
controlOverrides: [
|
|
242
|
+
{
|
|
243
|
+
name: "placeholder",
|
|
244
|
+
type: "text",
|
|
245
|
+
description: "Placeholder text rendered before selecting an option"
|
|
246
|
+
}
|
|
247
|
+
],
|
|
248
|
+
includeProps: [
|
|
249
|
+
"label",
|
|
250
|
+
"placeholder",
|
|
251
|
+
"variant",
|
|
252
|
+
"color",
|
|
253
|
+
"size",
|
|
254
|
+
"helperText",
|
|
255
|
+
"errorMessage",
|
|
256
|
+
"searchable",
|
|
257
|
+
"searchPlaceholder",
|
|
258
|
+
"showCheck",
|
|
259
|
+
"disabled"
|
|
260
|
+
],
|
|
261
|
+
excludeProps: [
|
|
262
|
+
"options",
|
|
263
|
+
"selectedOption",
|
|
264
|
+
"onChange",
|
|
265
|
+
"onSelect",
|
|
266
|
+
"value",
|
|
267
|
+
"name",
|
|
268
|
+
"buttonClassName",
|
|
269
|
+
"children"
|
|
270
|
+
],
|
|
271
|
+
children: (t) => /* @__PURE__ */ e("div", { className: "w-full max-w-lg", children: /* @__PURE__ */ e(
|
|
272
|
+
o,
|
|
273
|
+
{
|
|
274
|
+
...t,
|
|
275
|
+
placeholder: t.placeholder || "Select a country",
|
|
276
|
+
options: r,
|
|
277
|
+
selectedOption: b,
|
|
278
|
+
onChange: (c) => v(c)
|
|
279
|
+
}
|
|
280
|
+
) })
|
|
281
|
+
}
|
|
282
|
+
),
|
|
283
|
+
/* @__PURE__ */ e(w, { componentName: "Select" }),
|
|
284
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
285
|
+
y,
|
|
286
|
+
{
|
|
287
|
+
language: "tsx",
|
|
288
|
+
code: `import { Select } from '@e-burgos/tucu-ui';
|
|
289
|
+
|
|
290
|
+
const options = [
|
|
291
|
+
{ name: 'Argentina', value: 'ar' },
|
|
292
|
+
{ name: 'Brasil', value: 'br' },
|
|
293
|
+
{ name: 'Chile', value: 'cl' },
|
|
294
|
+
];
|
|
295
|
+
|
|
296
|
+
// Basic
|
|
297
|
+
<Select
|
|
298
|
+
label="Country"
|
|
299
|
+
placeholder="Select a country"
|
|
300
|
+
options={options}
|
|
301
|
+
selectedOption={selectedOption}
|
|
302
|
+
onChange={setSelectedOption}
|
|
303
|
+
/>
|
|
304
|
+
|
|
305
|
+
// Searchable with check
|
|
306
|
+
<Select
|
|
307
|
+
label="Country"
|
|
308
|
+
placeholder="Search..."
|
|
309
|
+
options={options}
|
|
310
|
+
searchable
|
|
311
|
+
searchPlaceholder="Type to filter..."
|
|
312
|
+
showCheck
|
|
313
|
+
/>
|
|
314
|
+
|
|
315
|
+
// With descriptions, icons, and disabled options
|
|
316
|
+
const plans = [
|
|
317
|
+
{ name: 'Free', value: 'free', description: 'Basic features' },
|
|
318
|
+
{ name: 'Pro', value: 'pro', description: 'Advanced', icon: <Zap /> },
|
|
319
|
+
{ name: 'Legacy', value: 'legacy', disabled: true },
|
|
320
|
+
];
|
|
321
|
+
<Select label="Plan" options={plans} showCheck />
|
|
322
|
+
|
|
323
|
+
// Variants
|
|
324
|
+
<Select variant="ghost" options={options} />
|
|
325
|
+
<Select variant="solid" options={options} />
|
|
326
|
+
<Select variant="transparent" options={options} />
|
|
327
|
+
|
|
328
|
+
// Colors
|
|
329
|
+
<Select color="primary" options={options} />
|
|
330
|
+
<Select color="secondary" options={options} />
|
|
331
|
+
<Select color="danger" options={options} />
|
|
332
|
+
<Select color="info" options={options} />
|
|
333
|
+
<Select color="success" options={options} />
|
|
334
|
+
<Select color="warning" options={options} />
|
|
335
|
+
|
|
336
|
+
// Sizes
|
|
337
|
+
<Select size="sm" options={options} />
|
|
338
|
+
<Select size="md" options={options} />
|
|
339
|
+
<Select size="lg" options={options} />`
|
|
340
|
+
}
|
|
341
|
+
) }) }) })
|
|
342
|
+
] });
|
|
343
|
+
};
|
|
344
|
+
export {
|
|
345
|
+
E as default
|
|
346
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),a=require("../index-DWDUS-PU.js"),r=require("lucide-react");require("react-router-dom");require("react-dom");const u=()=>{const[n,c]=t.useState(void 0),l=[{name:"Argentina",value:"ar"},{name:"Brasil",value:"br"},{name:"Chile",value:"cl"},{name:"Colombia",value:"co"},{name:"México",value:"mx"},{name:"Perú",value:"pe"},{name:"Uruguay",value:"uy"},{name:"Venezuela",value:"ve"}],i=[{name:"Free",value:"free",description:"Basic features, 1 user",icon:e.jsx(r.Star,{className:"h-4 w-4 text-gray-400"})},{name:"Pro",value:"pro",description:"Advanced features, 5 users",icon:e.jsx(r.Zap,{className:"h-4 w-4 text-brand"})},{name:"Enterprise",value:"enterprise",description:"Custom features, unlimited",icon:e.jsx(r.Shield,{className:"h-4 w-4 text-green-500"})},{name:"Legacy",value:"legacy",description:"No longer available",disabled:!0}],d=[{label:"Primary",color:"primary"},{label:"Secondary",color:"secondary"},{label:"Danger",color:"danger"},{label:"Info",color:"info"},{label:"Success",color:"success"},{label:"Warning",color:"warning"}],p=[{label:"Small",size:"sm"},{label:"Medium",size:"md"},{label:"Large",size:"lg"}],[h,m]=t.useState(l[0]);return e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"Select",description:"A dropdown select component with search, descriptions, disabled options, and check indicators.",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-teal-500 via-emerald-500 to-green-500 rounded-full flex items-center justify-center shadow-lg border border-teal-500/50",children:e.jsx(r.ChevronDown,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Select"}),e.jsx(a.Select,{label:"Country",placeholder:"Select a country",options:l,selectedOption:n,onChange:c})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Searchable"}),e.jsx(a.Select,{label:"Country",placeholder:"Search and select...",options:l,searchable:!0,searchPlaceholder:"Type to filter...",showCheck:!0})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Descriptions & Icons"}),e.jsx(a.Select,{label:"Plan",placeholder:"Choose a plan",options:i,showCheck:!0})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Helper Text"}),e.jsx(a.Select,{label:"Language",placeholder:"Select a language",helperText:"Choose your preferred language",options:[{name:"English",value:"en",icon:e.jsx(r.Globe,{className:"h-4 w-4"})},{name:"Spanish",value:"es",icon:e.jsx(r.Globe,{className:"h-4 w-4"})},{name:"French",value:"fr",icon:e.jsx(r.Globe,{className:"h-4 w-4"})}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Error"}),e.jsx(a.Select,{label:"Category",placeholder:"Select a category",errorMessage:"Category is required",options:[{name:"Option 1",value:"opt1"},{name:"Option 2",value:"opt2"}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),e.jsx(a.Select,{label:"Status",placeholder:"Select status",disabled:!0,options:[{name:"Active",value:"active"},{name:"Inactive",value:"inactive"}]})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Ghost (default)"}),e.jsx(a.Select,{label:"Ghost Variant",placeholder:"Select option",variant:"ghost",options:l})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Solid"}),e.jsx(a.Select,{label:"Solid Variant",placeholder:"Select option",variant:"solid",options:l})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Transparent"}),e.jsx(a.Select,{label:"Transparent Variant",placeholder:"Select option",variant:"transparent",options:l})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Colors",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-3",children:d.map(({label:s,color:o})=>e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:s}),e.jsx(a.Select,{label:`${s} Select`,placeholder:"Select option",color:o,options:l})]},o))})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Sizes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-3",children:p.map(({label:s,size:o})=>e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:s}),e.jsx(a.Select,{label:`${s} Select`,placeholder:"Select option",size:o,options:l})]},o))})})})}),e.jsx(a.PropPlayground,{componentName:"Select",defaultValues:{label:"Preview Select",placeholder:"Select a country",variant:"ghost",color:"primary",size:"md",helperText:"",errorMessage:"",searchable:!1,searchPlaceholder:"Search...",showCheck:!0,disabled:!1},controlOverrides:[{name:"placeholder",type:"text",description:"Placeholder text rendered before selecting an option"}],includeProps:["label","placeholder","variant","color","size","helperText","errorMessage","searchable","searchPlaceholder","showCheck","disabled"],excludeProps:["options","selectedOption","onChange","onSelect","value","name","buttonClassName","children"],children:s=>e.jsx("div",{className:"w-full max-w-lg",children:e.jsx(a.Select,{...s,placeholder:s.placeholder||"Select a country",options:l,selectedOption:h,onChange:o=>m(o)})})}),e.jsx(a.AutoPropsTable,{componentName:"Select"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { Select } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
const options = [
|
|
4
|
+
{ name: 'Argentina', value: 'ar' },
|
|
5
|
+
{ name: 'Brasil', value: 'br' },
|
|
6
|
+
{ name: 'Chile', value: 'cl' },
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
// Basic
|
|
10
|
+
<Select
|
|
11
|
+
label="Country"
|
|
12
|
+
placeholder="Select a country"
|
|
13
|
+
options={options}
|
|
14
|
+
selectedOption={selectedOption}
|
|
15
|
+
onChange={setSelectedOption}
|
|
16
|
+
/>
|
|
17
|
+
|
|
18
|
+
// Searchable with check
|
|
19
|
+
<Select
|
|
20
|
+
label="Country"
|
|
21
|
+
placeholder="Search..."
|
|
22
|
+
options={options}
|
|
23
|
+
searchable
|
|
24
|
+
searchPlaceholder="Type to filter..."
|
|
25
|
+
showCheck
|
|
26
|
+
/>
|
|
27
|
+
|
|
28
|
+
// With descriptions, icons, and disabled options
|
|
29
|
+
const plans = [
|
|
30
|
+
{ name: 'Free', value: 'free', description: 'Basic features' },
|
|
31
|
+
{ name: 'Pro', value: 'pro', description: 'Advanced', icon: <Zap /> },
|
|
32
|
+
{ name: 'Legacy', value: 'legacy', disabled: true },
|
|
33
|
+
];
|
|
34
|
+
<Select label="Plan" options={plans} showCheck />
|
|
35
|
+
|
|
36
|
+
// Variants
|
|
37
|
+
<Select variant="ghost" options={options} />
|
|
38
|
+
<Select variant="solid" options={options} />
|
|
39
|
+
<Select variant="transparent" options={options} />
|
|
40
|
+
|
|
41
|
+
// Colors
|
|
42
|
+
<Select color="primary" options={options} />
|
|
43
|
+
<Select color="secondary" options={options} />
|
|
44
|
+
<Select color="danger" options={options} />
|
|
45
|
+
<Select color="info" options={options} />
|
|
46
|
+
<Select color="success" options={options} />
|
|
47
|
+
<Select color="warning" options={options} />
|
|
48
|
+
|
|
49
|
+
// Sizes
|
|
50
|
+
<Select size="sm" options={options} />
|
|
51
|
+
<Select size="md" options={options} />
|
|
52
|
+
<Select size="lg" options={options} />`})})})})]})};exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DWDUS-PU.js"),t=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const h=()=>{const{mode:a,layout:n,primaryPreset:l,secondaryPreset:d,accentPreset:c,direction:o,setMode:m,setIsSettingsOpen:g,isSettingsOpen:r}=s.useTheme(),x=[{icon:e.jsx(t.Moon,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"Mode Switching",description:"Toggle between light and dark modes.",iconBgClassName:"from-blue-500 to-indigo-500"},{icon:e.jsx(t.Globe,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"RTL/LTR Direction",description:"Switch text direction for international apps.",iconBgClassName:"from-green-500 to-emerald-500"},{icon:e.jsx(t.Layout,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"Layout Options",description:"Choose between Clean, Admin, and Horizontal layouts.",iconBgClassName:"from-orange-500 to-red-500"},{icon:e.jsx(t.Palette,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"Color Management",description:"Organized in groups: Brand (primary, accent), Surfaces (secondary, backgrounds), Text (primary, muted, border), and Status (success, warning, error, info).",iconBgClassName:"from-pink-500 to-rose-500"}];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Settings Panel",description:"Built-in UI for users to customize theme mode, layout, direction, and all color presets at runtime.",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-orange-500 via-red-500 to-pink-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(t.Settings,{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:"Panel Features"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"What users can customize through the settings panel"})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6",children:x.map(i=>e.jsx(s.FeatureCard,{layout:"horizontal",...i},i.title))})]}),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:"Live Preview"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Current theme state and interactive controls"})]}),e.jsx(s.CardContainer,{children:e.jsx(s.CardTitle,{title:"Current Settings",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-3",children:[e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Mode"}),e.jsx(s.Badge,{variant:"outline",className:"text-xs",children:a})]}),e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Layout"}),e.jsx(s.Badge,{variant:"outline",className:"text-xs",children:n})]}),e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Primary"}),e.jsx(s.Badge,{variant:"outline",className:"text-xs",children:l?.label||"DEFAULT_PRIMARY"})]}),e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Secondary"}),e.jsx(s.Badge,{variant:"outline",className:"text-xs",children:d?.label||"DEFAULT_SECONDARY"})]}),e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Accent"}),e.jsx(s.Badge,{variant:"outline",className:"text-xs",children:c?.label||"DEFAULT_ACCENT"})]}),e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Direction"}),e.jsx(s.Badge,{variant:"outline",className:"text-xs",children:o||"LTR"})]})]}),e.jsxs("div",{className:"flex gap-2 w-full mt-4",children:[e.jsxs(s.Button,{size:"small",onClick:()=>m(a==="dark"?"light":"dark"),className:"flex-1",children:["Toggle ",a==="dark"?"Light":"Dark"]}),e.jsxs(s.Button,{size:"small",variant:"ghost",onClick:()=>g(!r),className:"flex-1",children:[r?"Close":"Open"," Settings"]})]})]})})})]})]})};exports.default=h;
|