baseui 11.1.0 → 11.2.0

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 (67) hide show
  1. package/accordion/index.d.ts +7 -7
  2. package/app-nav-bar/styled-components.js +43 -9
  3. package/app-nav-bar/styled-components.js.flow +41 -8
  4. package/avatar/index.d.ts +3 -3
  5. package/badge/index.d.ts +20 -25
  6. package/banner/index.d.ts +22 -27
  7. package/breadcrumbs/index.d.ts +2 -2
  8. package/button/index.d.ts +6 -6
  9. package/button-group/index.d.ts +1 -1
  10. package/card/index.d.ts +8 -8
  11. package/checkbox/index.d.ts +7 -7
  12. package/dnd-list/index.d.ts +6 -6
  13. package/drawer/index.d.ts +5 -5
  14. package/es/app-nav-bar/styled-components.js +41 -9
  15. package/es/file-uploader/file-uploader.js +8 -5
  16. package/es/map-marker/index.js +1 -1
  17. package/es/select/select-component.js +2 -4
  18. package/es/themes/shared/borders.js +1 -1
  19. package/esm/app-nav-bar/styled-components.js +42 -9
  20. package/esm/file-uploader/file-uploader.js +23 -8
  21. package/esm/map-marker/index.js +1 -1
  22. package/esm/select/select-component.js +2 -4
  23. package/esm/themes/shared/borders.js +1 -1
  24. package/file-uploader/file-uploader.js +23 -8
  25. package/file-uploader/file-uploader.js.flow +18 -5
  26. package/file-uploader/index.d.ts +5 -5
  27. package/file-uploader/types.js.flow +3 -0
  28. package/form-control/index.d.ts +3 -3
  29. package/header-navigation/index.d.ts +3 -3
  30. package/helper/index.d.ts +2 -2
  31. package/icon/index.d.ts +1 -1
  32. package/input/index.d.ts +6 -6
  33. package/layout-grid/index.d.ts +2 -2
  34. package/link/index.d.ts +1 -1
  35. package/list/index.d.ts +14 -11
  36. package/map-marker/index.js +6 -0
  37. package/map-marker/index.js.flow +1 -0
  38. package/menu/index.d.ts +10 -10
  39. package/modal/index.d.ts +7 -7
  40. package/package.json +4 -7
  41. package/pagination/index.d.ts +3 -3
  42. package/payment-card/index.d.ts +1 -1
  43. package/phone-input/index.d.ts +9 -9
  44. package/popover/index.d.ts +4 -4
  45. package/progress-bar/index.d.ts +6 -6
  46. package/progress-steps/index.d.ts +11 -11
  47. package/radio/index.d.ts +7 -7
  48. package/rating/index.d.ts +3 -3
  49. package/select/index.d.ts +16 -16
  50. package/select/select-component.js +2 -4
  51. package/select/select-component.js.flow +2 -4
  52. package/side-navigation/index.d.ts +5 -5
  53. package/slider/index.d.ts +8 -8
  54. package/spinner/index.d.ts +1 -1
  55. package/styles/index.d.ts +8 -12
  56. package/table/index.d.ts +12 -12
  57. package/table-grid/index.d.ts +3 -3
  58. package/table-semantic/index.d.ts +14 -14
  59. package/tabs/index.d.ts +4 -4
  60. package/tabs-motion/index.d.ts +7 -7
  61. package/tag/index.d.ts +3 -3
  62. package/textarea/index.d.ts +2 -2
  63. package/themes/shared/borders.js +1 -1
  64. package/themes/shared/borders.js.flow +1 -1
  65. package/toast/index.d.ts +3 -3
  66. package/tooltip/index.d.ts +3 -3
  67. package/tree-view/index.d.ts +4 -4
@@ -49,9 +49,9 @@ export interface ProgressBarRoundedProps {
49
49
  }
50
50
  export declare const ProgressBarRounded: React.FC<ProgressBarRoundedProps>;
51
51
 
