@dmitriikapustin/ui 0.5.3 → 0.5.6

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.d.cts CHANGED
@@ -283,16 +283,25 @@ declare const IconlyLink: ({ size, color, className }: IconProps) => react_jsx_r
283
283
  declare const IconlySmile: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
284
284
  declare const IconlyAttach: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
285
285
  declare const IconlyInfo: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
286
+ declare const IconlyInfoCircle: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
286
287
  declare const IconlySun: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
287
288
  declare const IconlyMoon: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
288
289
  declare const IconlyRoadmap: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
289
290
  declare const IconlyBook: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
291
+ declare const IconlyBookmark: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
290
292
  declare const IconlySandbox: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
291
293
  declare const IconlyQuote: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
292
- declare const IconlyInfoCircle: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
293
294
  declare const IconlySuccess: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
294
295
  declare const IconlyWarning: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
295
296
  declare const IconlyError: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
297
+ declare const IconlyEdit: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
298
+ declare const IconlyDelete: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
299
+ declare const IconlyDownload: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
300
+ declare const IconlyUpload: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
301
+ declare const IconlyUser: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
302
+ declare const IconlyCalendar: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
303
+ declare const IconlyCall: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
304
+ declare const IconlyHome: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
296
305
 
297
306
  type CardActionVariant = 'primary' | 'ghost' | 'secondary' | 'outline';
