amotify 0.0.57 → 0.0.58

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amotify",
3
- "version": "0.0.57",
3
+ "version": "0.0.58",
4
4
  "description": "UI Component for React",
5
5
  "main": "dist/launch.js",
6
6
  "types": "dist/@types.d.ts",
@@ -29,7 +29,7 @@ const Styles = {
29
29
  } else if ( size == 'S' ) {
30
30
  styles = {
31
31
  ...styles,
32
- padding: [ '1/2',1 ],
32
+ padding: [ '1/2','3/4' ],
33
33
  fontSize: '1.mini',
34
34
  borderRadius: '3.tone.tertiary'
35
35
  }
@@ -413,6 +413,13 @@ export const Input: amotify.fn.Input.Methods = {
413
413
  rawParams = { ...rawParams }
414
414
  if ( rawParams.rightIcon ) rawParams.paddingRight = rawParams.paddingRight ?? 3;
415
415
  if ( rawParams.leftIcon ) rawParams.paddingLeft = rawParams.paddingLeft ?? 3;
416
+ rawParams = {
417
+ ...rawParams,
418
+ freeCSS: {
419
+ whiteSpace: 'pre-wrap',
420
+ ...rawParams.freeCSS
421
+ },
422
+ }
416
423
 
417
424
  let params = DefaultStyles.Boxish( rawParams );
418
425
  params.rows = params.rows || 5;