carbon-react 126.10.1 → 127.0.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.
Files changed (143) hide show
  1. package/esm/__internal__/checkable-input/checkable-input.component.js +362 -360
  2. package/esm/__internal__/checkable-input/hidden-checkable-input.component.js +297 -295
  3. package/esm/__internal__/full-screen-heading/full-screen-heading.component.js +6 -4
  4. package/esm/__internal__/input/input-presentation.component.js +19 -17
  5. package/esm/__internal__/input/input.component.js +355 -353
  6. package/esm/__internal__/input/input.style.d.ts +1 -1
  7. package/esm/__internal__/input/input.style.js +1 -7
  8. package/esm/__spec_helper__/index.js +5 -1
  9. package/esm/components/accordion/accordion.component.js +338 -336
  10. package/esm/components/action-popover/action-popover-menu/action-popover-menu.component.js +22 -20
  11. package/esm/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +19 -17
  12. package/esm/components/anchor-navigation/anchor-navigation.component.js +6 -4
  13. package/esm/components/box/box.component.js +3785 -3783
  14. package/esm/components/breadcrumbs/breadcrumbs.component.js +316 -314
  15. package/esm/components/breadcrumbs/crumb/crumb.component.js +64 -62
  16. package/esm/components/button/button.component.js +688 -684
  17. package/esm/components/checkbox/checkbox.component.js +524 -522
  18. package/esm/components/date/date.component.js +722 -720
  19. package/esm/components/decimal/decimal.component.js +536 -534
  20. package/esm/components/dialog/dialog.component.js +56 -54
  21. package/esm/components/draggable/draggable-container.component.js +160 -158
  22. package/esm/components/draggable/draggable-item.component.js +162 -160
  23. package/esm/components/duelling-picklist/picklist-group/picklist-group.component.js +11 -9
  24. package/esm/components/duelling-picklist/picklist-item/picklist-item.component.js +15 -13
  25. package/esm/components/file-input/file-input.component.js +191 -189
  26. package/esm/components/flat-table/flat-table-body/flat-table-body.component.js +5 -3
  27. package/esm/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +1 -1
  28. package/esm/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +12 -10
  29. package/esm/components/flat-table/flat-table-row/flat-table-row.component.js +19 -17
  30. package/esm/components/grouped-character/grouped-character.component.js +538 -536
  31. package/esm/components/help/help.component.js +172 -170
  32. package/esm/components/hr/hr.component.js +159 -157
  33. package/esm/components/icon/icon.component.js +181 -179
  34. package/esm/components/icon-button/icon-button.component.js +321 -319
  35. package/esm/components/link/link.component.js +72 -70
  36. package/esm/components/menu/__internal__/submenu/submenu.component.js +120 -118
  37. package/esm/components/menu/menu-divider/menu-divider.component.js +8 -6
  38. package/esm/components/menu/menu-segment-title/menu-segment-title.component.js +11 -9
  39. package/esm/components/message/message.component.js +168 -166
  40. package/esm/components/navigation-bar/navigation-bar.component.js +1279 -1277
  41. package/esm/components/note/__internal__/status-icon/status-icon.component.js +6 -4
  42. package/esm/components/number/number.component.js +536 -534
  43. package/esm/components/pod/pod.component.js +178 -176
  44. package/esm/components/radio-button/radio-button.component.js +523 -521
  45. package/esm/components/search/search.component.js +183 -181
  46. package/esm/components/select/filterable-select/filterable-select.component.js +554 -552
  47. package/esm/components/select/list-action-button/list-action-button.component.js +6 -4
  48. package/esm/components/select/multi-select/multi-select.component.js +551 -549
  49. package/esm/components/select/option/option.component.js +402 -400
  50. package/esm/components/select/option-group-header/option-group-header.component.js +11 -9
  51. package/esm/components/select/option-row/option-row.component.js +16 -14
  52. package/esm/components/select/select-list/select-list.component.js +34 -32
  53. package/esm/components/select/select-textbox/select-textbox.component.js +543 -541
  54. package/esm/components/select/simple-select/simple-select.component.js +550 -548
  55. package/esm/components/sidebar/sidebar.component.js +297 -295
  56. package/esm/components/simple-color-picker/simple-color/simple-color.component.js +14 -12
  57. package/esm/components/simple-color-picker/simple-color-picker.component.js +173 -171
  58. package/esm/components/step-flow/step-flow.component.js +170 -168
  59. package/esm/components/switch/switch.component.js +524 -522
  60. package/esm/components/tabs/__internal__/tab-title/tab-title.component.js +32 -30
  61. package/esm/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +14 -12
  62. package/esm/components/text-editor/text-editor.component.js +171 -169
  63. package/esm/components/textarea/textarea.component.js +532 -530
  64. package/esm/components/textbox/textbox.component.js +536 -534
  65. package/esm/components/tile/flex-tile-cell/flex-tile-cell.component.js +3785 -3783
  66. package/esm/components/tile/flex-tile-container/flex-tile-container.component.js +6 -4
  67. package/esm/components/tile-select/tile-select.component.js +180 -178
  68. package/esm/components/time/time.component.js +202 -200
  69. package/esm/components/toast/toast.component.js +18 -16
  70. package/esm/components/tooltip/tooltip.component.js +23 -21
  71. package/esm/components/vertical-divider/vertical-divider.component.js +316 -314
  72. package/lib/__internal__/checkable-input/checkable-input.component.js +362 -360
  73. package/lib/__internal__/checkable-input/hidden-checkable-input.component.js +297 -295
  74. package/lib/__internal__/full-screen-heading/full-screen-heading.component.js +6 -4
  75. package/lib/__internal__/input/input-presentation.component.js +19 -17
  76. package/lib/__internal__/input/input.component.js +355 -353
  77. package/lib/__internal__/input/input.style.d.ts +1 -1
  78. package/lib/__internal__/input/input.style.js +1 -7
  79. package/lib/__spec_helper__/index.js +5 -1
  80. package/lib/components/accordion/accordion.component.js +338 -336
  81. package/lib/components/action-popover/action-popover-menu/action-popover-menu.component.js +22 -20
  82. package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +19 -17
  83. package/lib/components/anchor-navigation/anchor-navigation.component.js +6 -4
  84. package/lib/components/box/box.component.js +3785 -3783
  85. package/lib/components/breadcrumbs/breadcrumbs.component.js +316 -314
  86. package/lib/components/breadcrumbs/crumb/crumb.component.js +64 -62
  87. package/lib/components/button/button.component.js +688 -684
  88. package/lib/components/checkbox/checkbox.component.js +524 -522
  89. package/lib/components/date/date.component.js +722 -720
  90. package/lib/components/decimal/decimal.component.js +536 -534
  91. package/lib/components/dialog/dialog.component.js +56 -54
  92. package/lib/components/draggable/draggable-container.component.js +160 -158
  93. package/lib/components/draggable/draggable-item.component.js +162 -160
  94. package/lib/components/duelling-picklist/picklist-group/picklist-group.component.js +11 -9
  95. package/lib/components/duelling-picklist/picklist-item/picklist-item.component.js +15 -13
  96. package/lib/components/file-input/file-input.component.js +191 -189
  97. package/lib/components/flat-table/flat-table-body/flat-table-body.component.js +5 -3
  98. package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +1 -1
  99. package/lib/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +12 -10
  100. package/lib/components/flat-table/flat-table-row/flat-table-row.component.js +19 -17
  101. package/lib/components/grouped-character/grouped-character.component.js +538 -536
  102. package/lib/components/help/help.component.js +172 -170
  103. package/lib/components/hr/hr.component.js +159 -157
  104. package/lib/components/icon/icon.component.js +181 -179
  105. package/lib/components/icon-button/icon-button.component.js +321 -319
  106. package/lib/components/link/link.component.js +72 -70
  107. package/lib/components/menu/__internal__/submenu/submenu.component.js +120 -118
  108. package/lib/components/menu/menu-divider/menu-divider.component.js +8 -6
  109. package/lib/components/menu/menu-segment-title/menu-segment-title.component.js +11 -9
  110. package/lib/components/message/message.component.js +168 -166
  111. package/lib/components/navigation-bar/navigation-bar.component.js +1279 -1277
  112. package/lib/components/note/__internal__/status-icon/status-icon.component.js +6 -4
  113. package/lib/components/number/number.component.js +536 -534
  114. package/lib/components/pod/pod.component.js +178 -176
  115. package/lib/components/radio-button/radio-button.component.js +523 -521
  116. package/lib/components/search/search.component.js +183 -181
  117. package/lib/components/select/filterable-select/filterable-select.component.js +554 -552
  118. package/lib/components/select/list-action-button/list-action-button.component.js +6 -4
  119. package/lib/components/select/multi-select/multi-select.component.js +551 -549
  120. package/lib/components/select/option/option.component.js +402 -400
  121. package/lib/components/select/option-group-header/option-group-header.component.js +11 -9
  122. package/lib/components/select/option-row/option-row.component.js +16 -14
  123. package/lib/components/select/select-list/select-list.component.js +34 -32
  124. package/lib/components/select/select-textbox/select-textbox.component.js +543 -541
  125. package/lib/components/select/simple-select/simple-select.component.js +550 -548
  126. package/lib/components/sidebar/sidebar.component.js +297 -295
  127. package/lib/components/simple-color-picker/simple-color/simple-color.component.js +14 -12
  128. package/lib/components/simple-color-picker/simple-color-picker.component.js +173 -171
  129. package/lib/components/step-flow/step-flow.component.js +170 -168
  130. package/lib/components/switch/switch.component.js +524 -522
  131. package/lib/components/tabs/__internal__/tab-title/tab-title.component.js +32 -30
  132. package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +14 -12
  133. package/lib/components/text-editor/text-editor.component.js +171 -169
  134. package/lib/components/textarea/textarea.component.js +532 -530
  135. package/lib/components/textbox/textbox.component.js +536 -534
  136. package/lib/components/tile/flex-tile-cell/flex-tile-cell.component.js +3785 -3783
  137. package/lib/components/tile/flex-tile-container/flex-tile-container.component.js +6 -4
  138. package/lib/components/tile-select/tile-select.component.js +180 -178
  139. package/lib/components/time/time.component.js +202 -200
  140. package/lib/components/toast/toast.component.js +18 -16
  141. package/lib/components/tooltip/tooltip.component.js +23 -21
  142. package/lib/components/vertical-divider/vertical-divider.component.js +316 -314
  143. package/package.json +1 -1