52
- export declare const StyledRoot: StyletronComponent<any>;
53
- export declare const StyledBarContainer: StyletronComponent<any>;
54
- export declare const StyledBar: StyletronComponent<any>;
55
- export declare const StyledBarProgress: StyletronComponent<any>;
56
- export declare const StyledInfiniteBar: StyletronComponent<any>;
57
- export declare const StyledLabel: StyletronComponent<any>;
52
+ export declare const StyledRoot: StyletronComponent<any, any>;
53
+ export declare const StyledBarContainer: StyletronComponent<any, any>;
54
+ export declare const StyledBar: StyletronComponent<any, any>;
55
+ export declare const StyledBarProgress: StyletronComponent<any, any>;
56
+ export declare const StyledInfiniteBar: StyletronComponent<any, any>;
57
+ export declare const StyledLabel: StyletronComponent<any, any>;
@@ -58,14 +58,14 @@ export interface StyleProps {
58
58
  $isCompleted?: boolean;
59
59
  $disabled?: boolean;
60
60
  }
61
- export declare const StyledProgressSteps: StyletronComponent<StyleProps>;
62
- export declare const StyledStep: StyletronComponent<StyleProps>;
63
- export declare const StyledIcon: StyletronComponent<StyleProps>;
64
- export declare const StyledInnerIcon: StyletronComponent<StyleProps>;
65
- export declare const StyledContent: StyletronComponent<StyleProps>;
66
- export declare const StyledContentTitle: StyletronComponent<StyleProps>;
67
- export declare const StyledContentTail: StyletronComponent<StyleProps>;
68
- export declare const StyledContentDescription: StyletronComponent<StyleProps>;
69
- export declare const StyledNumberStep: StyletronComponent<StyleProps>;
70
- export declare const StyledNumberIcon: StyletronComponent<StyleProps>;
71
- export declare const StyledNumberContentTail: StyletronComponent<StyleProps>;
61
+ export declare const StyledProgressSteps: StyletronComponent<any, StyleProps>;
62
+ export declare const StyledStep: StyletronComponent<any, StyleProps>;
63
+ export declare const StyledIcon: StyletronComponent<any, StyleProps>;
64
+ export declare const StyledInnerIcon: StyletronComponent<any, StyleProps>;
65
+ export declare const StyledContent: StyletronComponent<any, StyleProps>;
66
+ export declare const StyledContentTitle: StyletronComponent<any, StyleProps>;
67
+ export declare const StyledContentTail: StyletronComponent<any, StyleProps>;
68
+ export declare const StyledContentDescription: StyletronComponent<any, StyleProps>;
69
+ export declare const StyledNumberStep: StyletronComponent<any, StyleProps>;
70
+ export declare const StyledNumberIcon: StyletronComponent<any, StyleProps>;
71
+ export declare const StyledNumberContentTail: StyletronComponent<any, StyleProps>;
package/radio/index.d.ts CHANGED
@@ -125,10 +125,10 @@ export class Radio extends React.Component<RadioProps, RadioState> {
125
125
  onBlur(event: React.FocusEvent<HTMLInputElement>): void;
126
126
  }
127
127
 
128
- export declare const StyledRoot: StyletronComponent<any>;
129
- export declare const StyledLabel: StyletronComponent<any>;
130
- export declare const StyledInput: StyletronComponent<any>;
131
- export declare const StyledDescription: StyletronComponent<any>;
132
- export declare const StyledRadioMarkInner: StyletronComponent<any>;
133
- export declare const StyledRadioMarkOuter: StyletronComponent<any>;
134
- export declare const StyledRadioGroupRoot: StyletronComponent<any>;
128
+ export declare const StyledRoot: StyletronComponent<any, any>;
129
+ export declare const StyledLabel: StyletronComponent<any, any>;
130
+ export declare const StyledInput: StyletronComponent<any, any>;
131
+ export declare const StyledDescription: StyletronComponent<any, any>;
132
+ export declare const StyledRadioMarkInner: StyletronComponent<any, any>;
133
+ export declare const StyledRadioMarkOuter: StyletronComponent<any, any>;
134
+ export declare const StyledRadioGroupRoot: StyletronComponent<any, any>;
package/rating/index.d.ts CHANGED
@@ -48,6 +48,6 @@ export interface StyledRatingItemProps {
48
48
  $isSelected: boolean;
49
49
  $index: number;
50
50
  }
