@zendeskgarden/react-modals 9.2.0 → 9.4.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 (46) hide show
  1. package/dist/esm/elements/Header.js +3 -1
  2. package/dist/esm/styled/StyledBackdrop.js +1 -1
  3. package/dist/esm/styled/StyledBody.js +1 -1
  4. package/dist/esm/styled/StyledClose.js +1 -1
  5. package/dist/esm/styled/StyledDrawer.js +1 -1
  6. package/dist/esm/styled/StyledDrawerBody.js +1 -1
  7. package/dist/esm/styled/StyledDrawerClose.js +1 -1
  8. package/dist/esm/styled/StyledDrawerFooter.js +1 -1
  9. package/dist/esm/styled/StyledDrawerFooterItem.js +1 -1
  10. package/dist/esm/styled/StyledDrawerHeader.js +1 -1
  11. package/dist/esm/styled/StyledFooter.js +1 -1
  12. package/dist/esm/styled/StyledFooterItem.js +1 -1
  13. package/dist/esm/styled/StyledHeader.js +1 -1
  14. package/dist/esm/styled/StyledModal.js +1 -1
  15. package/dist/esm/styled/StyledTooltipDialog.js +2 -2
  16. package/dist/esm/styled/StyledTooltipDialogBackdrop.js +1 -1
  17. package/dist/esm/styled/StyledTooltipDialogBody.js +1 -1
  18. package/dist/esm/styled/StyledTooltipDialogClose.js +1 -1
  19. package/dist/esm/styled/StyledTooltipDialogFooter.js +1 -1
  20. package/dist/esm/styled/StyledTooltipDialogFooterItem.js +1 -1
  21. package/dist/esm/styled/StyledTooltipDialogTitle.js +1 -1
  22. package/dist/esm/styled/StyledTooltipWrapper.js +1 -1
  23. package/dist/index.cjs.js +25 -23
  24. package/dist/typings/styled/StyledBackdrop.d.ts +3 -1
  25. package/dist/typings/styled/StyledBody.d.ts +3 -4
  26. package/dist/typings/styled/StyledClose.d.ts +5 -4
  27. package/dist/typings/styled/StyledDangerIcon.d.ts +1 -1
  28. package/dist/typings/styled/StyledDrawer.d.ts +3 -5
  29. package/dist/typings/styled/StyledDrawerBody.d.ts +5 -7
  30. package/dist/typings/styled/StyledDrawerClose.d.ts +9 -7
  31. package/dist/typings/styled/StyledDrawerFooter.d.ts +3 -4
  32. package/dist/typings/styled/StyledDrawerFooterItem.d.ts +5 -4
  33. package/dist/typings/styled/StyledDrawerHeader.d.ts +5 -4
  34. package/dist/typings/styled/StyledFooter.d.ts +3 -1
  35. package/dist/typings/styled/StyledFooterItem.d.ts +3 -4
  36. package/dist/typings/styled/StyledHeader.d.ts +3 -2
  37. package/dist/typings/styled/StyledModal.d.ts +3 -2
  38. package/dist/typings/styled/StyledTooltipDialog.d.ts +3 -2
  39. package/dist/typings/styled/StyledTooltipDialogBackdrop.d.ts +3 -4
  40. package/dist/typings/styled/StyledTooltipDialogBody.d.ts +3 -4
  41. package/dist/typings/styled/StyledTooltipDialogClose.d.ts +9 -7
  42. package/dist/typings/styled/StyledTooltipDialogFooter.d.ts +3 -4
  43. package/dist/typings/styled/StyledTooltipDialogFooterItem.d.ts +5 -7
  44. package/dist/typings/styled/StyledTooltipDialogTitle.d.ts +3 -5
  45. package/dist/typings/styled/StyledTooltipWrapper.d.ts +3 -1
  46. package/package.json +5 -5
@@ -33,6 +33,7 @@ import '../styled/StyledDrawerFooterItem.js';
33
33
  const Header = forwardRef((_ref, ref) => {
34
34
  let {
35
35
  children,
36
+ isDanger,
36
37
  tag,
37
38
  ...other
38
39
  } = _ref;
@@ -55,8 +56,9 @@ const Header = forwardRef((_ref, ref) => {
55
56
  return React__default.createElement(StyledHeader, Object.assign({}, getTitleProps(other), {
56
57
  as: tag,
57
58
  $isCloseButtonPresent: isCloseButtonPresent,
59
+ $isDanger: isDanger,
58
60
  ref: ref
59
- }), !!other.isDanger && React__default.createElement(StyledDangerIcon, null), children);
61
+ }), !!isDanger && React__default.createElement(StyledDangerIcon, null), children);
60
62
  });
