@dmitriikapustin/ui 0.3.7 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +576 -242
- package/dist/index.d.cts +25 -1
- package/dist/index.d.ts +25 -1
- package/dist/index.js +579 -246
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -739,6 +739,30 @@ interface ComparisonTableProps {
|
|
|
739
739
|
}
|
|
740
740
|
declare function ComparisonTable({ columns, rows, className }: ComparisonTableProps): react_jsx_runtime.JSX.Element;
|
|
741
741
|
|
|
742
|
+
interface BottomSheetProps {
|
|
743
|
+
/** Контролируемое состояние. Если undefined — uncontrolled (через `defaultOpen` + internal state). */
|
|
744
|
+
open?: boolean;
|
|
745
|
+
/** Callback при смене состояния. Вызывается и в controlled, и в uncontrolled режиме. */
|
|
746
|
+
onOpenChange?: (open: boolean) => void;
|
|
747
|
+
/** Начальное состояние в uncontrolled-режиме. Default `false`. */
|
|
748
|
+
defaultOpen?: boolean;
|
|
749
|
+
/** Порог свайпа вниз для закрытия (px). Default 80. */
|
|
750
|
+
swipeCloseThreshold?: number;
|
|
751
|
+
children: ReactNode;
|
|
752
|
+
className?: string;
|
|
753
|
+
}
|
|
754
|
+
interface BottomSheetPartProps {
|
|
755
|
+
children?: ReactNode;
|
|
756
|
+
className?: string;
|
|
757
|
+
}
|
|
758
|
+
declare function BottomSheet({ open: controlledOpen, onOpenChange, defaultOpen, swipeCloseThreshold, children, className, }: BottomSheetProps): react_jsx_runtime.JSX.Element;
|
|
759
|
+
declare namespace BottomSheet {
|
|
760
|
+
var Bar: ({ children, className }: BottomSheetPartProps) => react_jsx_runtime.JSX.Element;
|
|
761
|
+
var Panel: ({ children, className }: BottomSheetPartProps) => react_jsx_runtime.JSX.Element;
|
|
762
|
+
var Handle: ({ className }: BottomSheetPartProps) => react_jsx_runtime.JSX.Element;
|
|
763
|
+
var Trigger: ({ children, className }: BottomSheetPartProps) => react_jsx_runtime.JSX.Element;
|
|
764
|
+
}
|
|
765
|
+
|
|
742
766
|
interface PromoBentoItemProps {
|
|
743
767
|
pill?: {
|
|
744
768
|
icon?: ReactNode;
|
|
@@ -1103,4 +1127,4 @@ interface LandingLayoutProps {
|
|
|
1103
1127
|
}
|
|
1104
1128
|
declare function LandingLayout({ mode, nav, footer, children, className, }: LandingLayoutProps): react_jsx_runtime.JSX.Element;
|
|
1105
1129
|
|
|
1106
|
-
export { Alert, AppCard, AppTopLine, ArticleBarChart, type ArticleBarChartProps, ArticleBody, type ArticleBodyProps, ArticleChatBlock, type ArticleChatBlockProps, ArticleFigure, type ArticleFigureProps, ArticleFooter, type ArticleFooterProps, ArticleHeading, type ArticleHeadingProps, ArticleHero, type ArticleHeroProps, ArticleLayout, type ArticleLayoutProps, ArticleLineChart, type ArticleLineChartProps, ArticleLinkButton, type ArticleLinkButtonProps, ArticleList, type ArticleListProps, ArticleNarrow, ArticleNote, type ArticleNoteProps, ArticleScatterChart, type ArticleScatterChartProps, ArticleTable, type ArticleTableColumn, type ArticleTableProps, type ArticleTableRow, ArticleWide, Avatar, Badge, BentoGrid, Breadcrumbs, Button, CTASection, Card, type ChartSeries, ChatInput, ChatMessage, Checkbox, CodeInput, ComparisonTable, Divider, DropdownMenu, EmptyState, FAQSection, FeatureGrid, Footer, FormField, Gallery, Header, HeroSection, IconBadge, IconButton, IconWithText, IconlyActivity, IconlyAttach, IconlyBook, IconlyCheck, IconlyChevronDown, IconlyChevronLeft, IconlyChevronRight, IconlyClock, IconlyClose, IconlyError, IconlyEye, IconlyEyeOff, IconlyHeart, IconlyInfo, IconlyInfoCircle, IconlyLink, IconlyLock, IconlyMail, IconlyMenu, IconlyMoon, IconlyQuote, IconlyRoadmap, IconlySandbox, IconlySearch, IconlySend, IconlyShield, IconlySmile, IconlyStar, IconlySuccess, IconlySun, IconlyWarning, Input, LandingLayout, Logo, LogoCloud, MenuItem, Modal, Pagination, PasswordInput, PricingCard, type PricingFeature, ProfileNav, PromoActionCards, PromoBento, PromoDevicesCTA, PromoHero, PromoHeroForm, PromoPricing, PromoShowcase, PromoSplit, PromoTestimonials, PromoTrustGrid, Radio, type ScatterPoint, SearchBar, Select, Sidebar, type SidebarItem, Skeleton, Spinner, StampCard, Stat, StatBadge, StatsBar, Link as StyledLink, Tabs, Tag, TestimonialCard, Textarea, TicketButton, Toast, Toggle, Tooltip, TopPromo };
|
|
1130
|
+
export { Alert, AppCard, AppTopLine, ArticleBarChart, type ArticleBarChartProps, ArticleBody, type ArticleBodyProps, ArticleChatBlock, type ArticleChatBlockProps, ArticleFigure, type ArticleFigureProps, ArticleFooter, type ArticleFooterProps, ArticleHeading, type ArticleHeadingProps, ArticleHero, type ArticleHeroProps, ArticleLayout, type ArticleLayoutProps, ArticleLineChart, type ArticleLineChartProps, ArticleLinkButton, type ArticleLinkButtonProps, ArticleList, type ArticleListProps, ArticleNarrow, ArticleNote, type ArticleNoteProps, ArticleScatterChart, type ArticleScatterChartProps, ArticleTable, type ArticleTableColumn, type ArticleTableProps, type ArticleTableRow, ArticleWide, Avatar, Badge, BentoGrid, BottomSheet, Breadcrumbs, Button, CTASection, Card, type ChartSeries, ChatInput, ChatMessage, Checkbox, CodeInput, ComparisonTable, Divider, DropdownMenu, EmptyState, FAQSection, FeatureGrid, Footer, FormField, Gallery, Header, HeroSection, IconBadge, IconButton, IconWithText, IconlyActivity, IconlyAttach, IconlyBook, IconlyCheck, IconlyChevronDown, IconlyChevronLeft, IconlyChevronRight, IconlyClock, IconlyClose, IconlyError, IconlyEye, IconlyEyeOff, IconlyHeart, IconlyInfo, IconlyInfoCircle, IconlyLink, IconlyLock, IconlyMail, IconlyMenu, IconlyMoon, IconlyQuote, IconlyRoadmap, IconlySandbox, IconlySearch, IconlySend, IconlyShield, IconlySmile, IconlyStar, IconlySuccess, IconlySun, IconlyWarning, Input, LandingLayout, Logo, LogoCloud, MenuItem, Modal, Pagination, PasswordInput, PricingCard, type PricingFeature, ProfileNav, PromoActionCards, PromoBento, PromoDevicesCTA, PromoHero, PromoHeroForm, PromoPricing, PromoShowcase, PromoSplit, PromoTestimonials, PromoTrustGrid, Radio, type ScatterPoint, SearchBar, Select, Sidebar, type SidebarItem, Skeleton, Spinner, StampCard, Stat, StatBadge, StatsBar, Link as StyledLink, Tabs, Tag, TestimonialCard, Textarea, TicketButton, Toast, Toggle, Tooltip, TopPromo };
|
package/dist/index.d.ts
CHANGED
|
@@ -739,6 +739,30 @@ interface ComparisonTableProps {
|
|
|
739
739
|
}
|
|
740
740
|
declare function ComparisonTable({ columns, rows, className }: ComparisonTableProps): react_jsx_runtime.JSX.Element;
|
|
741
741
|
|
|
742
|
+
interface BottomSheetProps {
|
|
743
|
+
/** Контролируемое состояние. Если undefined — uncontrolled (через `defaultOpen` + internal state). */
|
|
744
|
+
open?: boolean;
|
|
745
|
+
/** Callback при смене состояния. Вызывается и в controlled, и в uncontrolled режиме. */
|
|
746
|
+
onOpenChange?: (open: boolean) => void;
|
|
747
|
+
/** Начальное состояние в uncontrolled-режиме. Default `false`. */
|
|
748
|
+
defaultOpen?: boolean;
|
|
749
|
+
/** Порог свайпа вниз для закрытия (px). Default 80. */
|
|
750
|
+
swipeCloseThreshold?: number;
|
|
751
|
+
children: ReactNode;
|
|
752
|
+
className?: string;
|
|
753
|
+
}
|
|
754
|
+
interface BottomSheetPartProps {
|
|
755
|
+
children?: ReactNode;
|
|
756
|
+
className?: string;
|
|
757
|
+
}
|
|
758
|
+
declare function BottomSheet({ open: controlledOpen, onOpenChange, defaultOpen, swipeCloseThreshold, children, className, }: BottomSheetProps): react_jsx_runtime.JSX.Element;
|
|
759
|
+
declare namespace BottomSheet {
|
|
760
|
+
var Bar: ({ children, className }: BottomSheetPartProps) => react_jsx_runtime.JSX.Element;
|
|
761
|
+
var Panel: ({ children, className }: BottomSheetPartProps) => react_jsx_runtime.JSX.Element;
|
|
762
|
+
var Handle: ({ className }: BottomSheetPartProps) => react_jsx_runtime.JSX.Element;
|
|
763
|
+
var Trigger: ({ children, className }: BottomSheetPartProps) => react_jsx_runtime.JSX.Element;
|
|
764
|
+
}
|
|
765
|
+
|
|
742
766
|
interface PromoBentoItemProps {
|
|
743
767
|
pill?: {
|
|
744
768
|
icon?: ReactNode;
|
|
@@ -1103,4 +1127,4 @@ interface LandingLayoutProps {
|
|
|
1103
1127
|
}
|
|
1104
1128
|
declare function LandingLayout({ mode, nav, footer, children, className, }: LandingLayoutProps): react_jsx_runtime.JSX.Element;
|
|
1105
1129
|
|
|
1106
|
-
export { Alert, AppCard, AppTopLine, ArticleBarChart, type ArticleBarChartProps, ArticleBody, type ArticleBodyProps, ArticleChatBlock, type ArticleChatBlockProps, ArticleFigure, type ArticleFigureProps, ArticleFooter, type ArticleFooterProps, ArticleHeading, type ArticleHeadingProps, ArticleHero, type ArticleHeroProps, ArticleLayout, type ArticleLayoutProps, ArticleLineChart, type ArticleLineChartProps, ArticleLinkButton, type ArticleLinkButtonProps, ArticleList, type ArticleListProps, ArticleNarrow, ArticleNote, type ArticleNoteProps, ArticleScatterChart, type ArticleScatterChartProps, ArticleTable, type ArticleTableColumn, type ArticleTableProps, type ArticleTableRow, ArticleWide, Avatar, Badge, BentoGrid, Breadcrumbs, Button, CTASection, Card, type ChartSeries, ChatInput, ChatMessage, Checkbox, CodeInput, ComparisonTable, Divider, DropdownMenu, EmptyState, FAQSection, FeatureGrid, Footer, FormField, Gallery, Header, HeroSection, IconBadge, IconButton, IconWithText, IconlyActivity, IconlyAttach, IconlyBook, IconlyCheck, IconlyChevronDown, IconlyChevronLeft, IconlyChevronRight, IconlyClock, IconlyClose, IconlyError, IconlyEye, IconlyEyeOff, IconlyHeart, IconlyInfo, IconlyInfoCircle, IconlyLink, IconlyLock, IconlyMail, IconlyMenu, IconlyMoon, IconlyQuote, IconlyRoadmap, IconlySandbox, IconlySearch, IconlySend, IconlyShield, IconlySmile, IconlyStar, IconlySuccess, IconlySun, IconlyWarning, Input, LandingLayout, Logo, LogoCloud, MenuItem, Modal, Pagination, PasswordInput, PricingCard, type PricingFeature, ProfileNav, PromoActionCards, PromoBento, PromoDevicesCTA, PromoHero, PromoHeroForm, PromoPricing, PromoShowcase, PromoSplit, PromoTestimonials, PromoTrustGrid, Radio, type ScatterPoint, SearchBar, Select, Sidebar, type SidebarItem, Skeleton, Spinner, StampCard, Stat, StatBadge, StatsBar, Link as StyledLink, Tabs, Tag, TestimonialCard, Textarea, TicketButton, Toast, Toggle, Tooltip, TopPromo };
|
|
1130
|
+
export { Alert, AppCard, AppTopLine, ArticleBarChart, type ArticleBarChartProps, ArticleBody, type ArticleBodyProps, ArticleChatBlock, type ArticleChatBlockProps, ArticleFigure, type ArticleFigureProps, ArticleFooter, type ArticleFooterProps, ArticleHeading, type ArticleHeadingProps, ArticleHero, type ArticleHeroProps, ArticleLayout, type ArticleLayoutProps, ArticleLineChart, type ArticleLineChartProps, ArticleLinkButton, type ArticleLinkButtonProps, ArticleList, type ArticleListProps, ArticleNarrow, ArticleNote, type ArticleNoteProps, ArticleScatterChart, type ArticleScatterChartProps, ArticleTable, type ArticleTableColumn, type ArticleTableProps, type ArticleTableRow, ArticleWide, Avatar, Badge, BentoGrid, BottomSheet, Breadcrumbs, Button, CTASection, Card, type ChartSeries, ChatInput, ChatMessage, Checkbox, CodeInput, ComparisonTable, Divider, DropdownMenu, EmptyState, FAQSection, FeatureGrid, Footer, FormField, Gallery, Header, HeroSection, IconBadge, IconButton, IconWithText, IconlyActivity, IconlyAttach, IconlyBook, IconlyCheck, IconlyChevronDown, IconlyChevronLeft, IconlyChevronRight, IconlyClock, IconlyClose, IconlyError, IconlyEye, IconlyEyeOff, IconlyHeart, IconlyInfo, IconlyInfoCircle, IconlyLink, IconlyLock, IconlyMail, IconlyMenu, IconlyMoon, IconlyQuote, IconlyRoadmap, IconlySandbox, IconlySearch, IconlySend, IconlyShield, IconlySmile, IconlyStar, IconlySuccess, IconlySun, IconlyWarning, Input, LandingLayout, Logo, LogoCloud, MenuItem, Modal, Pagination, PasswordInput, PricingCard, type PricingFeature, ProfileNav, PromoActionCards, PromoBento, PromoDevicesCTA, PromoHero, PromoHeroForm, PromoPricing, PromoShowcase, PromoSplit, PromoTestimonials, PromoTrustGrid, Radio, type ScatterPoint, SearchBar, Select, Sidebar, type SidebarItem, Skeleton, Spinner, StampCard, Stat, StatBadge, StatsBar, Link as StyledLink, Tabs, Tag, TestimonialCard, Textarea, TicketButton, Toast, Toggle, Tooltip, TopPromo };
|