td-stylekit 26.24.2 → 27.0.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 (30) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/es/ChartPrimitives/Tooltip.d.ts +1 -1
  3. package/dist/es/CollapsibleToggle/CollapsibleToggle.d.ts +3 -1
  4. package/dist/es/CollapsibleToggle/CollapsibleToggle.js +28 -11
  5. package/dist/es/DataGrid/DataGrid.d.ts +14 -4
  6. package/dist/es/DataGrid/DataGrid.js +97 -30
  7. package/dist/es/DataGrid/components/BasicColumn.d.ts +2 -1
  8. package/dist/es/DataGrid/components/BasicColumn.js +5 -1
  9. package/dist/es/DataGrid/components/CollapsibleCell.js +4 -3
  10. package/dist/es/DataGrid/components/ColumnHeader.d.ts +3 -1
  11. package/dist/es/DataGrid/components/ColumnHeader.js +9 -1
  12. package/dist/es/DataGrid/components/ColumnHeaderDragHandle.d.ts +5 -0
  13. package/dist/es/DataGrid/components/ColumnHeaderDragHandle.js +104 -0
  14. package/dist/es/DataGrid/components/ScrollableTable.d.ts +1 -1
  15. package/dist/es/DataGrid/elements.d.ts +7 -3
  16. package/dist/es/DataGrid/elements.js +118 -104
  17. package/dist/es/DataGrid/types.d.ts +3 -0
  18. package/dist/es/DataGrid/utils.d.ts +6 -1
  19. package/dist/es/DistributionChart/utils.d.ts +1 -1
  20. package/dist/es/Drawer/Drawer.d.ts +2 -0
  21. package/dist/es/Drawer/Drawer.js +6 -2
  22. package/dist/es/FormControl/elements.d.ts +10 -6
  23. package/dist/es/Modal/components/ModalMessage.d.ts +20 -12
  24. package/dist/es/MultiSelect/elements.d.ts +5 -3
  25. package/dist/es/Overlay/OverlayHeader.d.ts +5 -3
  26. package/dist/es/PieChart/PieChart.js +3 -5
  27. package/dist/es/ThemeProvider/v4/DataGrid.d.ts +8 -3
  28. package/dist/es/ThemeProvider/v4/DataGrid.js +47 -35
  29. package/dist/es/Toast/elements.d.ts +25 -15
  30. package/package.json +4 -3
@@ -24,4 +24,7 @@ export declare type sortRendererArguments = {
24
24
  sortDirection?: keyof typeof SortDirection;
25
25
  localeStrings?: LocaleStrings;
26
26
  };
27
+ export declare type InternalResizeHandler = (arg0: {
28
+ x: number;
29
+ }) => void;
27
30
  //# sourceMappingURL=types.d.ts.map
@@ -4,7 +4,12 @@ export declare function createCollapsedRowList({ list, dataMap, groupBy, expande
4
4
  groupBy: any;
5
5
  expandedRows: any;
6
6
  }): any;