@@ -53,172 +53,174 @@ const Message = /*#__PURE__*/React.forwardRef(({
53
53
  reduceLeftPadding: transparent
54
54
  }, children), renderCloseIcon()) : null;
55
55
  });
56
- Message.propTypes = {
57
- "children": PropTypes.node,
58
- "className": PropTypes.string,
59
- "closeButtonAriaLabel": PropTypes.string,
60
- "id": PropTypes.string,
61
- "m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
62
- "__@toStringTag": PropTypes.string.isRequired,
63
- "description": PropTypes.string,
64
- "toString": PropTypes.func.isRequired,
65
- "valueOf": PropTypes.func.isRequired
66
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
67
- "__@toStringTag": PropTypes.string.isRequired,
68
- "description": PropTypes.string,
69
- "toString": PropTypes.func.isRequired,
70
- "valueOf": PropTypes.func.isRequired
71
- }), PropTypes.string]),
72
- "margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
73
- "__@toStringTag": PropTypes.string.isRequired,
74
- "description": PropTypes.string,
75
- "toString": PropTypes.func.isRequired,
76
- "valueOf": PropTypes.func.isRequired
77
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
78
- "__@toStringTag": PropTypes.string.isRequired,
79
- "description": PropTypes.string,
80
- "toString": PropTypes.func.isRequired,
81
- "valueOf": PropTypes.func.isRequired
82
- }), PropTypes.string]),
83
- "marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
84
- "__@toStringTag": PropTypes.string.isRequired,
85
- "description": PropTypes.string,
86
- "toString": PropTypes.func.isRequired,
87
- "valueOf": PropTypes.func.isRequired
88
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
89
- "__@toStringTag": PropTypes.string.isRequired,
90
- "description": PropTypes.string,
91
- "toString": PropTypes.func.isRequired,
92
- "valueOf": PropTypes.func.isRequired
93
- }), PropTypes.string]),
94
- "marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
95
- "__@toStringTag": PropTypes.string.isRequired,
96
- "description": PropTypes.string,
97
- "toString": PropTypes.func.isRequired,
98
- "valueOf": PropTypes.func.isRequired
99
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
100
- "__@toStringTag": PropTypes.string.isRequired,
101
- "description": PropTypes.string,
102
- "toString": PropTypes.func.isRequired,
103
- "valueOf": PropTypes.func.isRequired
104
- }), PropTypes.string]),
105
- "marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
106
- "__@toStringTag": PropTypes.string.isRequired,
107
- "description": PropTypes.string,
108
- "toString": PropTypes.func.isRequired,
109
- "valueOf": PropTypes.func.isRequired
110
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
111
- "__@toStringTag": PropTypes.string.isRequired,
112
- "description": PropTypes.string,
113
- "toString": PropTypes.func.isRequired,
114
- "valueOf": PropTypes.func.isRequired
115
- }), PropTypes.string]),
116
- "marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
117
- "__@toStringTag": PropTypes.string.isRequired,
118
- "description": PropTypes.string,
119
- "toString": PropTypes.func.isRequired,
120
- "valueOf": PropTypes.func.isRequired
121
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
122
- "__@toStringTag": PropTypes.string.isRequired,
123
- "description": PropTypes.string,
124
- "toString": PropTypes.func.isRequired,
125
- "valueOf": PropTypes.func.isRequired
126
- }), PropTypes.string]),
127
- "marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
128
- "__@toStringTag": PropTypes.string.isRequired,
129
- "description": PropTypes.string,
130
- "toString": PropTypes.func.isRequired,
131
- "valueOf": PropTypes.func.isRequired
132
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
133
- "__@toStringTag": PropTypes.string.isRequired,
134
- "description": PropTypes.string,
135
- "toString": PropTypes.func.isRequired,
136
- "valueOf": PropTypes.func.isRequired
137
- }), PropTypes.string]),
138
- "marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
139
- "__@toStringTag": PropTypes.string.isRequired,
140
- "description": PropTypes.string,
141
- "toString": PropTypes.func.isRequired,
142
- "valueOf": PropTypes.func.isRequired
143
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
144
- "__@toStringTag": PropTypes.string.isRequired,
145
- "description": PropTypes.string,
146
- "toString": PropTypes.func.isRequired,
147
- "valueOf": PropTypes.func.isRequired
148
- }), PropTypes.string]),
149
- "mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
150
- "__@toStringTag": PropTypes.string.isRequired,
151
- "description": PropTypes.string,
152
- "toString": PropTypes.func.isRequired,
153
- "valueOf": PropTypes.func.isRequired
154
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
155
- "__@toStringTag": PropTypes.string.isRequired,
156
- "description": PropTypes.string,
157
- "toString": PropTypes.func.isRequired,
158
- "valueOf": PropTypes.func.isRequired
159
- }), PropTypes.string]),
160
- "ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
161
- "__@toStringTag": PropTypes.string.isRequired,
162
- "description": PropTypes.string,
163
- "toString": PropTypes.func.isRequired,
164
- "valueOf": PropTypes.func.isRequired
165
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
166
- "__@toStringTag": PropTypes.string.isRequired,
167
- "description": PropTypes.string,
168
- "toString": PropTypes.func.isRequired,
169
- "valueOf": PropTypes.func.isRequired
170
- }), PropTypes.string]),
171
- "mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
172
- "__@toStringTag": PropTypes.string.isRequired,
173
- "description": PropTypes.string,
174
- "toString": PropTypes.func.isRequired,
175
- "valueOf": PropTypes.func.isRequired
176
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
177
- "__@toStringTag": PropTypes.string.isRequired,
178
- "description": PropTypes.string,
179
- "toString": PropTypes.func.isRequired,
180
- "valueOf": PropTypes.func.isRequired
181
- }), PropTypes.string]),
182
- "mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
183
- "__@toStringTag": PropTypes.string.isRequired,
184
- "description": PropTypes.string,
185
- "toString": PropTypes.func.isRequired,
186
- "valueOf": PropTypes.func.isRequired
187
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
188
- "__@toStringTag": PropTypes.string.isRequired,
189
- "description": PropTypes.string,
190
- "toString": PropTypes.func.isRequired,
191
- "valueOf": PropTypes.func.isRequired
192
- }), PropTypes.string]),
193
- "mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
194
- "__@toStringTag": PropTypes.string.isRequired,
195
- "description": PropTypes.string,
196
- "toString": PropTypes.func.isRequired,
197
- "valueOf": PropTypes.func.isRequired
198
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
199
- "__@toStringTag": PropTypes.string.isRequired,
200
- "description": PropTypes.string,
201
- "toString": PropTypes.func.isRequired,
202
- "valueOf": PropTypes.func.isRequired
203
- }), PropTypes.string]),
204
- "my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
205
- "__@toStringTag": PropTypes.string.isRequired,
206
- "description": PropTypes.string,
207
- "toString": PropTypes.func.isRequired,
208
- "valueOf": PropTypes.func.isRequired
209
- }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
210
- "__@toStringTag": PropTypes.string.isRequired,
211
- "description": PropTypes.string,
212
- "toString": PropTypes.func.isRequired,
213
- "valueOf": PropTypes.func.isRequired
214
- }), PropTypes.string]),
215
- "onDismiss": PropTypes.func,
216
- "open": PropTypes.bool,
217
- "showCloseIcon": PropTypes.bool,
218
- "title": PropTypes.node,
219
- "transparent": PropTypes.bool,
220
- "variant": PropTypes.oneOf(["error", "info", "neutral", "success", "warning"])
221
- };
56
+ if (process.env.NODE_ENV !== "production") {
57
+ Message.propTypes = {
58
+ "children": PropTypes.node,
59
+ "className": PropTypes.string,
60
+ "closeButtonAriaLabel": PropTypes.string,
61
+ "id": PropTypes.string,
62
+ "m": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
63
+ "__@toStringTag": PropTypes.string.isRequired,
64
+ "description": PropTypes.string,
65
+ "toString": PropTypes.func.isRequired,
66
+ "valueOf": PropTypes.func.isRequired
67
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
68
+ "__@toStringTag": PropTypes.string.isRequired,
69
+ "description": PropTypes.string,
70
+ "toString": PropTypes.func.isRequired,
71
+ "valueOf": PropTypes.func.isRequired
72
+ }), PropTypes.string]),
73
+ "margin": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
74
+ "__@toStringTag": PropTypes.string.isRequired,
75
+ "description": PropTypes.string,
76
+ "toString": PropTypes.func.isRequired,
77
+ "valueOf": PropTypes.func.isRequired
78
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
79
+ "__@toStringTag": PropTypes.string.isRequired,
80
+ "description": PropTypes.string,
81
+ "toString": PropTypes.func.isRequired,
82
+ "valueOf": PropTypes.func.isRequired
83
+ }), PropTypes.string]),
84
+ "marginBottom": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
85
+ "__@toStringTag": PropTypes.string.isRequired,
86
+ "description": PropTypes.string,
87
+ "toString": PropTypes.func.isRequired,
88
+ "valueOf": PropTypes.func.isRequired
89
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
90
+ "__@toStringTag": PropTypes.string.isRequired,
91
+ "description": PropTypes.string,
92
+ "toString": PropTypes.func.isRequired,
93
+ "valueOf": PropTypes.func.isRequired
94
+ }), PropTypes.string]),
95
+ "marginLeft": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
96
+ "__@toStringTag": PropTypes.string.isRequired,
97
+ "description": PropTypes.string,
98
+ "toString": PropTypes.func.isRequired,
99
+ "valueOf": PropTypes.func.isRequired
100
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
101
+ "__@toStringTag": PropTypes.string.isRequired,
102
+ "description": PropTypes.string,
103
+ "toString": PropTypes.func.isRequired,
104
+ "valueOf": PropTypes.func.isRequired
105
+ }), PropTypes.string]),
106
+ "marginRight": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
107
+ "__@toStringTag": PropTypes.string.isRequired,
108
+ "description": PropTypes.string,
109
+ "toString": PropTypes.func.isRequired,
110
+ "valueOf": PropTypes.func.isRequired
111
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
112
+ "__@toStringTag": PropTypes.string.isRequired,
113
+ "description": PropTypes.string,
114
+ "toString": PropTypes.func.isRequired,
115
+ "valueOf": PropTypes.func.isRequired
116
+ }), PropTypes.string]),
117
+ "marginTop": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
118
+ "__@toStringTag": PropTypes.string.isRequired,
119
+ "description": PropTypes.string,
120
+ "toString": PropTypes.func.isRequired,
121
+ "valueOf": PropTypes.func.isRequired
122
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
123
+ "__@toStringTag": PropTypes.string.isRequired,
124
+ "description": PropTypes.string,
125
+ "toString": PropTypes.func.isRequired,
126
+ "valueOf": PropTypes.func.isRequired
127
+ }), PropTypes.string]),
128
+ "marginX": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
129
+ "__@toStringTag": PropTypes.string.isRequired,
130
+ "description": PropTypes.string,
131
+ "toString": PropTypes.func.isRequired,
132
+ "valueOf": PropTypes.func.isRequired
133
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
134
+ "__@toStringTag": PropTypes.string.isRequired,
135
+ "description": PropTypes.string,
136
+ "toString": PropTypes.func.isRequired,
137
+ "valueOf": PropTypes.func.isRequired
138
+ }), PropTypes.string]),
139
+ "marginY": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
140
+ "__@toStringTag": PropTypes.string.isRequired,
141
+ "description": PropTypes.string,
142
+ "toString": PropTypes.func.isRequired,
143
+ "valueOf": PropTypes.func.isRequired
144
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
145
+ "__@toStringTag": PropTypes.string.isRequired,
146
+ "description": PropTypes.string,
147
+ "toString": PropTypes.func.isRequired,
148
+ "valueOf": PropTypes.func.isRequired
149
+ }), PropTypes.string]),
150
+ "mb": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
151
+ "__@toStringTag": PropTypes.string.isRequired,
152
+ "description": PropTypes.string,
153
+ "toString": PropTypes.func.isRequired,
154
+ "valueOf": PropTypes.func.isRequired
155
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
156
+ "__@toStringTag": PropTypes.string.isRequired,
157
+ "description": PropTypes.string,
158
+ "toString": PropTypes.func.isRequired,
159
+ "valueOf": PropTypes.func.isRequired
160
+ }), PropTypes.string]),
161
+ "ml": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
162
+ "__@toStringTag": PropTypes.string.isRequired,
163
+ "description": PropTypes.string,
164
+ "toString": PropTypes.func.isRequired,
165
+ "valueOf": PropTypes.func.isRequired
166
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
167
+ "__@toStringTag": PropTypes.string.isRequired,
168
+ "description": PropTypes.string,
169
+ "toString": PropTypes.func.isRequired,
170
+ "valueOf": PropTypes.func.isRequired
171
+ }), PropTypes.string]),
172
+ "mr": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
173
+ "__@toStringTag": PropTypes.string.isRequired,
174
+ "description": PropTypes.string,
175
+ "toString": PropTypes.func.isRequired,
176
+ "valueOf": PropTypes.func.isRequired
177
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
178
+ "__@toStringTag": PropTypes.string.isRequired,
179
+ "description": PropTypes.string,
180
+ "toString": PropTypes.func.isRequired,
181
+ "valueOf": PropTypes.func.isRequired
182
+ }), PropTypes.string]),
183
+ "mt": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
184
+ "__@toStringTag": PropTypes.string.isRequired,
185
+ "description": PropTypes.string,
186
+ "toString": PropTypes.func.isRequired,
187
+ "valueOf": PropTypes.func.isRequired
188
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
189
+ "__@toStringTag": PropTypes.string.isRequired,
190
+ "description": PropTypes.string,
191
+ "toString": PropTypes.func.isRequired,
192
+ "valueOf": PropTypes.func.isRequired
193
+ }), PropTypes.string]),
194
+ "mx": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
195
+ "__@toStringTag": PropTypes.string.isRequired,
196
+ "description": PropTypes.string,
197
+ "toString": PropTypes.func.isRequired,
198
+ "valueOf": PropTypes.func.isRequired
199
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
200
+ "__@toStringTag": PropTypes.string.isRequired,
201
+ "description": PropTypes.string,
202
+ "toString": PropTypes.func.isRequired,
203
+ "valueOf": PropTypes.func.isRequired
204
+ }), PropTypes.string]),
205
+ "my": PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([null]), PropTypes.number, PropTypes.shape({
206
+ "__@toStringTag": PropTypes.string.isRequired,
207
+ "description": PropTypes.string,
208
+ "toString": PropTypes.func.isRequired,
209
+ "valueOf": PropTypes.func.isRequired
210
+ }), PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.shape({
211
+ "__@toStringTag": PropTypes.string.isRequired,
212
+ "description": PropTypes.string,
213
+ "toString": PropTypes.func.isRequired,
214
+ "valueOf": PropTypes.func.isRequired
215
+ }), PropTypes.string]),
216
+ "onDismiss": PropTypes.func,
217
+ "open": PropTypes.bool,
218
+ "showCloseIcon": PropTypes.bool,
219
+ "title": PropTypes.node,
220
+ "transparent": PropTypes.bool,
221
+ "variant": PropTypes.oneOf(["error", "info", "neutral", "success", "warning"])
222
+ };
223
+ }
222
224
  export { Message };
223
225
  Message.displayName = "Message";
224
226
  export default Message;