@designbasekorea/ui-wc 0.9.3 → 0.9.4

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/esm/components/date-picker-utils.js +1 -1
  3. package/dist/esm/components/db-activity-heatmap.js +1 -1
  4. package/dist/esm/components/db-ai-file-tree.js +1 -1
  5. package/dist/esm/components/db-calendar.d.ts +2 -1
  6. package/dist/esm/components/db-calendar.js +1 -1
  7. package/dist/esm/components/db-carousel.d.ts +2 -0
  8. package/dist/esm/components/db-carousel.js +1 -1
  9. package/dist/esm/components/db-checkbox.d.ts +15 -1
  10. package/dist/esm/components/db-checkbox.js +1 -1
  11. package/dist/esm/components/db-confirm.d.ts +2 -0
  12. package/dist/esm/components/db-confirm.js +1 -1
  13. package/dist/esm/components/db-credit-card.d.ts +3 -4
  14. package/dist/esm/components/db-credit-card.js +1 -1
  15. package/dist/esm/components/db-date-picker.d.ts +2 -1
  16. package/dist/esm/components/db-date-picker.js +1 -1
  17. package/dist/esm/components/db-design-toolbar.js +1 -1
  18. package/dist/esm/components/db-device-mockup.js +1 -1
  19. package/dist/esm/components/db-flight-status.d.ts +2 -2
  20. package/dist/esm/components/db-flight-status.js +1 -1
  21. package/dist/esm/components/db-gantt.js +1 -1
  22. package/dist/esm/components/db-indicator.d.ts +1 -0
  23. package/dist/esm/components/db-indicator.js +1 -1
  24. package/dist/esm/components/db-kanban.js +1 -1
  25. package/dist/esm/components/db-node.d.ts +1 -3
  26. package/dist/esm/components/db-node.js +1 -1
  27. package/dist/esm/components/db-radio.d.ts +19 -1
  28. package/dist/esm/components/db-radio.js +1 -1
  29. package/dist/esm/components/db-receipt.js +1 -1
  30. package/dist/esm/components/db-tabs.js +1 -1
  31. package/dist/esm/components/db-textarea.js +1 -1
  32. package/dist/esm/components/db-tool-button.js +1 -1
  33. package/dist/esm/components/db-voice-control.js +1 -1
  34. package/dist/esm/core/ai-element.d.ts +2 -1
  35. package/dist/esm/core/ai-element.js +1 -1
  36. package/dist/esm/core/i18n-en.js +1 -1
  37. package/dist/esm/core/i18n.d.ts +4 -0
  38. package/dist/esm/core/i18n.js +1 -1
  39. package/dist/esm/index.d.ts +2 -2
  40. package/dist/esm/index.js +1 -1
  41. package/dist/esm/node_modules/@designbasekorea/ui-contracts/dist/components.js +1 -1
  42. package/dist/esm/ui-contracts/dist/components.d.d.ts +9 -2
  43. package/dist/index.cjs +1 -1
  44. package/dist/index.css +1 -1
  45. package/dist/index.d.ts +58 -13
  46. package/dist/index.esm.js +1 -1
  47. package/dist/react/index.cjs +1 -1
  48. package/dist/react/index.d.ts +31 -9
  49. package/dist/react/index.esm.js +1 -1
  50. package/package.json +2 -2
@@ -326,13 +326,34 @@ type ToggleProps = WebComponentProps & {
326
326
  checked: boolean;
327
327
  }>;
328
328
  };
