mimir-ui-kit 1.13.2 → 1.13.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { memo, useMemo } from "react";
3
- import { ETabTrailButtonVariant } from "./constants.js";
3
+ import { ETabTrailIconName, ETabTrailButtonVariant } from "./constants.js";
4
4
  import { EAccordionIconSize } from "../../Accordion/constants.js";
5
5
  import { MergedButton } from "../../MergedButton/MergedButton.js";
6
6
  const TabButtons = memo(
@@ -9,14 +9,14 @@ const TabButtons = memo(
9
9
  () => [
10
10
  {
11
11
  isIconButton: true,
12
- iconName: EAccordionIconSize.S,
12
+ iconName: ETabTrailIconName.LEFT,
13
13
  variant: ETabTrailButtonVariant.WHITE,
14
14
  onClick: handlePrevTab
15
15
  },
16
16
  {
17
17
  isIconButton: true,
18
18
  iconName: EAccordionIconSize.S,
19
- variant: ETabTrailButtonVariant.WHITE,
19
+ variant: ETabTrailIconName.RIGHT,
20
20
  onClick: handleNextTab
21
21
  }
22
22
  ],
@@ -2,3 +2,7 @@ export declare enum ETabTrailButtonVariant {
2
2
  GRAY = "gray",
3
3
  WHITE = "white"
4
4
  }
5
+ export declare enum ETabTrailIconName {
6
+ LEFT = "ArrowLeft16px",
7
+ RIGHT = "ArrowRight16px"
8
+ }
@@ -3,6 +3,12 @@ var ETabTrailButtonVariant = /* @__PURE__ */ ((ETabTrailButtonVariant2) => {
3
3
  ETabTrailButtonVariant2["WHITE"] = "white";
4
4
  return ETabTrailButtonVariant2;
5
5
  })(ETabTrailButtonVariant || {});
6
+ var ETabTrailIconName = /* @__PURE__ */ ((ETabTrailIconName2) => {
7
+ ETabTrailIconName2["LEFT"] = "ArrowLeft16px";
8
+ ETabTrailIconName2["RIGHT"] = "ArrowRight16px";
9
+ return ETabTrailIconName2;
10
+ })(ETabTrailIconName || {});
6
11
  export {
7
- ETabTrailButtonVariant
12
+ ETabTrailButtonVariant,
13
+ ETabTrailIconName
8
14
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimir-ui-kit",
3
3
  "private": false,
4
- "version": "1.13.2",
4
+ "version": "1.13.4",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {