@platform-blocks/ui 0.1.1
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/LICENSE +21 -0
- package/README.md +44 -0
- package/lib/cjs/index.js +35531 -0
- package/lib/cjs/index.js.map +1 -0
- package/lib/components/Accessibility/AccessibilityDemo.d.ts +5 -0
- package/lib/components/Accessibility/AccessibilityHelpers.d.ts +49 -0
- package/lib/components/Accessibility/AccessibilityTesting.d.ts +24 -0
- package/lib/components/Accessibility/AccessibleComponents.d.ts +20 -0
- package/lib/components/Accessibility/index.d.ts +2 -0
- package/lib/components/Accordion/Accordion.d.ts +9 -0
- package/lib/components/Accordion/AccordionItem.d.ts +23 -0
- package/lib/components/Accordion/defaults.d.ts +13 -0
- package/lib/components/Accordion/hooks/useAccordionItemAnimation.d.ts +17 -0
- package/lib/components/Accordion/hooks/useMeasuredHeight.d.ts +8 -0
- package/lib/components/Accordion/index.d.ts +5 -0
- package/lib/components/Accordion/styles.d.ts +17 -0
- package/lib/components/Accordion/tokens.d.ts +12 -0
- package/lib/components/Accordion/types.d.ts +180 -0
- package/lib/components/Alert/Alert.d.ts +2 -0
- package/lib/components/Alert/index.d.ts +2 -0
- package/lib/components/Alert/types.d.ts +25 -0
- package/lib/components/AppShell/AppShell.d.ts +48 -0
- package/lib/components/AppShell/BottomAppBar.d.ts +3 -0
- package/lib/components/AppShell/MobileMenu.d.ts +10 -0
- package/lib/components/AppShell/StatusBarManager.d.ts +7 -0
- package/lib/components/AppShell/app-layout/AppLayoutProvider.d.ts +8 -0
- package/lib/components/AppShell/app-layout/AppLayoutRenderer.d.ts +5 -0
- package/lib/components/AppShell/app-layout/context.d.ts +4 -0
- package/lib/components/AppShell/app-layout/defineAppLayout.d.ts +2 -0
- package/lib/components/AppShell/app-layout/index.d.ts +5 -0
- package/lib/components/AppShell/app-layout/types.d.ts +120 -0
- package/lib/components/AppShell/context.d.ts +44 -0
- package/lib/components/AppShell/defaults.d.ts +6 -0
- package/lib/components/AppShell/hooks/useBreakpoint.d.ts +9 -0
- package/lib/components/AppShell/hooks/useResponsiveValue.d.ts +2 -0
- package/lib/components/AppShell/index.d.ts +12 -0
- package/lib/components/AppShell/meta.schema.d.ts +14 -0
- package/lib/components/AppShell/types.d.ts +228 -0
- package/lib/components/AppStoreBadge/AppStoreBadge.d.ts +5 -0
- package/lib/components/AppStoreBadge/ConvenienceComponents.d.ts +88 -0
- package/lib/components/AppStoreBadge/examples/usage-examples.d.ts +4 -0
- package/lib/components/AppStoreBadge/index.d.ts +3 -0
- package/lib/components/AppStoreBadge/types.d.ts +36 -0
- package/lib/components/AppStoreButton/AppStoreButton.d.ts +5 -0
- package/lib/components/AppStoreButton/ConvenienceComponents.d.ts +8 -0
- package/lib/components/AppStoreButton/index.d.ts +3 -0
- package/lib/components/AppStoreButton/types.d.ts +36 -0
- package/lib/components/AudioPlayer/AudioPlayer.d.ts +3 -0
- package/lib/components/AudioPlayer/AudioPlayerDemo.d.ts +2 -0
- package/lib/components/AudioPlayer/index.d.ts +2 -0
- package/lib/components/AudioPlayer/types.d.ts +232 -0
- package/lib/components/AutoComplete/AutoComplete.d.ts +6 -0
- package/lib/components/AutoComplete/index.d.ts +2 -0
- package/lib/components/AutoComplete/types.d.ts +120 -0
- package/lib/components/Avatar/Avatar.d.ts +3 -0
- package/lib/components/Avatar/AvatarGroup.d.ts +3 -0
- package/lib/components/Avatar/index.d.ts +3 -0
- package/lib/components/Avatar/types.d.ts +30 -0
- package/lib/components/Badge/Badge.d.ts +4 -0
- package/lib/components/Badge/index.d.ts +3 -0
- package/lib/components/Badge/types.d.ts +26 -0
- package/lib/components/Block/Block.d.ts +36 -0
- package/lib/components/Block/index.d.ts +2 -0
- package/lib/components/Block/types.d.ts +102 -0
- package/lib/components/Block/utils.d.ts +28 -0
- package/lib/components/Blockquote/Blockquote.d.ts +3 -0
- package/lib/components/Blockquote/BlockquoteAttribution.d.ts +3 -0
- package/lib/components/Blockquote/BlockquoteAuthor.d.ts +3 -0
- package/lib/components/Blockquote/BlockquoteMeta.d.ts +3 -0
- package/lib/components/Blockquote/BlockquoteSource.d.ts +3 -0
- package/lib/components/Blockquote/index.d.ts +6 -0
- package/lib/components/Blockquote/styles.d.ts +80 -0
- package/lib/components/Blockquote/types.d.ts +74 -0
- package/lib/components/BrandButton/BrandButton.d.ts +3 -0
- package/lib/components/BrandButton/index.d.ts +2 -0
- package/lib/components/BrandButton/types.d.ts +23 -0
- package/lib/components/BrandIcon/BrandIcon.d.ts +27 -0
- package/lib/components/BrandIcon/brands.d.ts +520 -0
- package/lib/components/BrandIcon/index.d.ts +2 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +6 -0
- package/lib/components/Breadcrumbs/index.d.ts +2 -0
- package/lib/components/Breadcrumbs/types.d.ts +35 -0
- package/lib/components/Button/Button.d.ts +3 -0
- package/lib/components/Button/SoundButton.d.ts +22 -0
- package/lib/components/Button/defaults.d.ts +7 -0
- package/lib/components/Button/index.d.ts +2 -0
- package/lib/components/Button/styles/resolver.d.ts +7 -0
- package/lib/components/Button/tokens.d.ts +16 -0
- package/lib/components/Button/types.d.ts +67 -0
- package/lib/components/Calendar/Calendar.d.ts +3 -0
- package/lib/components/Calendar/Day.d.ts +3 -0
- package/lib/components/Calendar/Month.d.ts +3 -0
- package/lib/components/Calendar/MonthPicker.d.ts +2 -0
- package/lib/components/Calendar/YearPicker.d.ts +2 -0
- package/lib/components/Calendar/index.d.ts +8 -0
- package/lib/components/Calendar/types.d.ts +92 -0
- package/lib/components/Calendar/utils.d.ts +31 -0
- package/lib/components/Can/Can.d.ts +30 -0
- package/lib/components/Can/PermissionDemo.d.ts +2 -0
- package/lib/components/Can/ability.d.ts +89 -0
- package/lib/components/Can/builder.d.ts +113 -0
- package/lib/components/Can/context.d.ts +25 -0
- package/lib/components/Can/index.d.ts +6 -0
- package/lib/components/Can/types.d.ts +228 -0
- package/lib/components/Card/Card.d.ts +3 -0
- package/lib/components/Card/index.d.ts +2 -0
- package/lib/components/Card/types.d.ts +15 -0
- package/lib/components/Carousel/Carousel.d.ts +4 -0
- package/lib/components/Carousel/index.d.ts +2 -0
- package/lib/components/Carousel/styles.d.ts +21 -0
- package/lib/components/Carousel/types.d.ts +51 -0
- package/lib/components/Checkbox/Checkbox.d.ts +4 -0
- package/lib/components/Checkbox/index.d.ts +2 -0
- package/lib/components/Checkbox/styles.d.ts +71 -0
- package/lib/components/Checkbox/types.d.ts +52 -0
- package/lib/components/Chip/Chip.d.ts +4 -0
- package/lib/components/Chip/index.d.ts +3 -0
- package/lib/components/Chip/types.d.ts +22 -0
- package/lib/components/CodeBlock/CodeBlock.d.ts +16 -0
- package/lib/components/CodeBlock/index.d.ts +3 -0
- package/lib/components/CodeBlock/type.d.ts +40 -0
- package/lib/components/CodeBlock/types.d.ts +44 -0
- package/lib/components/CodeBlock/utils.d.ts +38 -0
- package/lib/components/ColorPicker/ColorPicker.d.ts +8 -0
- package/lib/components/ColorPicker/index.d.ts +2 -0
- package/lib/components/ColorPicker/styles.d.ts +35 -0
- package/lib/components/ColorPicker/types.d.ts +69 -0
- package/lib/components/ColorPicker/utils.d.ts +8 -0
- package/lib/components/ColorSwatch/ColorSwatch.d.ts +6 -0
- package/lib/components/ColorSwatch/index.d.ts +2 -0
- package/lib/components/ColorSwatch/types.d.ts +29 -0
- package/lib/components/Container/Container.d.ts +3 -0
- package/lib/components/Container/index.d.ts +2 -0
- package/lib/components/Container/types.d.ts +31 -0
- package/lib/components/ContextMenu/ContextMenu.d.ts +5 -0
- package/lib/components/ContextMenu/index.d.ts +2 -0
- package/lib/components/ContextMenu/types.d.ts +36 -0
- package/lib/components/CopyButton/CopyButton.d.ts +10 -0
- package/lib/components/CopyButton/index.d.ts +2 -0
- package/lib/components/CopyButton/types.d.ts +37 -0
- package/lib/components/DataTable/AdvancedFilterControl.d.ts +10 -0
- package/lib/components/DataTable/ColumnSettings.d.ts +16 -0
- package/lib/components/DataTable/DataTable.d.ts +5 -0
- package/lib/components/DataTable/hooks/useColumnSettings.d.ts +12 -0
- package/lib/components/DataTable/hooks/useDataTableState.d.ts +41 -0
- package/lib/components/DataTable/hooks/useRowSelection.d.ts +40 -0
- package/lib/components/DataTable/index.d.ts +1 -0
- package/lib/components/DataTable/types.d.ts +223 -0
- package/lib/components/DatePicker/DatePicker.d.ts +4 -0
- package/lib/components/DatePicker/index.d.ts +8 -0
- package/lib/components/DatePicker/types.d.ts +47 -0
- package/lib/components/DatePicker/utils.d.ts +30 -0
- package/lib/components/DatePickerInput/DatePickerInput.d.ts +4 -0
- package/lib/components/DatePickerInput/index.d.ts +2 -0
- package/lib/components/DatePickerInput/types.d.ts +41 -0
- package/lib/components/Dialog/Dialog.d.ts +3 -0
- package/lib/components/Dialog/DialogContext.d.ts +11 -0
- package/lib/components/Dialog/DialogRenderer.d.ts +2 -0
- package/lib/components/Dialog/hooks/useSimpleDialog.d.ts +25 -0
- package/lib/components/Dialog/index.d.ts +6 -0
- package/lib/components/Dialog/types.d.ts +35 -0
- package/lib/components/Disclaimer/Disclaimer.d.ts +11 -0
- package/lib/components/Disclaimer/disclaimerUtils.d.ts +21 -0
- package/lib/components/Disclaimer/index.d.ts +6 -0
- package/lib/components/Disclaimer/withDisclaimer.d.ts +13 -0
- package/lib/components/Divider/Divider.d.ts +2 -0
- package/lib/components/Divider/index.d.ts +2 -0
- package/lib/components/Divider/types.d.ts +22 -0
- package/lib/components/EmojiPicker/EmojiPicker.d.ts +6 -0
- package/lib/components/EmojiPicker/index.d.ts +2 -0
- package/lib/components/EmojiPicker/types.d.ts +29 -0
- package/lib/components/FileInput/FileInput.d.ts +3 -0
- package/lib/components/FileInput/index.d.ts +2 -0
- package/lib/components/FileInput/types.d.ts +82 -0
- package/lib/components/Flex/Flex.d.ts +38 -0
- package/lib/components/Flex/helpers.d.ts +13 -0
- package/lib/components/Flex/index.d.ts +2 -0
- package/lib/components/FloatingActions/FloatingActions.d.ts +29 -0
- package/lib/components/FloatingActions/index.d.ts +2 -0
- package/lib/components/Form/FormBase.d.ts +3 -0
- package/lib/components/Form/FormContext.d.ts +16 -0
- package/lib/components/Form/FormError.d.ts +3 -0
- package/lib/components/Form/FormField.d.ts +3 -0
- package/lib/components/Form/FormInput.d.ts +3 -0
- package/lib/components/Form/FormLabel.d.ts +3 -0
- package/lib/components/Form/FormSubmit.d.ts +3 -0
- package/lib/components/Form/OptimizedForm.d.ts +22 -0
- package/lib/components/Form/index.d.ts +9 -0
- package/lib/components/Form/types.d.ts +104 -0
- package/lib/components/FormLayout/FormField.d.ts +3 -0
- package/lib/components/FormLayout/FormGroup.d.ts +3 -0
- package/lib/components/FormLayout/FormLayout.d.ts +3 -0
- package/lib/components/FormLayout/FormSection.d.ts +3 -0
- package/lib/components/FormLayout/index.d.ts +5 -0
- package/lib/components/FormLayout/types.d.ts +31 -0
- package/lib/components/Forms/ContactForm.d.ts +3 -0
- package/lib/components/Forms/ForgotPasswordForm.d.ts +3 -0
- package/lib/components/Forms/LoginForm.d.ts +3 -0
- package/lib/components/Forms/SignupForm.d.ts +3 -0
- package/lib/components/Forms/index.d.ts +5 -0
- package/lib/components/Forms/types.d.ts +89 -0
- package/lib/components/Gallery/Gallery.d.ts +3 -0
- package/lib/components/Gallery/GalleryControls.d.ts +3 -0
- package/lib/components/Gallery/GalleryMetadata.d.ts +3 -0
- package/lib/components/Gallery/GalleryNew.d.ts +3 -0
- package/lib/components/Gallery/GalleryThumbnails.d.ts +3 -0
- package/lib/components/Gallery/index.d.ts +5 -0
- package/lib/components/Gallery/types.d.ts +68 -0
- package/lib/components/Gauge/Gauge.d.ts +41 -0
- package/lib/components/Gauge/index.d.ts +9 -0
- package/lib/components/Gauge/styles.d.ts +57 -0
- package/lib/components/Gauge/types.d.ts +210 -0
- package/lib/components/Gauge/utils.d.ts +72 -0
- package/lib/components/GradientText/GradientText.d.ts +46 -0
- package/lib/components/GradientText/index.d.ts +2 -0
- package/lib/components/GradientText/types.d.ts +39 -0
- package/lib/components/Grid/Grid.d.ts +11 -0
- package/lib/components/Grid/index.d.ts +2 -0
- package/lib/components/Grid/types.d.ts +32 -0
- package/lib/components/HoverCard/HoverCard.d.ts +2 -0
- package/lib/components/HoverCard/index.d.ts +2 -0
- package/lib/components/HoverCard/types.d.ts +53 -0
- package/lib/components/Icon/Icon.d.ts +6 -0
- package/lib/components/Icon/icons/actions.d.ts +2 -0
- package/lib/components/Icon/icons/data.d.ts +2 -0
- package/lib/components/Icon/icons/multimedia.d.ts +2 -0
- package/lib/components/Icon/icons/navigation.d.ts +2 -0
- package/lib/components/Icon/icons/platforms.d.ts +2 -0
- package/lib/components/Icon/icons/status.d.ts +2 -0
- package/lib/components/Icon/icons/ui.d.ts +2 -0
- package/lib/components/Icon/index.d.ts +2 -0
- package/lib/components/Icon/registry.d.ts +6 -0
- package/lib/components/Icon/types.d.ts +40 -0
- package/lib/components/IconButton/IconButton.d.ts +3 -0
- package/lib/components/IconButton/index.d.ts +2 -0
- package/lib/components/IconButton/types.d.ts +45 -0
- package/lib/components/Image/Image.d.ts +3 -0
- package/lib/components/Image/index.d.ts +2 -0
- package/lib/components/Image/types.d.ts +57 -0
- package/lib/components/Indicator/Indicator.d.ts +7 -0
- package/lib/components/Indicator/index.d.ts +2 -0
- package/lib/components/Indicator/types.d.ts +13 -0
- package/lib/components/Input/Input.d.ts +6 -0
- package/lib/components/Input/InputBase.d.ts +17 -0
- package/lib/components/Input/OptimizedInput.d.ts +19 -0
- package/lib/components/Input/PasswordInput.d.ts +3 -0
- package/lib/components/Input/index.d.ts +5 -0
- package/lib/components/Input/styles.d.ts +85 -0
- package/lib/components/Input/types.d.ts +120 -0
- package/lib/components/Input/validation/index.d.ts +14 -0
- package/lib/components/Input/validation/optimized.d.ts +33 -0
- package/lib/components/KeyCap/KeyCap.d.ts +6 -0
- package/lib/components/KeyCap/index.d.ts +3 -0
- package/lib/components/KeyCap/styles.d.ts +11 -0
- package/lib/components/KeyCap/types.d.ts +54 -0
- package/lib/components/Layout/Layout.d.ts +18 -0
- package/lib/components/Layout/index.d.ts +1 -0
- package/lib/components/Link/Link.d.ts +31 -0
- package/lib/components/Link/index.d.ts +2 -0
- package/lib/components/ListGroup/ListGroup.d.ts +19 -0
- package/lib/components/ListGroup/index.d.ts +2 -0
- package/lib/components/ListGroup/types.d.ts +26 -0
- package/lib/components/Loader/Loader.d.ts +8 -0
- package/lib/components/Loader/index.d.ts +2 -0
- package/lib/components/Loader/types.d.ts +18 -0
- package/lib/components/LoadingOverlay/LoadingOverlay.d.ts +3 -0
- package/lib/components/LoadingOverlay/index.d.ts +2 -0
- package/lib/components/LoadingOverlay/types.d.ts +16 -0
- package/lib/components/Lottie/Lottie.d.ts +30 -0
- package/lib/components/Lottie/index.d.ts +2 -0
- package/lib/components/Markdown/Markdown.d.ts +66 -0
- package/lib/components/Markdown/index.d.ts +1 -0
- package/lib/components/Masonry/Masonry.d.ts +7 -0
- package/lib/components/Masonry/index.d.ts +2 -0
- package/lib/components/Masonry/types.d.ts +39 -0
- package/lib/components/Menu/Menu.d.ts +29 -0
- package/lib/components/Menu/index.d.ts +2 -0
- package/lib/components/Menu/styles.d.ts +13 -0
- package/lib/components/Menu/types.d.ts +71 -0
- package/lib/components/MenuItemButton/MenuItemButton.d.ts +39 -0
- package/lib/components/MenuItemButton/index.d.ts +2 -0
- package/lib/components/MiniCalendar/MiniCalendar.d.ts +3 -0
- package/lib/components/MiniCalendar/index.d.ts +1 -0
- package/lib/components/MonthPicker/MonthPicker.d.ts +3 -0
- package/lib/components/MonthPicker/index.d.ts +2 -0
- package/lib/components/MonthPicker/types.d.ts +26 -0
- package/lib/components/MonthPickerInput/MonthPickerInput.d.ts +4 -0
- package/lib/components/MonthPickerInput/index.d.ts +2 -0
- package/lib/components/MonthPickerInput/types.d.ts +30 -0
- package/lib/components/Navigation/DrawerNavigator.d.ts +7 -0
- package/lib/components/Navigation/NavigationContainer.d.ts +11 -0
- package/lib/components/Navigation/NavigationContext.d.ts +11 -0
- package/lib/components/Navigation/Screen.d.ts +6 -0
- package/lib/components/Navigation/StackNavigator.d.ts +7 -0
- package/lib/components/Navigation/index.d.ts +6 -0
- package/lib/components/Navigation/types.d.ts +70 -0
- package/lib/components/NavigationProgress/NavigationProgress.d.ts +4 -0
- package/lib/components/NavigationProgress/defaults.d.ts +8 -0
- package/lib/components/NavigationProgress/hooks/useNavigationProgressState.d.ts +1 -0
- package/lib/components/NavigationProgress/index.d.ts +2 -0
- package/lib/components/NavigationProgress/styles/resolver.d.ts +1 -0
- package/lib/components/NavigationProgress/tokens.d.ts +4 -0
- package/lib/components/NavigationProgress/types.d.ts +30 -0
- package/lib/components/NumberInput/NumberInput.d.ts +5 -0
- package/lib/components/NumberInput/index.d.ts +2 -0
- package/lib/components/NumberInput/types.d.ts +76 -0
- package/lib/components/Overlay/Overlay.d.ts +4 -0
- package/lib/components/Overlay/index.d.ts +2 -0
- package/lib/components/Overlay/types.d.ts +27 -0
- package/lib/components/Pagination/Pagination.d.ts +6 -0
- package/lib/components/Pagination/index.d.ts +2 -0
- package/lib/components/Pagination/types.d.ts +58 -0
- package/lib/components/PhoneInput/PhoneInput.d.ts +3 -0
- package/lib/components/PhoneInput/index.d.ts +2 -0
- package/lib/components/PhoneInput/types.d.ts +27 -0
- package/lib/components/PinInput/PinInput.d.ts +6 -0
- package/lib/components/PinInput/index.d.ts +2 -0
- package/lib/components/PinInput/types.d.ts +41 -0
- package/lib/components/PressAnimation/PressAnimation.d.ts +29 -0
- package/lib/components/PressAnimation/index.d.ts +2 -0
- package/lib/components/Progress/Progress.d.ts +11 -0
- package/lib/components/Progress/index.d.ts +2 -0
- package/lib/components/Progress/types.d.ts +48 -0
- package/lib/components/QRCode/QRCode.d.ts +11 -0
- package/lib/components/QRCode/QRCodeSVG.d.ts +6 -0
- package/lib/components/QRCode/core/buildMatrix.d.ts +11 -0
- package/lib/components/QRCode/core/encoder.d.ts +12 -0
- package/lib/components/QRCode/core/mask.d.ts +2 -0
- package/lib/components/QRCode/core/mode.d.ts +6 -0
- package/lib/components/QRCode/core/reedSolomon.d.ts +1 -0
- package/lib/components/QRCode/core/tables.d.ts +24 -0
- package/lib/components/QRCode/index.d.ts +3 -0
- package/lib/components/QRCode/optimizations.d.ts +20 -0
- package/lib/components/QRCode/types.d.ts +76 -0
- package/lib/components/Radio/Radio.d.ts +10 -0
- package/lib/components/Radio/index.d.ts +2 -0
- package/lib/components/Radio/styles.d.ts +81 -0
- package/lib/components/Radio/types.d.ts +79 -0
- package/lib/components/Rating/Rating.d.ts +2 -0
- package/lib/components/Rating/index.d.ts +2 -0
- package/lib/components/Rating/types.d.ts +35 -0
- package/lib/components/Reveal/Reveal.d.ts +4 -0
- package/lib/components/Reveal/index.d.ts +2 -0
- package/lib/components/Reveal/types.d.ts +53 -0
- package/lib/components/RichTextEditor/RichTextEditor.d.ts +3 -0
- package/lib/components/RichTextEditor/index.d.ts +2 -0
- package/lib/components/RichTextEditor/styles.d.ts +61 -0
- package/lib/components/RichTextEditor/types.d.ts +150 -0
- package/lib/components/Search/Search.d.ts +6 -0
- package/lib/components/Search/index.d.ts +2 -0
- package/lib/components/Search/test-component.d.ts +3 -0
- package/lib/components/Search/types.d.ts +27 -0
- package/lib/components/SegmentedControl/SegmentedControl.d.ts +6 -0
- package/lib/components/SegmentedControl/index.d.ts +2 -0
- package/lib/components/SegmentedControl/types.d.ts +62 -0
- package/lib/components/Select/Select.d.ts +6 -0
- package/lib/components/Select/Select.types.d.ts +31 -0
- package/lib/components/Select/index.d.ts +2 -0
- package/lib/components/Select/types.d.ts +25 -0
- package/lib/components/ShimmerText/ShimmerText.d.ts +33 -0
- package/lib/components/ShimmerText/index.d.ts +2 -0
- package/lib/components/ShimmerText/types.d.ts +33 -0
- package/lib/components/Skeleton/Skeleton.d.ts +2 -0
- package/lib/components/Skeleton/index.d.ts +2 -0
- package/lib/components/Skeleton/types.d.ts +30 -0
- package/lib/components/Slider/Slider.d.ts +10 -0
- package/lib/components/Slider/SliderCore.d.ts +57 -0
- package/lib/components/Slider/index.d.ts +2 -0
- package/lib/components/Slider/types.d.ts +133 -0
- package/lib/components/Space/Space.d.ts +4 -0
- package/lib/components/Space/index.d.ts +2 -0
- package/lib/components/Space/types.d.ts +17 -0
- package/lib/components/Spoiler/Spoiler.d.ts +5 -0
- package/lib/components/Spoiler/index.d.ts +2 -0
- package/lib/components/Spoiler/types.d.ts +40 -0
- package/lib/components/Spotlight/DirectSpotlightState.d.ts +41 -0
- package/lib/components/Spotlight/Spotlight.d.ts +19 -0
- package/lib/components/Spotlight/SpotlightController.d.ts +13 -0
- package/lib/components/Spotlight/SpotlightStore.d.ts +32 -0
- package/lib/components/Spotlight/SpotlightTypes.d.ts +29 -0
- package/lib/components/Spotlight/index.d.ts +6 -0
- package/lib/components/Spotlight/types.d.ts +66 -0
- package/lib/components/Stepper/Stepper.d.ts +12 -0
- package/lib/components/Stepper/index.d.ts +2 -0
- package/lib/components/Stepper/types.d.ts +68 -0
- package/lib/components/Switch/Switch.d.ts +6 -0
- package/lib/components/Switch/index.d.ts +2 -0
- package/lib/components/Switch/styles.d.ts +85 -0
- package/lib/components/Switch/types.d.ts +54 -0
- package/lib/components/Table/Table.d.ts +115 -0
- package/lib/components/Table/index.d.ts +1 -0
- package/lib/components/TableOfContents/TableOfContents.d.ts +3 -0
- package/lib/components/TableOfContents/index.d.ts +2 -0
- package/lib/components/TableOfContents/types.d.ts +77 -0
- package/lib/components/Tabs/Tabs.d.ts +3 -0
- package/lib/components/Tabs/index.d.ts +2 -0
- package/lib/components/Tabs/types.d.ts +182 -0
- package/lib/components/Text/Text.d.ts +51 -0
- package/lib/components/Text/aliases.d.ts +22 -0
- package/lib/components/Text/index.d.ts +2 -0
- package/lib/components/TextArea/TextArea.d.ts +6 -0
- package/lib/components/TextArea/index.d.ts +2 -0
- package/lib/components/TextArea/meta/index.d.ts +97 -0
- package/lib/components/TextArea/styles.d.ts +95 -0
- package/lib/components/TextArea/types.d.ts +33 -0
- package/lib/components/TimePicker/TimePicker.d.ts +3 -0
- package/lib/components/TimePicker/index.d.ts +2 -0
- package/lib/components/TimePicker/types.d.ts +32 -0
- package/lib/components/TimePickerInput/index.d.ts +2 -0
- package/lib/components/Timeline/Timeline.d.ts +13 -0
- package/lib/components/Timeline/index.d.ts +2 -0
- package/lib/components/Timeline/types.d.ts +53 -0
- package/lib/components/Title/Title.d.ts +10 -0
- package/lib/components/Title/index.d.ts +2 -0
- package/lib/components/Title/types.d.ts +55 -0
- package/lib/components/Toast/Toast.d.ts +8 -0
- package/lib/components/Toast/ToastProvider.d.ts +88 -0
- package/lib/components/Toast/index.d.ts +3 -0
- package/lib/components/Toast/types.d.ts +78 -0
- package/lib/components/Toggle/Toggle.d.ts +10 -0
- package/lib/components/Toggle/ToggleBar.d.ts +42 -0
- package/lib/components/Toggle/index.d.ts +4 -0
- package/lib/components/Toggle/types.d.ts +68 -0
- package/lib/components/Tooltip/Tooltip.d.ts +2 -0
- package/lib/components/Tooltip/index.d.ts +2 -0
- package/lib/components/Tooltip/types.d.ts +44 -0
- package/lib/components/Tree/Tree.d.ts +5 -0
- package/lib/components/Tree/index.d.ts +2 -0
- package/lib/components/Tree/types.d.ts +65 -0
- package/lib/components/Video/NativeVideoPlayer.d.ts +33 -0
- package/lib/components/Video/Video.d.ts +3 -0
- package/lib/components/Video/VideoControls.d.ts +17 -0
- package/lib/components/Video/VideoTimeline.d.ts +12 -0
- package/lib/components/Video/YouTubePlayer.d.ts +44 -0
- package/lib/components/Video/index.d.ts +2 -0
- package/lib/components/Video/types.d.ts +145 -0
- package/lib/components/Waveform/Waveform.d.ts +3 -0
- package/lib/components/Waveform/WaveformSkeleton.d.ts +9 -0
- package/lib/components/Waveform/index.d.ts +4 -0
- package/lib/components/Waveform/styles.d.ts +53 -0
- package/lib/components/Waveform/types.d.ts +124 -0
- package/lib/components/Waveform/utils.d.ts +95 -0
- package/lib/components/YearPicker/YearPicker.d.ts +3 -0
- package/lib/components/YearPicker/index.d.ts +2 -0
- package/lib/components/YearPicker/types.d.ts +24 -0
- package/lib/components/YearPickerInput/YearPickerInput.d.ts +4 -0
- package/lib/components/YearPickerInput/index.d.ts +2 -0
- package/lib/components/YearPickerInput/types.d.ts +26 -0
- package/lib/components/_internal/FieldHeader.d.ts +21 -0
- package/lib/components/index.d.ts +164 -0
- package/lib/components/optimized.d.ts +74 -0
- package/lib/components/types.d.ts +57 -0
- package/lib/contexts/TitleRegistryContext.d.ts +20 -0
- package/lib/contexts/index.d.ts +1 -0
- package/lib/core/accessibility/advancedHooks.d.ts +82 -0
- package/lib/core/accessibility/constants.d.ts +85 -0
- package/lib/core/accessibility/context.d.ts +5 -0
- package/lib/core/accessibility/hooks.d.ts +33 -0
- package/lib/core/accessibility/index.d.ts +6 -0
- package/lib/core/accessibility/types.d.ts +35 -0
- package/lib/core/accessibility/utils.d.ts +56 -0
- package/lib/core/animations/index.d.ts +2 -0
- package/lib/core/animations/transitions.d.ts +31 -0
- package/lib/core/components/ClearButton.d.ts +15 -0
- package/lib/core/components/InputContainer.d.ts +19 -0
- package/lib/core/design-tokens.d.ts +292 -0
- package/lib/core/factory/factory.d.ts +33 -0
- package/lib/core/factory/index.d.ts +4 -0
- package/lib/core/factory/polymorphicFactory.d.ts +38 -0
- package/lib/core/haptics/HapticsProvider.d.ts +14 -0
- package/lib/core/hooks/useDropdownPositioning.d.ts +61 -0
- package/lib/core/hooks/usePopoverPositioning.d.ts +33 -0
- package/lib/core/i18n/I18nContext.d.ts +8 -0
- package/lib/core/i18n/index.d.ts +2 -0
- package/lib/core/i18n/types.d.ts +22 -0
- package/lib/core/index.d.ts +15 -0
- package/lib/core/interactive-states.d.ts +41 -0
- package/lib/core/motion/ReducedMotionProvider.d.ts +10 -0
- package/lib/core/motion/motionTokens.d.ts +12 -0
- package/lib/core/providers/DirectionProvider.d.ts +88 -0
- package/lib/core/providers/OverlayProvider.d.ts +40 -0
- package/lib/core/providers/OverlayRenderer.d.ts +7 -0
- package/lib/core/providers/index.d.ts +5 -0
- package/lib/core/responsive/index.d.ts +22 -0
- package/lib/core/sound/context.d.ts +21 -0
- package/lib/core/sound/hooks.d.ts +214 -0
- package/lib/core/sound/index.d.ts +5 -0
- package/lib/core/sound/mockContext.d.ts +21 -0
- package/lib/core/sound/sounds.d.ts +17 -0
- package/lib/core/sound/types.d.ts +79 -0
- package/lib/core/style-factory.d.ts +23 -0
- package/lib/core/theme/CSSVariables.d.ts +9 -0
- package/lib/core/theme/PlatformBlocksProvider.d.ts +52 -0
- package/lib/core/theme/ThemeModeProvider.d.ts +42 -0
- package/lib/core/theme/ThemeProvider.d.ts +19 -0
- package/lib/core/theme/breakpoints.d.ts +34 -0
- package/lib/core/theme/darkTheme.d.ts +2 -0
- package/lib/core/theme/defaultTheme.d.ts +2 -0
- package/lib/core/theme/index.d.ts +12 -0
- package/lib/core/theme/radius.d.ts +132 -0
- package/lib/core/theme/shadow.d.ts +119 -0
- package/lib/core/theme/sizes.d.ts +185 -0
- package/lib/core/theme/types.d.ts +190 -0
- package/lib/core/theme/unified-sizing.d.ts +65 -0
- package/lib/core/theme/useColorScheme.d.ts +6 -0
- package/lib/core/theme/utils.d.ts +9 -0
- package/lib/core/unified-styles.d.ts +12 -0
- package/lib/core/utils/UniversalCSS.d.ts +14 -0
- package/lib/core/utils/debounce.d.ts +16 -0
- package/lib/core/utils/hash.d.ts +4 -0
- package/lib/core/utils/index.d.ts +38 -0
- package/lib/core/utils/layout.d.ts +44 -0
- package/lib/core/utils/performance.d.ts +30 -0
- package/lib/core/utils/positioning-enhanced.d.ts +88 -0
- package/lib/core/utils/rtl.d.ts +174 -0
- package/lib/core/utils/shadow.d.ts +13 -0
- package/lib/core/utils/spacing.d.ts +56 -0
- package/lib/core/utils/universal.d.ts +47 -0
- package/lib/core/utils/universalSimple.d.ts +37 -0
- package/lib/core/utils/withUniversalProps.d.ts +26 -0
- package/lib/esm/index.js +35209 -0
- package/lib/esm/index.js.map +1 -0
- package/lib/hooks/index.d.ts +6 -0
- package/lib/hooks/useClipboard.d.ts +20 -0
- package/lib/hooks/useHaptics.d.ts +22 -0
- package/lib/hooks/useHotkeys.d.ts +42 -0
- package/lib/hooks/useMaskedInput.d.ts +35 -0
- package/lib/hooks/useScrollSpy.d.ts +38 -0
- package/lib/hooks/useTitleRegistration.d.ts +14 -0
- package/lib/index.d.ts +220 -0
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/mask.d.ts +138 -0
- package/package.json +148 -0
|
@@ -0,0 +1,520 @@
|
|
|
1
|
+
export declare const brandIcons: {
|
|
2
|
+
google: {
|
|
3
|
+
content: {
|
|
4
|
+
d: string;
|
|
5
|
+
fill: string;
|
|
6
|
+
}[];
|
|
7
|
+
viewBox: string;
|
|
8
|
+
variant: "filled";
|
|
9
|
+
};
|
|
10
|
+
'galaxy-store': {
|
|
11
|
+
defs: {
|
|
12
|
+
linearGradients: {
|
|
13
|
+
id: string;
|
|
14
|
+
x1: string;
|
|
15
|
+
y1: string;
|
|
16
|
+
x2: string;
|
|
17
|
+
y2: string;
|
|
18
|
+
stops: {
|
|
19
|
+
offset: string;
|
|
20
|
+
stopColor: string;
|
|
21
|
+
}[];
|
|
22
|
+
}[];
|
|
23
|
+
};
|
|
24
|
+
content: ({
|
|
25
|
+
d: string;
|
|
26
|
+
fill: string;
|
|
27
|
+
opacity?: undefined;
|
|
28
|
+
} | {
|
|
29
|
+
d: string;
|
|
30
|
+
fill: string;
|
|
31
|
+
opacity: number;
|
|
32
|
+
})[];
|
|
33
|
+
viewBox: string;
|
|
34
|
+
variant: "filled";
|
|
35
|
+
};
|
|
36
|
+
facebook: {
|
|
37
|
+
content: {
|
|
38
|
+
d: string;
|
|
39
|
+
fill: string;
|
|
40
|
+
}[];
|
|
41
|
+
viewBox: string;
|
|
42
|
+
full: {
|
|
43
|
+
d: string;
|
|
44
|
+
fill: string;
|
|
45
|
+
}[];
|
|
46
|
+
mono: {
|
|
47
|
+
d: string;
|
|
48
|
+
fillRule: string;
|
|
49
|
+
clipRule: string;
|
|
50
|
+
allowOverride: boolean;
|
|
51
|
+
}[];
|
|
52
|
+
};
|
|
53
|
+
discord: {
|
|
54
|
+
content: {
|
|
55
|
+
d: string;
|
|
56
|
+
fill: string;
|
|
57
|
+
}[];
|
|
58
|
+
viewBox: string;
|
|
59
|
+
variant: "filled";
|
|
60
|
+
};
|
|
61
|
+
android: {
|
|
62
|
+
content: {
|
|
63
|
+
d: string;
|
|
64
|
+
fill: string;
|
|
65
|
+
}[];
|
|
66
|
+
viewBox: string;
|
|
67
|
+
variant: "filled";
|
|
68
|
+
};
|
|
69
|
+
apple: {
|
|
70
|
+
content: {
|
|
71
|
+
d: string;
|
|
72
|
+
fill: string;
|
|
73
|
+
}[];
|
|
74
|
+
viewBox: string;
|
|
75
|
+
variant: "filled";
|
|
76
|
+
supportsDarkMode: boolean;
|
|
77
|
+
};
|
|
78
|
+
applePodcasts: {
|
|
79
|
+
defs: {
|
|
80
|
+
linearGradients: {
|
|
81
|
+
id: string;
|
|
82
|
+
x1: string;
|
|
83
|
+
y1: string;
|
|
84
|
+
x2: string;
|
|
85
|
+
y2: string;
|
|
86
|
+
stops: {
|
|
87
|
+
offset: string;
|
|
88
|
+
stopColor: string;
|
|
89
|
+
}[];
|
|
90
|
+
}[];
|
|
91
|
+
};
|
|
92
|
+
content: ({
|
|
93
|
+
d: string;
|
|
94
|
+
fill: string;
|
|
95
|
+
opacity?: undefined;
|
|
96
|
+
} | {
|
|
97
|
+
d: string;
|
|
98
|
+
fill: string;
|
|
99
|
+
opacity: number;
|
|
100
|
+
})[];
|
|
101
|
+
viewBox: string;
|
|
102
|
+
variant: "filled";
|
|
103
|
+
};
|
|
104
|
+
'app-store': {
|
|
105
|
+
content: {
|
|
106
|
+
d: string;
|
|
107
|
+
fill: string;
|
|
108
|
+
}[];
|
|
109
|
+
viewBox: string;
|
|
110
|
+
full: {
|
|
111
|
+
d: string;
|
|
112
|
+
fill: string;
|
|
113
|
+
}[];
|
|
114
|
+
mono: {
|
|
115
|
+
d: string;
|
|
116
|
+
fill: string;
|
|
117
|
+
fillRule: string;
|
|
118
|
+
}[];
|
|
119
|
+
};
|
|
120
|
+
appgallery: {
|
|
121
|
+
defs: {
|
|
122
|
+
linearGradients: {
|
|
123
|
+
id: string;
|
|
124
|
+
x1: string;
|
|
125
|
+
y1: string;
|
|
126
|
+
x2: string;
|
|
127
|
+
y2: string;
|
|
128
|
+
gradientUnits: string;
|
|
129
|
+
stops: {
|
|
130
|
+
offset: string;
|
|
131
|
+
stopColor: string;
|
|
132
|
+
}[];
|
|
133
|
+
}[];
|
|
134
|
+
};
|
|
135
|
+
content: {
|
|
136
|
+
d: string;
|
|
137
|
+
fill: string;
|
|
138
|
+
}[];
|
|
139
|
+
viewBox: string;
|
|
140
|
+
variant: "filled";
|
|
141
|
+
};
|
|
142
|
+
openai: {
|
|
143
|
+
content: {
|
|
144
|
+
d: string;
|
|
145
|
+
fill: string;
|
|
146
|
+
fillRule: string;
|
|
147
|
+
}[];
|
|
148
|
+
viewBox: string;
|
|
149
|
+
variant: "filled";
|
|
150
|
+
supportsDarkMode: boolean;
|
|
151
|
+
};
|
|
152
|
+
chrome: {
|
|
153
|
+
content: {
|
|
154
|
+
d: string;
|
|
155
|
+
fill: string;
|
|
156
|
+
}[];
|
|
157
|
+
mono: {
|
|
158
|
+
d: string;
|
|
159
|
+
fill: string;
|
|
160
|
+
fillRule: string;
|
|
161
|
+
allowOverride: boolean;
|
|
162
|
+
}[];
|
|
163
|
+
viewBox: string;
|
|
164
|
+
variant: "filled";
|
|
165
|
+
};
|
|
166
|
+
chromeWebStore: {
|
|
167
|
+
content: ({
|
|
168
|
+
d: string;
|
|
169
|
+
fill: string;
|
|
170
|
+
fillRule?: undefined;
|
|
171
|
+
} | {
|
|
172
|
+
d: string;
|
|
173
|
+
fill: string;
|
|
174
|
+
fillRule: string;
|
|
175
|
+
})[];
|
|
176
|
+
viewBox: string;
|
|
177
|
+
variant: "filled";
|
|
178
|
+
};
|
|
179
|
+
spotify: {
|
|
180
|
+
content: {
|
|
181
|
+
d: string;
|
|
182
|
+
fill: string;
|
|
183
|
+
}[];
|
|
184
|
+
viewBox: string;
|
|
185
|
+
variant: "filled";
|
|
186
|
+
};
|
|
187
|
+
github: {
|
|
188
|
+
content: {
|
|
189
|
+
d: string;
|
|
190
|
+
fill: string;
|
|
191
|
+
}[];
|
|
192
|
+
viewBox: string;
|
|
193
|
+
variant: "filled";
|
|
194
|
+
supportsDarkMode: boolean;
|
|
195
|
+
};
|
|
196
|
+
x: {
|
|
197
|
+
content: {
|
|
198
|
+
d: string;
|
|
199
|
+
fill: string;
|
|
200
|
+
}[];
|
|
201
|
+
viewBox: string;
|
|
202
|
+
variant: "filled";
|
|
203
|
+
supportsDarkMode: boolean;
|
|
204
|
+
};
|
|
205
|
+
microsoft: {
|
|
206
|
+
content: {
|
|
207
|
+
d: string;
|
|
208
|
+
fill: string;
|
|
209
|
+
}[];
|
|
210
|
+
viewBox: string;
|
|
211
|
+
variant: "filled";
|
|
212
|
+
};
|
|
213
|
+
linkedin: {
|
|
214
|
+
content: {
|
|
215
|
+
d: string;
|
|
216
|
+
fill: string;
|
|
217
|
+
}[];
|
|
218
|
+
viewBox: string;
|
|
219
|
+
full: {
|
|
220
|
+
d: string;
|
|
221
|
+
fill: string;
|
|
222
|
+
}[];
|
|
223
|
+
mono: {
|
|
224
|
+
d: string;
|
|
225
|
+
fill: string;
|
|
226
|
+
fillRule: string;
|
|
227
|
+
}[];
|
|
228
|
+
};
|
|
229
|
+
slack: {
|
|
230
|
+
content: {
|
|
231
|
+
d: string;
|
|
232
|
+
fill: string;
|
|
233
|
+
}[];
|
|
234
|
+
viewBox: string;
|
|
235
|
+
variant: "filled";
|
|
236
|
+
};
|
|
237
|
+
youtube: {
|
|
238
|
+
content: {
|
|
239
|
+
d: string;
|
|
240
|
+
fill: string;
|
|
241
|
+
}[];
|
|
242
|
+
viewBox: string;
|
|
243
|
+
full: {
|
|
244
|
+
d: string;
|
|
245
|
+
fill: string;
|
|
246
|
+
}[];
|
|
247
|
+
mono: {
|
|
248
|
+
d: string;
|
|
249
|
+
fillRule: string;
|
|
250
|
+
clipRule: string;
|
|
251
|
+
allowOverride: boolean;
|
|
252
|
+
}[];
|
|
253
|
+
};
|
|
254
|
+
youtubeMusic: {
|
|
255
|
+
content: {
|
|
256
|
+
d: string;
|
|
257
|
+
fill: string;
|
|
258
|
+
}[];
|
|
259
|
+
viewBox: string;
|
|
260
|
+
full: {
|
|
261
|
+
d: string;
|
|
262
|
+
fill: string;
|
|
263
|
+
}[];
|
|
264
|
+
mono: {
|
|
265
|
+
d: string;
|
|
266
|
+
fill: string;
|
|
267
|
+
fillRule: string;
|
|
268
|
+
}[];
|
|
269
|
+
};
|
|
270
|
+
mastercard: {
|
|
271
|
+
content: {
|
|
272
|
+
d: string;
|
|
273
|
+
fill: string;
|
|
274
|
+
fillRule: string;
|
|
275
|
+
}[];
|
|
276
|
+
viewBox: string;
|
|
277
|
+
variant: "filled";
|
|
278
|
+
};
|
|
279
|
+
visa: {
|
|
280
|
+
content: {
|
|
281
|
+
d: string;
|
|
282
|
+
fill: string;
|
|
283
|
+
fillRule: string;
|
|
284
|
+
}[];
|
|
285
|
+
viewBox: string;
|
|
286
|
+
variant: "filled";
|
|
287
|
+
};
|
|
288
|
+
reddit: {
|
|
289
|
+
content: {
|
|
290
|
+
d: string;
|
|
291
|
+
fill: string;
|
|
292
|
+
fillRule: string;
|
|
293
|
+
}[];
|
|
294
|
+
viewBox: string;
|
|
295
|
+
variant: "filled";
|
|
296
|
+
};
|
|
297
|
+
amazon: {
|
|
298
|
+
content: ({
|
|
299
|
+
d: string;
|
|
300
|
+
fill: string;
|
|
301
|
+
fillRule: string;
|
|
302
|
+
allowOverride: boolean;
|
|
303
|
+
} | {
|
|
304
|
+
d: string;
|
|
305
|
+
fill: string;
|
|
306
|
+
fillRule: string;
|
|
307
|
+
allowOverride?: undefined;
|
|
308
|
+
})[];
|
|
309
|
+
viewBox: string;
|
|
310
|
+
variant: "filled";
|
|
311
|
+
supportsDarkMode: boolean;
|
|
312
|
+
};
|
|
313
|
+
amazonAppstore: {
|
|
314
|
+
defs: {
|
|
315
|
+
linearGradients: {
|
|
316
|
+
id: string;
|
|
317
|
+
x1: string;
|
|
318
|
+
y1: string;
|
|
319
|
+
x2: string;
|
|
320
|
+
y2: string;
|
|
321
|
+
stops: {
|
|
322
|
+
offset: string;
|
|
323
|
+
stopColor: string;
|
|
324
|
+
}[];
|
|
325
|
+
}[];
|
|
326
|
+
};
|
|
327
|
+
content: {
|
|
328
|
+
d: string;
|
|
329
|
+
fill: string;
|
|
330
|
+
}[];
|
|
331
|
+
viewBox: string;
|
|
332
|
+
variant: "filled";
|
|
333
|
+
};
|
|
334
|
+
amazonMusic: {
|
|
335
|
+
defs: {
|
|
336
|
+
linearGradients: {
|
|
337
|
+
id: string;
|
|
338
|
+
x1: string;
|
|
339
|
+
y1: string;
|
|
340
|
+
x2: string;
|
|
341
|
+
y2: string;
|
|
342
|
+
stops: {
|
|
343
|
+
offset: string;
|
|
344
|
+
stopColor: string;
|
|
345
|
+
}[];
|
|
346
|
+
}[];
|
|
347
|
+
};
|
|
348
|
+
content: ({
|
|
349
|
+
d: string;
|
|
350
|
+
fill: string;
|
|
351
|
+
opacity?: undefined;
|
|
352
|
+
} | {
|
|
353
|
+
d: string;
|
|
354
|
+
fill: string;
|
|
355
|
+
opacity: number;
|
|
356
|
+
})[];
|
|
357
|
+
viewBox: string;
|
|
358
|
+
variant: "filled";
|
|
359
|
+
};
|
|
360
|
+
twitch: {
|
|
361
|
+
content: {
|
|
362
|
+
d: string;
|
|
363
|
+
fill: string;
|
|
364
|
+
}[];
|
|
365
|
+
viewBox: string;
|
|
366
|
+
full: {
|
|
367
|
+
d: string;
|
|
368
|
+
fill: string;
|
|
369
|
+
}[];
|
|
370
|
+
mono: {
|
|
371
|
+
d: string;
|
|
372
|
+
fill: string;
|
|
373
|
+
fillRule: string;
|
|
374
|
+
}[];
|
|
375
|
+
};
|
|
376
|
+
tiktok: {
|
|
377
|
+
content: {
|
|
378
|
+
d: string;
|
|
379
|
+
fill: string;
|
|
380
|
+
allowOverride: boolean;
|
|
381
|
+
}[];
|
|
382
|
+
viewBox: string;
|
|
383
|
+
variant: "filled";
|
|
384
|
+
supportsDarkMode: boolean;
|
|
385
|
+
};
|
|
386
|
+
npm: {
|
|
387
|
+
content: {
|
|
388
|
+
d: string;
|
|
389
|
+
fill: string;
|
|
390
|
+
}[];
|
|
391
|
+
viewBox: string;
|
|
392
|
+
full: {
|
|
393
|
+
d: string;
|
|
394
|
+
fill: string;
|
|
395
|
+
}[];
|
|
396
|
+
mono: {
|
|
397
|
+
d: string;
|
|
398
|
+
fill: string;
|
|
399
|
+
fillRule: string;
|
|
400
|
+
allowOverride: boolean;
|
|
401
|
+
}[];
|
|
402
|
+
variant: "filled";
|
|
403
|
+
};
|
|
404
|
+
paypal: {
|
|
405
|
+
content: {
|
|
406
|
+
d: string;
|
|
407
|
+
fill: string;
|
|
408
|
+
fillRule: string;
|
|
409
|
+
}[];
|
|
410
|
+
viewBox: string;
|
|
411
|
+
variant: "filled";
|
|
412
|
+
};
|
|
413
|
+
appleMusic: {
|
|
414
|
+
content: {
|
|
415
|
+
d: string;
|
|
416
|
+
fill: string;
|
|
417
|
+
fillRule: string;
|
|
418
|
+
}[];
|
|
419
|
+
viewBox: string;
|
|
420
|
+
variant: "filled";
|
|
421
|
+
};
|
|
422
|
+
soundcloud: {
|
|
423
|
+
content: {
|
|
424
|
+
d: string;
|
|
425
|
+
fill: string;
|
|
426
|
+
allowOverride: boolean;
|
|
427
|
+
}[];
|
|
428
|
+
viewBox: string;
|
|
429
|
+
variant: "filled";
|
|
430
|
+
};
|
|
431
|
+
whatsapp: {
|
|
432
|
+
content: ({
|
|
433
|
+
d: string;
|
|
434
|
+
fill: string;
|
|
435
|
+
allowOverride?: undefined;
|
|
436
|
+
} | {
|
|
437
|
+
d: string;
|
|
438
|
+
fill: string;
|
|
439
|
+
allowOverride: boolean;
|
|
440
|
+
})[];
|
|
441
|
+
viewBox: string;
|
|
442
|
+
full: ({
|
|
443
|
+
d: string;
|
|
444
|
+
fill: string;
|
|
445
|
+
allowOverride?: undefined;
|
|
446
|
+
} | {
|
|
447
|
+
d: string;
|
|
448
|
+
fill: string;
|
|
449
|
+
allowOverride: boolean;
|
|
450
|
+
})[];
|
|
451
|
+
mono: {
|
|
452
|
+
d: string;
|
|
453
|
+
fill: string;
|
|
454
|
+
fillRule: string;
|
|
455
|
+
}[];
|
|
456
|
+
};
|
|
457
|
+
telegram: {
|
|
458
|
+
content: {
|
|
459
|
+
d: string;
|
|
460
|
+
fill: string;
|
|
461
|
+
fillRule: string;
|
|
462
|
+
}[];
|
|
463
|
+
viewBox: string;
|
|
464
|
+
variant: "filled";
|
|
465
|
+
};
|
|
466
|
+
signal: {
|
|
467
|
+
content: {
|
|
468
|
+
d: string;
|
|
469
|
+
fill: string;
|
|
470
|
+
fillRule: string;
|
|
471
|
+
}[];
|
|
472
|
+
viewBox: string;
|
|
473
|
+
variant: "filled";
|
|
474
|
+
};
|
|
475
|
+
meta: {
|
|
476
|
+
content: {
|
|
477
|
+
d: string;
|
|
478
|
+
fill: string;
|
|
479
|
+
}[];
|
|
480
|
+
viewBox: string;
|
|
481
|
+
variant: "filled";
|
|
482
|
+
};
|
|
483
|
+
discover: {
|
|
484
|
+
content: {
|
|
485
|
+
d: string;
|
|
486
|
+
fill: string;
|
|
487
|
+
fillRule: string;
|
|
488
|
+
}[];
|
|
489
|
+
viewBox: string;
|
|
490
|
+
variant: "filled";
|
|
491
|
+
};
|
|
492
|
+
amex: {
|
|
493
|
+
content: {
|
|
494
|
+
d: string;
|
|
495
|
+
fill: string;
|
|
496
|
+
fillRule: string;
|
|
497
|
+
}[];
|
|
498
|
+
viewBox: string;
|
|
499
|
+
variant: "filled";
|
|
500
|
+
};
|
|
501
|
+
messenger: {
|
|
502
|
+
content: {
|
|
503
|
+
d: string;
|
|
504
|
+
fill: string;
|
|
505
|
+
allowOverride: boolean;
|
|
506
|
+
}[];
|
|
507
|
+
viewBox: string;
|
|
508
|
+
variant: "filled";
|
|
509
|
+
};
|
|
510
|
+
zoom: {
|
|
511
|
+
content: {
|
|
512
|
+
d: string;
|
|
513
|
+
fill: string;
|
|
514
|
+
allowOverride: boolean;
|
|
515
|
+
}[];
|
|
516
|
+
viewBox: string;
|
|
517
|
+
variant: "filled";
|
|
518
|
+
};
|
|
519
|
+
};
|
|
520
|
+
export type BrandName = keyof typeof brandIcons;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ViewStyle, TextStyle } from 'react-native';
|
|
3
|
+
import { SpacingProps } from '../../core/theme/types';
|
|
4
|
+
export interface BreadcrumbItem {
|
|
5
|
+
/** The label text for the breadcrumb */
|
|
6
|
+
label: string;
|
|
7
|
+
/** The href/path for navigation */
|
|
8
|
+
href?: string;
|
|
9
|
+
/** Custom icon to display before the label */
|
|
10
|
+
icon?: ReactNode;
|
|
11
|
+
/** Press handler for the breadcrumb item */
|
|
12
|
+
onPress?: () => void;
|
|
13
|
+
/** Whether this breadcrumb is disabled */
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface BreadcrumbsProps extends SpacingProps {
|
|
17
|
+
/** Array of breadcrumb items */
|
|
18
|
+
items: BreadcrumbItem[];
|
|
19
|
+
/** Custom separator between breadcrumbs (string, icon, or any React component) */
|
|
20
|
+
separator?: ReactNode;
|
|
21
|
+
/** Maximum number of items to show (will collapse middle items) */
|
|
22
|
+
maxItems?: number;
|
|
23
|
+
/** Size of the breadcrumbs */
|
|
24
|
+
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
25
|
+
/** Whether to show icons */
|
|
26
|
+
showIcons?: boolean;
|
|
27
|
+
/** Custom styles */
|
|
28
|
+
style?: ViewStyle;
|
|
29
|
+
/** Custom text styles */
|
|
30
|
+
textStyle?: TextStyle;
|
|
31
|
+
/** Custom separator styles */
|
|
32
|
+
separatorStyle?: ViewStyle;
|
|
33
|
+
/** Accessibility label */
|
|
34
|
+
accessibilityLabel?: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ButtonProps } from '../Button/types';
|
|
3
|
+
import type { SoundOptions, HapticFeedbackOptions } from '../../core/sound/types';
|
|
4
|
+
interface SoundButtonProps extends ButtonProps {
|
|
5
|
+
/** Whether to play sound feedback on press */
|
|
6
|
+
enableSoundFeedback?: boolean;
|
|
7
|
+
/** Whether to play haptic feedback on press */
|
|
8
|
+
enableHapticFeedback?: boolean;
|
|
9
|
+
/** Custom sound options for button press */
|
|
10
|
+
soundOptions?: SoundOptions;
|
|
11
|
+
/** Custom haptic options for button press */
|
|
12
|
+
hapticOptions?: HapticFeedbackOptions;
|
|
13
|
+
/** Whether to play hover sound (web only) */
|
|
14
|
+
enableHoverSound?: boolean;
|
|
15
|
+
/** Custom sound options for hover */
|
|
16
|
+
hoverSoundOptions?: SoundOptions;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Enhanced Button component with integrated sound and haptic feedback
|
|
20
|
+
*/
|
|
21
|
+
export declare const SoundButton: React.FC<SoundButtonProps>;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SpacingProps, LayoutProps } from '../../core/utils';
|
|
3
|
+
import { BorderRadiusProps } from '../../core/theme/radius';
|
|
4
|
+
import { ShadowProps } from '../../core/theme/shadow';
|
|
5
|
+
import { SizeValue } from '../../core/theme/sizes';
|
|
6
|
+
import { TooltipProps } from '../Tooltip';
|
|
7
|
+
export interface ButtonProps extends SpacingProps, LayoutProps, BorderRadiusProps, ShadowProps {
|
|
8
|
+
key?: React.Key;
|
|
9
|
+
/** Button text content - can be provided via title prop or children */
|
|
10
|
+
title?: string;
|
|
11
|
+
/** Button text content - alternative to title prop */
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
/** Called when the button is pressed */
|
|
14
|
+
onPress?: () => void;
|
|
15
|
+
/** Called when the button press starts (for immediate feedback) */
|
|
16
|
+
onPressIn?: () => void;
|
|
17
|
+
/** Called when the button press ends */
|
|
18
|
+
onPressOut?: () => void;
|
|
19
|
+
/** Called when the button is hovered (web/desktop only) */
|
|
20
|
+
onHoverIn?: () => void;
|
|
21
|
+
/** Called when the button is no longer hovered (web/desktop only) */
|
|
22
|
+
onHoverOut?: () => void;
|
|
23
|
+
/** Called when the button is long-pressed */
|
|
24
|
+
onLongPress?: () => void;
|
|
25
|
+
/** Called when the button layout is calculated */
|
|
26
|
+
onLayout?: (event: any) => void;
|
|
27
|
+
/** Button visual variant */
|
|
28
|
+
variant?: 'filled' | 'secondary' | 'outline' | 'ghost' | 'gradient' | 'link' | 'none';
|
|
29
|
+
/** Button size */
|
|
30
|
+
size?: SizeValue;
|
|
31
|
+
/** Whether the button is disabled */
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
/** Whether button is in loading state (shows loader) */
|
|
34
|
+
loading?: boolean;
|
|
35
|
+
/** Text to show when loading (if not provided, shows empty text but maintains original width) */
|
|
36
|
+
loadingTitle?: string;
|
|
37
|
+
/** Whether button should fill the full width of its parent container */
|
|
38
|
+
fullWidth?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Custom color override for the button. Accepts raw CSS color OR theme token syntax:
|
|
41
|
+
* - 'primary' (palette key -> uses middle shade 5)
|
|
42
|
+
* - 'primary.6' (palette key + shade index)
|
|
43
|
+
* - '#ff0000' / 'rgb(...)' direct colors
|
|
44
|
+
* Named colorVariant to align with Text component API.
|
|
45
|
+
*/
|
|
46
|
+
colorVariant?: string;
|
|
47
|
+
/** Explicit text color override (else derived automatically from variant & color) */
|
|
48
|
+
textColor?: string;
|
|
49
|
+
/** Icon to show in the center (for icon-only buttons) */
|
|
50
|
+
icon?: React.ReactNode;
|
|
51
|
+
/** Icon to show on the left side of the button */
|
|
52
|
+
startIcon?: React.ReactNode;
|
|
53
|
+
/** Icon to show on the right side of the button */
|
|
54
|
+
endIcon?: React.ReactNode;
|
|
55
|
+
/** Tooltip text to show on hover/focus - when provided, wraps button in Tooltip component */
|
|
56
|
+
tooltip?: string;
|
|
57
|
+
/** Tooltip position when tooltip prop is used */
|
|
58
|
+
tooltipPosition?: TooltipProps['position'];
|
|
59
|
+
/** Style overrides for the button container */
|
|
60
|
+
style?: any;
|
|
61
|
+
/** Test ID for testing library queries */
|
|
62
|
+
testID?: string;
|
|
63
|
+
/** Accessibility label for screen readers */
|
|
64
|
+
accessibilityLabel?: string;
|
|
65
|
+
/** Accessibility hint for screen readers */
|
|
66
|
+
accessibilityHint?: string;
|
|
67
|
+
}
|