61
63
  Header.displayName = 'Modal.Header';
62
64
  Header.propTypes = {
@@ -18,7 +18,7 @@ const animationStyles = props => {
18
18
  };
19
19
  const StyledBackdrop = styled.div.attrs({
20
20
  'data-garden-id': COMPONENT_ID,
21
- 'data-garden-version': '9.2.0'
21
+ 'data-garden-version': '9.4.0'
22
22
  }).withConfig({
23
23
  displayName: "StyledBackdrop",
24
24
  componentId: "sc-mzdjpo-0"
@@ -10,7 +10,7 @@ import { getLineHeight, getColor, retrieveComponentStyles } from '@zendeskgarden
10
10
  const COMPONENT_ID = 'modals.body';
11
11
  const StyledBody = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.2.0'
13
+ 'data-garden-version': '9.4.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledBody",
16
16
  componentId: "sc-14rzecg-0"
@@ -16,7 +16,7 @@ const BASE_MULTIPLIERS = {
16
16
  };
17
17
  const StyledClose = styled(IconButton).attrs({
18
18
  'data-garden-id': COMPONENT_ID,
19
- 'data-garden-version': '9.2.0'
19
+ 'data-garden-version': '9.4.0'
20
20
  }).withConfig({
21
21
  displayName: "StyledClose",
22
22
  componentId: "sc-iseudj-0"
@@ -32,7 +32,7 @@ const colorStyles = _ref => {
32
32
  };
33
33
  const StyledDrawer = styled.div.attrs({
34
34
  'data-garden-id': COMPONENT_ID,
35
- 'data-garden-version': '9.2.0'
35
+ 'data-garden-version': '9.4.0'
36
36
  }).withConfig({
37
37
  displayName: "StyledDrawer",
38
38
  componentId: "sc-zp66t3-0"
@@ -11,7 +11,7 @@ import { StyledBody } from './StyledBody.js';
11
11
  const COMPONENT_ID = 'modals.drawer_modal.body';
12
12
  const StyledDrawerBody = styled(StyledBody).attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.2.0'
14
+ 'data-garden-version': '9.4.0'
15
15
  }).withConfig({
16
16
  displayName: "StyledDrawerBody",
17
17
  componentId: "sc-13qufyn-0"
@@ -16,7 +16,7 @@ const BASE_MULTIPLIERS = {
16
16
  };
17
17
  const StyledDrawerClose = styled(StyledClose).attrs({
18
18
  'data-garden-id': COMPONENT_ID,
19
- 'data-garden-version': '9.2.0'
19
+ 'data-garden-version': '9.4.0'
20
20
  }).withConfig({
21
21
  displayName: "StyledDrawerClose",
22
22
  componentId: "sc-1a0xt3x-0"
@@ -10,7 +10,7 @@ import { getColor, retrieveComponentStyles } from '@zendeskgarden/react-theming'
10
10
  const COMPONENT_ID = 'modals.drawer_modal.footer';
11
11
  const StyledDrawerFooter = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.2.0'
13
+ 'data-garden-version': '9.4.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledDrawerFooter",
16
16
  componentId: "sc-kc7e6p-0"
@@ -11,7 +11,7 @@ import { StyledFooterItem } from './StyledFooterItem.js';
11
11
  const COMPONENT_ID = 'modals.drawer_modal.footer_item';
12
12
  const StyledDrawerFooterItem = styled(StyledFooterItem).attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.2.0'
14
+ 'data-garden-version': '9.4.0'
15
15
  }).withConfig({
16
16
  displayName: "StyledDrawerFooterItem",
17
17
  componentId: "sc-m2yul4-0"
@@ -12,7 +12,7 @@ import { BASE_MULTIPLIERS } from './StyledDrawerClose.js';
12
12
  const COMPONENT_ID = 'modals.drawer_modal.header';
13
13
  const StyledDrawerHeader = styled(StyledHeader).attrs({
14
14
  'data-garden-id': COMPONENT_ID,
15
- 'data-garden-version': '9.2.0'
15
+ 'data-garden-version': '9.4.0'
16
16
  }).withConfig({
17
17
  displayName: "StyledDrawerHeader",
18
18
  componentId: "sc-y4mgkj-0"
@@ -10,7 +10,7 @@ import { getColor, retrieveComponentStyles } from '@zendeskgarden/react-theming'
10
10
  const COMPONENT_ID = 'modals.footer';
11
11
  const StyledFooter = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.2.0'
13
+ 'data-garden-version': '9.4.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledFooter",
16
16
  componentId: "sc-d8pfdu-0"
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
10
10
  const COMPONENT_ID = 'modals.footer_item';
11
11
  const StyledFooterItem = styled.span.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.2.0'
13
+ 'data-garden-version': '9.4.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledFooterItem",
16
16
  componentId: "sc-1mb76hl-0"
@@ -26,7 +26,7 @@ const colorStyles = _ref => {
26
26
  };
27
27
  const StyledHeader = styled.div.attrs({
28
28
  'data-garden-id': COMPONENT_ID,
29
- 'data-garden-version': '9.2.0'
29
+ 'data-garden-version': '9.4.0'
30
30
  }).withConfig({
31
31
  displayName: "StyledHeader",
32
32
  componentId: "sc-1787r9v-0"
@@ -42,7 +42,7 @@ const sizeStyles = props => {
42
42
  };
43
43
  const StyledModal = styled.div.attrs({
44
44
  'data-garden-id': COMPONENT_ID,
45
- 'data-garden-version': '9.2.0'
45
+ 'data-garden-version': '9.4.0'
46
46
  }).withConfig({
47
47
  displayName: "StyledModal",
48
48
  componentId: "sc-1pe1axu-0"
@@ -19,8 +19,8 @@ const sizeStyles = props => `
19
19
  `;
20
20
  const StyledTooltipDialog = styled.div.attrs(props => ({
21
21
  'data-garden-id': COMPONENT_ID,
22
- 'data-garden-version': '9.2.0',
23
- className: props.$isAnimated && 'is-animated'
22
+ 'data-garden-version': '9.4.0',
23
+ className: props.$isAnimated ? 'is-animated' : undefined
24
24
  })).withConfig({
25
25
  displayName: "StyledTooltipDialog",
26
26
  componentId: "sc-iv3db-0"
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
10
10
  const COMPONENT_ID = 'modals.tooltip_dialog.backdrop';
11
11
  const StyledTooltipDialogBackdrop = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.2.0'
13
+ 'data-garden-version': '9.4.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledTooltipDialogBackdrop",
16
16
  componentId: "sc-zrk625-0"
@@ -10,7 +10,7 @@ import { getLineHeight, getColor, retrieveComponentStyles } from '@zendeskgarden
10
10
  const COMPONENT_ID = 'modals.tooltip_dialog.body';
11
11
  const StyledTooltipDialogBody = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.2.0'
13
+ 'data-garden-version': '9.4.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledTooltipDialogBody",
16
16
  componentId: "sc-132lcoq-0"
@@ -11,7 +11,7 @@ import { StyledClose } from './StyledClose.js';
11
11
  const COMPONENT_ID = 'modals.tooltip_dialog.close';
12
12
  const StyledTooltipDialogClose = styled(StyledClose).attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.2.0'
14
+ 'data-garden-version': '9.4.0'
15
15
  }).withConfig({
16
16
  displayName: "StyledTooltipDialogClose",
17
17
  componentId: "sc-18xlgfi-0"
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
10
10
  const COMPONENT_ID = 'modals.tooltip_dialog.footer';
11
11
  const StyledTooltipDialogFooter = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.2.0'
13
+ 'data-garden-version': '9.4.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledTooltipDialogFooter",
16
16
  componentId: "sc-kjomsm-0"
@@ -11,7 +11,7 @@ import { StyledFooterItem } from './StyledFooterItem.js';
11
11
  const COMPONENT_ID = 'modals.tooltip_dialog.footer_item';
12
12
  const StyledTooltipDialogFooterItem = styled(StyledFooterItem).attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.2.0'
14
+ 'data-garden-version': '9.4.0'
15
15
  }).withConfig({
16
16
  displayName: "StyledTooltipDialogFooterItem",
17
17
  componentId: "sc-u2rmo8-0"
@@ -15,7 +15,7 @@ const sizeStyles = props => `
15
15
  `;
16
16
  const StyledTooltipDialogTitle = styled.div.attrs({
17
17
  'data-garden-id': COMPONENT_ID,
18
- 'data-garden-version': '9.2.0'
18
+ 'data-garden-version': '9.4.0'
19
19
  }).withConfig({
20
20
  displayName: "StyledTooltipDialogTitle",
21
21
  componentId: "sc-1rceixg-0"
@@ -8,7 +8,7 @@ import styled from 'styled-components';
8
8
  import { menuStyles, getMenuPosition } from '@zendeskgarden/react-theming';
9
9
 
10
10
  const StyledTooltipWrapper = styled.div.attrs(props => ({
11
- className: props.$isAnimated && 'is-animated'
11
+ className: props.$isAnimated ? 'is-animated' : undefined
12
12
  })).withConfig({
13
13
  displayName: "StyledTooltipWrapper",
14
14
  componentId: "sc-1xk05kf-0"
package/dist/index.cjs.js CHANGED
@@ -64,7 +64,7 @@ const animationStyles$1 = props => {
64
64
  };
65
65
  const StyledBackdrop = styled__default.default.div.attrs({
66
66
  'data-garden-id': COMPONENT_ID$j,
67
- 'data-garden-version': '9.2.0'
67
+ 'data-garden-version': '9.4.0'
68
68
  }).withConfig({
69
69
  displayName: "StyledBackdrop",
70
70
  componentId: "sc-mzdjpo-0"
@@ -92,7 +92,7 @@ StyledBackdrop.propTypes = {
92
92
  const COMPONENT_ID$i = 'modals.body';
93
93
  const StyledBody = styled__default.default.div.attrs({
94
94
  'data-garden-id': COMPONENT_ID$i,
95
- 'data-garden-version': '9.2.0'
95
+ 'data-garden-version': '9.4.0'
96
96
  }).withConfig({
97
97
  displayName: "StyledBody",
98
98
  componentId: "sc-14rzecg-0"
@@ -114,7 +114,7 @@ const BASE_MULTIPLIERS$1 = {
114
114
  };
115
115
  const StyledClose = styled__default.default(reactButtons.IconButton).attrs({
116
116
  'data-garden-id': COMPONENT_ID$h,
117
- 'data-garden-version': '9.2.0'
117
+ 'data-garden-version': '9.4.0'
118
118
  }).withConfig({
119
119
  displayName: "StyledClose",
120
120
  componentId: "sc-iseudj-0"
@@ -123,7 +123,7 @@ const StyledClose = styled__default.default(reactButtons.IconButton).attrs({
123
123
  const COMPONENT_ID$g = 'modals.footer';
124
124
  const StyledFooter = styled__default.default.div.attrs({
125
125
  'data-garden-id': COMPONENT_ID$g,
126
- 'data-garden-version': '9.2.0'
126
+ 'data-garden-version': '9.4.0'
127
127
  }).withConfig({
128
128
  displayName: "StyledFooter",
129
129
  componentId: "sc-d8pfdu-0"
@@ -135,7 +135,7 @@ const StyledFooter = styled__default.default.div.attrs({
135
135
  const COMPONENT_ID$f = 'modals.footer_item';
136
136
  const StyledFooterItem = styled__default.default.span.attrs({
137
137
  'data-garden-id': COMPONENT_ID$f,
138
- 'data-garden-version': '9.2.0'
138
+ 'data-garden-version': '9.4.0'
139
139
  }).withConfig({
140
140
  displayName: "StyledFooterItem",
141
141
  componentId: "sc-1mb76hl-0"
@@ -159,7 +159,7 @@ const colorStyles$2 = _ref => {
159
159
  };
160
160
  const StyledHeader = styled__default.default.div.attrs({
161
161
  'data-garden-id': COMPONENT_ID$e,
162
- 'data-garden-version': '9.2.0'
162
+ 'data-garden-version': '9.4.0'
163
163
  }).withConfig({
164
164
  displayName: "StyledHeader",
165
165
  componentId: "sc-1787r9v-0"
@@ -232,7 +232,7 @@ const sizeStyles$2 = props => {
232
232
  };
233
233
  const StyledModal = styled__default.default.div.attrs({
234
234
  'data-garden-id': COMPONENT_ID$d,
235
- 'data-garden-version': '9.2.0'
235
+ 'data-garden-version': '9.4.0'
236
236
  }).withConfig({
237
237
  displayName: "StyledModal",
238
238
  componentId: "sc-1pe1axu-0"
@@ -245,14 +245,14 @@ StyledModal.propTypes = {
245
245
  const COMPONENT_ID$c = 'modals.tooltip_dialog.backdrop';
246
246
  const StyledTooltipDialogBackdrop = styled__default.default.div.attrs({
247
247
  'data-garden-id': COMPONENT_ID$c,
248
- 'data-garden-version': '9.2.0'
248
+ 'data-garden-version': '9.4.0'
249
249
  }).withConfig({
250
250
  displayName: "StyledTooltipDialogBackdrop",
251
251
  componentId: "sc-zrk625-0"
252
252
  })(["position:fixed;inset:0;z-index:400;overflow:hidden;-webkit-overflow-scrolling:touch;font-family:", ";direction:", ";&.garden-tooltip-modal-transition-exit-active{pointer-events:none;}&.garden-tooltip-modal-transition-exit-active div{transition:opacity 200ms;opacity:0;}", ";"], props => props.theme.fonts.system, props => props.theme.rtl && 'rtl', props => reactTheming.retrieveComponentStyles(COMPONENT_ID$c, props));
253
253
 
254
254
  const StyledTooltipWrapper = styled__default.default.div.attrs(props => ({
255
- className: props.$isAnimated && 'is-animated'
255
+ className: props.$isAnimated ? 'is-animated' : undefined
256
256
  })).withConfig({
257
257
  displayName: "StyledTooltipWrapper",
258
258
  componentId: "sc-1xk05kf-0"
@@ -266,7 +266,7 @@ const StyledTooltipWrapper = styled__default.default.div.attrs(props => ({
266
266
  const COMPONENT_ID$b = 'modals.tooltip_dialog.close';
267
267
  const StyledTooltipDialogClose = styled__default.default(StyledClose).attrs({
268
268
  'data-garden-id': COMPONENT_ID$b,
269
- 'data-garden-version': '9.2.0'
269
+ 'data-garden-version': '9.4.0'
270
270
  }).withConfig({
271
271
  displayName: "StyledTooltipDialogClose",
272
272
  componentId: "sc-18xlgfi-0"
@@ -283,8 +283,8 @@ const sizeStyles$1 = props => `
283
283
  `;
284
284
  const StyledTooltipDialog = styled__default.default.div.attrs(props => ({
285
285
  'data-garden-id': COMPONENT_ID$a,
286
- 'data-garden-version': '9.2.0',
287
- className: props.$isAnimated && 'is-animated'
286
+ 'data-garden-version': '9.4.0',
287
+ className: props.$isAnimated ? 'is-animated' : undefined
288
288
  })).withConfig({
289
289
  displayName: "StyledTooltipDialog",
290
290
  componentId: "sc-iv3db-0"
@@ -308,7 +308,7 @@ const sizeStyles = props => `
308
308
  `;
309
309
  const StyledTooltipDialogTitle = styled__default.default.div.attrs({
310
310
  'data-garden-id': COMPONENT_ID$9,
311
- 'data-garden-version': '9.2.0'
311
+ 'data-garden-version': '9.4.0'
312
312
  }).withConfig({
313
313
  displayName: "StyledTooltipDialogTitle",
314
314
  componentId: "sc-1rceixg-0"
@@ -325,7 +325,7 @@ const StyledTooltipDialogTitle = styled__default.default.div.attrs({
325
325
  const COMPONENT_ID$8 = 'modals.tooltip_dialog.body';
326
326
  const StyledTooltipDialogBody = styled__default.default.div.attrs({
327
327
  'data-garden-id': COMPONENT_ID$8,
328
- 'data-garden-version': '9.2.0'
328
+ 'data-garden-version': '9.4.0'
329
329
  }).withConfig({
330
330
  displayName: "StyledTooltipDialogBody",
331
331
  componentId: "sc-132lcoq-0"
@@ -342,7 +342,7 @@ const StyledTooltipDialogBody = styled__default.default.div.attrs({
342
342
  const COMPONENT_ID$7 = 'modals.tooltip_dialog.footer';
343
343
  const StyledTooltipDialogFooter = styled__default.default.div.attrs({
344
344
  'data-garden-id': COMPONENT_ID$7,
345
- 'data-garden-version': '9.2.0'
345
+ 'data-garden-version': '9.4.0'
346
346
  }).withConfig({
347
347
  displayName: "StyledTooltipDialogFooter",
348
348
  componentId: "sc-kjomsm-0"
@@ -351,7 +351,7 @@ const StyledTooltipDialogFooter = styled__default.default.div.attrs({
351
351
  const COMPONENT_ID$6 = 'modals.tooltip_dialog.footer_item';
352
352
  const StyledTooltipDialogFooterItem = styled__default.default(StyledFooterItem).attrs({
353
353
  'data-garden-id': COMPONENT_ID$6,
354
- 'data-garden-version': '9.2.0'
354
+ 'data-garden-version': '9.4.0'
355
355
  }).withConfig({
356
356
  displayName: "StyledTooltipDialogFooterItem",
357
357
  componentId: "sc-u2rmo8-0"
@@ -382,7 +382,7 @@ const colorStyles = _ref => {
382
382
  };
383
383
  const StyledDrawer = styled__default.default.div.attrs({
384
384
  'data-garden-id': COMPONENT_ID$5,
385
- 'data-garden-version': '9.2.0'
385
+ 'data-garden-version': '9.4.0'
386
386
  }).withConfig({
387
387
  displayName: "StyledDrawer",
388
388
  componentId: "sc-zp66t3-0"
@@ -396,7 +396,7 @@ const BASE_MULTIPLIERS = {
396
396
  };
397
397
  const StyledDrawerClose = styled__default.default(StyledClose).attrs({
398
398
  'data-garden-id': COMPONENT_ID$4,
399
- 'data-garden-version': '9.2.0'
399
+ 'data-garden-version': '9.4.0'
400
400
  }).withConfig({
401
401
  displayName: "StyledDrawerClose",
402
402
  componentId: "sc-1a0xt3x-0"
@@ -405,7 +405,7 @@ const StyledDrawerClose = styled__default.default(StyledClose).attrs({
405
405
  const COMPONENT_ID$3 = 'modals.drawer_modal.header';
406
406
  const StyledDrawerHeader = styled__default.default(StyledHeader).attrs({
407
407
  'data-garden-id': COMPONENT_ID$3,
408
- 'data-garden-version': '9.2.0'
408
+ 'data-garden-version': '9.4.0'
409
409
  }).withConfig({
410
410
  displayName: "StyledDrawerHeader",
411
411
  componentId: "sc-y4mgkj-0"
@@ -414,7 +414,7 @@ const StyledDrawerHeader = styled__default.default(StyledHeader).attrs({
414
414
  const COMPONENT_ID$2 = 'modals.drawer_modal.body';
415
415
  const StyledDrawerBody = styled__default.default(StyledBody).attrs({
416
416
  'data-garden-id': COMPONENT_ID$2,
417
- 'data-garden-version': '9.2.0'
417
+ 'data-garden-version': '9.4.0'
418
418
  }).withConfig({
419
419
  displayName: "StyledDrawerBody",
420
420
  componentId: "sc-13qufyn-0"
@@ -423,7 +423,7 @@ const StyledDrawerBody = styled__default.default(StyledBody).attrs({
423
423
  const COMPONENT_ID$1 = 'modals.drawer_modal.footer';
424
424
  const StyledDrawerFooter = styled__default.default.div.attrs({
425
425
  'data-garden-id': COMPONENT_ID$1,
426
- 'data-garden-version': '9.2.0'
426
+ 'data-garden-version': '9.4.0'
427
427
  }).withConfig({
428
428
  displayName: "StyledDrawerFooter",
429
429
  componentId: "sc-kc7e6p-0"
@@ -440,7 +440,7 @@ const StyledDrawerFooter = styled__default.default.div.attrs({
440
440
  const COMPONENT_ID = 'modals.drawer_modal.footer_item';
441
441
  const StyledDrawerFooterItem = styled__default.default(StyledFooterItem).attrs({
442
442
  'data-garden-id': COMPONENT_ID,
443
- 'data-garden-version': '9.2.0'
443
+ 'data-garden-version': '9.4.0'
444
444
  }).withConfig({
445
445
  displayName: "StyledDrawerFooterItem",
446
446
  componentId: "sc-m2yul4-0"
@@ -520,6 +520,7 @@ FooterItem$2.displayName = 'Modal.FooterItem';
520
520
  const Header$1 = React.forwardRef((_ref, ref) => {
521
521
  let {
522
522
  children,
523
+ isDanger,
523
524
  tag,
524
525
  ...other
525
526
  } = _ref;
@@ -542,8 +543,9 @@ const Header$1 = React.forwardRef((_ref, ref) => {
542
543
  return React__namespace.default.createElement(StyledHeader, Object.assign({}, getTitleProps(other), {
543
544
  as: tag,
544
545
  $isCloseButtonPresent: isCloseButtonPresent,
546
+ $isDanger: isDanger,
545
547
  ref: ref
546
- }), !!other.isDanger && React__namespace.default.createElement(StyledDangerIcon, null), children);
548
+ }), !!isDanger && React__namespace.default.createElement(StyledDangerIcon, null), children);
547
549
  });
548
550
  Header$1.displayName = 'Modal.Header';
549
551
  Header$1.propTypes = {
@@ -11,4 +11,6 @@ export interface IStyledBackdropProps {
11
11
  /**
12
12
  * 1. Smooth iOS scrolling.
13
13
  */
14
- export declare const StyledBackdrop: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IStyledBackdropProps, never>;
14
+ export declare const StyledBackdrop: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
15
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
16
+ }>, IStyledBackdropProps>, IStyledBackdropProps>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledBody: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -9,7 +9,8 @@ export declare const BASE_MULTIPLIERS: {
9
9
  side: number;
10
10
  size: number;
11
11
  };
12
- export declare const StyledClose: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-buttons").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {
13
- 'data-garden-id': string;
14
- 'data-garden-version': string;
15
- }, "data-garden-id" | "data-garden-version">;
12
+ export declare const StyledClose: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("@zendeskgarden/react-buttons").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
13
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
14
+ }, Omit<import("@zendeskgarden/react-buttons").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
15
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
16
+ }>, never>, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-buttons").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
@@ -4,4 +4,4 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledDangerIcon: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
7
+ export declare const StyledDangerIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<any, never>> & (string | (string & Omit<any, keyof import("react").Component<any, {}, any>>));
@@ -4,11 +4,9 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  /**
9
8
  * 1. Smooth iOS scrolling.
10
9
  */
11
- export declare const StyledDrawer: import("styled-components").StyledComponent<"div", DefaultTheme, {
12
- 'data-garden-id': string;
13
- 'data-garden-version': string;
14
- }, "data-garden-id" | "data-garden-version">;
10
+ export declare const StyledDrawer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
11
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
12
+ }>, never>, never>> & string;
@@ -4,10 +4,8 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledDrawerBody: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- } & {
11
- 'data-garden-id': string;
12
- 'data-garden-version': string;
13
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledDrawerBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }>, never>, never>, import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
10
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
11
+ }>, never>, never>>, never>, never>> & string;
@@ -9,10 +9,12 @@ export declare const BASE_MULTIPLIERS: {
9
9
  side: number;
10
10
  size: number;
11
11
  };
12
- export declare const StyledDrawerClose: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("packages/buttons/dist/typings").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {
13
- 'data-garden-id': string;
14
- 'data-garden-version': string;
15
- } & {
16
- 'data-garden-id': string;
17
- 'data-garden-version': string;
18
- }, "data-garden-id" | "data-garden-version">;
12
+ export declare const StyledDrawerClose: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("packages/buttons/dist/typings").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
13
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
14
+ }, Omit<import("packages/buttons/dist/typings").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
15
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
16
+ }>, never>, never>, import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("packages/buttons/dist/typings").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
17
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
18
+ }, Omit<import("packages/buttons/dist/typings").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
19
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
20
+ }>, never>, never>>, never>, never>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledDrawerFooter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledDrawerFooter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -4,7 +4,8 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledDrawerFooterItem: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledDrawerFooterItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
8
+ ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
9
+ }, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
10
+ ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
11
+ }>, never>, never>> & string;
@@ -8,7 +8,8 @@
8
8
  * 1. the padding added to the Header is based on the close button size and spacing,
9
9
  * with additional padding (+ 2) between the Header content and Close button
10
10
  */
11
- export declare const StyledDrawerHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("./StyledHeader").IStyledHeaderProps & {
12
- 'data-garden-id': string;
13
- 'data-garden-version': string;
14
- }, "data-garden-id" | "data-garden-version">;
11
+ export declare const StyledDrawerHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
12
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
13
+ }>, import("./StyledHeader").IStyledHeaderProps>, keyof import("./StyledHeader").IStyledHeaderProps> & import("./StyledHeader").IStyledHeaderProps, import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
14
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
15
+ }>, import("./StyledHeader").IStyledHeaderProps>, keyof import("./StyledHeader").IStyledHeaderProps> & import("./StyledHeader").IStyledHeaderProps>, never>, never>> & string;
@@ -7,5 +7,7 @@
7
7
  interface IStyledFooter {
8
8
  $isLarge?: boolean;
9
9
  }
10
- export declare const StyledFooter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IStyledFooter, never>;
10
+ export declare const StyledFooter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
11
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
12
+ }>, IStyledFooter>, IStyledFooter>> & string;
11
13
  export {};
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledFooterItem: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledFooterItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
8
+ ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  export interface IStyledHeaderProps {
9
8
  $isDanger?: boolean;
10
9
  $isCloseButtonPresent?: boolean;
@@ -13,4 +12,6 @@ export interface IStyledHeaderProps {
13
12
  * 1. the padding added to the Header is based on the close button size and spacing,
14
13
  * with additional padding (+ 2) between the Header content and Close button
15
14
  */
16
- export declare const StyledHeader: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledHeaderProps, never>;
15
+ export declare const StyledHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
16
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
17
+ }>, IStyledHeaderProps>, IStyledHeaderProps>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  export interface IStyledModalProps {
9
8
  $isLarge?: boolean;
10
9
  $isCentered?: boolean;
@@ -13,4 +12,6 @@ export interface IStyledModalProps {
13
12
  /**
14
13
  * 1. IE11 centering hack.
15
14
  */
16
- export declare const StyledModal: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledModalProps, never>;
15
+ export declare const StyledModal: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
16
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
17
+ }>, IStyledModalProps>, IStyledModalProps>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  import { Placement } from '@floating-ui/react-dom';
9
8
  import { TransitionStatus } from 'react-transition-group';
10
9
  export interface IStyledTooltipDialogProps {
@@ -13,4 +12,6 @@ export interface IStyledTooltipDialogProps {
13
12
  $placement: Placement;
14
13
  $transitionState?: TransitionStatus;
15
14
  }
16
- export declare const StyledTooltipDialog: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledTooltipDialogProps, never>;
15
+ export declare const StyledTooltipDialog: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
16
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
17
+ }>, IStyledTooltipDialogProps>, IStyledTooltipDialogProps>> & string;
@@ -7,7 +7,6 @@
7
7
  /**
8
8
  * 1. Smooth iOS scrolling.
9
9
  */
10
- export declare const StyledTooltipDialogBackdrop: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
11
- 'data-garden-id': string;
12
- 'data-garden-version': string;
13
- }, "data-garden-id" | "data-garden-version">;
10
+ export declare const StyledTooltipDialogBackdrop: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
11
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
12
+ }>, never>, never>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledTooltipDialogBody: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledTooltipDialogBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -4,10 +4,12 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledTooltipDialogClose: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("packages/buttons/dist/typings").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- } & {
11
- 'data-garden-id': string;
12
- 'data-garden-version': string;
13
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledTooltipDialogClose: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("packages/buttons/dist/typings").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
8
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
9
+ }, Omit<import("packages/buttons/dist/typings").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
10
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
11
+ }>, never>, never>, import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("packages/buttons/dist/typings").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
12
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
13
+ }, Omit<import("packages/buttons/dist/typings").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
14
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
15
+ }>, never>, never>>, never>, never>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledTooltipDialogFooter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledTooltipDialogFooter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -4,10 +4,8 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledTooltipDialogFooterItem: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- } & {
11
- 'data-garden-id': string;
12
- 'data-garden-version': string;
13
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledTooltipDialogFooterItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
8
+ ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
9
+ }>, never>, never>, import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
10
+ ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
11
+ }>, never>, never>>, never>, never>> & string;
@@ -4,8 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
- export declare const StyledTooltipDialogTitle: import("styled-components").StyledComponent<"div", DefaultTheme, {
9
- 'data-garden-id': string;
10
- 'data-garden-version': string;
11
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledTooltipDialogTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -10,5 +10,7 @@ interface IStyledTooltipWrapperProps {
10
10
  $isAnimated?: boolean;
11
11
  $zIndex?: number;
12
12
  }
13
- export declare const StyledTooltipWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IStyledTooltipWrapperProps, never>;
13
+ export declare const StyledTooltipWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
14
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
15
+ }>, IStyledTooltipWrapperProps>, IStyledTooltipWrapperProps>> & string;
14
16
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zendeskgarden/react-modals",
3
- "version": "9.2.0",
3
+ "version": "9.4.0",
4
4
  "description": "Components relating to modals in the Garden Design System",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Zendesk Garden <garden@zendesk.com>",
@@ -24,7 +24,7 @@
24
24
  "@floating-ui/react-dom": "^2.0.0",
25
25
  "@zendeskgarden/container-modal": "^1.0.15",
26
26
  "@zendeskgarden/container-utilities": "^2.0.0",
27
- "@zendeskgarden/react-buttons": "^9.2.0",
27
+ "@zendeskgarden/react-buttons": "^9.4.0",
28
28
  "dom-helpers": "^5.1.0",
29
29
  "prop-types": "^15.5.7",
30
30
  "react-merge-refs": "^2.0.0",
@@ -34,11 +34,11 @@
34
34
  "@zendeskgarden/react-theming": ">=9.0.0",
35
35
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
36
36
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
37
- "styled-components": "^5.3.1"
37
+ "styled-components": "^5.3.1 || ^6.0.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/react-transition-group": "4.4.11",
41
- "@zendeskgarden/react-theming": "^9.2.0",
41
+ "@zendeskgarden/react-theming": "^9.4.0",
42
42
  "@zendeskgarden/svg-icons": "7.3.0"
43
43
  },
44
44
  "keywords": [
@@ -51,5 +51,5 @@
51
51
  "access": "public"
52
52
  },
53
53
  "zendeskgarden:src": "src/index.ts",
54
- "gitHead": "23a86c9a1e830685e277544c089b44614c2261ac"
54
+ "gitHead": "02e3f240b6f0c776fdae785254d6fe90cbfc37e4"
55
55
  }