7
- export declare const FILTER_OPERATOR_LOGIC: any;
7
+ export declare const FILTER_OPERATOR_LOGIC: {
8
+ [x: string]: ({ value, filter }: {
9
+ value: any;
10
+ filter: any;
11
+ }) => any;
12
+ };
8
13
  export declare function filterWithOperator({ operator, value, filter }: {
9
14
  operator: any;
10
15
  value: any;
@@ -1,3 +1,3 @@
1
1
  /** Approximate calculation for the height of DistributionChart */
2
- export declare const calculateChartHeight: (dataLength: number, horizontal?: boolean | undefined) => number;
2
+ export declare const calculateChartHeight: (dataLength: number, horizontal?: boolean) => number;
3
3
  //# sourceMappingURL=utils.d.ts.map
@@ -7,8 +7,10 @@ export declare type DrawerProps = {
7
7
  children?: React.ReactNode;
8
8
  hiddenToggleLabel?: CollapsibleToggleProps['hiddenLabel'];
9
9
  isClosed?: boolean;
10
+ topToggle?: boolean;
10
11
  onToggleClick?: CollapsibleToggleProps['onClick'];
11
12
  css?: Interpolation<Theme>;
13
+ openRight?: boolean;
12
14
  };
13
15
  export declare type DrawerSubComponents = {
14
16
  Body: typeof DrawerBody;
@@ -11,7 +11,7 @@ var _CollapsibleToggle = _interopRequireDefault(require("../CollapsibleToggle"))
11
11
 
12
12
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
13
13
 
14
- var _excluded = ["anchor", "children", "isClosed", "hiddenToggleLabel", "onToggleClick"];
14
+ var _excluded = ["anchor", "children", "isClosed", "hiddenToggleLabel", "onToggleClick", "topToggle", "openRight"];
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
17
 
@@ -35,6 +35,8 @@ var Drawer = function Drawer(_ref) {
35
35
  isClosed = _ref.isClosed,
36
36
  hiddenToggleLabel = _ref.hiddenToggleLabel,
37
37
  onToggleClick = _ref.onToggleClick,
38
+ topToggle = _ref.topToggle,
39
+ openRight = _ref.openRight,
38
40
  props = _objectWithoutProperties(_ref, _excluded);
39
41
 
40
42
  function onClick(e) {
@@ -58,7 +60,9 @@ var Drawer = function Drawer(_ref) {
58
60
  id: "DRAWER_TOGGLE",
59
61
  hiddenLabel: toggleLabel,
60
62
  isClosed: isClosed,
61
- onClick: onClick
63
+ onClick: onClick,
64
+ topToggle: topToggle,
65
+ openRight: openRight
62
66
  })]
63
67
  }));
64
68
  };
@@ -43,16 +43,20 @@ export declare const LabelWrapper: import("@emotion/styled").StyledComponent<{
43
43
  size?: "small" | "medium" | "large" | "xlarge" | undefined;
44
44
  labelWidth?: string | number | undefined;
45
45
  }, {}, {}>;
