mimir-ui-kit 1.17.0 → 1.17.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.
| @@ -158,7 +158,7 @@ const Accordion = forwardRef( | |
| 158 158 | 
             
                  const buttonIcon = size === EAccordionSize.S ? EAccordionButtonIconSize.S : EAccordionButtonIconSize.M;
         | 
| 159 159 | 
             
                  const linkIcon = size === EAccordionSize.S ? EAccordionLinkIconSize.S : EAccordionLinkIconSize.M;
         | 
| 160 160 | 
             
                  switch (buttonType) {
         | 
| 161 | 
            -
                    case  | 
| 161 | 
            +
                    case EAccordionButtonType.LINK: {
         | 
| 162 162 | 
             
                      return /* @__PURE__ */ jsx(
         | 
| 163 163 | 
             
                        Link,
         | 
| 164 164 | 
             
                        {
         | 
| @@ -173,7 +173,7 @@ const Accordion = forwardRef( | |
| 173 173 | 
             
                        }
         | 
| 174 174 | 
             
                      );
         | 
| 175 175 | 
             
                    }
         | 
| 176 | 
            -
                    case  | 
| 176 | 
            +
                    case EAccordionButtonType.BUTTON: {
         | 
| 177 177 | 
             
                      return /* @__PURE__ */ jsxs(Fragment$1, { children: [
         | 
| 178 178 | 
             
                        /* @__PURE__ */ jsx(
         | 
| 179 179 | 
             
                          "span",
         | 
| @@ -203,8 +203,8 @@ const Accordion = forwardRef( | |
| 203 203 | 
             
                  /* @__PURE__ */ jsx(
         | 
| 204 204 | 
             
                    Ce,
         | 
| 205 205 | 
             
                    {
         | 
| 206 | 
            -
                      as: isLink ? Fragment :  | 
| 207 | 
            -
                      className: cls.header,
         | 
| 206 | 
            +
                      as: isLink ? Fragment : EAccordionButtonType.BUTTON,
         | 
| 207 | 
            +
                      className: isLink ? "" : cls.header,
         | 
| 208 208 | 
             
                      children: renderButton(open2)
         | 
| 209 209 | 
             
                    }
         | 
| 210 210 | 
             
                  ),
         |