@synerise/ds-tags 0.8.13 → 0.8.15

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.8.15](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tags@0.8.14...@synerise/ds-tags@0.8.15) (2023-10-02)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-tags
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.8.14](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tags@0.8.13...@synerise/ds-tags@0.8.14) (2023-09-26)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-tags
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.8.13](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tags@0.8.12...@synerise/ds-tags@0.8.13) (2023-09-19)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-tags
@@ -1,22 +1,8 @@
1
1
  import { ThemeProps, ThemePropsVars } from '@synerise/ds-core';
2
2
  import { TagShape } from './Tag.types';
3
- export declare const getColorText: (theme: ThemePropsVars, color?: string | undefined) => string;
3
+ export declare const getColorText: (theme: ThemePropsVars, color?: string) => string;
4
4
  export declare const TagName: import("styled-components").StyledComponent<"span", any, {}, never>;
5
5
  export declare const RemoveButton: import("styled-components").StyledComponent<"div", any, {}, never>;
6
- declare type TagProps = {
7
- isStatusShape?: boolean;
8
- shape?: TagShape;
9
- color?: string;
10
- textColor?: string;
11
- removable?: boolean;
12
- disabled?: boolean;
13
- isActionable?: boolean;
14
- suffixel?: boolean;
15
- preffixel?: boolean;
16
- hasImage?: boolean;
17
- iconHover?: boolean;
18
- asPill?: boolean;
19
- } & ThemeProps;
20
6
  export declare const Content: import("styled-components").StyledComponent<"div", any, {
21
7
  iconHover?: boolean | undefined;
22
8
  }, never>;
@@ -28,6 +14,18 @@ export declare const DefaultSuffixWrapper: import("styled-components").StyledCom
28
14
  export declare const DefaultPrefixWrapper: import("styled-components").StyledComponent<"div", any, {
29
15
  iconHover?: boolean | undefined;
30
16
  }, never>;
31
- export declare const Tag: import("styled-components").StyledComponent<"div", any, TagProps, never>;
17
+ export declare const Tag: import("styled-components").StyledComponent<"div", any, {
18
+ isStatusShape?: boolean | undefined;
19
+ shape?: TagShape | undefined;
20
+ color?: string | undefined;
21
+ textColor?: string | undefined;
22
+ removable?: boolean | undefined;
23
+ disabled?: boolean | undefined;
24
+ isActionable?: boolean | undefined;
25
+ suffixel?: boolean | undefined;
26
+ preffixel?: boolean | undefined;
27
+ hasImage?: boolean | undefined;
28
+ iconHover?: boolean | undefined;
29
+ asPill?: boolean | undefined;
30
+ } & ThemeProps, never>;
32
31
  export declare const DeleteButton: import("styled-components").StyledComponent<"div", any, {}, never>;
33
- export {};
package/dist/Tags.d.ts CHANGED
@@ -1,6 +1,26 @@
1
1
  import * as React from 'react';
2
- import { Props } from './Tags.types';
3
- declare const _default: React.ForwardRefExoticComponent<Pick<React.PropsWithChildren<Props>, "data" | "style" | "className" | "children" | "disabled" | "selected" | "maxHeight" | "removable" | "texts" | "asPill" | "overlayStyle" | "tagShape" | "onSelectedChange" | "addable" | "creatable" | "manageLink" | "onCreate" | "overlayPlacement" | "onManageTagClick"> & {
2
+ import { Props as TagProps } from './Tag/Tag.types';
3
+ declare const _default: React.ForwardRefExoticComponent<{
4
+ data?: TagProps[] | undefined;
5
+ style?: React.CSSProperties | undefined;
6
+ className?: string | undefined;
7
+ children?: React.ReactNode;
8
+ disabled?: boolean | undefined;
9
+ maxHeight?: number | undefined;
10
+ selected?: TagProps[] | undefined;
11
+ removable?: boolean | undefined;
12
+ texts?: import("./Tags.types").TagsTexts | undefined;
13
+ asPill?: boolean | undefined;
14
+ overlayStyle?: React.CSSProperties | undefined;
15
+ tagShape?: import("./Tag/Tag.types").TagShape | undefined;
16
+ onSelectedChange?: ((tags: TagProps[], action: import("./Tags.types").ActionTaken) => void) | undefined;
17
+ addable?: boolean | undefined;
18
+ creatable?: boolean | undefined;
19
+ manageLink?: string | undefined;
20
+ onCreate?: ((name: string) => void) | undefined;
21
+ overlayPlacement?: "topLeft" | "topCenter" | "topRight" | "bottomLeft" | "bottomCenter" | "bottomRight" | undefined;
22
+ onManageTagClick?: (() => void) | undefined;
23
+ } & {
4
24
  theme?: any;
5
25
  }>;
6
26
  export default _default;
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import Button from '@synerise/ds-button';
3
- import { ScrollbarProps } from '@synerise/ds-scrollbar/dist/Scrollbar.types';
4
3
  export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
5
4
  export declare const SelectedTags: import("styled-components").StyledComponent<"div", any, {}, never>;
6
5
  export declare const AddButton: import("styled-components").StyledComponent<typeof Button, any, {
@@ -16,7 +15,9 @@ export declare const ManageLinkButton: import("styled-components").StyledCompone
16
15
  export declare const Seperator: import("styled-components").StyledComponent<"hr", any, {}, never>;
17
16
  export declare const DropdownContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@synerise/ds-scrollbar").ScrollbarAdditionalProps & {
18
17
  children: import("react").ReactNode;
19
- } & import("react").RefAttributes<HTMLElement>>, any, ScrollbarProps, never>;
18
+ } & import("react").RefAttributes<HTMLElement>>, any, import("@synerise/ds-scrollbar").ScrollbarAdditionalProps & {
19
+ children: import("react").ReactNode;
20
+ }, never>;
20
21
  export declare const DropdownTagsContainer: import("styled-components").StyledComponent<"div", any, {
21
22
  isCreatable: boolean;
22
23
  }, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-tags",
3
- "version": "0.8.13",
3
+ "version": "0.8.15",
4
4
  "description": "Tags 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.1",
36
- "@synerise/ds-dropdown": "^0.17.79",
37
- "@synerise/ds-icon": "^0.58.1",
38
- "@synerise/ds-result": "^0.6.30",
39
- "@synerise/ds-scrollbar": "^0.6.6",
40
- "@synerise/ds-search-bar": "^0.6.43",
41
- "@synerise/ds-tooltip": "^0.14.3"
35
+ "@synerise/ds-button": "^0.18.3",
36
+ "@synerise/ds-dropdown": "^0.17.81",
37
+ "@synerise/ds-icon": "^0.58.3",
38
+ "@synerise/ds-result": "^0.6.32",
39
+ "@synerise/ds-scrollbar": "^0.6.8",
40
+ "@synerise/ds-search-bar": "^0.6.45",
41
+ "@synerise/ds-tooltip": "^0.14.5"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@synerise/ds-core": "*",
@@ -46,8 +46,8 @@
46
46
  "styled-components": "5.0.1"
47
47
  },
48
48
  "devDependencies": {
49
- "@synerise/ds-utils": "^0.24.15",
49
+ "@synerise/ds-utils": "^0.24.17",
50
50
  "@testing-library/react": "10.0.1"
51
51
  },
52
- "gitHead": "dcdec905a4a36109a33d28d9d31fc0b4af51567e"
52
+ "gitHead": "1c1adf344f447e404a1d6320ad1d3f8486f29f67"
53
53
  }