329
- type RadioProps = WebComponentProps & {
330
- onChange?: DbEventHandler<{
331
- value: string;
332
- }>;
333
- onDbChange?: DbEventHandler<{
334
- value: string;
335
- }>;
329
+ type SelectionControlProps = WebComponentProps & {
330
+ checked?: boolean;
331
+ selected?: boolean;
332
+ defaultChecked?: boolean;
333
+ defaultSelected?: boolean;
334
+ disabled?: boolean;
335
+ readOnly?: boolean;
336
+ required?: boolean;
337
+ hasLabel?: boolean;
338
+ name?: string;
339
+ value?: string;
340
+ size?: 's' | 'm' | 'l';
341
+ };
342
+ type CheckboxChangeDetail = {
343
+ checked: boolean;
344
+ selected: boolean;
345
+ };
346
+ type CheckboxProps = SelectionControlProps & {
347
+ indeterminate?: boolean;
348
+ onChange?: DbEventHandler<CheckboxChangeDetail>;
349
+ onDbChange?: DbEventHandler<CheckboxChangeDetail>;
350
+ };
351
+ type RadioChangeDetail = CheckboxChangeDetail & {
352
+ value: string;
353
+ };
354
+ type RadioProps = SelectionControlProps & {
355
+ onChange?: DbEventHandler<RadioChangeDetail>;
356
+ onDbChange?: DbEventHandler<RadioChangeDetail>;
336
357
  };
337
358
  type RangeSliderProps = WebComponentProps & {
338
359
  value?: number;
@@ -3413,7 +3434,7 @@ declare const Banner: react.ForwardRefExoticComponent<Omit<BannerProps, "ref"> &
3413
3434
  declare const Breadcrumbs: react.ForwardRefExoticComponent<Omit<BreadcrumbsProps, "ref"> & react.RefAttributes<HTMLElement>>;
3414
3435
  declare const Button: react.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & react.RefAttributes<HTMLElement>>;
3415
3436
  declare const Card: react.ForwardRefExoticComponent<Omit<CardProps, "ref"> & react.RefAttributes<HTMLElement>>;
3416
- declare const Checkbox: react.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & react.RefAttributes<HTMLElement>>;
3437
+ declare const Checkbox: react.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & react.RefAttributes<HTMLElement>>;
3417
3438
  declare const Chip: react.ForwardRefExoticComponent<Omit<ChipProps, "ref"> & react.RefAttributes<HTMLElement>>;
3418
3439
  declare const Confirm: react.ForwardRefExoticComponent<Omit<ConfirmProps, "ref"> & react.RefAttributes<HTMLElement>>;
3419
3440
  declare const Container: react.ForwardRefExoticComponent<Omit<WebComponentProps, "ref"> & react.RefAttributes<HTMLElement>>;
@@ -3987,6 +4008,7 @@ declare const NotificationInbox: react.ForwardRefExoticComponent<Omit<Notificati
3987
4008
  declare const NotificationDropdown: react.ForwardRefExoticComponent<Omit<NotificationDropdownProps, "ref"> & react.RefAttributes<HTMLElement>>;
3988
4009
 
3989
4010
  type AiElementProps = WebComponentProps & {
4011
+ selectedId?: string;
3990
4012
  items?: ___core_ai_element_js.DbAiItem[];
3991
4013
  label?: string;
3992
4014
  description?: string;
@@ -4487,4 +4509,4 @@ declare const DesignToolbar: react.ForwardRefExoticComponent<Omit<DesignToolbarP
4487
4509
  declare const ContextBar: react.ForwardRefExoticComponent<Omit<DesignToolbarProps, "ref"> & react.RefAttributes<HTMLElement>>;
4488
4510
 
4489
4511
  export { Accordion, AchievementList, AchievementModal, ActivityHeatmap, AdBanner, AiChainOfThought, AiChat, AiChatList, AiCheckpoint, AiConfirmation, AiContext, AiConversation, AiExecutionQuote, AiFileTree, AiGlow, AiInlineCitation, AiMessage, AiModelSelect, AiPlan, AiQueue, AiReasoning, AiSources, AiStackTrace, AiSubagent, AiTask, AiTaskStatus, AiTerminal, AiTestResults, AiTool, Alert, AndroidMockup, AnimationBackground, AnimationText, AppBadge, AppleWatchMockup, AttachmentList, AudioPlayer, Avatar, Backdrop, Badge, Banner, BentoCard, BentoGrid, BoardingPass, BoardingPassStack, BorderBeam, BottomNavigation, BottomSheet, Breadcrumbs, BrowserMockup, Button, Calendar, Card, Carousel, ChatComposer, ChatList, ChatMessage, ChatOrb, ChatRoom, ChatSuggestions, ChatTyping, ChatWelcome, ChatWidget, Checkbox, Chip, CodeBlock, ColorPicker, ColorSwatch, Confetti, Confirm, Container, ContextBar, ContextMenu, CookieBanner, Countdown, CreditBalance, CreditCard, CreditDropdown, CreditHistory, CreditRecharge, CreditRechargeModal, CursorFollower, DatePicker, DesignCanvas, DesignToolbar, Divider, DownloadProgress, Drawer, Dropdown, Dropzone, DuoMockup, EmailVerify, EmptyState, FileUploader, FilterBar, FlightStatus, FlipMockup, FloatingActionButton, FoldMockup, Footer, Form, Gantt, GlyphMatrix, Gradient, Grid, GridBackground, GridItem, Image, ImageList, ImagePlaceholder, Indicator, Input, IosMockup, Kanban, Label, Lightbox, List, Logo, MarkdownEditor, Marquee, Masonry, MenuItem, MobileMockup, Modal, ModalBody, ModalFooter, ModalHeader, Navbar, NavigationRail, Node, NotificationDropdown, NotificationInbox, OnboardingModal, OtpInput, PageHeader, Pagination, PhoneVerify, PlanOverview, Popover, Progress, ProgressStep, Progressbar, ProgressiveBlur, Radio, RandomGradient, RangeSlider, Rating, Receipt, 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, TabletMockup, Tabs, Testimonial, Textarea, Ticket, TimePicker, Timeline, Toast, Toggle, ToolButton, Toolbar, Tooltip, TopBanner, Tutorial, TweetCard, TwoFactor, VideoPlayer, VoiceControl, WorkspaceInviteModal, WorkspaceMembers, YouTubePlayer, useContextMenu };
4490
- export type { AccordionItemConfig, AccordionProps, AchievementListProps, AchievementModalProps, ActivityHeatmapCellDetail, ActivityHeatmapItem, ActivityHeatmapProps, AdBannerProps, AiChatListProps, AiChatProps, AiConversationProps, AiElementProps, AiExecutionQuoteProps, AiGlowProps, AiMessageProps, AiModelSelectProps, AiTaskStatusProps, AlertAction, AlertProps, AnimationBackgroundProps, AnimationTextProps, AppBadgeProps, AttachmentListProps, AudioPlayerProps, AvatarProps, BackdropProps, BadgeProps, BannerAction, BannerProps, BentoCardProps, BentoGridProps, BoardingPassProps, BoardingPassStackProps, BorderBeamProps, BottomNavigationItem, BottomNavigationProps, BottomSheetProps, BreadcrumbItemConfig, BreadcrumbMenuItemConfig, BreadcrumbsProps, ButtonProps, CalendarEvent, CalendarProps, CardProps, CarouselItem, CarouselProps, ChatComposerProps, ChatListProps, ChatMessageProps, ChatOrbProps, ChatRoomProps, ChatSuggestionsProps, ChatTypingProps, ChatWelcomeProps, ChatWidgetProps, ChipProps, CodeBlockItem, CodeBlockProps, ColorPickerProps, ColorSwatchItem, ColorSwatchProps, ConfettiProps, ConfirmProps, ContextMenuItemConfig, ContextMenuProps, CookieBannerProps, CountdownProps, CreditBalanceProps, CreditCardProps, CreditDropdownProps, CreditHistoryProps, CreditRechargeModalProps, CreditRechargeProps, CursorFollowerProps, DatePickerProps, DbEventHandler, DesignCanvasProps, DesignToolbarProps, DeviceMockupProps, DividerProps, DownloadProgressProps, DrawerProps, DropdownItemConfig, DropdownProps, DropzoneProps, EmailVerifyProps, EmptyStateProps, FileUploaderProps, FilterBarProps, FlightStatusProps, FloatingActionButtonProps, FooterCompanyInfo, FooterFamilySite, FooterLink, FooterLinkColumn, FooterProps, FooterSocialLink, FormFieldData, FormProps, GanttAssignee, GanttGroup, GanttItem, GanttProps, GanttRow, GlyphMatrixProps, GradientColor, GradientProps, GridBackgroundProps, ImageListItem, ImageListProps, ImagePlaceholderProps, ImageProps, IndicatorProps, InputProps, KanbanAssignee, KanbanCard, KanbanColumn, KanbanProps, KanbanTag, LabelProps, LightboxImage, LightboxProps, ListItemConfig, ListProps, LogoProps, MarkdownEditorProps, MarqueeImageItem, MarqueeProps, MasonryItem, MasonryProps, MenuItemChildConfig, MenuItemProps, ModalProps, ModalSegmentItem, ModalTabItem, NavbarItem, NavbarProps, NavbarUserProfile, NavigationRailProps, NodeProps, NotificationDropdownProps, NotificationInboxProps, OnboardingModalProps, OnboardingStep, OtpInputProps, PageHeaderProps, PageHeaderTabItem, PaginationProps, PhoneVerifyProps, PlanOverviewProps, PopoverProps, ProgressProps, ProgressStepItem, ProgressStepProps, ProgressiveBlurProps, RadioProps, RandomGradientProps, RangeSliderProps, RatingProps, ReceiptProps, ReorderItem, ReorderProps, ResizablePanelsProps, ScrollAreaProps, SearchBarProps, SectionAppDownloadProps, SectionAppDownloadStore, SectionBlockBadge, SectionContactAction, SectionContactProps, SectionCtaButton, SectionCtaProps, SectionFaqItem, SectionFaqProps, SectionFeatureAction, SectionFeatureBadge, SectionFeatureGridItem, SectionFeatureGridProps, SectionFeatureProps, SectionHeroButton, SectionHeroProps, SectionLogoCloudItem, SectionLogoCloudProps, SectionPricingCta, SectionPricingPlan, SectionPricingProps, SectionProps, SectionStatItem, SectionStatsProps, SectionTestimonialItem, SectionTestimonialsProps, SegmentControlProps, SelectProps, SelectionProps, SharePlatform, ShareProps, SidebarItem, SidebarPanel, SidebarPanelMode, SidebarProject, SidebarPromoBanner, SidebarProps, SidebarSection, SidebarUpdateBanner, SidebarUserProfile, SignatureProps, SkeletonProps, SpinnerProps, SplitViewProps, StatChange, StatProps, StepperProps, TabItemConfig, TableColumn, TableProps, TabsProps, TestimonialProps, TextareaProps, TicketProps, TimePickerProps, TimelineItem, TimelineProps, ToastProps, ToggleProps, ToolButtonProps, TooltipProps, TopBannerProps, TutorialProps, TutorialStep, TweetCardProps, TwoFactorProps, UseContextMenuReturn, VideoPlayerProps, VoiceControlProps, WebComponentProps, WorkspaceInviteModalProps, WorkspaceMembersProps, YouTubePlayerProps };
4512
+ export type { AccordionItemConfig, AccordionProps, AchievementListProps, AchievementModalProps, ActivityHeatmapCellDetail, ActivityHeatmapItem, ActivityHeatmapProps, AdBannerProps, AiChatListProps, AiChatProps, AiConversationProps, AiElementProps, AiExecutionQuoteProps, AiGlowProps, AiMessageProps, AiModelSelectProps, AiTaskStatusProps, AlertAction, AlertProps, AnimationBackgroundProps, AnimationTextProps, AppBadgeProps, AttachmentListProps, AudioPlayerProps, AvatarProps, BackdropProps, BadgeProps, BannerAction, BannerProps, BentoCardProps, BentoGridProps, BoardingPassProps, BoardingPassStackProps, BorderBeamProps, BottomNavigationItem, BottomNavigationProps, BottomSheetProps, BreadcrumbItemConfig, BreadcrumbMenuItemConfig, BreadcrumbsProps, ButtonProps, CalendarEvent, CalendarProps, CardProps, CarouselItem, CarouselProps, ChatComposerProps, ChatListProps, ChatMessageProps, ChatOrbProps, ChatRoomProps, ChatSuggestionsProps, ChatTypingProps, ChatWelcomeProps, ChatWidgetProps, CheckboxChangeDetail, CheckboxProps, ChipProps, CodeBlockItem, CodeBlockProps, ColorPickerProps, ColorSwatchItem, ColorSwatchProps, ConfettiProps, ConfirmProps, ContextMenuItemConfig, ContextMenuProps, CookieBannerProps, CountdownProps, CreditBalanceProps, CreditCardProps, CreditDropdownProps, CreditHistoryProps, CreditRechargeModalProps, CreditRechargeProps, CursorFollowerProps, DatePickerProps, DbEventHandler, DesignCanvasProps, DesignToolbarProps, DeviceMockupProps, DividerProps, DownloadProgressProps, DrawerProps, DropdownItemConfig, DropdownProps, DropzoneProps, EmailVerifyProps, EmptyStateProps, FileUploaderProps, FilterBarProps, FlightStatusProps, FloatingActionButtonProps, FooterCompanyInfo, FooterFamilySite, FooterLink, FooterLinkColumn, FooterProps, FooterSocialLink, FormFieldData, FormProps, GanttAssignee, GanttGroup, GanttItem, GanttProps, GanttRow, GlyphMatrixProps, GradientColor, GradientProps, GridBackgroundProps, ImageListItem, ImageListProps, ImagePlaceholderProps, ImageProps, IndicatorProps, InputProps, KanbanAssignee, KanbanCard, KanbanColumn, KanbanProps, KanbanTag, LabelProps, LightboxImage, LightboxProps, ListItemConfig, ListProps, LogoProps, MarkdownEditorProps, MarqueeImageItem, MarqueeProps, MasonryItem, MasonryProps, MenuItemChildConfig, MenuItemProps, ModalProps, ModalSegmentItem, ModalTabItem, NavbarItem, NavbarProps, NavbarUserProfile, NavigationRailProps, NodeProps, NotificationDropdownProps, NotificationInboxProps, OnboardingModalProps, OnboardingStep, OtpInputProps, PageHeaderProps, PageHeaderTabItem, PaginationProps, PhoneVerifyProps, PlanOverviewProps, PopoverProps, ProgressProps, ProgressStepItem, ProgressStepProps, ProgressiveBlurProps, RadioChangeDetail, RadioProps, RandomGradientProps, RangeSliderProps, RatingProps, ReceiptProps, ReorderItem, ReorderProps, ResizablePanelsProps, ScrollAreaProps, SearchBarProps, SectionAppDownloadProps, SectionAppDownloadStore, SectionBlockBadge, SectionContactAction, SectionContactProps, SectionCtaButton, SectionCtaProps, SectionFaqItem, SectionFaqProps, SectionFeatureAction, SectionFeatureBadge, SectionFeatureGridItem, SectionFeatureGridProps, SectionFeatureProps, SectionHeroButton, SectionHeroProps, SectionLogoCloudItem, SectionLogoCloudProps, SectionPricingCta, SectionPricingPlan, SectionPricingProps, SectionProps, SectionStatItem, SectionStatsProps, SectionTestimonialItem, SectionTestimonialsProps, SegmentControlProps, SelectProps, SelectionControlProps, SelectionProps, SharePlatform, ShareProps, SidebarItem, SidebarPanel, SidebarPanelMode, SidebarProject, SidebarPromoBanner, SidebarProps, SidebarSection, SidebarUpdateBanner, SidebarUserProfile, SignatureProps, SkeletonProps, SpinnerProps, SplitViewProps, StatChange, StatProps, StepperProps, TabItemConfig, TableColumn, TableProps, TabsProps, TestimonialProps, TextareaProps, TicketProps, TimePickerProps, TimelineItem, TimelineProps, ToastProps, ToggleProps, ToolButtonProps, TooltipProps, TopBannerProps, TutorialProps, TutorialStep, TweetCardProps, TwoFactorProps, UseContextMenuReturn, VideoPlayerProps, VoiceControlProps, WebComponentProps, WorkspaceInviteModalProps, WorkspaceMembersProps, YouTubePlayerProps };