@synerise/ds-format-picker 0.5.4 → 0.5.6

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.5.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-format-picker@0.5.5...@synerise/ds-format-picker@0.5.6) (2024-09-11)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-format-picker
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.5.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-format-picker@0.5.4...@synerise/ds-format-picker@0.5.5) (2024-09-03)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-format-picker
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.5.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-format-picker@0.5.3...@synerise/ds-format-picker@0.5.4) (2024-08-30)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-format-picker
@@ -26,6 +26,7 @@ export type FormatPickerTexts = {
26
26
  setDefault: ReactNode;
27
27
  useSeparator: ReactNode;
28
28
  compactNumbers: ReactNode;
29
+ currencyMenuItemPrefix: string;
29
30
  };
30
31
  export type FormatPickerProps = {
31
32
  format: FormattingValue;
@@ -62,6 +62,10 @@ var FormatPicker = function FormatPicker(_ref) {
62
62
  id: 'DS.FORMAT-PICKER.USE-SEPARATOR',
63
63
  defaultMessage: 'Use 1000 separator'
64
64
  }),
65
+ currencyMenuItemPrefix: intl.formatMessage({
66
+ id: 'DS.FORMAT-PICKER.EG',
67
+ defaultMessage: 'e.g.'
68
+ }),
65
69
  compactNumbers: intl.formatMessage({
66
70
  id: 'DS.FORMAT-PICKER.COMPACT-NUMBERS',
67
71
  defaultMessage: 'Use compact numbers'
@@ -117,7 +117,7 @@ var FormatSettings = function FormatSettings(_ref) {
117
117
  label = _ref2.label;
118
118
  return /*#__PURE__*/React.createElement(S.ListItem, {
119
119
  key: currency,
120
- suffixel: getFormattedValue({
120
+ suffixel: text.currencyMenuItemPrefix + " " + getFormattedValue({
121
121
  currency: currency
122
122
  }),
123
123
  onClick: function onClick() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-format-picker",
3
- "version": "0.5.4",
3
+ "version": "0.5.6",
4
4
  "description": "FormatPicker UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -33,17 +33,17 @@
33
33
  ],
34
34
  "types": "dist/index.d.ts",
35
35
  "dependencies": {
36
- "@synerise/ds-button": "^0.21.7",
37
- "@synerise/ds-button-group": "^0.7.11",
38
- "@synerise/ds-checkbox": "^0.12.4",
36
+ "@synerise/ds-button": "^0.21.9",
37
+ "@synerise/ds-button-group": "^0.7.13",
38
+ "@synerise/ds-checkbox": "^0.12.6",
39
39
  "@synerise/ds-data-format": "^0.5.2",
40
- "@synerise/ds-dropdown": "^0.18.11",
41
- "@synerise/ds-icon": "^0.65.2",
42
- "@synerise/ds-list-item": "^0.4.7",
43
- "@synerise/ds-radio": "^0.12.0",
44
- "@synerise/ds-tooltip": "^0.14.37",
40
+ "@synerise/ds-dropdown": "^0.18.13",
41
+ "@synerise/ds-icon": "^0.65.4",
42
+ "@synerise/ds-list-item": "^0.4.9",
43
+ "@synerise/ds-radio": "^0.12.2",
44
+ "@synerise/ds-tooltip": "^0.14.39",
45
45
  "@synerise/ds-typography": "^0.15.1",
46
- "@synerise/ds-utils": "^0.28.2",
46
+ "@synerise/ds-utils": "^0.29.1",
47
47
  "react-intl": "3.12.0"
48
48
  },
49
49
  "peerDependencies": {
@@ -51,5 +51,5 @@
51
51
  "react": ">=16.9.0 <= 17.0.2",
52
52
  "styled-components": "5.0.1"
53
53
  },
54
- "gitHead": "d5df67eecdc1cbcb56def8c17d04b7d883876fbf"
54
+ "gitHead": "fcf3fa64e906cf9fefb37a61ee28218c8eed9b73"
55
55
  }