@designbasekorea/figma-ui 0.6.4 → 0.6.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.ts CHANGED
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import { PaymentStatus, UsageResetPeriod, LicenseManagerMessageTypes } from '@designbasekorea/figma-license-core';
3
3
  import { GradientScheme, GradientTone } from '@designbasekorea/ui-wc/react';
4
4
  export * from '@designbasekorea/ui-wc/react';
5
+ export { Accordion, ActivityHeatmap, AdBanner, AiChat, AiChatList, Alert, AnimationBackground, AnimationText, AppBadge, AudioPlayer, Avatar, Backdrop, Badge, Banner, BottomNavigation, BottomSheet, Breadcrumbs, Button, Calendar, Card, Carousel, ChatComposer, ChatList, ChatMessage, ChatOrb, ChatRoom, ChatSuggestions, ChatTyping, ChatWelcome, ChatWidget, Checkbox, Chip, CodeBlock, ColorPicker, ColorSwatch, Confirm, Container, ContextMenu, CookieBanner, Countdown, CursorFollower, DatePicker, Divider, DownloadProgress, Drawer, Dropdown, Dropzone, EmailVerify, EmptyState, FileUploader, FloatingActionButton, Footer, Form, Gantt, Gradient, Grid, GridBackground, GridItem, Image, ImageList, ImagePlaceholder, Indicator, Input, Kanban, Label, Lightbox, List, Logo, MarkdownEditor, Marquee, Masonry, MenuItem, Modal, ModalBody, ModalFooter, ModalHeader, Navbar, OnboardingModal, OtpInput, PageHeader, Pagination, PhoneVerify, Popover, Progress, ProgressStep, Progressbar, Radio, RandomGradient, RangeSlider, Rating, Reorder, ResizablePanels, ScrollArea, SearchBar, Section, SectionAppDownload, SectionContact, SectionCta, SectionFaq, SectionFeature, SectionFeatureGrid, SectionHero, SectionLogoCloud, SectionPricing, SectionStats, SectionTestimonials, SegmentControl, Select, Share, Sidebar, Signature, Skeleton, Spinner, SplitView, Stack, Stat, Stepper, Table, Tabs, Testimonial, Textarea, TimePicker, Timeline, Toast, Toggle, Toolbar, Tooltip, TopBanner, Tutorial, TwoFactor, VideoPlayer, YouTubePlayer, useContextMenu } from '@designbasekorea/ui-wc/react';
5
6
 