51
- export declare const StyledRoot: StyletronComponent<StyledRootProps>;
52
- export declare const StyledStar: StyletronComponent<StyledRatingItemProps>;
53
- export declare const StyledEmoticon: StyletronComponent<StyledRatingItemProps>;
51
+ export declare const StyledRoot: StyletronComponent<any, StyledRootProps>;
52
+ export declare const StyledStar: StyletronComponent<any, StyledRatingItemProps>;
53
+ export declare const StyledEmoticon: StyletronComponent<any, StyledRatingItemProps>;
package/select/index.d.ts CHANGED
@@ -308,19 +308,19 @@ export class StatefulSelectContainer extends React.Component<StatefulContainerPr
308
308
  internalSetState(params: OnChangeParams): void;
309
309
  }
310
310
 
311
- export declare const StyledRoot: StyletronComponent<any>;
312
- export declare const StyledControlContainer: StyletronComponent<any>;
313
- export declare const StyledValueContainer: StyletronComponent<any>;
314
- export declare const StyledPlaceholder: StyletronComponent<any>;
315
- export declare const StyledSingleValue: StyletronComponent<any>;
316
- export declare const StyledInputContainer: StyletronComponent<any>;
317
- export declare const StyledInput: StyletronComponent<any>;
318
- export declare const StyledInputSizer: StyletronComponent<any>;
319
- export declare const StyledIconsContainer: StyletronComponent<any>;
320
- export declare const StyledSelectArrow: StyletronComponent<any>;
321
- export declare const StyledClearIcon: StyletronComponent<any>;
322
- export declare const StyledSearchIconContainer: StyletronComponent<any>;
323
- export declare const StyledDropdownContainer: StyletronComponent<any>;
324
- export declare const StyledDropdown: StyletronComponent<any>;
325
- export declare const StyledDropdownListItem: StyletronComponent<any>;
326
- export declare const StyledOptionContent: StyletronComponent<any>;
311
+ export declare const StyledRoot: StyletronComponent<any, any>;
312
+ export declare const StyledControlContainer: StyletronComponent<any, any>;
313
+ export declare const StyledValueContainer: StyletronComponent<any, any>;
314
+ export declare const StyledPlaceholder: StyletronComponent<any, any>;
315
+ export declare const StyledSingleValue: StyletronComponent<any, any>;
316
+ export declare const StyledInputContainer: StyletronComponent<any, any>;
317
+ export declare const StyledInput: StyletronComponent<any, any>;
318
+ export declare const StyledInputSizer: StyletronComponent<any, any>;
319
+ export declare const StyledIconsContainer: StyletronComponent<any, any>;
320
+ export declare const StyledSelectArrow: StyletronComponent<any, any>;
321
+ export declare const StyledClearIcon: StyletronComponent<any, any>;
322
+ export declare const StyledSearchIconContainer: StyletronComponent<any, any>;
323
+ export declare const StyledDropdownContainer: StyletronComponent<any, any>;
324
+ export declare const StyledDropdown: StyletronComponent<any, any>;
325
+ export declare const StyledDropdownListItem: StyletronComponent<any, any>;
326
+ export declare const StyledOptionContent: StyletronComponent<any, any>;
@@ -315,10 +315,8 @@ var Select = /*#__PURE__*/function (_React$Component) {
315
315
  if (containsNode(_this.anchor.current, event.relatedTarget) || containsNode(_this.dropdown.current, event.relatedTarget)) {
316
316
  return;
317
317
  }
318
- } else if (event.type !== 'blur') {
319
- if (containsNode(_this.anchor.current, event.target)) {
320
- return;
321
- }
318
+ } else if (containsNode(_this.anchor.current, event.target)) {
319
+ return;
322
320
  }
323
321
 
324
322
  if (_this.props.onBlur) {
@@ -316,10 +316,8 @@ class Select extends React.Component<PropsT, SelectStateT> {
316
316
  ) {
317
317
  return;
318
318
  }
319
- } else if (event.type !== 'blur') {
320
- if (containsNode(this.anchor.current, event.target)) {
321
- return;
322
- }
319
+ } else if (containsNode(this.anchor.current, event.target)) {
320
+ return;
323
321
  }
324
322
 
