@zendeskgarden/react-modals 9.0.0 → 9.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md ADDED
@@ -0,0 +1,176 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
@@ -145,7 +145,7 @@ const DrawerComponent = forwardRef((_ref, ref) => {
145
145
  if (!rootNode) {
146
146
  return null;
147
147
  }
148
- return ReactDOM.createPortal( React__default.createElement(ModalsContext.Provider, {
148
+ return ReactDOM.createPortal(React__default.createElement(ModalsContext.Provider, {
149
149
  value: value
150
150
  }, React__default.createElement(CSSTransition, {
151
151
  in: isOpen,
@@ -153,7 +153,7 @@ const ModalComponent = forwardRef((_ref, ref) => {
153
153
  if (!rootNode) {
154
154
  return null;
155
155
  }
156
- return createPortal( React__default.createElement(ModalsContext.Provider, {
156
+ return createPortal(React__default.createElement(ModalsContext.Provider, {
157
157
  value: value
158
158
  }, React__default.createElement(StyledBackdrop, Object.assign({
159
159
  isCentered: isCentered,
@@ -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.0.0'
21
+ 'data-garden-version': '9.1.1'
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.0.0'
13
+ 'data-garden-version': '9.1.1'
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.0.0'
19
+ 'data-garden-version': '9.1.1'
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.0.0'
35
+ 'data-garden-version': '9.1.1'
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.0.0'
14
+ 'data-garden-version': '9.1.1'
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.0.0'
19
+ 'data-garden-version': '9.1.1'
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.0.0'
13
+ 'data-garden-version': '9.1.1'
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.0.0'
14
+ 'data-garden-version': '9.1.1'
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.0.0'
15
+ 'data-garden-version': '9.1.1'
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.0.0'
13
+ 'data-garden-version': '9.1.1'
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.0.0'
13
+ 'data-garden-version': '9.1.1'
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.0.0'
29
+ 'data-garden-version': '9.1.1'
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.0.0'
45
+ 'data-garden-version': '9.1.1'
46
46
  }).withConfig({
47
47
  displayName: "StyledModal",
48
48
  componentId: "sc-1pe1axu-0"
@@ -19,7 +19,7 @@ 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.0.0',
22
+ 'data-garden-version': '9.1.1',
23
23
  className: props.isAnimated && 'is-animated'
24
24
  })).withConfig({
25
25
  displayName: "StyledTooltipDialog",
@@ -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.0.0'
13
+ 'data-garden-version': '9.1.1'
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.0.0'
13
+ 'data-garden-version': '9.1.1'
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.0.0'
14
+ 'data-garden-version': '9.1.1'
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.0.0'
13
+ 'data-garden-version': '9.1.1'
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.0.0'
14
+ 'data-garden-version': '9.1.1'
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.0.0'
18
+ 'data-garden-version': '9.1.1'
19
19
  }).withConfig({
20
20
  displayName: "StyledTooltipDialogTitle",
21
21
  componentId: "sc-1rceixg-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.0.0'
67
+ 'data-garden-version': '9.1.1'
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.0.0'
95
+ 'data-garden-version': '9.1.1'
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.0.0'
117
+ 'data-garden-version': '9.1.1'
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.0.0'
126
+ 'data-garden-version': '9.1.1'
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.0.0'
138
+ 'data-garden-version': '9.1.1'
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.0.0'
162
+ 'data-garden-version': '9.1.1'
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.0.0'
235
+ 'data-garden-version': '9.1.1'
236
236
  }).withConfig({
237
237
  displayName: "StyledModal",
238
238
  componentId: "sc-1pe1axu-0"
@@ -245,7 +245,7 @@ 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.0.0'
248
+ 'data-garden-version': '9.1.1'
249
249
  }).withConfig({
250
250
  displayName: "StyledTooltipDialogBackdrop",
251
251
  componentId: "sc-zrk625-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.0.0'
269
+ 'data-garden-version': '9.1.1'
270
270
  }).withConfig({
271
271
  displayName: "StyledTooltipDialogClose",
272
272
  componentId: "sc-18xlgfi-0"
@@ -283,7 +283,7 @@ 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.0.0',
286
+ 'data-garden-version': '9.1.1',
287
287
  className: props.isAnimated && 'is-animated'
288
288
  })).withConfig({
289
289
  displayName: "StyledTooltipDialog",
@@ -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.0.0'
311
+ 'data-garden-version': '9.1.1'
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.0.0'
328
+ 'data-garden-version': '9.1.1'
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.0.0'
345
+ 'data-garden-version': '9.1.1'
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.0.0'
354
+ 'data-garden-version': '9.1.1'
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.0.0'
385
+ 'data-garden-version': '9.1.1'
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.0.0'
399
+ 'data-garden-version': '9.1.1'
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.0.0'
408
+ 'data-garden-version': '9.1.1'
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.0.0'
417
+ 'data-garden-version': '9.1.1'
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.0.0'
426
+ 'data-garden-version': '9.1.1'
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.0.0'
443
+ 'data-garden-version': '9.1.1'
444
444
  }).withConfig({
445
445
  displayName: "StyledDrawerFooterItem",
446
446
  componentId: "sc-m2yul4-0"
@@ -662,7 +662,7 @@ const ModalComponent = React.forwardRef((_ref, ref) => {
662
662
  if (!rootNode) {
663
663
  return null;
664
664
  }
665
- return ReactDOM.createPortal( React__namespace.default.createElement(ModalsContext.Provider, {
665
+ return ReactDOM.createPortal(React__namespace.default.createElement(ModalsContext.Provider, {
666
666
  value: value
667
667
  }, React__namespace.default.createElement(StyledBackdrop, Object.assign({
668
668
  isCentered: isCentered,
@@ -1110,7 +1110,7 @@ const DrawerComponent = React.forwardRef((_ref, ref) => {
1110
1110
  if (!rootNode) {
1111
1111
  return null;
1112
1112
  }
1113
- return ReactDOM__default.default.createPortal( React__namespace.default.createElement(ModalsContext.Provider, {
1113
+ return ReactDOM__default.default.createPortal(React__namespace.default.createElement(ModalsContext.Provider, {
1114
1114
  value: value
1115
1115
  }, React__namespace.default.createElement(reactTransitionGroup.CSSTransition, {
1116
1116
  in: isOpen,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zendeskgarden/react-modals",
3
- "version": "9.0.0",
3
+ "version": "9.1.1",
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,22 +24,22 @@
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.0.0",
27
+ "@zendeskgarden/react-buttons": "^9.1.1",
28
28
  "dom-helpers": "^5.1.0",
29
29
  "prop-types": "^15.5.7",
30
30
  "react-merge-refs": "^2.0.0",
31
31
  "react-transition-group": "^4.4.2"
32
32
  },
33
33
  "peerDependencies": {
34
- "@zendeskgarden/react-theming": ">=9.0.0-next",
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
37
  "styled-components": "^5.3.1"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/react-transition-group": "4.4.11",
41
- "@zendeskgarden/react-theming": "^9.0.0",
42
- "@zendeskgarden/svg-icons": "7.2.0"
41
+ "@zendeskgarden/react-theming": "^9.1.1",
42
+ "@zendeskgarden/svg-icons": "7.3.0"
43
43
  },
44
44
  "keywords": [
45
45
  "components",
@@ -50,5 +50,6 @@
50
50
  "publishConfig": {
51
51
  "access": "public"
52
52
  },
53
- "zendeskgarden:src": "src/index.ts"
53
+ "zendeskgarden:src": "src/index.ts",
54
+ "gitHead": "21eaf7b57f27f1a846ed332f1b8e655d6bc0a13b"
54
55
  }