@gem-sdk/core 1.12.0-next.45 → 1.12.0-next.48

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.
@@ -8,9 +8,6 @@ const useFormatMoney = (amount, withCurrency)=>{
8
8
  let value = '';
9
9
  const placeholderRegex = /\{\{\s*(\w+)\s*\}\}/;
10
10
  const formatString = format || '${{amount}}';
11
- if (typeof cents == 'string') {
12
- cents = cents.replace('.', '');
13
- }
14
11
  /**
15
12
  * check default
16
13
  * @param opt opt
@@ -6,9 +6,6 @@ const useFormatMoney = (amount, withCurrency)=>{
6
6
  let value = '';
7
7
  const placeholderRegex = /\{\{\s*(\w+)\s*\}\}/;
8
8
  const formatString = format || '${{amount}}';
9
- if (typeof cents == 'string') {
10
- cents = cents.replace('.', '');
11
- }
12
9
  /**
13
10
  * check default
14
11
  * @param opt opt
@@ -922,7 +922,8 @@ type ControlUI = {
922
922
  state?: StateType;
923
923
  };
924
924
  options?: {
925
- styleControl?: Record<string, string>;
925
+ styleControl?: React.CSSProperties;
926
+ styleLabel?: React.CSSProperties;
926
927
  labelPosition?: 'start' | 'end';
927
928
  justifyContent?: 'start' | 'end' | 'between' | 'around';
928
929
  label?: 'medium' | 'large';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.12.0-next.45",
3
+ "version": "1.12.0-next.48",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",