298
307
  interface CardAction {
@@ -871,6 +880,22 @@ declare namespace BottomSheet {
871
880
  var Trigger: ({ children, className }: BottomSheetPartProps) => react_jsx_runtime.JSX.Element;
872
881
  }
873
882
 
883
+ interface CookieConsentProps {
884
+ /**
885
+ * Текст баннера. Передавай через i18n как ReactNode (со встроенным `<a>` на policy).
886
+ * Default — дефолтный RU-текст-заглушка.
887
+ */
888
+ description?: ReactNode;
889
+ /** Лейбл кнопки accept. Default `'Принимаю'`. */
890
+ acceptLabel?: string;
891
+ /** Ключ localStorage. Default `'cookie-consent-accepted'`. */
892
+ storageKey?: string;
893
+ /** Callback после accept. */
894
+ onAccept?: () => void;
895
+ className?: string;
896
+ }
897
+ declare function CookieConsent({ description, acceptLabel, storageKey, onAccept, className, }: CookieConsentProps): react_jsx_runtime.JSX.Element | null;
898
+
874
899
  interface PromoBentoItemProps {
875
900
  pill?: {
876
901
  icon?: ReactNode;
@@ -1276,4 +1301,4 @@ interface LandingLayoutProps {
1276
1301
  }
1277
1302
  declare function LandingLayout({ mode, nav, footer, children, className, }: LandingLayoutProps): react_jsx_runtime.JSX.Element;
1278
1303
 
1279
- 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, IconlyCategory, IconlyCheck, IconlyChevronDown, IconlyChevronLeft, IconlyChevronRight, IconlyClock, IconlyClose, IconlyError, IconlyEye, IconlyEyeOff, IconlyFolder, IconlyHeart, IconlyInfo, IconlyInfoCircle, IconlyLink, IconlyLock, IconlyMail, IconlyMenu, IconlyMoon, IconlyQuote, IconlyRoadmap, IconlySandbox, IconlySearch, IconlySend, IconlySetting, 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, SectionHeading, type SectionHeadingProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, Sidebar, type SidebarItem, Skeleton, Spinner, StampCard, Stat, StatBadge, StatsBar, Link as StyledLink, Tabs, Tag, TestimonialCard, Textarea, TicketButton, Toast, Toggle, Tooltip, TopPromo };
1304
+ 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, CookieConsent, Divider, DropdownMenu, EmptyState, FAQSection, FeatureGrid, Footer, FormField, Gallery, Header, HeroSection, IconBadge, IconButton, IconWithText, IconlyActivity, IconlyAttach, IconlyBook, IconlyBookmark, IconlyCalendar, IconlyCall, IconlyCategory, IconlyCheck, IconlyChevronDown, IconlyChevronLeft, IconlyChevronRight, IconlyClock, IconlyClose, IconlyDelete, IconlyDownload, IconlyEdit, IconlyError, IconlyEye, IconlyEyeOff, IconlyFolder, IconlyHeart, IconlyHome, IconlyInfo, IconlyInfoCircle, IconlyLink, IconlyLock, IconlyMail, IconlyMenu, IconlyMoon, IconlyQuote, IconlyRoadmap, IconlySandbox, IconlySearch, IconlySend, IconlySetting, IconlyShield, IconlySmile, IconlyStar, IconlySuccess, IconlySun, IconlyUpload, IconlyUser, 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, SectionHeading, type SectionHeadingProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, 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
@@ -283,16 +283,25 @@ declare const IconlyLink: ({ size, color, className }: IconProps) => react_jsx_r
283
283
  declare const IconlySmile: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
284
284
  declare const IconlyAttach: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
285
285
  declare const IconlyInfo: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
286
+ declare const IconlyInfoCircle: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
286
287
  declare const IconlySun: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
287
288
  declare const IconlyMoon: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
288
289
  declare const IconlyRoadmap: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
289
290
  declare const IconlyBook: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
291
+ declare const IconlyBookmark: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
290
292
  declare const IconlySandbox: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
291
293
  declare const IconlyQuote: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
292
- declare const IconlyInfoCircle: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
293
294
  declare const IconlySuccess: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
294
295
  declare const IconlyWarning: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
295
296
  declare const IconlyError: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
297
+ declare const IconlyEdit: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
298
+ declare const IconlyDelete: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
299
+ declare const IconlyDownload: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
300
+ declare const IconlyUpload: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
301
+ declare const IconlyUser: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
302
+ declare const IconlyCalendar: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
303
+ declare const IconlyCall: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
304
+ declare const IconlyHome: ({ size, color, className }: IconProps) => react_jsx_runtime.JSX.Element;
296
305
 
297
306
  type CardActionVariant = 'primary' | 'ghost' | 'secondary' | 'outline';
298
307
  interface CardAction {
@@ -871,6 +880,22 @@ declare namespace BottomSheet {
871
880
  var Trigger: ({ children, className }: BottomSheetPartProps) => react_jsx_runtime.JSX.Element;
872
881
  }
873
882
 
883
+ interface CookieConsentProps {
884
+ /**
885
+ * Текст баннера. Передавай через i18n как ReactNode (со встроенным `<a>` на policy).
886
+ * Default — дефолтный RU-текст-заглушка.
887
+ */
888
+ description?: ReactNode;
889
+ /** Лейбл кнопки accept. Default `'Принимаю'`. */
890
+ acceptLabel?: string;
891
+ /** Ключ localStorage. Default `'cookie-consent-accepted'`. */
892
+ storageKey?: string;
893
+ /** Callback после accept. */
894
+ onAccept?: () => void;
895
+ className?: string;
896
+ }
897
+ declare function CookieConsent({ description, acceptLabel, storageKey, onAccept, className, }: CookieConsentProps): react_jsx_runtime.JSX.Element | null;
898
+
874
899
  interface PromoBentoItemProps {
875
900
  pill?: {
876
901
  icon?: ReactNode;
@@ -1276,4 +1301,4 @@ interface LandingLayoutProps {
1276
1301
  }
1277
1302
  declare function LandingLayout({ mode, nav, footer, children, className, }: LandingLayoutProps): react_jsx_runtime.JSX.Element;
1278
1303
 
1279
- 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, IconlyCategory, IconlyCheck, IconlyChevronDown, IconlyChevronLeft, IconlyChevronRight, IconlyClock, IconlyClose, IconlyError, IconlyEye, IconlyEyeOff, IconlyFolder, IconlyHeart, IconlyInfo, IconlyInfoCircle, IconlyLink, IconlyLock, IconlyMail, IconlyMenu, IconlyMoon, IconlyQuote, IconlyRoadmap, IconlySandbox, IconlySearch, IconlySend, IconlySetting, 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, SectionHeading, type SectionHeadingProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, Sidebar, type SidebarItem, Skeleton, Spinner, StampCard, Stat, StatBadge, StatsBar, Link as StyledLink, Tabs, Tag, TestimonialCard, Textarea, TicketButton, Toast, Toggle, Tooltip, TopPromo };
1304
+ 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, CookieConsent, Divider, DropdownMenu, EmptyState, FAQSection, FeatureGrid, Footer, FormField, Gallery, Header, HeroSection, IconBadge, IconButton, IconWithText, IconlyActivity, IconlyAttach, IconlyBook, IconlyBookmark, IconlyCalendar, IconlyCall, IconlyCategory, IconlyCheck, IconlyChevronDown, IconlyChevronLeft, IconlyChevronRight, IconlyClock, IconlyClose, IconlyDelete, IconlyDownload, IconlyEdit, IconlyError, IconlyEye, IconlyEyeOff, IconlyFolder, IconlyHeart, IconlyHome, IconlyInfo, IconlyInfoCircle, IconlyLink, IconlyLock, IconlyMail, IconlyMenu, IconlyMoon, IconlyQuote, IconlyRoadmap, IconlySandbox, IconlySearch, IconlySend, IconlySetting, IconlyShield, IconlySmile, IconlyStar, IconlySuccess, IconlySun, IconlyUpload, IconlyUser, 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, SectionHeading, type SectionHeadingProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, Sidebar, type SidebarItem, Skeleton, Spinner, StampCard, Stat, StatBadge, StatsBar, Link as StyledLink, Tabs, Tag, TestimonialCard, Textarea, TicketButton, Toast, Toggle, Tooltip, TopPromo };