@synerise/ds-color-picker 0.3.39 → 0.3.40

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,14 @@
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.3.40](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@0.3.39...@synerise/ds-color-picker@0.3.40) (2023-10-02)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-color-picker
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.3.39](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@0.3.38...@synerise/ds-color-picker@0.3.39) (2023-09-26)
7
15
 
8
16
  **Note:** Version bump only for package @synerise/ds-color-picker
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ColorPickerProps } from './ColorPicker.types';
3
2
  declare const ColorPicker: ({ maxWidth, value, onChange, colors, onSaveColors, infix, placeholder, inputProps, maxSavedColors, tooltip, isShownSavedColors, size, errorText, description, }: ColorPickerProps) => JSX.Element;
4
3
  export default ColorPicker;
@@ -152,8 +152,7 @@ var ColorPicker = function ColorPicker(_ref) {
152
152
  color: colorTextInput,
153
153
  setColor: onChangeTextColor
154
154
  }), savedColors.length > 0 && /*#__PURE__*/React.createElement(Tags, {
155
- tagShape: TagShape.SINGLE_CHARACTER_SQUARE // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
156
- // @ts-ignore
155
+ tagShape: TagShape.SINGLE_CHARACTER_SQUARE // @ts-ignore
157
156
  ,
158
157
  selected: savedColors.map(function (colorEntry, i) {
159
158
  return {
@@ -6,36 +6,12 @@ export declare const TagDot: import("styled-components").StyledComponent<"div",
6
6
  export declare const ColorTag: import("styled-components").StyledComponent<import("react").FC<import("@synerise/ds-tags").TagProps>, any, {}, never>;
7
7
  export declare const AddColorButton: import("styled-components").StyledComponent<typeof Button, any, {}, never>;
8
8
  export declare const CopyIcon: import("styled-components").StyledComponent<import("react").FC<import("@synerise/ds-icon").IconProps>, any, {}, never>;
9
- export declare const ColorPickerInput: import("styled-components").StyledComponent<(import("react").ComponentClass<(object & import("@synerise/ds-input").InputProps & import("antd/lib/input").InputProps) | (object & import("@synerise/ds-input").InputProps & import("antd/lib/input").InputProps & {
10
- mask: string;
11
- formatCharacters?: object | undefined;
12
- placeholderChar?: string | undefined;
13
- value?: string | undefined;
14
- }) | (object & import("@synerise/ds-input").InputProps & import("antd/lib/input").TextAreaProps), any> & {
9
+ export declare const ColorPickerInput: import("styled-components").StyledComponent<import("react").ComponentType<object & import("@synerise/ds-input").EnhancedProps> & {
15
10
  displayName: string;
16
- }) | (import("react").FunctionComponent<(object & import("@synerise/ds-input").InputProps & import("antd/lib/input").InputProps) | (object & import("@synerise/ds-input").InputProps & import("antd/lib/input").TextAreaProps) | (object & import("@synerise/ds-input").InputProps & import("antd/lib/input").InputProps & {
17
- mask: string;
18
- formatCharacters?: object | undefined;
19
- placeholderChar?: string | undefined;
20
- value?: string | undefined;
21
- })> & {
11
+ }, any, {}, never>;
12
+ export declare const ColorPickerSelect: import("styled-components").StyledComponent<import("react").ComponentType<object & import("@synerise/ds-input").EnhancedProps> & {
22
13
  displayName: string;
23
- }), any, {}, never>;
24
- export declare const ColorPickerSelect: import("styled-components").StyledComponent<(import("react").ComponentClass<(object & import("@synerise/ds-input").InputProps & import("antd/lib/input").InputProps) | (object & import("@synerise/ds-input").InputProps & import("antd/lib/input").InputProps & {
25
- mask: string;
26
- formatCharacters?: object | undefined;
27
- placeholderChar?: string | undefined;
28
- value?: string | undefined;
29
- }) | (object & import("@synerise/ds-input").InputProps & import("antd/lib/input").TextAreaProps), any> & {
30
- displayName: string;
31
- }) | (import("react").FunctionComponent<(object & import("@synerise/ds-input").InputProps & import("antd/lib/input").InputProps) | (object & import("@synerise/ds-input").InputProps & import("antd/lib/input").TextAreaProps) | (object & import("@synerise/ds-input").InputProps & import("antd/lib/input").InputProps & {
32
- mask: string;
33
- formatCharacters?: object | undefined;
34
- placeholderChar?: string | undefined;
35
- value?: string | undefined;
36
- })> & {
37
- displayName: string;
38
- }), any, {}, never>;
14
+ }, any, {}, never>;
39
15
  export declare const PrefixTag: import("styled-components").StyledComponent<"div", any, {
40
16
  height?: boolean | undefined;
41
17
  size?: "S" | "M" | "L" | undefined;
@@ -63,39 +39,15 @@ declare const _default: {
63
39
  PreffixWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
64
40
  ValueWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
65
41
  CopyIcon: import("styled-components").StyledComponent<import("react").FC<import("@synerise/ds-icon").IconProps>, any, {}, never>;
66
- ColorPickerInput: import("styled-components").StyledComponent<(import("react").ComponentClass<(object & import("@synerise/ds-input").InputProps & import("antd/lib/input").InputProps) | (object & import("@synerise/ds-input").InputProps & import("antd/lib/input").InputProps & {
67
- mask: string;
68
- formatCharacters?: object | undefined;
69
- placeholderChar?: string | undefined;
70
- value?: string | undefined;
71
- }) | (object & import("@synerise/ds-input").InputProps & import("antd/lib/input").TextAreaProps), any> & {
42
+ ColorPickerInput: import("styled-components").StyledComponent<import("react").ComponentType<object & import("@synerise/ds-input").EnhancedProps> & {
72
43
  displayName: string;
73
- }) | (import("react").FunctionComponent<(object & import("@synerise/ds-input").InputProps & import("antd/lib/input").InputProps) | (object & import("@synerise/ds-input").InputProps & import("antd/lib/input").TextAreaProps) | (object & import("@synerise/ds-input").InputProps & import("antd/lib/input").InputProps & {
74
- mask: string;
75
- formatCharacters?: object | undefined;
76
- placeholderChar?: string | undefined;
77
- value?: string | undefined;
78
- })> & {
79
- displayName: string;
80
- }), any, {}, never>;
44
+ }, any, {}, never>;
81
45
  TagDot: import("styled-components").StyledComponent<"div", any, {
82
46
  pressed?: boolean | undefined;
83
47
  }, never>;
84
- ColorPickerSelect: import("styled-components").StyledComponent<(import("react").ComponentClass<(object & import("@synerise/ds-input").InputProps & import("antd/lib/input").InputProps) | (object & import("@synerise/ds-input").InputProps & import("antd/lib/input").InputProps & {
85
- mask: string;
86
- formatCharacters?: object | undefined;
87
- placeholderChar?: string | undefined;
88
- value?: string | undefined;
89
- }) | (object & import("@synerise/ds-input").InputProps & import("antd/lib/input").TextAreaProps), any> & {
90
- displayName: string;
91
- }) | (import("react").FunctionComponent<(object & import("@synerise/ds-input").InputProps & import("antd/lib/input").InputProps) | (object & import("@synerise/ds-input").InputProps & import("antd/lib/input").TextAreaProps) | (object & import("@synerise/ds-input").InputProps & import("antd/lib/input").InputProps & {
92
- mask: string;
93
- formatCharacters?: object | undefined;
94
- placeholderChar?: string | undefined;
95
- value?: string | undefined;
96
- })> & {
48
+ ColorPickerSelect: import("styled-components").StyledComponent<import("react").ComponentType<object & import("@synerise/ds-input").EnhancedProps> & {
97
49
  displayName: string;
98
- }), any, {}, never>;
50
+ }, any, {}, never>;
99
51
  ColorPickerModalStyle: import("styled-components").GlobalStyleComponent<{
100
52
  maxWidth: number;
101
53
  }, import("styled-components").DefaultTheme>;
@@ -2,8 +2,7 @@ var _templateObject;
2
2
 
3
3
  function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }
4
4
 
5
- import styled, { createGlobalStyle } from 'styled-components'; // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
6
- // @ts-ignore
5
+ import styled, { createGlobalStyle } from 'styled-components'; // @ts-ignore
7
6
 
8
7
  import { TagsStyles, Tag } from '@synerise/ds-tags';
9
8
  import Button from '@synerise/ds-button';
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import type { InputProps } from 'antd/lib/input';
3
- export declare type ColorHookType = {
2
+ export type ColorHookType = {
4
3
  color: string;
5
4
  setColor: (color: string) => void;
6
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-color-picker",
3
- "version": "0.3.39",
3
+ "version": "0.3.40",
4
4
  "description": "Color-Picker Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -32,12 +32,12 @@
32
32
  ],
33
33
  "types": "dist/index.d.ts",
34
34
  "dependencies": {
35
- "@synerise/ds-button": "^0.18.2",
36
- "@synerise/ds-divider": "^0.5.43",
37
- "@synerise/ds-icon": "^0.58.2",
38
- "@synerise/ds-input": "^0.19.2",
39
- "@synerise/ds-select": "^0.15.20",
40
- "@synerise/ds-tags": "^0.8.14",
35
+ "@synerise/ds-button": "^0.18.3",
36
+ "@synerise/ds-divider": "^0.5.44",
37
+ "@synerise/ds-icon": "^0.58.3",
38
+ "@synerise/ds-input": "^0.19.3",
39
+ "@synerise/ds-select": "^0.15.21",
40
+ "@synerise/ds-tags": "^0.8.15",
41
41
  "rc-select": "~11.4.0",
42
42
  "react-colorful": "^5.2.0"
43
43
  },
@@ -45,5 +45,5 @@
45
45
  "@synerise/ds-core": "*",
46
46
  "react": ">=16.9.0 < 17.0.0"
47
47
  },
48
- "gitHead": "f1f520c4c5ef9f90bacb5d5e0b2e778ceb8fdf79"
48
+ "gitHead": "1c1adf344f447e404a1d6320ad1d3f8486f29f67"
49
49
  }