mimir-ui-kit 1.17.0 → 1.17.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 "link": {
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 "button": {
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 : "button",
207
- className: cls.header,
206
+ as: isLink ? Fragment : EAccordionButtonType.BUTTON,
207
+ className: isLink ? "" : cls.header,
208
208
  children: renderButton(open2)
209
209
  }
210
210
  ),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimir-ui-kit",
3
3
  "private": false,
4
- "version": "1.17.0",
4
+ "version": "1.17.1",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {