@asantemedia-org/edwardsvacuum-design-system 1.6.37 → 1.6.38

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.esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import React, { useState, useRef, useCallback, useMemo, useEffect } from 'react';
2
2
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
3
- import { faChevronRight, faArrowRight } from '@fortawesome/pro-solid-svg-icons';
3
+ import { faChevronDown, faChevronRight, faArrowRight } from '@fortawesome/pro-solid-svg-icons';
4
4
  import { v4 } from 'uuid';
5
5
 
6
6
  /******************************************************************************
@@ -239,25 +239,6 @@ function requireClassnames() {
239
239
  var classnamesExports = requireClassnames();
240
240
  var classnames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
241
241
 
242
- // Simple chevron SVG to avoid FontAwesome dependency issues
243
- var ChevronIcon = function (_a) {
244
- var isOpen = _a.isOpen;
245
- return /*#__PURE__*/React.createElement("svg", {
246
- width: "12",
247
- height: "12",
248
- viewBox: "0 0 12 12",
249
- fill: "none",
250
- style: {
251
- transform: isOpen ? 'rotate(180deg)' : 'rotate(0deg)',
252
- transition: 'transform 0.2s ease'
253
- }
254
- }, /*#__PURE__*/React.createElement("path", {
255
- d: "M2 4L6 8L10 4",
256
- stroke: "#C4262E",
257
- strokeWidth: "2",
258
- strokeLinecap: "round"
259
- }));
260
- };
261
242
  var AccordionSection = function (_a) {
262
243
  var title = _a.title,
263
244
  children = _a.children,
@@ -315,9 +296,14 @@ var AccordionSection = function (_a) {
315
296
  }, /*#__PURE__*/React.createElement("span", {
316
297
  className: "accordion-section__title"
317
298
  }, title), /*#__PURE__*/React.createElement("span", {
318
- className: "accordion-section__icon"
319
- }, /*#__PURE__*/React.createElement(ChevronIcon, {
320
- isOpen: isOpen
299
+ className: "accordion-section__icon",
300
+ style: {
301
+ transform: isOpen ? 'rotate(180deg)' : 'rotate(0deg)',
302
+ transition: 'transform 0.2s ease'
303
+ }
304
+ }, /*#__PURE__*/React.createElement(FontAwesomeIcon, {
305
+ icon: faChevronDown,
306
+ color: "#C4262E"
321
307
  }))), /*#__PURE__*/React.createElement("div", {
322
308
  className: "accordion-section__content",
323
309
  style: {