@cypress-design/react-accordion 0.4.2 → 0.4.3

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/dist/index.umd.js CHANGED
@@ -39,6 +39,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
39
39
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
40
40
  PERFORMANCE OF THIS SOFTWARE.
41
41
  ***************************************************************************** */
42
+ /* global Reflect, Promise */
43
+
42
44
 
43
45
  var __assign$1 = function() {
44
46
  __assign$1 = Object.assign || function __assign(t) {
@@ -92,6 +94,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
92
94
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
93
95
  PERFORMANCE OF THIS SOFTWARE.
94
96
  ***************************************************************************** */
97
+ /* global Reflect, Promise */
98
+
95
99
 
96
100
  var __assign = function() {
97
101
  __assign = Object.assign || function __assign(t) {
@@ -167,7 +171,7 @@ var Accordion = function (_a) {
167
171
  Boolean(iconEl) && React__namespace.createElement("span", { className: CssClasses.icon }, iconEl),
168
172
  Icon && !iconEl && React__namespace.createElement(Icon, { className: CssClasses.icon }),
169
173
  (Icon || iconEl) && separator && (React__namespace.createElement("span", { className: CssClasses.separator, role: "separator" })),
170
- React__namespace.createElement("span", { className: "flex-grow pr-[16px]" },
174
+ React__namespace.createElement("span", { className: "flex-grow grow pr-[16px]" },
171
175
  React__namespace.createElement("span", { className: clsx(titleClassName !== null && titleClassName !== void 0 ? titleClassName : CssClasses.summaryTitleColor, CssClasses.summaryTitle) }, title),
172
176
  description && (React__namespace.createElement("span", { className: clsx(CssClasses.summaryDescription, descriptionClassName !== null && descriptionClassName !== void 0 ? descriptionClassName : CssClasses.summaryDescriptionColor) }, description))),
173
177
  React__namespace.createElement(IconChevronDownSmall, { strokeColor: "gray-300", className: clsx('open:icon-dark-gray-500', CssClasses.chevron) }))),