@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.
package/dist/index.d.ts CHANGED
@@ -12,6 +12,8 @@ declare class DbButton extends HTMLElement {
12
12
  set size(value: string);
13
13
  get radius(): string;
14
14
  set radius(value: string);
15
+ get accentStyle(): string;
16
+ set accentStyle(value: string);
15
17
  get type(): string;
16
18
  set type(value: string);
17
19
  get loadingText(): string;
@@ -39,6 +41,8 @@ declare class DbButton extends HTMLElement {
39
41
  private syncIcons;
40
42
  private getDefaultRadiusClass;
41
43
  private syncRadius;
44
+ private syncAccentStyle;
45
+ private syncAccentField;
42
46
  private syncModifier;
43
47
  private syncBooleanModifier;
44
48
  private getSpinnerSize;
@@ -373,6 +377,7 @@ declare class DbModal extends HTMLElement {
373
377
  private renderBodyContent;
374
378
  private renderFooter;
375
379
  private render;
380
+ private exitTimerId;
376
381
  private syncVisibility;
377
382
  private syncOpenState;
378
383
  private teardown;
@@ -683,6 +688,7 @@ declare class DbRadio extends HTMLElement {
683
688
  private root?;
684
689
  private input?;
685
690
  private visual?;
691
+ private dot?;
686
692
  private labelEl?;
687
693
  private built;
688
694
  get checked(): boolean;
@@ -998,6 +1004,7 @@ declare class DbToast extends HTMLElement {
998
1004
  static get observedAttributes(): string[];
999
1005
  private timeoutId;
1000
1006
  private progressInterval;
1007
+ private closeTimerId;
1001
1008
  private closed;
1002
1009
  connectedCallback(): void;
1003
1010
  disconnectedCallback(): void;
@@ -1707,6 +1714,8 @@ declare class DbSegmentControl extends HTMLElement {
1707
1714
  private segmentButtons;
1708
1715
  private focusedIndex;
1709
1716
  private boundKeyDown;
1717
+ private boundResize;
1718
+ private resizeObserver;
1710
1719
  connectedCallback(): void;
1711
1720
  disconnectedCallback(): void;
1712
1721
  attributeChangedCallback(name: string): void;
@@ -1717,6 +1726,7 @@ declare class DbSegmentControl extends HTMLElement {
1717
1726
  private parseOptions;
1718
1727
  private render;
1719
1728
  private updateSelection;
1729
+ private updateIndicator;
1720
1730
  private select;
1721
1731
  private handleKeyDown;
1722
1732
  }
@@ -2120,6 +2130,12 @@ declare global {
2120
2130
  }
2121
2131
  }
2122
2132
 
2133
+ type OnboardingStep = {
2134
+ id: string;
2135
+ image?: string;
2136
+ title?: string;
2137
+ description?: string;
2138
+ };
2123
2139
  declare class DbOnboardingModal extends HTMLElement {
2124
2140
  static get observedAttributes(): string[];
2125
2141
  private root?;
@@ -2139,6 +2155,10 @@ declare class DbOnboardingModal extends HTMLElement {
2139
2155
  private prevButtonEl?;
2140
2156
  private nextButtonEl?;
2141
2157
  private indicatorEl?;
2158
+ get open(): boolean;
2159
+ set open(value: boolean);
2160
+ get steps(): OnboardingStep[];
2161
+ set steps(value: OnboardingStep[] | string);
2142
2162
  connectedCallback(): void;
2143
2163
  disconnectedCallback(): void;
2144
2164
  attributeChangedCallback(name: string): void;