325
323
  if (this.props.onBlur) {
@@ -53,8 +53,8 @@ export class NavItem extends React.Component<NavItemProps> {
53
53
  handleKeyDown(event: React.KeyboardEvent): void;
54
54
  }
55
55
 
56
- export declare const StyledRoot: StyletronComponent<any>;
57
- export declare const StyledNavItemContainer: StyletronComponent<any>;
58
- export declare const StyledNavLink: StyletronComponent<any>;
59
- export declare const StyledNavItem: StyletronComponent<any>;
60
- export declare const StyledSubNavContainer: StyletronComponent<any>;
56
+ export declare const StyledRoot: StyletronComponent<any, any>;
57
+ export declare const StyledNavItemContainer: StyletronComponent<any, any>;
58
+ export declare const StyledNavLink: StyletronComponent<any, any>;
59
+ export declare const StyledNavItem: StyletronComponent<any, any>;
60
+ export declare const StyledSubNavContainer: StyletronComponent<any, any>;
package/slider/index.d.ts CHANGED
@@ -82,11 +82,11 @@ export class StatefulContainer extends React.Component<StatefulContainerProps, S
82
82
  internalSetState(type: 'change', { value }: State): void;
83
83
  }
84
84
 
85
- export declare const StyledRoot: StyletronComponent<any>;
86
- export declare const StyledTrack: StyletronComponent<any>;
87
- export declare const StyledInnerTrack: StyletronComponent<any>;
88
- export declare const StyledThumb: StyletronComponent<any>;
89
- export declare const StyledInnerThumb: StyletronComponent<any>;
90
- export declare const StyledTick: StyletronComponent<any>;
91
- export declare const StyledTickBar: StyletronComponent<any>;
92
- export declare const StyledMark: StyletronComponent<any>;
85
+ export declare const StyledRoot: StyletronComponent<any, any>;
86
+ export declare const StyledTrack: StyletronComponent<any, any>;
87
+ export declare const StyledInnerTrack: StyletronComponent<any, any>;
88
+ export declare const StyledThumb: StyletronComponent<any, any>;
89
+ export declare const StyledInnerThumb: StyletronComponent<any, any>;
90
+ export declare const StyledTick: StyletronComponent<any, any>;
91
+ export declare const StyledTickBar: StyletronComponent<any, any>;
92
+ export declare const StyledMark: StyletronComponent<any, any>;
@@ -14,4 +14,4 @@ export interface SpinnerProps {
14
14
  $size?: number | string | SIZE | Sizing;
15
15
  }
16
16
 
17
- export declare const Spinner: StyletronComponent<SpinnerProps>;
17
+ export declare const Spinner: StyletronComponent<any, SpinnerProps>;
package/styles/index.d.ts CHANGED
@@ -37,10 +37,10 @@ export interface Theme {
37
37
  type UseStyletronFn<Theme> = () => [(arg: StyleObject) => string, Theme];
38
38
  export function createThemedUseStyletron<Theme>(): UseStyletronFn<Theme>;
39
39
  export declare const useStyletron: UseStyletronFn<Theme>;
40
- export function withWrapper<C extends StyletronComponent<any>, P extends object>(
40
+ export function withWrapper<C extends StyletronComponent<any, any>, P extends object>(
41
41
  component: C,
42
42
  wrapper: (component: C) => React.ComponentType<P>
43
- ): StyletronComponent<React.ComponentProps<C> & P>;
43
+ ): StyletronComponent<C, P>;
44
44
 
45
45
  export function styled<
46
46
  P extends object,
@@ -49,30 +49,26 @@ export function styled<
49
49
  >(
50
50
  component: C,
51
51
  styledFn: StyleObject | ((props: { $theme: T } & P) => StyleObject)
52
- ): StyletronComponent<
53
- Pick<React.ComponentProps<C>, Exclude<keyof React.ComponentProps<C>, { className: string }>> & P
54
- >;
55
- export function withStyle<C extends StyletronComponent<any>, P extends object, T = Theme>(
52
+ ): StyletronComponent<C, P>;
53
+ export function withStyle<C extends StyletronComponent<any, any>, P extends object, T = Theme>(
56
54
  component: C,
57
55
  styledFn: StyleObject | ((props: { $theme: T } & P) => StyleObject)
58
- ): StyletronComponent<React.ComponentProps<C> & P>;
56
+ ): StyletronComponent<C, P>;
59
57
 
60
58
  export interface StyledFn<T> extends StyletronStyledFn {
61
59
  <C extends keyof JSX.IntrinsicElements | React.ComponentType<any>, P extends object>(
62
60
  component: C,
63
61
  style: (props: { $theme: T } & P) => StyleObject
64
- ): StyletronComponent<
65
- Pick<React.ComponentProps<C>, Exclude<keyof React.ComponentProps<C>, { className: string }>> & P
66
- >;
62
+ ): StyletronComponent<C, P>;
67
63
  }
68
64
 
69
65
  export function createThemedStyled<Theme>(): StyledFn<Theme>;
70
66
 
71
67
  export interface WithStyleFn<T = Theme> extends StyletronWithStyleFn {
72
- <C extends StyletronComponent<any>, P extends object, T1 = T>(
68
+ <C extends StyletronComponent<any, any>, P extends object, T1 = T>(
73
69
  component: C,
74
70
  style: (props: P & { $theme: T1 }) => StyleObject
75
- ): StyletronComponent<React.ComponentProps<C> & P>;
71
+ ): StyletronComponent<C, P>;
76
72
  }
77
73
 
78
74
  export function createThemedWithStyle<Theme>(): WithStyleFn<Theme>;
package/table/index.d.ts CHANGED
@@ -54,15 +54,15 @@ export interface FilterProps {
54
54
  }
55
55
  export declare const Filter: React.FC<FilterProps>;
56
56
 
57
- export declare const StyledTable: StyletronComponent<any>;
58
- export declare const StyledFilterButton: StyletronComponent<any>;
59
- export declare const StyledFilterContent: StyletronComponent<any>;
60
- export declare const StyledFilterHeading: StyletronComponent<any>;
61
- export declare const StyledFilterFooter: StyletronComponent<any>;
62
- export declare const StyledHead: StyletronComponent<any>;
63
- export declare const StyledHeadCell: StyletronComponent<any>;
64
- export declare const StyledBody: StyletronComponent<any>;
65
- export declare const StyledRow: StyletronComponent<any>;
66
- export declare const StyledCell: StyletronComponent<any>;
67
- export declare const StyledAction: StyletronComponent<any>;
68
- export declare const StyledSortableLabel: StyletronComponent<any>;
57
+ export declare const StyledTable: StyletronComponent<any, any>;
58
+ export declare const StyledFilterButton: StyletronComponent<any, any>;
59
+ export declare const StyledFilterContent: StyletronComponent<any, any>;
60
+ export declare const StyledFilterHeading: StyletronComponent<any, any>;
61
+ export declare const StyledFilterFooter: StyletronComponent<any, any>;
62
+ export declare const StyledHead: StyletronComponent<any, any>;
63
+ export declare const StyledHeadCell: StyletronComponent<any, any>;
64
+ export declare const StyledBody: StyletronComponent<any, any>;
65
+ export declare const StyledRow: StyletronComponent<any, any>;
66
+ export declare const StyledCell: StyletronComponent<any, any>;
67
+ export declare const StyledAction: StyletronComponent<any, any>;
68
+ export declare const StyledSortableLabel: StyletronComponent<any, any>;
@@ -1,7 +1,7 @@
1
1
  import { StyletronComponent } from 'styletron-react';
2
2
  import { SORT_DIRECTION, SortableHeadCell } from '../table/';
3
3
 
4
- export declare const StyledTable: StyletronComponent<any>;
5
- export declare const StyledHeadCell: StyletronComponent<any>;
6
- export declare const StyledBodyCell: StyletronComponent<any>;
4
+ export declare const StyledTable: StyletronComponent<any, any>;
5
+ export declare const StyledHeadCell: StyletronComponent<any, any>;
6
+ export declare const StyledBodyCell: StyletronComponent<any, any>;
7
7
  export { SORT_DIRECTION, SortableHeadCell };
@@ -81,17 +81,17 @@ export interface TableBuilderColumnProps<RowT> {
81
81
  }
82
82
  export class TableBuilderColumn<RowT> extends React.Component<TableBuilderColumnProps<RowT>> {}
83
83
 
84
- export declare const StyledRoot: StyletronComponent<any>;
85
- export declare const StyledTable: StyletronComponent<any>;
86
- export declare const StyledTableHead: StyletronComponent<any>;
87
- export declare const StyledTableHeadRow: StyletronComponent<any>;
88
- export declare const StyledTableHeadCell: StyletronComponent<any>;
89
- export declare const StyledTableHeadCellSortable: StyletronComponent<any>;
90
- export declare const StyledTableBody: StyletronComponent<any>;
91
- export declare const StyledTableBodyRow: StyletronComponent<any>;
92
- export declare const StyledTableBodyCell: StyletronComponent<any>;
93
- export declare const StyledTableLoadingMessage: StyletronComponent<any>;
94
- export declare const StyledTableEmptyMessage: StyletronComponent<any>;
95
- export declare const StyledSortAscIcon: StyletronComponent<any>;
96
- export declare const StyledSortDescIcon: StyletronComponent<any>;
97
- export declare const StyledSortNoneIcon: StyletronComponent<any>;
84
+ export declare const StyledRoot: StyletronComponent<any, any>;
85
+ export declare const StyledTable: StyletronComponent<any, any>;
86
+ export declare const StyledTableHead: StyletronComponent<any, any>;
87
+ export declare const StyledTableHeadRow: StyletronComponent<any, any>;
88
+ export declare const StyledTableHeadCell: StyletronComponent<any, any>;
89
+ export declare const StyledTableHeadCellSortable: StyletronComponent<any, any>;
90
+ export declare const StyledTableBody: StyletronComponent<any, any>;
91
+ export declare const StyledTableBodyRow: StyletronComponent<any, any>;
92
+ export declare const StyledTableBodyCell: StyletronComponent<any, any>;
93
+ export declare const StyledTableLoadingMessage: StyletronComponent<any, any>;
94
+ export declare const StyledTableEmptyMessage: StyletronComponent<any, any>;
95
+ export declare const StyledSortAscIcon: StyletronComponent<any, any>;
96
+ export declare const StyledSortDescIcon: StyletronComponent<any, any>;
97
+ export declare const StyledSortNoneIcon: StyletronComponent<any, any>;
package/tabs/index.d.ts CHANGED
@@ -85,7 +85,7 @@ export class Tab extends React.Component<TabProps> {
85
85
  getSharedProps(): SharedProps;
86
86
  }
87
87
 
88
- export declare const StyledRoot: StyletronComponent<any>;
89
- export declare const StyledTab: StyletronComponent<any>;
90
- export declare const StyledTabBar: StyletronComponent<any>;
91
- export declare const StyledTabContent: StyletronComponent<any>;
88
+ export declare const StyledRoot: StyletronComponent<any, any>;
89
+ export declare const StyledTab: StyletronComponent<any, any>;
90
+ export declare const StyledTabBar: StyletronComponent<any, any>;
91
+ export declare const StyledTabContent: StyletronComponent<any, any>;
@@ -30,13 +30,13 @@ export declare const isRTL: (direction: string) => boolean;
30
30
 
31
31
  // styled-components
32
32
 
33
- export declare const StyledRoot: StyletronComponent<any>;
34
- export declare const StyledTabList: StyletronComponent<any>;
35
- export declare const StyledTab: StyletronComponent<any>;
36
- export declare const StyledArtworkContainer: StyletronComponent<any>;
37
- export declare const StyledTabBorder: StyletronComponent<any>;
38
- export declare const StyledTabHighlight: StyletronComponent<any>;
39
- export declare const StyledTabPanel: StyletronComponent<any>;
33
+ export declare const StyledRoot: StyletronComponent<any, any>;
34
+ export declare const StyledTabList: StyletronComponent<any, any>;
35
+ export declare const StyledTab: StyletronComponent<any, any>;
36
+ export declare const StyledArtworkContainer: StyletronComponent<any, any>;
37
+ export declare const StyledTabBorder: StyletronComponent<any, any>;
38
+ export declare const StyledTabHighlight: StyletronComponent<any, any>;
39
+ export declare const StyledTabPanel: StyletronComponent<any, any>;
40
40
 
41
41
  // tabs
42
42
 
package/tag/index.d.ts CHANGED
@@ -65,6 +65,6 @@ export class Tag extends React.Component<TagProps> {
65
65
  handleActionKeyDown(event: KeyboardEvent): void;
66
66
  }
67
67
 
68
- export declare const StyledRoot: StyletronComponent<any>;
69
- export declare const StyledAction: StyletronComponent<any>;
70
- export declare const StyledText: StyletronComponent<any>;
68
+ export declare const StyledRoot: StyletronComponent<any, any>;
69
+ export declare const StyledAction: StyletronComponent<any, any>;
70
+ export declare const StyledText: StyletronComponent<any, any>;
@@ -33,7 +33,7 @@ export declare const StatefulTextarea: React.FC<StatefulTextareaProps>;
33
33
 
34
34
  export { StatefulContainer };
35
35
 
36
- export declare const StyledTextareaContainer: StyletronComponent<any>;
37
- export declare const StyledTextarea: StyletronComponent<any>;
36
+ export declare const StyledTextareaContainer: StyletronComponent<any, any>;
37
+ export declare const StyledTextarea: StyletronComponent<any, any>;
38
38
 
39
39
  export { STATE_CHANGE_TYPE };
@@ -54,7 +54,7 @@ var borders = {
54
54
  useRoundedCorners: true,
55
55
 
56
56
  /** Button, ButtonGroup */
57
- buttonBorderRadius: '0px',
57
+ buttonBorderRadius: '8px',
58
58
 
59
59
  /** Input, Select, Textarea, Checkbox */
60
60
  inputBorderRadius: '0px',
@@ -48,7 +48,7 @@ const borders: BordersT = {
48
48
  /** Datepicker (Range), Progress Bar, Slider, Tag */
49
49
  useRoundedCorners: true,
50
50
  /** Button, ButtonGroup */
51
- buttonBorderRadius: '0px',
51
+ buttonBorderRadius: '8px',
52
52
  /** Input, Select, Textarea, Checkbox */
53
53
  inputBorderRadius: '0px',
54
54
  /** Popover, Menu, Tooltip */
package/toast/index.d.ts CHANGED
@@ -118,6 +118,6 @@ export class Toast extends React.Component<ToastProps, ToastPrivateState> {
118
118
  getSharedProps(): Readonly<SharedStylePropsArg>;
119
119
  }
120
120
 
121
- export declare const Root: StyletronComponent<any>;
122
- export declare const Body: StyletronComponent<any>;
123
- export declare const CloseIconSvg: StyletronComponent<any>;
121
+ export declare const Root: StyletronComponent<any, any>;
122
+ export declare const Body: StyletronComponent<any, any>;
123
+ export declare const CloseIconSvg: StyletronComponent<any, any>;
@@ -21,6 +21,6 @@ export { ACCESSIBILITY_TYPE, PLACEMENT, TRIGGER_TYPE };
21
21
  export type TooltipProps = PopoverProps;
22
22
  export class Tooltip extends React.Component<TooltipProps> {}
23
23
 
24
- export declare const StyledArrow: StyletronComponent<any>;
25
- export declare const StyledBody: StyletronComponent<any>;
26
- export declare const StyledInner: StyletronComponent<any>;
24
+ export declare const StyledArrow: StyletronComponent<any, any>;
25
+ export declare const StyledBody: StyletronComponent<any, any>;
26
+ export declare const StyledInner: StyletronComponent<any, any>;
@@ -62,10 +62,10 @@ export declare const StatefulTreeView: React.FC<TreeViewProps>;
62
62
 
63
63
  export declare const TreeLabel: React.FC<TreeLabelProps>;
64
64
 
65
- export declare const StyledTreeItemList: StyletronComponent<any>;
66
- export declare const StyledTreeItem: StyletronComponent<any>;
67
- export declare const StyledItemContent: StyletronComponent<any>;
68
- export declare const StyledIconContainer: StyletronComponent<any>;
65
+ export declare const StyledTreeItemList: StyletronComponent<any, any>;
66
+ export declare const StyledTreeItem: StyletronComponent<any, any>;
67
+ export declare const StyledItemContent: StyletronComponent<any, any>;
68
+ export declare const StyledIconContainer: StyletronComponent<any, any>;
69
69
 
70
70
  type TGetId = (node: TreeNode) => string | number;
71
71
  type toggleIsExpandedT = (data: TreeNode[], toggledNode: TreeNode, getId?: TGetId) => TreeNode[];