@dmitriikapustin/ui 0.2.9 → 0.2.10

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 CHANGED
@@ -8519,18 +8519,23 @@ var __default80 = { "headerMode": "LandingLayout-module_headerMode", "headerMain
8519
8519
  function LandingLayout({
8520
8520
  mode = "header",
8521
8521
  nav,
8522
+ footer,
8522
8523
  children,
8523
8524
  className = ""
8524
8525
  }) {
8525
8526
  if (mode === "sidebar") {
8526
8527
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default80.sidebarMode}${className ? ` ${className}` : ""}`, children: [
8527
8528
  nav && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default80.sidebarNav, children: nav }),
8528
- /* @__PURE__ */ jsxRuntime.jsx("main", { className: __default80.sidebarMain, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default80.sidebarContent, children }) })
8529
+ /* @__PURE__ */ jsxRuntime.jsxs("main", { className: __default80.sidebarMain, children: [
8530
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default80.sidebarContent, children }),
8531
+ footer
8532
+ ] })
8529
8533
  ] });
8530
8534
  }
8531
8535
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${__default80.headerMode}${className ? ` ${className}` : ""}`, children: [
8532
8536
  nav,
8533
- /* @__PURE__ */ jsxRuntime.jsx("main", { className: __default80.headerMain, children })
8537
+ /* @__PURE__ */ jsxRuntime.jsx("main", { className: __default80.headerMain, children }),
8538
+ footer
8534
8539
  ] });
8535
8540
  }
8536
8541
 
package/dist/index.d.cts CHANGED
@@ -1041,9 +1041,11 @@ interface LandingLayoutProps {
1041
1041
  mode?: 'header' | 'sidebar';
1042
1042
  /** Navigation element — Header for header mode, Sidebar for sidebar mode */
1043
1043
  nav?: ReactNode;
1044
+ /** Footer element. Rendered sibling to `<main>` (full viewport width, без max-width-обёртки). */
1045
+ footer?: ReactNode;
1044
1046
  children: ReactNode;
1045
1047
  className?: string;
1046
1048
  }
1047
- declare function LandingLayout({ mode, nav, children, className, }: LandingLayoutProps): react_jsx_runtime.JSX.Element;
1049
+ declare function LandingLayout({ mode, nav, footer, children, className, }: LandingLayoutProps): react_jsx_runtime.JSX.Element;
1048
1050
 
1049
1051
  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, 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
@@ -1041,9 +1041,11 @@ interface LandingLayoutProps {
1041
1041
  mode?: 'header' | 'sidebar';
1042
1042
  /** Navigation element — Header for header mode, Sidebar for sidebar mode */
1043
1043
  nav?: ReactNode;
1044
+ /** Footer element. Rendered sibling to `<main>` (full viewport width, без max-width-обёртки). */
1045
+ footer?: ReactNode;
1044
1046
  children: ReactNode;
1045
1047
  className?: string;
1046
1048
  }
1047
- declare function LandingLayout({ mode, nav, children, className, }: LandingLayoutProps): react_jsx_runtime.JSX.Element;
1049
+ declare function LandingLayout({ mode, nav, footer, children, className, }: LandingLayoutProps): react_jsx_runtime.JSX.Element;
1048
1050
 
1049
1051
  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, 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.js CHANGED
@@ -8513,18 +8513,23 @@ var __default80 = { "headerMode": "LandingLayout-module_headerMode", "headerMain
8513
8513
  function LandingLayout({
8514
8514
  mode = "header",
8515
8515
  nav,
8516
+ footer,
8516
8517
  children,
8517
8518
  className = ""
8518
8519
  }) {
8519
8520
  if (mode === "sidebar") {
8520
8521
  return /* @__PURE__ */ jsxs("div", { className: `${__default80.sidebarMode}${className ? ` ${className}` : ""}`, children: [
8521
8522
  nav && /* @__PURE__ */ jsx("div", { className: __default80.sidebarNav, children: nav }),
8522
- /* @__PURE__ */ jsx("main", { className: __default80.sidebarMain, children: /* @__PURE__ */ jsx("div", { className: __default80.sidebarContent, children }) })
8523
+ /* @__PURE__ */ jsxs("main", { className: __default80.sidebarMain, children: [
8524
+ /* @__PURE__ */ jsx("div", { className: __default80.sidebarContent, children }),
8525
+ footer
8526
+ ] })
8523
8527
  ] });
8524
8528
  }
8525
8529
  return /* @__PURE__ */ jsxs("div", { className: `${__default80.headerMode}${className ? ` ${className}` : ""}`, children: [
8526
8530
  nav,
8527
- /* @__PURE__ */ jsx("main", { className: __default80.headerMain, children })
8531
+ /* @__PURE__ */ jsx("main", { className: __default80.headerMain, children }),
8532
+ footer
8528
8533
  ] });
8529
8534
  }
8530
8535
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dmitriikapustin/ui",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "Universal UI/UX Kit — React 19 component library with Atomic Design, CSS custom properties, and SCSS modules",
5
5
  "author": "Kapustin Team",
6
6
  "license": "MIT",