@designbasekorea/ui-wc 0.2.0 → 0.2.1

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.
@@ -15,6 +15,8 @@ declare class DbButton extends HTMLElement {
15
15
  set size(value: string);
16
16
  get radius(): string;
17
17
  set radius(value: string);
18
+ get accentStyle(): string;
19
+ set accentStyle(value: string);
18
20
  get type(): string;
19
21
  set type(value: string);
20
22
  get loadingText(): string;
@@ -42,6 +44,8 @@ declare class DbButton extends HTMLElement {
42
44
  private syncIcons;
43
45
  private getDefaultRadiusClass;
44
46
  private syncRadius;
47
+ private syncAccentStyle;
48
+ private syncAccentField;
45
49
  private syncModifier;
46
50
  private syncBooleanModifier;
47
51
  private getSpinnerSize;
@@ -367,6 +371,7 @@ declare class DbModal extends HTMLElement {
367
371
  private renderBodyContent;
368
372
  private renderFooter;
369
373
  private render;
374
+ private exitTimerId;
370
375
  private syncVisibility;
371
376
  private syncOpenState;
372
377
  private teardown;
@@ -677,6 +682,7 @@ declare class DbRadio extends HTMLElement {
677
682
  private root?;
678
683
  private input?;
679
684
  private visual?;
685
+ private dot?;
680
686
  private labelEl?;
681
687
  private built;
682
688
  get checked(): boolean;
@@ -986,6 +992,7 @@ declare class DbToast extends HTMLElement {
986
992
  static get observedAttributes(): string[];
987
993
  private timeoutId;
988
994
  private progressInterval;
995
+ private closeTimerId;
989
996
  private closed;
990
997
  connectedCallback(): void;
991
998
  disconnectedCallback(): void;
@@ -1553,6 +1560,8 @@ declare class DbSegmentControl extends HTMLElement {
1553
1560
  private segmentButtons;
1554
1561
  private focusedIndex;
1555
1562
  private boundKeyDown;
1563
+ private boundResize;
1564
+ private resizeObserver;
1556
1565
  connectedCallback(): void;
1557
1566
  disconnectedCallback(): void;
1558
1567
  attributeChangedCallback(name: string): void;
@@ -1563,6 +1572,7 @@ declare class DbSegmentControl extends HTMLElement {
1563
1572
  private parseOptions;
1564
1573
  private render;
1565
1574
  private updateSelection;
1575
+ private updateIndicator;
1566
1576
  private select;
1567
1577
  private handleKeyDown;
1568
1578
  }
@@ -1960,6 +1970,12 @@ declare global {
1960
1970
  }
1961
1971
  }
1962
1972
 
1973
+ type OnboardingStep$1 = {
1974
+ id: string;
1975
+ image?: string;
1976
+ title?: string;
1977
+ description?: string;
1978
+ };
1963
1979
  declare class DbOnboardingModal extends HTMLElement {
1964
1980
  static get observedAttributes(): string[];
1965
1981
  private root?;
@@ -1979,6 +1995,10 @@ declare class DbOnboardingModal extends HTMLElement {
1979
1995
  private prevButtonEl?;
1980
1996
  private nextButtonEl?;
1981
1997
  private indicatorEl?;
1998
+ get open(): boolean;
1999
+ set open(value: boolean);
2000
+ get steps(): OnboardingStep$1[];
2001
+ set steps(value: OnboardingStep$1[] | string);
1982
2002
  connectedCallback(): void;
1983
2003
  disconnectedCallback(): void;
1984
2004
  attributeChangedCallback(name: string): void;
@@ -3213,6 +3233,9 @@ type WebComponentProps = Omit<react__default.HTMLAttributes<HTMLElement>, 'onCha
3213
3233
  [key: string]: unknown;
3214
3234
  };
3215
3235
 
3236
+ type GradientScheme = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info' | 'purple' | 'ocean' | 'sunset';
3237
+ type GradientTone = 'light' | 'vivid' | 'dark';
3238
+
3216
3239
  type PartProps = React.HTMLAttributes<HTMLDivElement>;
3217
3240
  declare function ModalHeader({ className, children, ...props }: PartProps): react.DetailedReactHTMLElement<{
3218
3241
  defaultChecked?: boolean | undefined;
@@ -4168,6 +4191,7 @@ type SegmentControlProps = SelectionProps & {
4168
4191
  value?: string;
4169
4192
  size?: 's' | 'm' | 'l';
4170
4193
  variant?: 'default' | 'icon-only';
4194
+ appearance?: 'pill' | 'rounded';
4171
4195
  fullWidth?: boolean;
4172
4196
  };
4173
4197
  type StepperProps = SelectionProps & {
@@ -4177,6 +4201,7 @@ type StepperProps = SelectionProps & {
4177
4201
  step?: number;
4178
4202
  size?: 's' | 'm' | 'l';
4179
4203
  editable?: boolean;
4204
+ fullWidth?: boolean;
4180
4205
  readOnly?: boolean;
4181
4206
  onMinReached?: DbEventHandler<{
4182
4207
  value: number;
@@ -4578,6 +4603,7 @@ type OnboardingModalProps = WebComponentProps & {
4578
4603
  steps?: OnboardingStep[];
4579
4604
  currentStep?: number;
4580
4605
  isOpen?: boolean;
4606
+ open?: boolean;
4581
4607
  showCloseButton?: boolean;
4582
4608
  showIndicator?: boolean;
4583
4609
  indicatorType?: 'dots' | 'numbers';
@@ -5348,7 +5374,6 @@ type SearchBarProps = WebComponentProps & {
5348
5374
  defaultValue?: string;
5349
5375
  placeholder?: string;
5350
5376
  size?: 's' | 'm' | 'l';
5351
- variant?: 'default' | 'outlined' | 'filled';
5352
5377
  disabled?: boolean;
5353
5378
  readOnly?: boolean;
5354
5379
  fullWidth?: boolean;
@@ -6496,4 +6521,4 @@ declare const TimePicker: react.ForwardRefExoticComponent<Omit<TimePickerProps,
6496
6521
  declare const Calendar: react.ForwardRefExoticComponent<Omit<CalendarProps, "ref"> & react.RefAttributes<HTMLElement>>;
6497
6522
 
6498
6523
  export { Accordion, AdBanner, Alert, AnimationBackground, AnimationText, AppBadge, AudioPlayer, Avatar, Backdrop, Badge, Banner, BottomNavigation, BottomSheet, Breadcrumbs, Button, Calendar, Card, Carousel, Checkbox, Chip, CodeBlock, ColorPicker, Confirm, Container, ContextMenu, Countdown, CursorFollower, DatePicker, Divider, Drawer, Dropdown, Dropzone, EmptyState, FileUploader, FloatingActionButton, Form, Gradient, Grid, GridItem, Image, ImageList, ImagePlaceholder, Indicator, Input, Label, Lightbox, List, Logo, Lottie, MarkdownEditor, Marquee, Masonry, MenuItem, Modal, ModalBody, ModalFooter, ModalHeader, Navbar, OnboardingModal, PageHeader, Pagination, Popover, Progress, ProgressStep, Progressbar, Radio, RandomGradient, RangeSlider, Rating, Reorder, ResizablePanels, ScrollArea, SearchBar, Section, SectionAppDownload, SectionContact, SectionFeature, SectionHero, SegmentControl, Select, Share, Sidebar, Skeleton, Spinner, SplitView, Stack, Stat, Stepper, Table, Tabs, Testimonial, Textarea, TimePicker, Timeline, Toast, Toggle, Toolbar, Tooltip, TopBanner, Tutorial, VideoPlayer, YouTubePlayer, useContextMenu };
6499
- export type { AccordionItemConfig, AccordionProps, AdBannerProps, AlertAction, AlertProps, AnimationBackgroundProps, AnimationTextProps, AppBadgeProps, AudioPlayerProps, AvatarProps, BackdropProps, BadgeProps, BannerAction, BannerProps, BottomNavigationItem, BottomNavigationProps, BottomSheetProps, BreadcrumbItemConfig, BreadcrumbsProps, ButtonProps, CalendarEvent, CalendarProps, CardProps, CarouselItem, CarouselProps, ChipProps, CodeBlockItem, CodeBlockProps, ColorPickerProps, ConfirmProps, ContextMenuItemConfig, ContextMenuProps, CountdownProps, CursorFollowerProps, DatePickerProps, DbEventHandler, DividerProps, DrawerProps, DropdownItemConfig, DropdownProps, DropzoneProps, EmptyStateProps, FileUploaderProps, FloatingActionButtonProps, FormFieldData, FormProps, GradientColor, GradientProps, ImageListItem, ImageListProps, ImagePlaceholderProps, ImageProps, IndicatorProps, InputProps, LabelProps, LightboxImage, LightboxProps, ListItemConfig, ListProps, LogoProps, LottieProps, MarkdownEditorProps, MarqueeProps, MasonryItem, MasonryProps, MenuItemChildConfig, MenuItemProps, ModalProps, ModalSegmentItem, ModalTabItem, NavbarItem, NavbarProps, NavbarUserProfile, OnboardingModalProps, OnboardingStep, PageHeaderProps, PageHeaderTabItem, PaginationProps, PopoverProps, ProgressProps, ProgressStepItem, ProgressStepProps, RadioProps, RandomGradientProps, RangeSliderProps, RatingProps, ReorderItem, ReorderProps, ResizablePanelsProps, ScrollAreaProps, SearchBarProps, SectionAppDownloadProps, SectionAppDownloadStore, SectionContactAction, SectionContactProps, SectionFeatureAction, SectionFeatureBadge, SectionFeatureProps, SectionHeroButton, SectionHeroProps, SectionProps, SegmentControlProps, SelectProps, SelectionProps, SharePlatform, ShareProps, SidebarItem, SidebarProps, SidebarSection, SidebarUserProfile, SkeletonProps, SpinnerProps, SplitViewProps, StatChange, StatProps, StepperProps, TabItemConfig, TableColumn, TableProps, TabsProps, TestimonialProps, TextareaProps, TimePickerProps, TimelineItem, TimelineProps, ToastProps, ToggleProps, TooltipProps, TopBannerProps, TutorialProps, TutorialStep, UseContextMenuReturn, VideoPlayerProps, WebComponentProps, YouTubePlayerProps };
6524
+ export type { AccordionItemConfig, AccordionProps, AdBannerProps, AlertAction, AlertProps, AnimationBackgroundProps, AnimationTextProps, AppBadgeProps, AudioPlayerProps, AvatarProps, BackdropProps, BadgeProps, BannerAction, BannerProps, BottomNavigationItem, BottomNavigationProps, BottomSheetProps, BreadcrumbItemConfig, BreadcrumbsProps, ButtonProps, CalendarEvent, CalendarProps, CardProps, CarouselItem, CarouselProps, ChipProps, CodeBlockItem, CodeBlockProps, ColorPickerProps, ConfirmProps, ContextMenuItemConfig, ContextMenuProps, CountdownProps, CursorFollowerProps, DatePickerProps, DbEventHandler, DividerProps, DrawerProps, DropdownItemConfig, DropdownProps, DropzoneProps, EmptyStateProps, FileUploaderProps, FloatingActionButtonProps, FormFieldData, FormProps, GradientColor, GradientProps, GradientScheme, GradientTone, ImageListItem, ImageListProps, ImagePlaceholderProps, ImageProps, IndicatorProps, InputProps, LabelProps, LightboxImage, LightboxProps, ListItemConfig, ListProps, LogoProps, LottieProps, MarkdownEditorProps, MarqueeProps, MasonryItem, MasonryProps, MenuItemChildConfig, MenuItemProps, ModalProps, ModalSegmentItem, ModalTabItem, NavbarItem, NavbarProps, NavbarUserProfile, OnboardingModalProps, OnboardingStep, PageHeaderProps, PageHeaderTabItem, PaginationProps, PopoverProps, ProgressProps, ProgressStepItem, ProgressStepProps, RadioProps, RandomGradientProps, RangeSliderProps, RatingProps, ReorderItem, ReorderProps, ResizablePanelsProps, ScrollAreaProps, SearchBarProps, SectionAppDownloadProps, SectionAppDownloadStore, SectionContactAction, SectionContactProps, SectionFeatureAction, SectionFeatureBadge, SectionFeatureProps, SectionHeroButton, SectionHeroProps, SectionProps, SegmentControlProps, SelectProps, SelectionProps, SharePlatform, ShareProps, SidebarItem, SidebarProps, SidebarSection, SidebarUserProfile, SkeletonProps, SpinnerProps, SplitViewProps, StatChange, StatProps, StepperProps, TabItemConfig, TableColumn, TableProps, TabsProps, TestimonialProps, TextareaProps, TimePickerProps, TimelineItem, TimelineProps, ToastProps, ToggleProps, TooltipProps, TopBannerProps, TutorialProps, TutorialStep, UseContextMenuReturn, VideoPlayerProps, WebComponentProps, YouTubePlayerProps };