@burdenoff/fe-libs 2026.525.2 → 2026.525.3
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/package.json +1 -1
- package/dist/button/Button.d.ts +0 -12
- package/dist/button/Button.d.ts.map +0 -1
- package/dist/button/index.d.ts +0 -3
- package/dist/button/index.d.ts.map +0 -1
- package/dist/button.d.ts +0 -2
- package/dist/chrome/AccountSwitcher.d.ts +0 -51
- package/dist/chrome/AccountSwitcher.d.ts.map +0 -1
- package/dist/chrome/AppShellLayout.d.ts +0 -67
- package/dist/chrome/AppShellLayout.d.ts.map +0 -1
- package/dist/chrome/AutoBreadcrumbs.d.ts +0 -22
- package/dist/chrome/AutoBreadcrumbs.d.ts.map +0 -1
- package/dist/chrome/Breadcrumb.d.ts +0 -47
- package/dist/chrome/Breadcrumb.d.ts.map +0 -1
- package/dist/chrome/Breadcrumbs.d.ts +0 -69
- package/dist/chrome/Breadcrumbs.d.ts.map +0 -1
- package/dist/chrome/CommandPalette.d.ts +0 -64
- package/dist/chrome/CommandPalette.d.ts.map +0 -1
- package/dist/chrome/ContextSwitcher.d.ts +0 -48
- package/dist/chrome/ContextSwitcher.d.ts.map +0 -1
- package/dist/chrome/DynamicFooter.d.ts +0 -21
- package/dist/chrome/DynamicFooter.d.ts.map +0 -1
- package/dist/chrome/Footer.d.ts +0 -128
- package/dist/chrome/Footer.d.ts.map +0 -1
- package/dist/chrome/FooterBar.d.ts +0 -79
- package/dist/chrome/FooterBar.d.ts.map +0 -1
- package/dist/chrome/GeographySwitcher.d.ts +0 -22
- package/dist/chrome/GeographySwitcher.d.ts.map +0 -1
- package/dist/chrome/GlobalSearch.d.ts +0 -49
- package/dist/chrome/GlobalSearch.d.ts.map +0 -1
- package/dist/chrome/HeaderBar.d.ts +0 -108
- package/dist/chrome/HeaderBar.d.ts.map +0 -1
- package/dist/chrome/LanguagePickerSheet.d.ts +0 -22
- package/dist/chrome/LanguagePickerSheet.d.ts.map +0 -1
- package/dist/chrome/LanguageSwitcher.d.ts +0 -23
- package/dist/chrome/LanguageSwitcher.d.ts.map +0 -1
- package/dist/chrome/NavLink.d.ts +0 -64
- package/dist/chrome/NavLink.d.ts.map +0 -1
- package/dist/chrome/NotificationCenter.d.ts +0 -16
- package/dist/chrome/NotificationCenter.d.ts.map +0 -1
- package/dist/chrome/PanelContainer.d.ts +0 -8
- package/dist/chrome/PanelContainer.d.ts.map +0 -1
- package/dist/chrome/PanelTabs.d.ts +0 -19
- package/dist/chrome/PanelTabs.d.ts.map +0 -1
- package/dist/chrome/PluginContextMenuTarget.d.ts +0 -8
- package/dist/chrome/PluginContextMenuTarget.d.ts.map +0 -1
- package/dist/chrome/PluginFooterStrip.d.ts +0 -3
- package/dist/chrome/PluginFooterStrip.d.ts.map +0 -1
- package/dist/chrome/PluginRoutes.d.ts +0 -9
- package/dist/chrome/PluginRoutes.d.ts.map +0 -1
- package/dist/chrome/PluginSettingsPage.d.ts +0 -3
- package/dist/chrome/PluginSettingsPage.d.ts.map +0 -1
- package/dist/chrome/PluginToolbar.d.ts +0 -9
- package/dist/chrome/PluginToolbar.d.ts.map +0 -1
- package/dist/chrome/PluginWidgetGrid.d.ts +0 -7
- package/dist/chrome/PluginWidgetGrid.d.ts.map +0 -1
- package/dist/chrome/ProductPickerSheet.d.ts +0 -24
- package/dist/chrome/ProductPickerSheet.d.ts.map +0 -1
- package/dist/chrome/ProductSideNav.d.ts +0 -22
- package/dist/chrome/ProductSideNav.d.ts.map +0 -1
- package/dist/chrome/ProductSwitcher.d.ts +0 -31
- package/dist/chrome/ProductSwitcher.d.ts.map +0 -1
- package/dist/chrome/ProfileSwitcher.d.ts +0 -49
- package/dist/chrome/ProfileSwitcher.d.ts.map +0 -1
- package/dist/chrome/ShortcutHelpDialog.d.ts +0 -33
- package/dist/chrome/ShortcutHelpDialog.d.ts.map +0 -1
- package/dist/chrome/SideNavigation.d.ts +0 -85
- package/dist/chrome/SideNavigation.d.ts.map +0 -1
- package/dist/chrome/Sidebar.d.ts +0 -108
- package/dist/chrome/Sidebar.d.ts.map +0 -1
- package/dist/chrome/StatusBar.d.ts +0 -3
- package/dist/chrome/StatusBar.d.ts.map +0 -1
- package/dist/chrome/Tabs.d.ts +0 -74
- package/dist/chrome/Tabs.d.ts.map +0 -1
- package/dist/chrome/index.d.ts +0 -108
- package/dist/chrome/index.d.ts.map +0 -1
- package/dist/chrome.d.ts +0 -2
- package/dist/config/eslint.config.d.ts +0 -12
- package/dist/config/eslint.config.d.ts.map +0 -1
- package/dist/config/index.d.ts +0 -19
- package/dist/config/index.d.ts.map +0 -1
- package/dist/config/prettier.config.d.ts +0 -7
- package/dist/config/prettier.config.d.ts.map +0 -1
- package/dist/form/Checkbox.d.ts +0 -60
- package/dist/form/Checkbox.d.ts.map +0 -1
- package/dist/form/Form.d.ts +0 -114
- package/dist/form/Form.d.ts.map +0 -1
- package/dist/form/FormDescription.d.ts +0 -33
- package/dist/form/FormDescription.d.ts.map +0 -1
- package/dist/form/FormField.d.ts +0 -96
- package/dist/form/FormField.d.ts.map +0 -1
- package/dist/form/FormLabel.d.ts +0 -41
- package/dist/form/FormLabel.d.ts.map +0 -1
- package/dist/form/FormMessage.d.ts +0 -35
- package/dist/form/FormMessage.d.ts.map +0 -1
- package/dist/form/Input.d.ts +0 -43
- package/dist/form/Input.d.ts.map +0 -1
- package/dist/form/Radio.d.ts +0 -99
- package/dist/form/Radio.d.ts.map +0 -1
- package/dist/form/Select.d.ts +0 -101
- package/dist/form/Select.d.ts.map +0 -1
- package/dist/form/Textarea.d.ts +0 -50
- package/dist/form/Textarea.d.ts.map +0 -1
- package/dist/form/index.d.ts +0 -24
- package/dist/form/index.d.ts.map +0 -1
- package/dist/form.d.ts +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/utils.d.ts +0 -3
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/shared/components/AccessDenied.d.ts +0 -117
- package/dist/shared/components/AccessDenied.d.ts.map +0 -1
- package/dist/shared/components/AppErrorBoundary.d.ts +0 -19
- package/dist/shared/components/AppErrorBoundary.d.ts.map +0 -1
- package/dist/shared/components/ConditionalShell.d.ts +0 -17
- package/dist/shared/components/ConditionalShell.d.ts.map +0 -1
- package/dist/shared/components/ContextConversationWidget.d.ts +0 -6
- package/dist/shared/components/ContextConversationWidget.d.ts.map +0 -1
- package/dist/shared/components/ErrorBoundary.d.ts +0 -19
- package/dist/shared/components/ErrorBoundary.d.ts.map +0 -1
- package/dist/shared/components/ErrorFallback.d.ts +0 -3
- package/dist/shared/components/ErrorFallback.d.ts.map +0 -1
- package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts +0 -7
- package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts.map +0 -1
- package/dist/shared/components/LegalPage.d.ts +0 -19
- package/dist/shared/components/LegalPage.d.ts.map +0 -1
- package/dist/shared/components/LoadingFallback.d.ts +0 -31
- package/dist/shared/components/LoadingFallback.d.ts.map +0 -1
- package/dist/shared/components/MicrofrontendErrorBoundary.d.ts +0 -20
- package/dist/shared/components/MicrofrontendErrorBoundary.d.ts.map +0 -1
- package/dist/shared/components/PWAInstallBanner.d.ts +0 -14
- package/dist/shared/components/PWAInstallBanner.d.ts.map +0 -1
- package/dist/shared/components/PermissionGate.d.ts +0 -202
- package/dist/shared/components/PermissionGate.d.ts.map +0 -1
- package/dist/shared/components/ProductAccessGuard.d.ts +0 -8
- package/dist/shared/components/ProductAccessGuard.d.ts.map +0 -1
- package/dist/shared/components/QuotaMeter.d.ts +0 -30
- package/dist/shared/components/QuotaMeter.d.ts.map +0 -1
- package/dist/shared/components/RequireAuth.d.ts +0 -76
- package/dist/shared/components/RequireAuth.d.ts.map +0 -1
- package/dist/shared/components/SSORedirectGuard.d.ts +0 -49
- package/dist/shared/components/SSORedirectGuard.d.ts.map +0 -1
- package/dist/shared/components/SearchPage.d.ts +0 -24
- package/dist/shared/components/SearchPage.d.ts.map +0 -1
- package/dist/shared/components/index.d.ts +0 -25
- package/dist/shared/components/index.d.ts.map +0 -1
- package/dist/shared/config/authBridgeUrls.d.ts +0 -27
- package/dist/shared/config/authBridgeUrls.d.ts.map +0 -1
- package/dist/shared/config/eslint.config.d.ts +0 -12
- package/dist/shared/config/eslint.config.d.ts.map +0 -1
- package/dist/shared/config/gatewayUrls.d.ts +0 -44
- package/dist/shared/config/gatewayUrls.d.ts.map +0 -1
- package/dist/shared/config/index.d.ts +0 -71
- package/dist/shared/config/index.d.ts.map +0 -1
- package/dist/shared/config/prettier.config.d.ts +0 -7
- package/dist/shared/config/prettier.config.d.ts.map +0 -1
- package/dist/shared/config/products.d.ts +0 -56
- package/dist/shared/config/products.d.ts.map +0 -1
- package/dist/shared/config/shellRoutes.d.ts +0 -52
- package/dist/shared/config/shellRoutes.d.ts.map +0 -1
- package/dist/shared/events/index.d.ts +0 -591
- package/dist/shared/events/index.d.ts.map +0 -1
- package/dist/shared/events/metadata.d.ts +0 -7
- package/dist/shared/events/metadata.d.ts.map +0 -1
- package/dist/shared/events/sinks/BackendAuditSink.d.ts +0 -18
- package/dist/shared/events/sinks/BackendAuditSink.d.ts.map +0 -1
- package/dist/shared/events/sinks/BroadcastChannelSink.d.ts +0 -10
- package/dist/shared/events/sinks/BroadcastChannelSink.d.ts.map +0 -1
- package/dist/shared/events/sinks/DevtoolsSink.d.ts +0 -10
- package/dist/shared/events/sinks/DevtoolsSink.d.ts.map +0 -1
- package/dist/shared/events/sinks/OtelBrowserSink.d.ts +0 -14
- package/dist/shared/events/sinks/OtelBrowserSink.d.ts.map +0 -1
- package/dist/shared/events/sinks/RybbitSink.d.ts +0 -19
- package/dist/shared/events/sinks/RybbitSink.d.ts.map +0 -1
- package/dist/shared/events/sinks/index.d.ts +0 -6
- package/dist/shared/events/sinks/index.d.ts.map +0 -1
- package/dist/shared/feature-flags/FeatureFlagProvider.d.ts +0 -47
- package/dist/shared/feature-flags/FeatureFlagProvider.d.ts.map +0 -1
- package/dist/shared/feature-flags/FeatureGate.d.ts +0 -27
- package/dist/shared/feature-flags/FeatureGate.d.ts.map +0 -1
- package/dist/shared/feature-flags/index.d.ts +0 -38
- package/dist/shared/feature-flags/index.d.ts.map +0 -1
- package/dist/shared/feature-flags/types.d.ts +0 -121
- package/dist/shared/feature-flags/types.d.ts.map +0 -1
- package/dist/shared/feature-flags/useFeatureFlag.d.ts +0 -41
- package/dist/shared/feature-flags/useFeatureFlag.d.ts.map +0 -1
- package/dist/shared/geography/GeographyProvider.d.ts +0 -40
- package/dist/shared/geography/GeographyProvider.d.ts.map +0 -1
- package/dist/shared/geography/countries.d.ts +0 -53
- package/dist/shared/geography/countries.d.ts.map +0 -1
- package/dist/shared/geography/index.d.ts +0 -5
- package/dist/shared/geography/index.d.ts.map +0 -1
- package/dist/shared/graphql/GatewayContext.d.ts +0 -55
- package/dist/shared/graphql/GatewayContext.d.ts.map +0 -1
- package/dist/shared/graphql/client.d.ts +0 -122
- package/dist/shared/graphql/client.d.ts.map +0 -1
- package/dist/shared/graphql/fetch.d.ts +0 -133
- package/dist/shared/graphql/fetch.d.ts.map +0 -1
- package/dist/shared/graphql/index.d.ts +0 -9
- package/dist/shared/graphql/index.d.ts.map +0 -1
- package/dist/shared/graphql/links/sse-link.d.ts +0 -48
- package/dist/shared/graphql/links/sse-link.d.ts.map +0 -1
- package/dist/shared/graphql/security.d.ts +0 -13
- package/dist/shared/graphql/security.d.ts.map +0 -1
- package/dist/shared/graphql/workspaceToken.d.ts +0 -13
- package/dist/shared/graphql/workspaceToken.d.ts.map +0 -1
- package/dist/shared/help/HelpButton.d.ts +0 -25
- package/dist/shared/help/HelpButton.d.ts.map +0 -1
- package/dist/shared/help/HelpPanel.d.ts +0 -10
- package/dist/shared/help/HelpPanel.d.ts.map +0 -1
- package/dist/shared/help/HelpProvider.d.ts +0 -40
- package/dist/shared/help/HelpProvider.d.ts.map +0 -1
- package/dist/shared/help/index.d.ts +0 -53
- package/dist/shared/help/index.d.ts.map +0 -1
- package/dist/shared/help/types.d.ts +0 -159
- package/dist/shared/help/types.d.ts.map +0 -1
- package/dist/shared/hooks/index.d.ts +0 -31
- package/dist/shared/hooks/index.d.ts.map +0 -1
- package/dist/shared/hooks/shell/index.d.ts +0 -22
- package/dist/shared/hooks/shell/index.d.ts.map +0 -1
- package/dist/shared/hooks/shell/useBreadcrumbs.d.ts +0 -50
- package/dist/shared/hooks/shell/useBreadcrumbs.d.ts.map +0 -1
- package/dist/shared/hooks/shell/useFooterRegistry.d.ts +0 -23
- package/dist/shared/hooks/shell/useFooterRegistry.d.ts.map +0 -1
- package/dist/shared/hooks/shell/useGlobalSearch.d.ts +0 -103
- package/dist/shared/hooks/shell/useGlobalSearch.d.ts.map +0 -1
- package/dist/shared/hooks/shell/useLanguages.d.ts +0 -43
- package/dist/shared/hooks/shell/useLanguages.d.ts.map +0 -1
- package/dist/shared/hooks/shell/useNavRegistry.d.ts +0 -25
- package/dist/shared/hooks/shell/useNavRegistry.d.ts.map +0 -1
- package/dist/shared/hooks/shell/useProductAccess.d.ts +0 -37
- package/dist/shared/hooks/shell/useProductAccess.d.ts.map +0 -1
- package/dist/shared/hooks/shell/useProducts.d.ts +0 -30
- package/dist/shared/hooks/shell/useProducts.d.ts.map +0 -1
- package/dist/shared/hooks/useAsync.d.ts +0 -151
- package/dist/shared/hooks/useAsync.d.ts.map +0 -1
- package/dist/shared/hooks/useBreakpoint.d.ts +0 -83
- package/dist/shared/hooks/useBreakpoint.d.ts.map +0 -1
- package/dist/shared/hooks/useCopyToClipboard.d.ts +0 -72
- package/dist/shared/hooks/useCopyToClipboard.d.ts.map +0 -1
- package/dist/shared/hooks/useDebounce.d.ts +0 -26
- package/dist/shared/hooks/useDebounce.d.ts.map +0 -1
- package/dist/shared/hooks/useHasAnimated.d.ts +0 -10
- package/dist/shared/hooks/useHasAnimated.d.ts.map +0 -1
- package/dist/shared/hooks/useKeyPress.d.ts +0 -116
- package/dist/shared/hooks/useKeyPress.d.ts.map +0 -1
- package/dist/shared/hooks/useLocalStorage.d.ts +0 -41
- package/dist/shared/hooks/useLocalStorage.d.ts.map +0 -1
- package/dist/shared/hooks/useMediaQuery.d.ts +0 -35
- package/dist/shared/hooks/useMediaQuery.d.ts.map +0 -1
- package/dist/shared/hooks/useOnClickOutside.d.ts +0 -76
- package/dist/shared/hooks/useOnClickOutside.d.ts.map +0 -1
- package/dist/shared/hooks/usePWA.d.ts +0 -57
- package/dist/shared/hooks/usePWA.d.ts.map +0 -1
- package/dist/shared/hooks/usePrevious.d.ts +0 -157
- package/dist/shared/hooks/usePrevious.d.ts.map +0 -1
- package/dist/shared/hooks/useQuotaErrorToast.d.ts +0 -50
- package/dist/shared/hooks/useQuotaErrorToast.d.ts.map +0 -1
- package/dist/shared/hooks/useRecordProductVisit.d.ts +0 -11
- package/dist/shared/hooks/useRecordProductVisit.d.ts.map +0 -1
- package/dist/shared/hooks/useReferralAttribution.d.ts +0 -2
- package/dist/shared/hooks/useReferralAttribution.d.ts.map +0 -1
- package/dist/shared/hooks/useSessionStorage.d.ts +0 -44
- package/dist/shared/hooks/useSessionStorage.d.ts.map +0 -1
- package/dist/shared/hooks/useThrottle.d.ts +0 -37
- package/dist/shared/hooks/useThrottle.d.ts.map +0 -1
- package/dist/shared/hooks/useToggle.d.ts +0 -152
- package/dist/shared/hooks/useToggle.d.ts.map +0 -1
- package/dist/shared/index.d.ts +0 -13
- package/dist/shared/index.d.ts.map +0 -1
- package/dist/shared/keyboard/globalShortcuts.d.ts +0 -58
- package/dist/shared/keyboard/globalShortcuts.d.ts.map +0 -1
- package/dist/shared/keyboard/index.d.ts +0 -40
- package/dist/shared/keyboard/index.d.ts.map +0 -1
- package/dist/shared/keyboard/types.d.ts +0 -85
- package/dist/shared/keyboard/types.d.ts.map +0 -1
- package/dist/shared/keyboard/useHotkeys.d.ts +0 -21
- package/dist/shared/keyboard/useHotkeys.d.ts.map +0 -1
- package/dist/shared/keyboard/useKeyboardShortcuts.d.ts +0 -94
- package/dist/shared/keyboard/useKeyboardShortcuts.d.ts.map +0 -1
- package/dist/shared/keyboard/useShortcutHelp.d.ts +0 -27
- package/dist/shared/keyboard/useShortcutHelp.d.ts.map +0 -1
- package/dist/shared/keyboard/utils.d.ts +0 -72
- package/dist/shared/keyboard/utils.d.ts.map +0 -1
- package/dist/shared/logger/ConsoleTransport.d.ts +0 -22
- package/dist/shared/logger/ConsoleTransport.d.ts.map +0 -1
- package/dist/shared/logger/LogManager.d.ts +0 -75
- package/dist/shared/logger/LogManager.d.ts.map +0 -1
- package/dist/shared/logger/Logger.d.ts +0 -86
- package/dist/shared/logger/Logger.d.ts.map +0 -1
- package/dist/shared/logger/index.d.ts +0 -42
- package/dist/shared/logger/index.d.ts.map +0 -1
- package/dist/shared/logger/types.d.ts +0 -70
- package/dist/shared/logger/types.d.ts.map +0 -1
- package/dist/shared/logger/useLogger.d.ts +0 -29
- package/dist/shared/logger/useLogger.d.ts.map +0 -1
- package/dist/shared/motion/AnimatedCounter.d.ts +0 -16
- package/dist/shared/motion/AnimatedCounter.d.ts.map +0 -1
- package/dist/shared/motion/MotionCard.d.ts +0 -18
- package/dist/shared/motion/MotionCard.d.ts.map +0 -1
- package/dist/shared/motion/MotionCollapse.d.ts +0 -14
- package/dist/shared/motion/MotionCollapse.d.ts.map +0 -1
- package/dist/shared/motion/MotionFade.d.ts +0 -16
- package/dist/shared/motion/MotionFade.d.ts.map +0 -1
- package/dist/shared/motion/MotionItem.d.ts +0 -25
- package/dist/shared/motion/MotionItem.d.ts.map +0 -1
- package/dist/shared/motion/MotionList.d.ts +0 -28
- package/dist/shared/motion/MotionList.d.ts.map +0 -1
- package/dist/shared/motion/MotionPage.d.ts +0 -18
- package/dist/shared/motion/MotionPage.d.ts.map +0 -1
- package/dist/shared/motion/index.d.ts +0 -9
- package/dist/shared/motion/index.d.ts.map +0 -1
- package/dist/shared/motion/variants.d.ts +0 -70
- package/dist/shared/motion/variants.d.ts.map +0 -1
- package/dist/shared/native/bridge.d.ts +0 -3
- package/dist/shared/native/bridge.d.ts.map +0 -1
- package/dist/shared/native/consumers.d.ts +0 -9
- package/dist/shared/native/consumers.d.ts.map +0 -1
- package/dist/shared/native/hooks/index.d.ts +0 -12
- package/dist/shared/native/hooks/index.d.ts.map +0 -1
- package/dist/shared/native/hooks/useAppState.d.ts +0 -3
- package/dist/shared/native/hooks/useAppState.d.ts.map +0 -1
- package/dist/shared/native/hooks/useDeviceInfo.d.ts +0 -3
- package/dist/shared/native/hooks/useDeviceInfo.d.ts.map +0 -1
- package/dist/shared/native/hooks/useHaptics.d.ts +0 -8
- package/dist/shared/native/hooks/useHaptics.d.ts.map +0 -1
- package/dist/shared/native/hooks/useNativeKeyboard.d.ts +0 -6
- package/dist/shared/native/hooks/useNativeKeyboard.d.ts.map +0 -1
- package/dist/shared/native/hooks/useNativePlatform.d.ts +0 -10
- package/dist/shared/native/hooks/useNativePlatform.d.ts.map +0 -1
- package/dist/shared/native/hooks/useSafeArea.d.ts +0 -3
- package/dist/shared/native/hooks/useSafeArea.d.ts.map +0 -1
- package/dist/shared/native/hooks/useStatusBar.d.ts +0 -6
- package/dist/shared/native/hooks/useStatusBar.d.ts.map +0 -1
- package/dist/shared/native/index.d.ts +0 -6
- package/dist/shared/native/index.d.ts.map +0 -1
- package/dist/shared/native/platform.d.ts +0 -7
- package/dist/shared/native/platform.d.ts.map +0 -1
- package/dist/shared/native/types.d.ts +0 -62
- package/dist/shared/native/types.d.ts.map +0 -1
- package/dist/shared/pages/AiPage.d.ts +0 -14
- package/dist/shared/pages/AiPage.d.ts.map +0 -1
- package/dist/shared/pages/LegalPage.d.ts +0 -19
- package/dist/shared/pages/LegalPage.d.ts.map +0 -1
- package/dist/shared/pages/SearchPage.d.ts +0 -28
- package/dist/shared/pages/SearchPage.d.ts.map +0 -1
- package/dist/shared/pages/index.d.ts +0 -7
- package/dist/shared/pages/index.d.ts.map +0 -1
- package/dist/shared/plugins/PluginRuntimeProvider.d.ts +0 -28
- package/dist/shared/plugins/PluginRuntimeProvider.d.ts.map +0 -1
- package/dist/shared/plugins/context.d.ts +0 -65
- package/dist/shared/plugins/context.d.ts.map +0 -1
- package/dist/shared/plugins/disposable.d.ts +0 -17
- package/dist/shared/plugins/disposable.d.ts.map +0 -1
- package/dist/shared/plugins/event-bus.d.ts +0 -112
- package/dist/shared/plugins/event-bus.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/PluginIframe.d.ts +0 -75
- package/dist/shared/plugins/iframe-mount/PluginIframe.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/PluginMount.d.ts +0 -59
- package/dist/shared/plugins/iframe-mount/PluginMount.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/client/index.d.ts +0 -3
- package/dist/shared/plugins/iframe-mount/client/index.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/client/message-bus.d.ts +0 -71
- package/dist/shared/plugins/iframe-mount/client/message-bus.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/client/rpc.d.ts +0 -25
- package/dist/shared/plugins/iframe-mount/client/rpc.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/index.d.ts +0 -6
- package/dist/shared/plugins/iframe-mount/index.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/protocol/contribution.d.ts +0 -83
- package/dist/shared/plugins/iframe-mount/protocol/contribution.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/protocol/envelope.d.ts +0 -136
- package/dist/shared/plugins/iframe-mount/protocol/envelope.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/protocol/index.d.ts +0 -3
- package/dist/shared/plugins/iframe-mount/protocol/index.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/sandbox.d.ts +0 -3
- package/dist/shared/plugins/iframe-mount/sandbox.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/types.d.ts +0 -64
- package/dist/shared/plugins/iframe-mount/types.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/useFetchContributions.d.ts +0 -31
- package/dist/shared/plugins/iframe-mount/useFetchContributions.d.ts.map +0 -1
- package/dist/shared/plugins/index.d.ts +0 -41
- package/dist/shared/plugins/index.d.ts.map +0 -1
- package/dist/shared/plugins/panels/usePanelManagerStore.d.ts +0 -68
- package/dist/shared/plugins/panels/usePanelManagerStore.d.ts.map +0 -1
- package/dist/shared/plugins/registries/createContributionRegistry.d.ts +0 -16
- package/dist/shared/plugins/registries/createContributionRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/registries/index.d.ts +0 -15
- package/dist/shared/plugins/registries/index.d.ts.map +0 -1
- package/dist/shared/plugins/registries/useCommandRegistry.d.ts +0 -3
- package/dist/shared/plugins/registries/useCommandRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/registries/useContextMenuRegistry.d.ts +0 -3
- package/dist/shared/plugins/registries/useContextMenuRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/registries/usePanelRegistry.d.ts +0 -3
- package/dist/shared/plugins/registries/usePanelRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/registries/useRouteRegistry.d.ts +0 -3
- package/dist/shared/plugins/registries/useRouteRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/registries/useSettingsRegistry.d.ts +0 -3
- package/dist/shared/plugins/registries/useSettingsRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/registries/useStatusBarRegistry.d.ts +0 -3
- package/dist/shared/plugins/registries/useStatusBarRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/registries/useToolbarRegistry.d.ts +0 -3
- package/dist/shared/plugins/registries/useToolbarRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/registries/useWidgetRegistry.d.ts +0 -3
- package/dist/shared/plugins/registries/useWidgetRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/runtime.d.ts +0 -68
- package/dist/shared/plugins/runtime.d.ts.map +0 -1
- package/dist/shared/plugins/types.d.ts +0 -228
- package/dist/shared/plugins/types.d.ts.map +0 -1
- package/dist/shared/providers/AppShellProvider.d.ts +0 -96
- package/dist/shared/providers/AppShellProvider.d.ts.map +0 -1
- package/dist/shared/providers/MicrofrontendProvider.d.ts +0 -41
- package/dist/shared/providers/MicrofrontendProvider.d.ts.map +0 -1
- package/dist/shared/providers/index.d.ts +0 -12
- package/dist/shared/providers/index.d.ts.map +0 -1
- package/dist/shared/providers/shell/ActiveContextProvider.d.ts +0 -88
- package/dist/shared/providers/shell/ActiveContextProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/ActiveContextStorage.d.ts +0 -45
- package/dist/shared/providers/shell/ActiveContextStorage.d.ts.map +0 -1
- package/dist/shared/providers/shell/AppShellContext.d.ts +0 -19
- package/dist/shared/providers/shell/AppShellContext.d.ts.map +0 -1
- package/dist/shared/providers/shell/AuthBridgeClient.d.ts +0 -121
- package/dist/shared/providers/shell/AuthBridgeClient.d.ts.map +0 -1
- package/dist/shared/providers/shell/AuthProvider.d.ts +0 -58
- package/dist/shared/providers/shell/AuthProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/AuthTokenProvider.d.ts +0 -22
- package/dist/shared/providers/shell/AuthTokenProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/ContextManagerProvider.d.ts +0 -56
- package/dist/shared/providers/shell/ContextManagerProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/FeatureFlagsProvider.d.ts +0 -20
- package/dist/shared/providers/shell/FeatureFlagsProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/GatewayRouter.d.ts +0 -31
- package/dist/shared/providers/shell/GatewayRouter.d.ts.map +0 -1
- package/dist/shared/providers/shell/GlobalUiProvider.d.ts +0 -46
- package/dist/shared/providers/shell/GlobalUiProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/I18nProvider.d.ts +0 -65
- package/dist/shared/providers/shell/I18nProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/MultiGatewayProvider.d.ts +0 -25
- package/dist/shared/providers/shell/MultiGatewayProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/ObservabilityProvider.d.ts +0 -15
- package/dist/shared/providers/shell/ObservabilityProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/PageConversationContextProvider.d.ts +0 -22
- package/dist/shared/providers/shell/PageConversationContextProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/PermissionProvider.d.ts +0 -227
- package/dist/shared/providers/shell/PermissionProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/ProfileGeographyBridge.d.ts +0 -8
- package/dist/shared/providers/shell/ProfileGeographyBridge.d.ts.map +0 -1
- package/dist/shared/providers/shell/ProfileI18nBridge.d.ts +0 -15
- package/dist/shared/providers/shell/ProfileI18nBridge.d.ts.map +0 -1
- package/dist/shared/providers/shell/ProfileStorageManager.d.ts +0 -107
- package/dist/shared/providers/shell/ProfileStorageManager.d.ts.map +0 -1
- package/dist/shared/providers/shell/ShellUiProvider.d.ts +0 -47
- package/dist/shared/providers/shell/ShellUiProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/ThemeProvider.d.ts +0 -29
- package/dist/shared/providers/shell/ThemeProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/index.d.ts +0 -45
- package/dist/shared/providers/shell/index.d.ts.map +0 -1
- package/dist/shared/shims/assert.d.ts +0 -19
- package/dist/shared/shims/assert.d.ts.map +0 -1
- package/dist/shared/shims/index.d.ts +0 -25
- package/dist/shared/shims/index.d.ts.map +0 -1
- package/dist/shared/shims/process.d.ts +0 -20
- package/dist/shared/shims/process.d.ts.map +0 -1
- package/dist/shared/shims/use-sync-external-store-shim.d.ts +0 -7
- package/dist/shared/shims/use-sync-external-store-shim.d.ts.map +0 -1
- package/dist/shared/shims/use-sync-external-store-with-selector.d.ts +0 -17
- package/dist/shared/shims/use-sync-external-store-with-selector.d.ts.map +0 -1
- package/dist/shared/shims/util.d.ts +0 -135
- package/dist/shared/shims/util.d.ts.map +0 -1
- package/dist/shared/tours/TourInitializer.d.ts +0 -6
- package/dist/shared/tours/TourInitializer.d.ts.map +0 -1
- package/dist/shared/tours/TourPlayer.d.ts +0 -49
- package/dist/shared/tours/TourPlayer.d.ts.map +0 -1
- package/dist/shared/tours/TourPlayerProvider.d.ts +0 -26
- package/dist/shared/tours/TourPlayerProvider.d.ts.map +0 -1
- package/dist/shared/tours/TourSpotlight.d.ts +0 -8
- package/dist/shared/tours/TourSpotlight.d.ts.map +0 -1
- package/dist/shared/tours/TourTooltip.d.ts +0 -7
- package/dist/shared/tours/TourTooltip.d.ts.map +0 -1
- package/dist/shared/tours/TourTrigger.d.ts +0 -15
- package/dist/shared/tours/TourTrigger.d.ts.map +0 -1
- package/dist/shared/tours/ToursContext.d.ts +0 -42
- package/dist/shared/tours/ToursContext.d.ts.map +0 -1
- package/dist/shared/tours/index.d.ts +0 -53
- package/dist/shared/tours/index.d.ts.map +0 -1
- package/dist/shared/tours/progress.d.ts +0 -7
- package/dist/shared/tours/progress.d.ts.map +0 -1
- package/dist/shared/tours/routeCatalog.d.ts +0 -42
- package/dist/shared/tours/routeCatalog.d.ts.map +0 -1
- package/dist/shared/tours/types.d.ts +0 -215
- package/dist/shared/tours/types.d.ts.map +0 -1
- package/dist/shared/tours/useTourPlayer.d.ts +0 -38
- package/dist/shared/tours/useTourPlayer.d.ts.map +0 -1
- package/dist/shared/types/index.d.ts +0 -185
- package/dist/shared/types/index.d.ts.map +0 -1
- package/dist/shared/utils/apollo.d.ts +0 -26
- package/dist/shared/utils/apollo.d.ts.map +0 -1
- package/dist/shared/utils/appHelpers.d.ts +0 -34
- package/dist/shared/utils/appHelpers.d.ts.map +0 -1
- package/dist/shared/utils/authCookie.d.ts +0 -35
- package/dist/shared/utils/authCookie.d.ts.map +0 -1
- package/dist/shared/utils/authErrorHandling.d.ts +0 -65
- package/dist/shared/utils/authErrorHandling.d.ts.map +0 -1
- package/dist/shared/utils/cn.d.ts +0 -6
- package/dist/shared/utils/cn.d.ts.map +0 -1
- package/dist/shared/utils/format.d.ts +0 -98
- package/dist/shared/utils/format.d.ts.map +0 -1
- package/dist/shared/utils/gatewayFetchRewrite.d.ts +0 -53
- package/dist/shared/utils/gatewayFetchRewrite.d.ts.map +0 -1
- package/dist/shared/utils/index.d.ts +0 -26
- package/dist/shared/utils/index.d.ts.map +0 -1
- package/dist/shared/utils/lazyWithRetry.d.ts +0 -43
- package/dist/shared/utils/lazyWithRetry.d.ts.map +0 -1
- package/dist/shared/utils/loggerInit.d.ts +0 -15
- package/dist/shared/utils/loggerInit.d.ts.map +0 -1
- package/dist/shared/utils/mockData.d.ts +0 -40
- package/dist/shared/utils/mockData.d.ts.map +0 -1
- package/dist/shared/utils/profileScopedStorage.d.ts +0 -42
- package/dist/shared/utils/profileScopedStorage.d.ts.map +0 -1
- package/dist/shared/utils/quotaErrors.d.ts +0 -37
- package/dist/shared/utils/quotaErrors.d.ts.map +0 -1
- package/dist/shared/utils/tokens.d.ts +0 -166
- package/dist/shared/utils/tokens.d.ts.map +0 -1
- package/dist/shared-components.d.ts +0 -2
- package/dist/shared-config.d.ts +0 -2
- package/dist/shared-events.d.ts +0 -2
- package/dist/shared-feature-flags.d.ts +0 -2
- package/dist/shared-geography.d.ts +0 -2
- package/dist/shared-graphql.d.ts +0 -2
- package/dist/shared-hooks-shell.d.ts +0 -2
- package/dist/shared-hooks.d.ts +0 -2
- package/dist/shared-keyboard.d.ts +0 -2
- package/dist/shared-logger.d.ts +0 -2
- package/dist/shared-motion.d.ts +0 -2
- package/dist/shared-native.d.ts +0 -2
- package/dist/shared-pages.d.ts +0 -2
- package/dist/shared-plugins.d.ts +0 -2
- package/dist/shared-providers-shell.d.ts +0 -2
- package/dist/shared-providers.d.ts +0 -2
- package/dist/shared-shims.d.ts +0 -2
- package/dist/shared-tours.d.ts +0 -2
- package/dist/shared-types.d.ts +0 -1
- package/dist/shared-utils.d.ts +0 -2
- package/dist/shared.d.ts +0 -2
- package/dist/storage/SaveToFilesButton.d.ts +0 -55
- package/dist/storage/SaveToFilesButton.d.ts.map +0 -1
- package/dist/storage/SaveToFilesDialog.d.ts +0 -13
- package/dist/storage/SaveToFilesDialog.d.ts.map +0 -1
- package/dist/storage/StorageFolderPicker.d.ts +0 -23
- package/dist/storage/StorageFolderPicker.d.ts.map +0 -1
- package/dist/storage/index.d.ts +0 -10
- package/dist/storage/index.d.ts.map +0 -1
- package/dist/storage/uploadBlob.d.ts +0 -21
- package/dist/storage/uploadBlob.d.ts.map +0 -1
- package/dist/storage/useSaveToFiles.d.ts +0 -17
- package/dist/storage/useSaveToFiles.d.ts.map +0 -1
- package/dist/tag/TagBadge.d.ts +0 -17
- package/dist/tag/TagBadge.d.ts.map +0 -1
- package/dist/tag/TagsWidget.d.ts +0 -103
- package/dist/tag/TagsWidget.d.ts.map +0 -1
- package/dist/tag/index.d.ts +0 -3
- package/dist/tag/index.d.ts.map +0 -1
- package/dist/tag.d.ts +0 -2
- package/dist/ui/accordion.d.ts +0 -8
- package/dist/ui/accordion.d.ts.map +0 -1
- package/dist/ui/alert-dialog.d.ts +0 -15
- package/dist/ui/alert-dialog.d.ts.map +0 -1
- package/dist/ui/badge.d.ts +0 -10
- package/dist/ui/badge.d.ts.map +0 -1
- package/dist/ui/button.d.ts +0 -12
- package/dist/ui/button.d.ts.map +0 -1
- package/dist/ui/card.d.ts +0 -9
- package/dist/ui/card.d.ts.map +0 -1
- package/dist/ui/checkbox.d.ts +0 -5
- package/dist/ui/checkbox.d.ts.map +0 -1
- package/dist/ui/command.d.ts +0 -19
- package/dist/ui/command.d.ts.map +0 -1
- package/dist/ui/dialog.d.ts +0 -16
- package/dist/ui/dialog.d.ts.map +0 -1
- package/dist/ui/dropdown-menu.d.ts +0 -28
- package/dist/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/ui/index.d.ts +0 -25
- package/dist/ui/index.d.ts.map +0 -1
- package/dist/ui/input.d.ts +0 -5
- package/dist/ui/input.d.ts.map +0 -1
- package/dist/ui/label.d.ts +0 -5
- package/dist/ui/label.d.ts.map +0 -1
- package/dist/ui/popover.d.ts +0 -8
- package/dist/ui/popover.d.ts.map +0 -1
- package/dist/ui/scroll-area.d.ts +0 -6
- package/dist/ui/scroll-area.d.ts.map +0 -1
- package/dist/ui/select.d.ts +0 -13
- package/dist/ui/select.d.ts.map +0 -1
- package/dist/ui/separator.d.ts +0 -5
- package/dist/ui/separator.d.ts.map +0 -1
- package/dist/ui/sheet.d.ts +0 -14
- package/dist/ui/sheet.d.ts.map +0 -1
- package/dist/ui/skeleton.d.ts +0 -4
- package/dist/ui/skeleton.d.ts.map +0 -1
- package/dist/ui/sonner.d.ts +0 -4
- package/dist/ui/sonner.d.ts.map +0 -1
- package/dist/ui/spinner.d.ts +0 -6
- package/dist/ui/spinner.d.ts.map +0 -1
- package/dist/ui/switch.d.ts +0 -5
- package/dist/ui/switch.d.ts.map +0 -1
- package/dist/ui/table.d.ts +0 -11
- package/dist/ui/table.d.ts.map +0 -1
- package/dist/ui/tabs.d.ts +0 -8
- package/dist/ui/tabs.d.ts.map +0 -1
- package/dist/ui/textarea.d.ts +0 -5
- package/dist/ui/textarea.d.ts.map +0 -1
- package/dist/ui/tooltip.d.ts +0 -7
- package/dist/ui/tooltip.d.ts.map +0 -1
- package/dist/ui.d.ts +0 -2
- package/dist/utils/cn.d.ts +0 -15
- package/dist/utils/cn.d.ts.map +0 -1
- package/dist/utils/index.d.ts +0 -3
- package/dist/utils/index.d.ts.map +0 -1
package/dist/form/Form.d.ts
DELETED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { UseFormReturn, SubmitHandler, FieldValues, UseFormProps } from 'react-hook-form';
|
|
2
|
-
import { ZodType } from 'zod';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
type FormSchema<TFieldValues extends FieldValues> = ZodType<unknown, TFieldValues>;
|
|
5
|
-
/**
|
|
6
|
-
* Form component props extending React Hook Form's UseFormProps
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```tsx
|
|
10
|
-
* import { z } from 'zod';
|
|
11
|
-
*
|
|
12
|
-
* const schema = z.object({
|
|
13
|
-
* email: z.string().email(),
|
|
14
|
-
* password: z.string().min(8),
|
|
15
|
-
* });
|
|
16
|
-
*
|
|
17
|
-
* function LoginForm() {
|
|
18
|
-
* const handleSubmit = (data: z.infer<typeof schema>) => {
|
|
19
|
-
* console.log(data);
|
|
20
|
-
* };
|
|
21
|
-
*
|
|
22
|
-
* return (
|
|
23
|
-
* <Form schema={schema} onSubmit={handleSubmit}>
|
|
24
|
-
* {(form) => (
|
|
25
|
-
* <>
|
|
26
|
-
* <FormField control={form.control} name="email" />
|
|
27
|
-
* <FormField control={form.control} name="password" />
|
|
28
|
-
* <button type="submit">Submit</button>
|
|
29
|
-
* </>
|
|
30
|
-
* )}
|
|
31
|
-
* </Form>
|
|
32
|
-
* );
|
|
33
|
-
* }
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
export interface FormProps<TFieldValues extends FieldValues> extends Omit<React.FormHTMLAttributes<HTMLFormElement>, 'onSubmit' | 'children'> {
|
|
37
|
-
/** Zod schema for validation */
|
|
38
|
-
schema?: FormSchema<TFieldValues>;
|
|
39
|
-
/** Form submission handler */
|
|
40
|
-
onSubmit: SubmitHandler<TFieldValues>;
|
|
41
|
-
/** React Hook Form configuration */
|
|
42
|
-
formOptions?: Omit<UseFormProps<TFieldValues>, 'resolver'>;
|
|
43
|
-
/** Render prop with form instance */
|
|
44
|
-
children: (form: UseFormReturn<TFieldValues>) => React.ReactNode;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Form wrapper component with React Hook Form integration
|
|
48
|
-
*
|
|
49
|
-
* Provides FormProvider context and handles form submission with validation.
|
|
50
|
-
* Integrates with Zod for schema validation via @hookform/resolvers.
|
|
51
|
-
*
|
|
52
|
-
* @example
|
|
53
|
-
* ```tsx
|
|
54
|
-
* const schema = z.object({
|
|
55
|
-
* name: z.string().min(2),
|
|
56
|
-
* email: z.string().email(),
|
|
57
|
-
* });
|
|
58
|
-
*
|
|
59
|
-
* <Form
|
|
60
|
-
* schema={schema}
|
|
61
|
-
* onSubmit={(data) => console.log(data)}
|
|
62
|
-
* formOptions={{ defaultValues: { name: '', email: '' } }}
|
|
63
|
-
* >
|
|
64
|
-
* {(form) => (
|
|
65
|
-
* <div>
|
|
66
|
-
* <FormField control={form.control} name="name" />
|
|
67
|
-
* <button type="submit" disabled={form.formState.isSubmitting}>
|
|
68
|
-
* Submit
|
|
69
|
-
* </button>
|
|
70
|
-
* </div>
|
|
71
|
-
* )}
|
|
72
|
-
* </Form>
|
|
73
|
-
* ```
|
|
74
|
-
*/
|
|
75
|
-
export declare function Form<TFieldValues extends FieldValues>({ schema, onSubmit, formOptions, children, className, ...props }: FormProps<TFieldValues>): import("react/jsx-runtime").JSX.Element;
|
|
76
|
-
/**
|
|
77
|
-
* Hook to access form context
|
|
78
|
-
*
|
|
79
|
-
* Re-exports useFormContext from react-hook-form for convenience
|
|
80
|
-
*
|
|
81
|
-
* @example
|
|
82
|
-
* ```tsx
|
|
83
|
-
* function CustomFormField() {
|
|
84
|
-
* const form = useFormContext();
|
|
85
|
-
* return <input {...form.register('fieldName')} />;
|
|
86
|
-
* }
|
|
87
|
-
* ```
|
|
88
|
-
*/
|
|
89
|
-
export { useFormContext } from 'react-hook-form';
|
|
90
|
-
export { FormProvider } from 'react-hook-form';
|
|
91
|
-
/**
|
|
92
|
-
* Hook to create a standalone form instance
|
|
93
|
-
*
|
|
94
|
-
* Use this when you want to manage form state without the Form component wrapper.
|
|
95
|
-
*
|
|
96
|
-
* @example
|
|
97
|
-
* ```tsx
|
|
98
|
-
* const schema = z.object({ name: z.string() });
|
|
99
|
-
*
|
|
100
|
-
* function MyForm() {
|
|
101
|
-
* const form = useForm({ schema });
|
|
102
|
-
*
|
|
103
|
-
* return (
|
|
104
|
-
* <FormProvider {...form}>
|
|
105
|
-
* <FormField control={form.control} name="name" />
|
|
106
|
-
* </FormProvider>
|
|
107
|
-
* );
|
|
108
|
-
* }
|
|
109
|
-
* ```
|
|
110
|
-
*/
|
|
111
|
-
export declare function useForm<TFieldValues extends FieldValues>(options: {
|
|
112
|
-
schema?: FormSchema<TFieldValues>;
|
|
113
|
-
} & Omit<UseFormProps<TFieldValues>, 'resolver'>): UseFormReturn<TFieldValues, any, TFieldValues>;
|
|
114
|
-
//# sourceMappingURL=Form.d.ts.map
|
package/dist/form/Form.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../src/form/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,YAAY,EAElB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAEnC,KAAK,UAAU,CAAC,YAAY,SAAS,WAAW,IAAI,OAAO,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;AAQnF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,WAAW,SAAS,CAAC,YAAY,SAAS,WAAW,CAAE,SAAQ,IAAI,CACvE,KAAK,CAAC,kBAAkB,CAAC,eAAe,CAAC,EACzC,UAAU,GAAG,UAAU,CACxB;IACC,gCAAgC;IAChC,MAAM,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;IAClC,8BAA8B;IAC9B,QAAQ,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACtC,oCAAoC;IACpC,WAAW,CAAC,EAAE,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE,UAAU,CAAC,CAAC;IAC3D,qCAAqC;IACrC,QAAQ,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,YAAY,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;CAClE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,IAAI,CAAC,YAAY,SAAS,WAAW,EAAE,EACrD,MAAM,EACN,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,CAAC,YAAY,CAAC,2CAezB;AAED;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,OAAO,CAAC,YAAY,SAAS,WAAW,EACtD,OAAO,EAAE;IACP,MAAM,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;CACnC,GAAG,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE,UAAU,CAAC,kDAOjD"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* FormDescription component props
|
|
4
|
-
*/
|
|
5
|
-
export type FormDescriptionProps = React.HTMLAttributes<HTMLParagraphElement>;
|
|
6
|
-
/**
|
|
7
|
-
* FormDescription component - Displays helper text for form fields
|
|
8
|
-
*
|
|
9
|
-
* Provides additional context or instructions for form inputs.
|
|
10
|
-
* Accessible via aria-describedby on the form control.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* <FormField
|
|
15
|
-
* control={form.control}
|
|
16
|
-
* name="password"
|
|
17
|
-
* render={({ field }) => (
|
|
18
|
-
* <FormItem>
|
|
19
|
-
* <FormLabel>Password</FormLabel>
|
|
20
|
-
* <FormControl>
|
|
21
|
-
* <Input type="password" {...field} />
|
|
22
|
-
* </FormControl>
|
|
23
|
-
* <FormDescription>
|
|
24
|
-
* Must be at least 8 characters with 1 uppercase letter and 1 number
|
|
25
|
-
* </FormDescription>
|
|
26
|
-
* <FormMessage />
|
|
27
|
-
* </FormItem>
|
|
28
|
-
* )}
|
|
29
|
-
* />
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
export declare const FormDescription: React.ForwardRefExoticComponent<FormDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
33
|
-
//# sourceMappingURL=FormDescription.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormDescription.d.ts","sourceRoot":"","sources":["../../src/form/FormDescription.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAE9E;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,eAAe,mGAa3B,CAAC"}
|
package/dist/form/FormField.d.ts
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* Hook to access form field context
|
|
5
|
-
*
|
|
6
|
-
* Provides access to field name for nested components like FormLabel, FormMessage, etc.
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```tsx
|
|
10
|
-
* function CustomInput() {
|
|
11
|
-
* const { name } = useFormField();
|
|
12
|
-
* return <input name={name} />;
|
|
13
|
-
* }
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
export declare function useFormField(): {
|
|
17
|
-
invalid: boolean;
|
|
18
|
-
isDirty: boolean;
|
|
19
|
-
isTouched: boolean;
|
|
20
|
-
isValidating: boolean;
|
|
21
|
-
error?: import('react-hook-form').FieldError;
|
|
22
|
-
id: string;
|
|
23
|
-
name: string;
|
|
24
|
-
formItemId: string;
|
|
25
|
-
formDescriptionId: string;
|
|
26
|
-
formMessageId: string;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* FormField component props
|
|
30
|
-
*/
|
|
31
|
-
export type FormFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = ControllerProps<TFieldValues, TName>;
|
|
32
|
-
/**
|
|
33
|
-
* FormField component - Wrapper for form inputs with React Hook Form integration
|
|
34
|
-
*
|
|
35
|
-
* Uses React Hook Form's Controller component to manage field state.
|
|
36
|
-
* Provides context for child components (FormLabel, FormMessage, etc.).
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* ```tsx
|
|
40
|
-
* <FormField
|
|
41
|
-
* control={form.control}
|
|
42
|
-
* name="email"
|
|
43
|
-
* render={({ field }) => (
|
|
44
|
-
* <FormItem>
|
|
45
|
-
* <FormLabel>Email</FormLabel>
|
|
46
|
-
* <FormControl>
|
|
47
|
-
* <Input type="email" {...field} />
|
|
48
|
-
* </FormControl>
|
|
49
|
-
* <FormDescription>Enter your email address</FormDescription>
|
|
50
|
-
* <FormMessage />
|
|
51
|
-
* </FormItem>
|
|
52
|
-
* )}
|
|
53
|
-
* />
|
|
54
|
-
* ```
|
|
55
|
-
*/
|
|
56
|
-
export declare function FormField<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: FormFieldProps<TFieldValues, TName>): import("react/jsx-runtime").JSX.Element;
|
|
57
|
-
/**
|
|
58
|
-
* FormItem component props
|
|
59
|
-
*/
|
|
60
|
-
export type FormItemProps = React.HTMLAttributes<HTMLDivElement>;
|
|
61
|
-
/**
|
|
62
|
-
* FormItem component - Container for form field components
|
|
63
|
-
*
|
|
64
|
-
* Provides spacing and layout for form fields.
|
|
65
|
-
* Generates unique IDs for accessibility attributes.
|
|
66
|
-
*
|
|
67
|
-
* @example
|
|
68
|
-
* ```tsx
|
|
69
|
-
* <FormItem>
|
|
70
|
-
* <FormLabel>Username</FormLabel>
|
|
71
|
-
* <FormControl>
|
|
72
|
-
* <Input />
|
|
73
|
-
* </FormControl>
|
|
74
|
-
* <FormMessage />
|
|
75
|
-
* </FormItem>
|
|
76
|
-
* ```
|
|
77
|
-
*/
|
|
78
|
-
export declare const FormItem: React.ForwardRefExoticComponent<FormItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
79
|
-
/**
|
|
80
|
-
* FormControl component props
|
|
81
|
-
*/
|
|
82
|
-
export type FormControlProps = React.HTMLAttributes<HTMLDivElement>;
|
|
83
|
-
/**
|
|
84
|
-
* FormControl component - Wrapper for form input elements
|
|
85
|
-
*
|
|
86
|
-
* Connects input elements with form field state and accessibility attributes.
|
|
87
|
-
*
|
|
88
|
-
* @example
|
|
89
|
-
* ```tsx
|
|
90
|
-
* <FormControl>
|
|
91
|
-
* <Input type="email" placeholder="you@example.com" />
|
|
92
|
-
* </FormControl>
|
|
93
|
-
* ```
|
|
94
|
-
*/
|
|
95
|
-
export declare const FormControl: React.ForwardRefExoticComponent<FormControlProps & React.RefAttributes<HTMLDivElement>>;
|
|
96
|
-
//# sourceMappingURL=FormField.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormField.d.ts","sourceRoot":"","sources":["../../src/form/FormField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,WAAW,EAEjB,MAAM,iBAAiB,CAAC;AAezB;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY;;;;;;;;;;;EAqB3B;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,CACxB,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,IAC7D,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,SAAS,CACvB,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,YAAY,EAAE,KAAK,CAAC,2CAMlD;AAWD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAEjE;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,QAAQ,sFAUpB,CAAC;AAGF;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAEpE;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,WAAW,yFAcvB,CAAC"}
|
package/dist/form/FormLabel.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
4
|
-
/**
|
|
5
|
-
* Label variants for different states and styles
|
|
6
|
-
*/
|
|
7
|
-
declare const labelVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
8
|
-
/**
|
|
9
|
-
* FormLabel component props
|
|
10
|
-
*/
|
|
11
|
-
export interface FormLabelProps extends React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>, VariantProps<typeof labelVariants> {
|
|
12
|
-
/** Whether the field is required */
|
|
13
|
-
required?: boolean;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* FormLabel component - Accessible label for form fields
|
|
17
|
-
*
|
|
18
|
-
* Uses Radix UI Label primitive for accessibility.
|
|
19
|
-
* Automatically connects to form field via context.
|
|
20
|
-
* Shows error state and required indicator.
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```tsx
|
|
24
|
-
* <FormField
|
|
25
|
-
* control={form.control}
|
|
26
|
-
* name="email"
|
|
27
|
-
* render={({ field }) => (
|
|
28
|
-
* <FormItem>
|
|
29
|
-
* <FormLabel required>Email Address</FormLabel>
|
|
30
|
-
* <FormControl>
|
|
31
|
-
* <Input type="email" {...field} />
|
|
32
|
-
* </FormControl>
|
|
33
|
-
* <FormMessage />
|
|
34
|
-
* </FormItem>
|
|
35
|
-
* )}
|
|
36
|
-
* />
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
export declare const FormLabel: React.ForwardRefExoticComponent<FormLabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
40
|
-
export {};
|
|
41
|
-
//# sourceMappingURL=FormLabel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormLabel.d.ts","sourceRoot":"","sources":["../../src/form/FormLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE;;GAEG;AACH,QAAA,MAAM,aAAa,oFAElB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,cACf,SACE,KAAK,CAAC,wBAAwB,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,EAC1D,YAAY,CAAC,OAAO,aAAa,CAAC;IACpC,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,SAAS,yFAqBpB,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* FormMessage component props
|
|
4
|
-
*/
|
|
5
|
-
export type FormMessageProps = React.HTMLAttributes<HTMLParagraphElement>;
|
|
6
|
-
/**
|
|
7
|
-
* FormMessage component - Displays error messages for form fields
|
|
8
|
-
*
|
|
9
|
-
* Automatically shows validation errors from React Hook Form.
|
|
10
|
-
* Accessible with proper ARIA attributes for screen readers.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* <FormField
|
|
15
|
-
* control={form.control}
|
|
16
|
-
* name="email"
|
|
17
|
-
* render={({ field }) => (
|
|
18
|
-
* <FormItem>
|
|
19
|
-
* <FormLabel>Email</FormLabel>
|
|
20
|
-
* <FormControl>
|
|
21
|
-
* <Input type="email" {...field} />
|
|
22
|
-
* </FormControl>
|
|
23
|
-
* <FormMessage />
|
|
24
|
-
* </FormItem>
|
|
25
|
-
* )}
|
|
26
|
-
* />
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @example Custom error message
|
|
30
|
-
* ```tsx
|
|
31
|
-
* <FormMessage>Custom validation message</FormMessage>
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
|
-
export declare const FormMessage: React.ForwardRefExoticComponent<FormMessageProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
35
|
-
//# sourceMappingURL=FormMessage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormMessage.d.ts","sourceRoot":"","sources":["../../src/form/FormMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAE1E;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,WAAW,+FAsBvB,CAAC"}
|
package/dist/form/Input.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Input component props
|
|
4
|
-
*/
|
|
5
|
-
export type InputProps = React.InputHTMLAttributes<HTMLInputElement>;
|
|
6
|
-
/**
|
|
7
|
-
* Input component - Styled text input field
|
|
8
|
-
*
|
|
9
|
-
* A flexible input component with consistent styling using semantic tokens.
|
|
10
|
-
* Supports all native HTML input attributes including type, placeholder, disabled, etc.
|
|
11
|
-
*
|
|
12
|
-
* @example Basic usage
|
|
13
|
-
* ```tsx
|
|
14
|
-
* <Input type="text" placeholder="Enter your name" />
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* @example With React Hook Form
|
|
18
|
-
* ```tsx
|
|
19
|
-
* <FormField
|
|
20
|
-
* control={form.control}
|
|
21
|
-
* name="email"
|
|
22
|
-
* render={({ field }) => (
|
|
23
|
-
* <FormItem>
|
|
24
|
-
* <FormLabel>Email</FormLabel>
|
|
25
|
-
* <FormControl>
|
|
26
|
-
* <Input type="email" placeholder="you@example.com" {...field} />
|
|
27
|
-
* </FormControl>
|
|
28
|
-
* <FormMessage />
|
|
29
|
-
* </FormItem>
|
|
30
|
-
* )}
|
|
31
|
-
* />
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @example Different input types
|
|
35
|
-
* ```tsx
|
|
36
|
-
* <Input type="password" placeholder="Enter password" />
|
|
37
|
-
* <Input type="number" min={0} max={100} />
|
|
38
|
-
* <Input type="date" />
|
|
39
|
-
* <Input type="file" accept="image/*" />
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
43
|
-
//# sourceMappingURL=Input.d.ts.map
|
package/dist/form/Input.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/form/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,KAAK,qFAmBjB,CAAC"}
|
package/dist/form/Radio.d.ts
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
3
|
-
/**
|
|
4
|
-
* RadioGroup component - Container for radio button options
|
|
5
|
-
*/
|
|
6
|
-
declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
/**
|
|
8
|
-
* RadioGroupItem component props
|
|
9
|
-
*/
|
|
10
|
-
export type RadioGroupItemProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>;
|
|
11
|
-
/**
|
|
12
|
-
* RadioGroupItem component - Individual radio button
|
|
13
|
-
*
|
|
14
|
-
* A styled radio button component with proper accessibility features.
|
|
15
|
-
* Uses Radix UI RadioGroup primitive for robust functionality.
|
|
16
|
-
*
|
|
17
|
-
* @example Basic usage
|
|
18
|
-
* ```tsx
|
|
19
|
-
* <RadioGroup defaultValue="option1">
|
|
20
|
-
* <div className="flex items-center space-x-2">
|
|
21
|
-
* <RadioGroupItem value="option1" id="option1" />
|
|
22
|
-
* <label htmlFor="option1">Option 1</label>
|
|
23
|
-
* </div>
|
|
24
|
-
* <div className="flex items-center space-x-2">
|
|
25
|
-
* <RadioGroupItem value="option2" id="option2" />
|
|
26
|
-
* <label htmlFor="option2">Option 2</label>
|
|
27
|
-
* </div>
|
|
28
|
-
* </RadioGroup>
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @example With React Hook Form
|
|
32
|
-
* ```tsx
|
|
33
|
-
* <FormField
|
|
34
|
-
* control={form.control}
|
|
35
|
-
* name="type"
|
|
36
|
-
* render={({ field }) => (
|
|
37
|
-
* <FormItem className="space-y-3">
|
|
38
|
-
* <FormLabel>Notification Type</FormLabel>
|
|
39
|
-
* <FormControl>
|
|
40
|
-
* <RadioGroup
|
|
41
|
-
* onValueChange={field.onChange}
|
|
42
|
-
* defaultValue={field.value}
|
|
43
|
-
* className="flex flex-col space-y-1"
|
|
44
|
-
* >
|
|
45
|
-
* <FormItem className="flex items-center space-x-3 space-y-0">
|
|
46
|
-
* <FormControl>
|
|
47
|
-
* <RadioGroupItem value="all" />
|
|
48
|
-
* </FormControl>
|
|
49
|
-
* <FormLabel className="font-normal">
|
|
50
|
-
* All new messages
|
|
51
|
-
* </FormLabel>
|
|
52
|
-
* </FormItem>
|
|
53
|
-
* <FormItem className="flex items-center space-x-3 space-y-0">
|
|
54
|
-
* <FormControl>
|
|
55
|
-
* <RadioGroupItem value="mentions" />
|
|
56
|
-
* </FormControl>
|
|
57
|
-
* <FormLabel className="font-normal">
|
|
58
|
-
* Direct messages and mentions
|
|
59
|
-
* </FormLabel>
|
|
60
|
-
* </FormItem>
|
|
61
|
-
* <FormItem className="flex items-center space-x-3 space-y-0">
|
|
62
|
-
* <FormControl>
|
|
63
|
-
* <RadioGroupItem value="none" />
|
|
64
|
-
* </FormControl>
|
|
65
|
-
* <FormLabel className="font-normal">
|
|
66
|
-
* Nothing
|
|
67
|
-
* </FormLabel>
|
|
68
|
-
* </FormItem>
|
|
69
|
-
* </RadioGroup>
|
|
70
|
-
* </FormControl>
|
|
71
|
-
* <FormMessage />
|
|
72
|
-
* </FormItem>
|
|
73
|
-
* )}
|
|
74
|
-
* />
|
|
75
|
-
* ```
|
|
76
|
-
*
|
|
77
|
-
* @example Controlled radio group
|
|
78
|
-
* ```tsx
|
|
79
|
-
* const [value, setValue] = useState('option1');
|
|
80
|
-
*
|
|
81
|
-
* <RadioGroup value={value} onValueChange={setValue}>
|
|
82
|
-
* <div className="flex items-center space-x-2">
|
|
83
|
-
* <RadioGroupItem value="option1" id="r1" />
|
|
84
|
-
* <label htmlFor="r1">Default</label>
|
|
85
|
-
* </div>
|
|
86
|
-
* <div className="flex items-center space-x-2">
|
|
87
|
-
* <RadioGroupItem value="option2" id="r2" />
|
|
88
|
-
* <label htmlFor="r2">Comfortable</label>
|
|
89
|
-
* </div>
|
|
90
|
-
* <div className="flex items-center space-x-2">
|
|
91
|
-
* <RadioGroupItem value="option3" id="r3" />
|
|
92
|
-
* <label htmlFor="r3">Compact</label>
|
|
93
|
-
* </div>
|
|
94
|
-
* </RadioGroup>
|
|
95
|
-
* ```
|
|
96
|
-
*/
|
|
97
|
-
declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
98
|
-
export { RadioGroup, RadioGroupItem };
|
|
99
|
-
//# sourceMappingURL=Radio.d.ts.map
|
package/dist/form/Radio.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../src/form/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAInE;;GAEG;AACH,QAAA,MAAM,UAAU,+JAKd,CAAC;AAGH;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,CAAC;AAElG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqFG;AACH,QAAA,MAAM,cAAc,yKAoBlB,CAAC;AAGH,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC"}
|
package/dist/form/Select.d.ts
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
3
|
-
/**
|
|
4
|
-
* Select Root component
|
|
5
|
-
*/
|
|
6
|
-
declare const Select: React.FC<SelectPrimitive.SelectProps>;
|
|
7
|
-
/**
|
|
8
|
-
* SelectGroup component
|
|
9
|
-
*/
|
|
10
|
-
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
/**
|
|
12
|
-
* SelectValue component
|
|
13
|
-
*/
|
|
14
|
-
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
15
|
-
/**
|
|
16
|
-
* SelectTrigger component props
|
|
17
|
-
*/
|
|
18
|
-
export type SelectTriggerProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>;
|
|
19
|
-
/**
|
|
20
|
-
* SelectTrigger component - Button that opens the select dropdown
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```tsx
|
|
24
|
-
* <Select>
|
|
25
|
-
* <SelectTrigger>
|
|
26
|
-
* <SelectValue placeholder="Select an option" />
|
|
27
|
-
* </SelectTrigger>
|
|
28
|
-
* </Select>
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
32
|
-
/**
|
|
33
|
-
* SelectScrollUpButton component - Scroll up button for long lists
|
|
34
|
-
*/
|
|
35
|
-
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
36
|
-
/**
|
|
37
|
-
* SelectScrollDownButton component - Scroll down button for long lists
|
|
38
|
-
*/
|
|
39
|
-
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
40
|
-
/**
|
|
41
|
-
* SelectContent component props
|
|
42
|
-
*/
|
|
43
|
-
export interface SelectContentProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content> {
|
|
44
|
-
position?: 'item-aligned' | 'popper';
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* SelectContent component - Dropdown content container
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* ```tsx
|
|
51
|
-
* <Select>
|
|
52
|
-
* <SelectTrigger>
|
|
53
|
-
* <SelectValue placeholder="Choose" />
|
|
54
|
-
* </SelectTrigger>
|
|
55
|
-
* <SelectContent>
|
|
56
|
-
* <SelectItem value="option1">Option 1</SelectItem>
|
|
57
|
-
* <SelectItem value="option2">Option 2</SelectItem>
|
|
58
|
-
* </SelectContent>
|
|
59
|
-
* </Select>
|
|
60
|
-
* ```
|
|
61
|
-
*/
|
|
62
|
-
declare const SelectContent: React.ForwardRefExoticComponent<SelectContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
63
|
-
/**
|
|
64
|
-
* SelectLabel component props
|
|
65
|
-
*/
|
|
66
|
-
export type SelectLabelProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>;
|
|
67
|
-
/**
|
|
68
|
-
* SelectLabel component - Label for select option groups
|
|
69
|
-
*
|
|
70
|
-
* @example
|
|
71
|
-
* ```tsx
|
|
72
|
-
* <SelectContent>
|
|
73
|
-
* <SelectLabel>Fruits</SelectLabel>
|
|
74
|
-
* <SelectItem value="apple">Apple</SelectItem>
|
|
75
|
-
* <SelectItem value="banana">Banana</SelectItem>
|
|
76
|
-
* </SelectContent>
|
|
77
|
-
* ```
|
|
78
|
-
*/
|
|
79
|
-
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
80
|
-
/**
|
|
81
|
-
* SelectItem component props
|
|
82
|
-
*/
|
|
83
|
-
export type SelectItemProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>;
|
|
84
|
-
/**
|
|
85
|
-
* SelectItem component - Individual select option
|
|
86
|
-
*
|
|
87
|
-
* @example
|
|
88
|
-
* ```tsx
|
|
89
|
-
* <SelectContent>
|
|
90
|
-
* <SelectItem value="option1">Option 1</SelectItem>
|
|
91
|
-
* <SelectItem value="option2" disabled>Option 2 (disabled)</SelectItem>
|
|
92
|
-
* </SelectContent>
|
|
93
|
-
* ```
|
|
94
|
-
*/
|
|
95
|
-
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
96
|
-
/**
|
|
97
|
-
* SelectSeparator component - Visual separator between select items
|
|
98
|
-
*/
|
|
99
|
-
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
100
|
-
export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, };
|
|
101
|
-
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/form/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAI1D;;GAEG;AACH,QAAA,MAAM,MAAM,uCAAuB,CAAC;AAEpC;;GAEG;AACH,QAAA,MAAM,WAAW,yGAAwB,CAAC;AAE1C;;GAEG;AACH,QAAA,MAAM,WAAW,0GAAwB,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;AAEhG;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,aAAa,oKAsBjB,CAAC;AAGH;;GAEG;AACH,QAAA,MAAM,oBAAoB,qKAWxB,CAAC;AAGH;;GAEG;AACH,QAAA,MAAM,sBAAsB,uKAW1B,CAAC;AAGH;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,wBAAwB,CACxE,OAAO,eAAe,CAAC,OAAO,CAC/B;IACC,QAAQ,CAAC,EAAE,cAAc,GAAG,QAAQ,CAAC;CACtC;AAED;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,aAAa,2FA8BjB,CAAC;AAGH;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;AAE5F;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,WAAW,4JASf,CAAC;AAGH;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;AAE1F;;;;;;;;;;GAUG;AACH,QAAA,MAAM,UAAU,2JAoBf,CAAC;AAGF;;GAEG;AACH,QAAA,MAAM,eAAe,gKASnB,CAAC;AAGH,OAAO,EACL,MAAM,EACN,WAAW,EACX,WAAW,EACX,aAAa,EACb,aAAa,EACb,WAAW,EACX,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,sBAAsB,GACvB,CAAC"}
|
package/dist/form/Textarea.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Textarea component props
|
|
4
|
-
*/
|
|
5
|
-
export type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
6
|
-
/**
|
|
7
|
-
* Textarea component - Multi-line text input field
|
|
8
|
-
*
|
|
9
|
-
* A flexible textarea component with consistent styling using semantic tokens.
|
|
10
|
-
* Supports all native HTML textarea attributes including rows, cols, placeholder, etc.
|
|
11
|
-
* Automatically handles resize behavior.
|
|
12
|
-
*
|
|
13
|
-
* @example Basic usage
|
|
14
|
-
* ```tsx
|
|
15
|
-
* <Textarea placeholder="Enter your message" rows={4} />
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @example With React Hook Form
|
|
19
|
-
* ```tsx
|
|
20
|
-
* <FormField
|
|
21
|
-
* control={form.control}
|
|
22
|
-
* name="description"
|
|
23
|
-
* render={({ field }) => (
|
|
24
|
-
* <FormItem>
|
|
25
|
-
* <FormLabel>Description</FormLabel>
|
|
26
|
-
* <FormControl>
|
|
27
|
-
* <Textarea
|
|
28
|
-
* placeholder="Tell us about your project"
|
|
29
|
-
* rows={5}
|
|
30
|
-
* {...field}
|
|
31
|
-
* />
|
|
32
|
-
* </FormControl>
|
|
33
|
-
* <FormDescription>Minimum 50 characters</FormDescription>
|
|
34
|
-
* <FormMessage />
|
|
35
|
-
* </FormItem>
|
|
36
|
-
* )}
|
|
37
|
-
* />
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @example With character limit
|
|
41
|
-
* ```tsx
|
|
42
|
-
* <Textarea
|
|
43
|
-
* placeholder="Enter comment (max 500 characters)"
|
|
44
|
-
* maxLength={500}
|
|
45
|
-
* rows={3}
|
|
46
|
-
* />
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
export declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
50
|
-
//# sourceMappingURL=Textarea.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../src/form/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,CAAC;AAE9E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,eAAO,MAAM,QAAQ,2FAkBpB,CAAC"}
|