@synerise/ds-tabs 0.13.78 → 0.13.80

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/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.13.80](https://github.com/synerise/synerise-design/compare/@synerise/ds-tabs@0.13.79...@synerise/ds-tabs@0.13.80) (2023-10-06)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-tabs
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.13.79](https://github.com/synerise/synerise-design/compare/@synerise/ds-tabs@0.13.78...@synerise/ds-tabs@0.13.79) (2023-10-02)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-tabs
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.13.78](https://github.com/synerise/synerise-design/compare/@synerise/ds-tabs@0.13.77...@synerise/ds-tabs@0.13.78) (2023-09-26)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-tabs
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export declare type TabProps = {
2
+ export type TabProps = {
3
3
  index: number;
4
4
  label?: string | React.ReactNode;
5
5
  icon?: React.ReactNode;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import Button, { ButtonProps } from '@synerise/ds-button';
2
+ import Button from '@synerise/ds-button';
3
3
  import { MenuItemProps } from '@synerise/ds-menu/dist/Elements/Item/MenuItem.types';
4
4
  import Menu from '@synerise/ds-menu';
5
5
  import { AntdMenuProps } from '@synerise/ds-menu/dist/Menu.types';
@@ -8,7 +8,28 @@ export declare const TabsContainer: import("styled-components").StyledComponent<
8
8
  }, never>;
9
9
  export declare const TabsDropdownContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
10
10
  export declare const TabsDropdownDivider: import("styled-components").StyledComponent<"div", any, {}, never>;
11
- export declare const ShowHiddenTabsTrigger: import("styled-components").StyledComponent<typeof Button, any, ButtonProps, never>;
11
+ export declare const ShowHiddenTabsTrigger: import("styled-components").StyledComponent<typeof Button, any, Omit<Partial<{
12
+ href: string;
13
+ target?: string | undefined;
14
+ onClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
15
+ } & import("antd/lib/button/button").BaseButtonProps & import("antd/lib/_util/type").Omit<import("react").AnchorHTMLAttributes<any>, "type" | "onClick"> & {
16
+ htmlType?: "button" | "submit" | "reset" | undefined;
17
+ onClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
18
+ } & import("antd/lib/_util/type").Omit<import("react").ButtonHTMLAttributes<any>, "type" | "onClick">>, "type"> & {
19
+ type?: string | undefined;
20
+ mode?: string | undefined;
21
+ color?: string | undefined;
22
+ groupVariant?: string | undefined;
23
+ justifyContent?: string | undefined;
24
+ loading?: boolean | {
25
+ delay?: number | undefined;
26
+ } | undefined;
27
+ onClick?: ((event: import("react").MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
28
+ iconColor?: string | undefined;
29
+ error?: boolean | undefined;
30
+ activated?: boolean | undefined;
31
+ readOnly?: boolean | undefined;
32
+ }, never>;
12
33
  export declare const HiddenTabs: import("styled-components").StyledComponent<"div", any, {}, never>;
13
34
  export declare const DropdownMenu: import("styled-components").StyledComponent<typeof Menu, any, AntdMenuProps, never>;
14
35
  export declare const DropdownMenuItem: import("styled-components").StyledComponent<import("react").FC<import("@synerise/ds-menu/dist/Elements/SubMenu/SubMenu.types").SubMenuProps & MenuItemProps>, any, MenuItemProps, never>;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export declare type TabsProps = {
2
+ export type TabsProps = {
3
3
  activeTab: number;
4
4
  tabs: TabItem[];
5
5
  handleTabClick: (index: number) => void;
@@ -8,17 +8,17 @@ export declare type TabsProps = {
8
8
  block?: boolean;
9
9
  visible?: boolean;
10
10
  };
11
- export declare type Configuration = {
11
+ export type Configuration = {
12
12
  action: () => void;
13
13
  label: string;
14
14
  disabled?: boolean;
15
15
  };
16
- export declare type TabItem = {
16
+ export type TabItem = {
17
17
  label?: string | React.ReactNode;
18
18
  icon?: React.ReactNode;
19
19
  disabled?: boolean;
20
20
  suffixel?: React.ReactNode | React.ReactText;
21
21
  };
22
- export declare type TabWithRef = TabItem & {
22
+ export type TabWithRef = TabItem & {
23
23
  ref: React.RefObject<HTMLButtonElement>;
24
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-tabs",
3
- "version": "0.13.78",
3
+ "version": "0.13.80",
4
4
  "description": "Tabs UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -32,13 +32,13 @@
32
32
  ],
33
33
  "types": "dist/index.d.ts",
34
34
  "dependencies": {
35
- "@synerise/ds-button": "^0.18.2",
36
- "@synerise/ds-dropdown": "^0.17.80",
37
- "@synerise/ds-icon": "^0.58.2",
38
- "@synerise/ds-menu": "^0.17.19",
39
- "@synerise/ds-typography": "^0.13.0",
40
- "@synerise/ds-utils": "^0.24.16",
41
- "classnames": "2.2.6"
35
+ "@synerise/ds-button": "^0.18.3",
36
+ "@synerise/ds-dropdown": "^0.17.82",
37
+ "@synerise/ds-icon": "^0.58.3",
38
+ "@synerise/ds-menu": "^0.18.0",
39
+ "@synerise/ds-typography": "^0.13.1",
40
+ "@synerise/ds-utils": "^0.24.17",
41
+ "classnames": "2.3.2"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@synerise/ds-core": "*",
@@ -47,8 +47,7 @@
47
47
  "styled-components": "5.0.1"
48
48
  },
49
49
  "devDependencies": {
50
- "@testing-library/jest-dom": "5.1.1",
51
- "@types/classnames": "2.2.10"
50
+ "@testing-library/jest-dom": "5.1.1"
52
51
  },
53
- "gitHead": "f1f520c4c5ef9f90bacb5d5e0b2e778ceb8fdf79"
52
+ "gitHead": "d944339a738211d8f74b27360481aafd7ef51ddd"
54
53
  }