46
- export declare const HintIcon: import("@emotion/styled").StyledComponent<((import("react").SVGProps<SVGSVGElement> | (import("react").SVGProps<SVGSVGElement> & {
46
+ export declare const HintIcon: import("@emotion/styled").StyledComponent<(import("react").SVGProps<SVGSVGElement> & {
47
+ theme?: import("@emotion/react").Theme | undefined;
48
+ }) | (import("react").SVGProps<SVGSVGElement> & {
47
49
  children?: import("react").ReactNode;
48
- })) & {
50
+ } & {
49
51
  theme?: import("@emotion/react").Theme | undefined;
50
- }) & {}, {}, {}>;
51
- export declare const WarningIcon: import("@emotion/styled").StyledComponent<((import("react").SVGProps<SVGSVGElement> | (import("react").SVGProps<SVGSVGElement> & {
52
+ }), {}, {}>;
53
+ export declare const WarningIcon: import("@emotion/styled").StyledComponent<(import("react").SVGProps<SVGSVGElement> & {
54
+ theme?: import("@emotion/react").Theme | undefined;
55
+ }) | (import("react").SVGProps<SVGSVGElement> & {
52
56
  children?: import("react").ReactNode;
53
- })) & {
57
+ } & {
54
58
  theme?: import("@emotion/react").Theme | undefined;
55
- }) & {}, {}, {}>;
59
+ }), {}, {}>;
56
60
  export declare const StyledPopover: import("@emotion/styled").StyledComponent<import("../Popover").PopoverProps & {
57
61
  children?: import("react").ReactNode;
58
62
  } & {
@@ -11,26 +11,34 @@ export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
11
11
  theme?: import("@emotion/react").Theme | undefined;
12
12
  as?: React.ElementType<any> | undefined;
13
13
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
- export declare const ErrorIcon: import("@emotion/styled").StyledComponent<((React.SVGProps<SVGSVGElement> | (React.SVGProps<SVGSVGElement> & {
14
+ export declare const ErrorIcon: import("@emotion/styled").StyledComponent<(React.SVGProps<SVGSVGElement> & {
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ }) | (React.SVGProps<SVGSVGElement> & {
15
17
  children?: React.ReactNode;
16
- })) & {
18
+ } & {
17
19
  theme?: import("@emotion/react").Theme | undefined;
18
- }) & {}, {}, {}>;
19
- export declare const WarningIcon: import("@emotion/styled").StyledComponent<((React.SVGProps<SVGSVGElement> | (React.SVGProps<SVGSVGElement> & {
20
+ }), {}, {}>;
21
+ export declare const WarningIcon: import("@emotion/styled").StyledComponent<(React.SVGProps<SVGSVGElement> & {
22
+ theme?: import("@emotion/react").Theme | undefined;
23
+ }) | (React.SVGProps<SVGSVGElement> & {
20
24
  children?: React.ReactNode;
21
- })) & {
25
+ } & {
22
26
  theme?: import("@emotion/react").Theme | undefined;
23
- }) & {}, {}, {}>;
24
- export declare const DefaultIcon: import("@emotion/styled").StyledComponent<((React.SVGProps<SVGSVGElement> | (React.SVGProps<SVGSVGElement> & {
27
+ }), {}, {}>;
28
+ export declare const DefaultIcon: import("@emotion/styled").StyledComponent<(React.SVGProps<SVGSVGElement> & {
29
+ theme?: import("@emotion/react").Theme | undefined;
30
+ }) | (React.SVGProps<SVGSVGElement> & {
25
31
  children?: React.ReactNode;
26
- })) & {
32
+ } & {
27
33
  theme?: import("@emotion/react").Theme | undefined;
28
- }) & {}, {}, {}>;
29
- export declare const SuccessIcon: import("@emotion/styled").StyledComponent<((React.SVGProps<SVGSVGElement> | (React.SVGProps<SVGSVGElement> & {
34
+ }), {}, {}>;
35
+ export declare const SuccessIcon: import("@emotion/styled").StyledComponent<(React.SVGProps<SVGSVGElement> & {
36
+ theme?: import("@emotion/react").Theme | undefined;
37
+ }) | (React.SVGProps<SVGSVGElement> & {
30
38
  children?: React.ReactNode;
31
- })) & {
39
+ } & {
32
40
  theme?: import("@emotion/react").Theme | undefined;
33
- }) & {}, {}, {}>;
41
+ }), {}, {}>;
34
42
  export declare const ModalMessageContent: import("@emotion/styled").StyledComponent<{
35
43
  theme?: import("@emotion/react").Theme | undefined;
36
44
  as?: React.ElementType<any> | undefined;
@@ -18,11 +18,13 @@ export declare const Counter: import("@emotion/styled").StyledComponent<any, imp
18
18
  export declare const SelectSpacer: import("@emotion/styled").StyledComponent<any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
19
19
  export declare const SelectDivider: import("@emotion/styled").StyledComponent<any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
20
  export declare const SearchInputWrapper: import("@emotion/styled").StyledComponent<any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
21
- export declare const SearchIcon: import("@emotion/styled").StyledComponent<((import("react").SVGProps<SVGSVGElement> | (import("react").SVGProps<SVGSVGElement> & {
21
+ export declare const SearchIcon: import("@emotion/styled").StyledComponent<(import("react").SVGProps<SVGSVGElement> & {
22
+ theme?: import("@emotion/react").Theme | undefined;
23
+ }) | (import("react").SVGProps<SVGSVGElement> & {
22
24
  children?: import("react").ReactNode;
23
- })) & {
25
+ } & {
24
26
  theme?: import("@emotion/react").Theme | undefined;
25
- }) & {}, {}, {}>;
27
+ }), {}, {}>;
26
28
  export declare const ClearButton: import("@emotion/styled").StyledComponent<any, {}, {}>;
27
29
  export declare const SearchInputStyled: import("@emotion/styled").StyledComponent<any, {}, {
28
30
  ref?: import("react").Ref<Input<"number" | ("textarea" | "text" | "url" | "email" | "datetime-local" | "password")>> | undefined;
@@ -12,11 +12,13 @@ export declare const OverlayHeaderContent: import("@emotion/styled").StyledCompo
12
12
  } & {
13
13
  theme?: import("@emotion/react").Theme | undefined;
14
14
  }, {}, {}>;
15
- export declare const CloseIcon: import("@emotion/styled").StyledComponent<((import("react").SVGProps<SVGSVGElement> | (import("react").SVGProps<SVGSVGElement> & {
15
+ export declare const CloseIcon: import("@emotion/styled").StyledComponent<(import("react").SVGProps<SVGSVGElement> & {
16
+ theme?: import("@emotion/react").Theme | undefined;
17
+ }) | (import("react").SVGProps<SVGSVGElement> & {
16
18
  children?: import("react").ReactNode;
17
- })) & {
19
+ } & {
18
20
  theme?: import("@emotion/react").Theme | undefined;
19
- }) & {}, {}, {}>;
21
+ }), {}, {}>;
20
22
  export declare const CloseButton: import("@emotion/styled").StyledComponent<Partial<UnstyledButtonProps> & {
21
23
  children?: import("react").ReactNode;
22
24
  } & {
@@ -72,11 +72,9 @@ function PieChart(_ref) {
72
72
  chartColor = _ref.chartColor,
73
73
  _ref$numFormat = _ref.numFormat,
74
74
  numFormat = _ref$numFormat === void 0 ? function (x) {
75
- return (// @ts-expect-error
76
- new Intl.NumberFormat(undefined, {
77
- notation: 'compact'
78
- }).format(x)
79
- );
75
+ return new Intl.NumberFormat(undefined, {
76
+ notation: 'compact'
77
+ }).format(x);
80
78
  } : _ref$numFormat;
81
79
  width = Math.max(width, 1);
82
80
  height = Math.max(height, 1);
@@ -7,9 +7,15 @@ declare const _default: {
7
7
  theme: any;
8
8
  }) => {
9
9
  paddingLeft: any;
10
- }) | (() => {
10
+ }) | (() => ((({ indent, theme }: {
11
+ indent: any;
12
+ theme: any;
13
+ }) => any) | (({ isFirst, theme }: {
14
+ isFirst: any;
15
+ theme: any;
16
+ }) => any) | {
11
17
  borderRightColor: string;
12
- }) | (({ theme }: {
18
+ })[]) | (({ theme }: {
13
19
  theme: any;
14
20
  }) => {
15
21
  color: any;
@@ -48,7 +54,6 @@ declare const _default: {
48
54
  backgroundColor: any;
49
55
  color: any;
50
56
  };
51
- paddingLeft: string;
52
57
  '& svg': {
53
58
  pointerEvents: string;
54
59
  };
@@ -51,35 +51,48 @@ var _default = (_Root$CategoryInput$C = {}, _defineProperty(_Root$CategoryInput$
51
51
  paddingLeft: theme.space[0]
52
52
  };
53
53
  }), _defineProperty(_Root$CategoryInput$C, Cell, function () {
54
- return {
54
+ return [{
55
55
  borderRightColor: 'inherit'
56
- };
57
- }), _defineProperty(_Root$CategoryInput$C, CollapsibleIcon, function (_ref4) {
58
- var theme = _ref4.theme;
56
+ }, function (_ref4) {
57
+ var indent = _ref4.indent,
58
+ theme = _ref4.theme;
59
+ return indent && {
60
+ paddingLeft: theme.space[8]
61
+ };
62
+ }, function (_ref5) {
63
+ var isFirst = _ref5.isFirst,
64
+ theme = _ref5.theme;
65
+ return isFirst && {
66
+ paddingLeft: theme.space[2]
67
+ };
68
+ }];
69
+ }), _defineProperty(_Root$CategoryInput$C, CollapsibleIcon, function (_ref6) {
70
+ var theme = _ref6.theme;
59
71
  return {
60
72
  color: theme.color.Mondo
61
73
  };
62
- }), _defineProperty(_Root$CategoryInput$C, ColumnHeaderPopover, function (_ref5) {
63
- var theme = _ref5.theme;
74
+ }), _defineProperty(_Root$CategoryInput$C, ColumnHeaderPopover, function (_ref7) {
75
+ var theme = _ref7.theme;
64
76
  return {
65
77
  border: "1px solid ".concat(theme.color.LightDivider),
66
78
  borderRadius: 'inherit'
67
79
  };
68
- }), _defineProperty(_Root$CategoryInput$C, ColumnHeaderActionsContainer, function (_ref6) {
69
- var theme = _ref6.theme;
80
+ }), _defineProperty(_Root$CategoryInput$C, ColumnHeaderActionsContainer, function (_ref8) {
81
+ var theme = _ref8.theme;
70
82
  return {
71
83
  padding: theme.space[3]
72
84
  };
73
- }), _defineProperty(_Root$CategoryInput$C, ColumnHeaderContainer, function (_ref7) {
74
- var theme = _ref7.theme,
75
- active = _ref7.active;
85
+ }), _defineProperty(_Root$CategoryInput$C, ColumnHeaderContainer, function (_ref9) {
86
+ var theme = _ref9.theme,
87
+ active = _ref9.active;
76
88
  return {
77
89
  color: active ? theme.color.CuriousBlue : theme.color.Flint,
78
90
  backgroundColor: theme.color.Solitude,
79
- borderRight: "1px solid ".concat(theme.color[borderColor])
91
+ borderRight: "1px solid ".concat(theme.color[borderColor]),
92
+ paddingLeft: theme.space[2]
80
93
  };
81
- }), _defineProperty(_Root$CategoryInput$C, ColumnHeaderIcon, function (_ref8) {
82
- var theme = _ref8.theme;
94
+ }), _defineProperty(_Root$CategoryInput$C, ColumnHeaderIcon, function (_ref10) {
95
+ var theme = _ref10.theme;
83
96
  return {
84
97
  // important to override component selector used for v5
85
98
  color: "".concat(theme.color.CuriousBlue, " !important")
@@ -88,32 +101,32 @@ var _default = (_Root$CategoryInput$C = {}, _defineProperty(_Root$CategoryInput$
88
101
  return {
89
102
  fontWeight: 700
90
103
  };
91
- }), _defineProperty(_Root$CategoryInput$C, FilterButtons, function (_ref9) {
92
- var theme = _ref9.theme;
104
+ }), _defineProperty(_Root$CategoryInput$C, FilterButtons, function (_ref11) {
105
+ var theme = _ref11.theme;
93
106
  return {
94
107
  justifyContent: 'inherit',
95
108
  marginTop: theme.space[3]
96
109
  };
97
- }), _defineProperty(_Root$CategoryInput$C, FilterHeader, function (_ref10) {
98
- var theme = _ref10.theme;
110
+ }), _defineProperty(_Root$CategoryInput$C, FilterHeader, function (_ref12) {
111
+ var theme = _ref12.theme;
99
112
  return {
100
113
  color: theme.color.LightPrimary,
101
114
  marginBottom: theme.space[1],
102
115
  textTransform: 'uppercase'
103
116
  };
104
- }), _defineProperty(_Root$CategoryInput$C, FilterSeparator, function (_ref11) {
105
- var theme = _ref11.theme;
117
+ }), _defineProperty(_Root$CategoryInput$C, FilterSeparator, function (_ref13) {
118
+ var theme = _ref13.theme;
106
119
  return {
107
120
  borderTop: "1px solid ".concat(theme.color.BorderGrey)
108
121
  };
109
- }), _defineProperty(_Root$CategoryInput$C, RightFilterButton, function (_ref12) {
110
- var theme = _ref12.theme;
122
+ }), _defineProperty(_Root$CategoryInput$C, RightFilterButton, function (_ref14) {
123
+ var theme = _ref14.theme;
111
124
  return {
112
125
  marginLeft: theme.space[3]
113
126
  };
114
- }), _defineProperty(_Root$CategoryInput$C, Row, [function (_ref13) {
115
- var theme = _ref13.theme,
116
- zebra = _ref13.zebra;
127
+ }), _defineProperty(_Root$CategoryInput$C, Row, [function (_ref15) {
128
+ var theme = _ref15.theme,
129
+ zebra = _ref15.zebra;
117
130
  return {
118
131
  backgroundColor: zebra ? theme.color.Solitude : theme.color.LightBackground,
119
132
  borderBottom: '1px solid',
@@ -127,14 +140,13 @@ var _default = (_Root$CategoryInput$C = {}, _defineProperty(_Root$CategoryInput$
127
140
  backgroundColor: zebra ? theme.color.Solitude : theme.color.LightBackground,
128
141
  color: theme.color.Mondo
129
142
  },
130
- paddingLeft: 'unset',
131
143
  '& svg': {
132
144
  pointerEvents: 'unset'
133
145
  }
134
146
  };
135
- }, function (_ref14) {
136
- var theme = _ref14.theme,
137
- selected = _ref14.selected;
147
+ }, function (_ref16) {
148
+ var theme = _ref16.theme,
149
+ selected = _ref16.selected;
138
150
  return selected && {
139
151
  color: theme.color.PrimaryContrast,
140
152
  backgroundColor: theme.color.CuriousBlue,
@@ -145,15 +157,15 @@ var _default = (_Root$CategoryInput$C = {}, _defineProperty(_Root$CategoryInput$
145
157
  backgroundColor: theme.color.CuriousBlue
146
158
  }
147
159
  };
148
- }, function (_ref15) {
149
- var selecting = _ref15.selecting;
160
+ }, function (_ref17) {
161
+ var selecting = _ref17.selecting;
150
162
  return selecting && {
151
163
  // prevent text from getting selected when using shift +
152
164
  // click to select multiple rows
153
165
  userSelect: 'none'
154
166
  };
155
- }]), _defineProperty(_Root$CategoryInput$C, SortButton, function (_ref16) {
156
- var theme = _ref16.theme;
167
+ }]), _defineProperty(_Root$CategoryInput$C, SortButton, function (_ref18) {
168
+ var theme = _ref18.theme;
157
169
  return {
158
170
  backgroundColor: 'transparent',
159
171
  borderRadius: 'none',
@@ -165,8 +177,8 @@ var _default = (_Root$CategoryInput$C = {}, _defineProperty(_Root$CategoryInput$
165
177
  color: theme.color.CuriousBlue
166
178
  }
167
179
  };
168
- }), _defineProperty(_Root$CategoryInput$C, TableContainer, function (_ref17) {
169
- var theme = _ref17.theme;
180
+ }), _defineProperty(_Root$CategoryInput$C, TableContainer, function (_ref19) {
181
+ var theme = _ref19.theme;
170
182
  return {
171
183
  border: "1px solid ".concat(theme.color[borderColor])
172
184
  };
@@ -12,34 +12,44 @@ export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
12
12
  theme?: import("@emotion/react").Theme | undefined;
13
13
  as?: import("react").ElementType<any> | undefined;
14
14
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
15
- export declare const ErrorIcon: import("@emotion/styled").StyledComponent<((import("react").SVGProps<SVGSVGElement> | (import("react").SVGProps<SVGSVGElement> & {
15
+ export declare const ErrorIcon: import("@emotion/styled").StyledComponent<(import("react").SVGProps<SVGSVGElement> & {
16
+ theme?: import("@emotion/react").Theme | undefined;
17
+ }) | (import("react").SVGProps<SVGSVGElement> & {
16
18
  children?: import("react").ReactNode;
17
- })) & {
19
+ } & {
20
+ theme?: import("@emotion/react").Theme | undefined;
21
+ }), {}, {}>;
22
+ export declare const WarningIcon: import("@emotion/styled").StyledComponent<(import("react").SVGProps<SVGSVGElement> & {
18
23
  theme?: import("@emotion/react").Theme | undefined;
19
- }) & {}, {}, {}>;
20
- export declare const WarningIcon: import("@emotion/styled").StyledComponent<((import("react").SVGProps<SVGSVGElement> | (import("react").SVGProps<SVGSVGElement> & {
24
+ }) | (import("react").SVGProps<SVGSVGElement> & {
21
25
  children?: import("react").ReactNode;
22
- })) & {
26
+ } & {
27
+ theme?: import("@emotion/react").Theme | undefined;
28
+ }), {}, {}>;
29
+ export declare const DefaultIcon: import("@emotion/styled").StyledComponent<(import("react").SVGProps<SVGSVGElement> & {
23
30
  theme?: import("@emotion/react").Theme | undefined;
24
- }) & {}, {}, {}>;
25
- export declare const DefaultIcon: import("@emotion/styled").StyledComponent<((import("react").SVGProps<SVGSVGElement> | (import("react").SVGProps<SVGSVGElement> & {
31
+ }) | (import("react").SVGProps<SVGSVGElement> & {
26
32
  children?: import("react").ReactNode;
27
- })) & {
33
+ } & {
34
+ theme?: import("@emotion/react").Theme | undefined;
35
+ }), {}, {}>;
36
+ export declare const SuccessIcon: import("@emotion/styled").StyledComponent<(import("react").SVGProps<SVGSVGElement> & {
28
37
  theme?: import("@emotion/react").Theme | undefined;
29
- }) & {}, {}, {}>;
30
- export declare const SuccessIcon: import("@emotion/styled").StyledComponent<((import("react").SVGProps<SVGSVGElement> | (import("react").SVGProps<SVGSVGElement> & {
38
+ }) | (import("react").SVGProps<SVGSVGElement> & {
31
39
  children?: import("react").ReactNode;
32
- })) & {
40
+ } & {
33
41
  theme?: import("@emotion/react").Theme | undefined;
34
- }) & {}, {}, {}>;
42
+ }), {}, {}>;
35
43
  export declare const ToastContent: import("@emotion/styled").StyledComponent<any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
36
44
  export declare const ToastText: import("@emotion/styled").StyledComponent<any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
37
45
  export declare const ToastTitle: import("@emotion/styled").StyledComponent<any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
38
46
  export declare const ToastExitDivider: import("@emotion/styled").StyledComponent<any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
39
47
  export declare const ToastExitIconWrapper: import("@emotion/styled").StyledComponent<any, {}, {}>;
40
- export declare const ToastExitIcon: import("@emotion/styled").StyledComponent<((import("react").SVGProps<SVGSVGElement> | (import("react").SVGProps<SVGSVGElement> & {
48
+ export declare const ToastExitIcon: import("@emotion/styled").StyledComponent<(import("react").SVGProps<SVGSVGElement> & {
49
+ theme?: import("@emotion/react").Theme | undefined;
50
+ }) | (import("react").SVGProps<SVGSVGElement> & {
41
51
  children?: import("react").ReactNode;
42
- })) & {
52
+ } & {
43
53
  theme?: import("@emotion/react").Theme | undefined;
44
- }) & {}, {}, {}>;
54
+ }), {}, {}>;
45
55
  //# sourceMappingURL=elements.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "td-stylekit",
3
- "version": "26.24.2",
3
+ "version": "27.0.0",
4
4
  "main": "dist/es/index.js",
5
5
  "module": "dist/es/index.js",
6
6
  "types": "dist/es/index.d.ts",
@@ -49,6 +49,7 @@
49
49
  "@reach/dialog": "^0.11.2",
50
50
  "@reach/tabs": "^0.10.5",
51
51
  "@tippyjs/react": "^4.2.6",
52
+ "@use-gesture/react": "^10.2.19",
52
53
  "classnames": "^2.2.6",
53
54
  "color": "^3.1.2",
54
55
  "date-fns": "2.23.0",
@@ -210,9 +211,9 @@
210
211
  "svg-inline-loader": "^0.8.0",
211
212
  "svg-to-jsx": "^1.0.2",
212
213
  "svgo": "^1.3.0",
213
- "ts-node": "^10.2.1",
214
+ "ts-node": "^10.9.1",
214
215
  "tslib": "^2.3.1",
215
- "typescript": "^4.6.2",
216
+ "typescript": "^4.8.2",
216
217
  "webpack": "^4.44.2"
217
218
  },
218
219
  "peerDependencies": {