@synerise/ds-format-picker 0.3.78 → 0.3.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.3.80](https://github.com/Synerise/synerise-design/compare/@synerise/ds-format-picker@0.3.79...@synerise/ds-format-picker@0.3.80) (2023-10-06)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-format-picker
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.3.79](https://github.com/Synerise/synerise-design/compare/@synerise/ds-format-picker@0.3.78...@synerise/ds-format-picker@0.3.79) (2023-10-02)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-format-picker
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.3.78](https://github.com/Synerise/synerise-design/compare/@synerise/ds-format-picker@0.3.77...@synerise/ds-format-picker@0.3.78) (2023-09-26)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-format-picker
@@ -1,23 +1,23 @@
1
1
  import * as React from 'react';
2
- export declare type CurrencyType = 'USD' | 'EUR' | 'PLN' | 'JPY';
3
- export declare type FormattingDataFormat = 'numeric' | 'percent' | 'cash';
4
- export declare type FormattingValue = {
2
+ export type CurrencyType = 'USD' | 'EUR' | 'PLN' | 'JPY';
3
+ export type FormattingDataFormat = 'numeric' | 'percent' | 'cash';
4
+ export type FormattingValue = {
5
5
  dataFormat: FormattingDataFormat;
6
6
  currency: CurrencyType;
7
7
  useSeparator: boolean;
8
8
  compactNumbers: boolean;
9
9
  fixedLength: number;
10
10
  };
11
- export declare type FormattingType = {
11
+ export type FormattingType = {
12
12
  format: FormattingDataFormat;
13
13
  icon: JSX.Element;
14
14
  tooltip: string | React.ReactNode;
15
15
  };
16
- export declare type CurrencyConfig = {
16
+ export type CurrencyConfig = {
17
17
  currency: CurrencyType;
18
18
  label: string;
19
19
  };
20
- export declare type FormatPickerTexts = {
20
+ export type FormatPickerTexts = {
21
21
  header?: string | React.ReactNode;
22
22
  format?: string | React.ReactNode;
23
23
  numeric?: string | React.ReactNode;
@@ -27,7 +27,7 @@ export declare type FormatPickerTexts = {
27
27
  useSeparator?: string | React.ReactNode;
28
28
  compactNumbers?: string | React.ReactNode;
29
29
  };
30
- export declare type FormatPickerProps = {
30
+ export type FormatPickerProps = {
31
31
  format: FormattingValue;
32
32
  value: number;
33
33
  onDataFormatChange: (format: FormattingDataFormat) => void;
@@ -1,2 +1,2 @@
1
1
  import { FormatPickerProps } from '../FomartPicker.types';
2
- export declare type FormatSettingsProps = FormatPickerProps;
2
+ export type FormatSettingsProps = FormatPickerProps;
@@ -1,4 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
2
1
  // @ts-ignore
3
2
  import numeral from 'numeral';
4
3
  import { range } from 'lodash';
@@ -1,6 +1,6 @@
1
1
  import { IntlShape } from 'react-intl';
2
2
  import { FormattingValue } from '../FomartPicker.types';
3
- export declare type ValueFormatterProps = {
3
+ export type ValueFormatterProps = {
4
4
  formatting: FormattingValue;
5
5
  value: number;
6
6
  intl: IntlShape;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-format-picker",
3
- "version": "0.3.78",
3
+ "version": "0.3.80",
4
4
  "description": "FormatPicker UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -32,16 +32,16 @@
32
32
  ],
33
33
  "types": "dist/index.d.ts",
34
34
  "dependencies": {
35
- "@synerise/ds-button": "^0.18.2",
36
- "@synerise/ds-button-group": "^0.6.30",
37
- "@synerise/ds-checkbox": "^0.11.44",
38
- "@synerise/ds-dropdown": "^0.17.80",
39
- "@synerise/ds-icon": "^0.58.2",
40
- "@synerise/ds-menu": "^0.17.19",
41
- "@synerise/ds-radio": "^0.11.44",
42
- "@synerise/ds-tooltip": "^0.14.4",
43
- "@synerise/ds-typography": "^0.13.0",
44
- "@types/numeral": "^0.0.28",
35
+ "@synerise/ds-button": "^0.18.3",
36
+ "@synerise/ds-button-group": "^0.6.31",
37
+ "@synerise/ds-checkbox": "^0.11.45",
38
+ "@synerise/ds-dropdown": "^0.17.82",
39
+ "@synerise/ds-icon": "^0.58.3",
40
+ "@synerise/ds-menu": "^0.18.0",
41
+ "@synerise/ds-radio": "^0.11.45",
42
+ "@synerise/ds-tooltip": "^0.14.5",
43
+ "@synerise/ds-typography": "^0.13.1",
44
+ "@types/numeral": "^2.0.2",
45
45
  "lodash": "^4.17.19",
46
46
  "numeral": "^2.0.6",
47
47
  "react-intl": "3.12.0"
@@ -54,5 +54,5 @@
54
54
  "devDependencies": {
55
55
  "@testing-library/jest-dom": "5.1.1"
56
56
  },
57
- "gitHead": "f1f520c4c5ef9f90bacb5d5e0b2e778ceb8fdf79"
57
+ "gitHead": "d944339a738211d8f74b27360481aafd7ef51ddd"
58
58
  }