6
7
  type I18nText = string | {
7
8
  key: string;
@@ -240,6 +241,28 @@ interface InteractionFeedbackProps {
240
241
  }
241
242
  declare const InteractionFeedback: React.FC<InteractionFeedbackProps>;
242
243
 
244
+ interface LicenseOfferProps {
245
+ membershipUrl?: string;
246
+ t?: TFunctionLite;
247
+ className?: string;
248
+ }
249
+ declare const LicenseOffer: React.FC<LicenseOfferProps>;
250
+
251
+ interface LicenseStatusCardProps {
252
+ status: PaymentStatus;
253
+ licenseKey?: string;
254
+ licenseStatus?: string;
255
+ licenseSource?: string;
256
+ accessScope?: string;
257
+ expiresAt?: string;
258
+ lastVerifiedAt?: string;
259
+ validationMessage?: string;
260
+ allowRevealKey?: boolean;
261
+ t?: TFunctionLite;
262
+ className?: string;
263
+ }
264
+ declare const LicenseStatusCard: React.FC<LicenseStatusCardProps>;
265
+
243
266
  interface PricingFeature {
244
267
  name: string;
245
268
  free: string | boolean;
@@ -260,6 +283,7 @@ interface PricingComparisonProps {
260
283
  declare const PricingComparison: React.FC<PricingComparisonProps>;
261
284
 
262
285
  interface WordPressLinks {
286
+ membershipUrl?: string;
263
287
  purchaseUrl?: string;
264
288
  accountUrl?: string;
265
289
  helpUrl?: string;
@@ -281,6 +305,12 @@ interface LicensePageState {
281
305
  usageReason?: 'USAGE_LIMIT_REACHED' | 'FEATURE_NOT_ALLOWED';
282
306
  lastMessage?: string;
283
307
  lastErrorCode?: string;
308
+ licenseStatus?: string;
309
+ licenseSource?: string;
310
+ accessScope?: string;
311
+ expiresAt?: string;
312
+ lastVerifiedAt?: string;
313
+ validationMessage?: string;
284
314
  }
285
315
  declare const DEFAULT_LICENSE_MESSAGE_TYPES: LicenseManagerMessageTypes;
286
316
  declare const START_DESIGNBASE_AUTH_MESSAGE = "start-designbase-auth";
@@ -309,6 +339,8 @@ interface PageLicenseProps {
309
339
  licenseKey?: string;
310
340
  wordpressLinks?: WordPressLinks;
311
341
  paymentPageUrl?: string;
342
+ mode?: 'pricing' | 'youtube-membership';
343
+ membershipUrl?: string;
312
344
  enableAccountAuth?: boolean;
313
345
  showLicenseKeyInput?: boolean;
314
346
  pricingFeatures?: PricingFeature[];
@@ -442,5 +474,5 @@ interface UpgradeBannerProps {
442
474
  }
443
475
  declare const UpgradeBanner: React.FC<UpgradeBannerProps>;
444
476
 
445
- export { DEFAULT_LICENSE_MESSAGE_TYPES, DonationBadge, FigmaContainer, FigmaFooter, FigmaHeader, FigmaPageHead, FigmaSection, FigmaSidebar, FigmaToast, FigmaToastProvider, FormWithSubmit, InteractionFeedback, LanguageSelector, LogoDropdown, PageLicense, PaymentBadge, PaymentStatusSection, PricingComparison, ProgressModal, ResizablePlugin, START_DESIGNBASE_AUTH_MESSAGE, SettingsModal, TitleDescription, UpgradeBanner, getActiveSection, resolveText, scrollToSection, useFigmaLicenseBridge, useFigmaToast, useToast };
446
- export type { DonationBadgeProps, FeedbackStatus, FigmaContainerProps, FigmaContainerSize, FigmaFooterProps, FigmaHeaderAction, FigmaHeaderProps, FigmaPageHeadAction, FigmaPageHeadProps, FigmaSectionProps, FigmaSidebarProps, FormWithSubmitProps, I18nText, InteractionFeedbackProps, Language, LanguageSelectorProps, LicensePageState, LogoDropdownLink, LogoDropdownProps, PageLicenseProps, PaymentBadgeProps, PaymentStatusSectionProps, PlanPricing, PricingComparisonProps, PricingFeature, ProgressModalProgress, ProgressModalProps, ResizablePluginProps, SettingsCategory, SettingsCategoryGroup, SettingsModalProps, TFunctionLite, TitleDescriptionProps, UpgradeBannerProps, WordPressLinks };
477
+ export { DEFAULT_LICENSE_MESSAGE_TYPES, DonationBadge, FigmaContainer, FigmaFooter, FigmaHeader, FigmaPageHead, FigmaSection, FigmaSidebar, FigmaToast, FigmaToastProvider, FormWithSubmit, InteractionFeedback, LanguageSelector, LicenseOffer, LicenseStatusCard, LogoDropdown, PageLicense, PaymentBadge, PaymentStatusSection, PricingComparison, ProgressModal, ResizablePlugin, START_DESIGNBASE_AUTH_MESSAGE, SettingsModal, TitleDescription, UpgradeBanner, getActiveSection, resolveText, scrollToSection, useFigmaLicenseBridge, useFigmaToast, useToast };
478
+ export type { DonationBadgeProps, FeedbackStatus, FigmaContainerProps, FigmaContainerSize, FigmaFooterProps, FigmaHeaderAction, FigmaHeaderProps, FigmaPageHeadAction, FigmaPageHeadProps, FigmaSectionProps, FigmaSidebarProps, FormWithSubmitProps, I18nText, InteractionFeedbackProps, Language, LanguageSelectorProps, LicenseOfferProps, LicensePageState, LicenseStatusCardProps, LogoDropdownLink, LogoDropdownProps, PageLicenseProps, PaymentBadgeProps, PaymentStatusSectionProps, PlanPricing, PricingComparisonProps, PricingFeature, ProgressModalProgress, ProgressModalProps, ResizablePluginProps, SettingsCategory, SettingsCategoryGroup, SettingsModalProps, TFunctionLite, TitleDescriptionProps, UpgradeBannerProps, WordPressLinks };