amotify 0.2.135 → 0.2.136

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.
@@ -29,25 +29,47 @@ import {
29
29
  } from './designBook'
30
30
 
31
31
  let Test = () => {
32
+ let [ val_value,set_value ] = useState( '' )
33
+
32
34
  return <Box>
33
- <Row.Center
35
+ <Column
36
+ gap={ 2 }
34
37
  flexWrap
35
38
  padding={ 2 }
36
39
  >
37
- <Input.TextField
38
- label='AAAA'
39
- // multiline minRows={ 3 }
40
+ <Input.TextField.Number
41
+ label='number'
42
+ allowZeroStart
43
+ allowDecimals
44
+ onUpdateValidValue={ value => {
45
+ console.log( value )
46
+ } }
47
+ />
48
+ <Input.TextField.Number
49
+ label='allowDecimals'
50
+ allowDecimals
51
+ // max={ 10 }
52
+ onUpdateValidValue={ value => {
53
+ console.log( value )
54
+ } }
55
+ />
56
+
57
+ <Input.TextField.Number
58
+ label='allowZeroStart,allowDecimals'
59
+ allowZeroStart
60
+ allowDecimals
61
+ min={ 0 }
40
62
  />
41
- <Input.TextField
42
- label='AAAA'
43
- fontHeight={ 1.2 }
44
- // multiline minRows={ 3 }
63
+ <Input.TextField.DigitNumber
64
+ label='allowDecimals,allowZeroStart'
65
+ allowDecimals
66
+ allowZeroStart
45
67
  />
46
68
 
47
- </Row.Center>
69
+ </Column>
48
70
 
49
- <DesignBook
50
- />
71
+ {/* <DesignBook
72
+ /> */}
51
73
  </Box>
52
74
  }
53
75
 
@@ -59,7 +81,7 @@ $$.scope( () => {
59
81
  Config.launch( {
60
82
  appRoot: root,
61
83
  roundness: $$.localStrage.get( 'prf.roundness' ) ?? 4,
62
- themeColor: $$.localStrage.get( 'prf.themeColor' ) || 'battery',
84
+ themeColor: 'battery',
63
85
  darkMode: $$.localStrage.get( 'prf.darkMode' ) || 'auto',
64
86
  } )
65
87
 
@@ -1269,7 +1269,8 @@ const Inputs = () => {
1269
1269
  <Input.TextField
1270
1270
  label='Input.TextField (number.zeroStart)'
1271
1271
  name='textfield.zeroStart'
1272
- restrict='number.zeroStart'
1272
+ allowZeroStart
1273
+ allowDecimals
1273
1274
  value={ '0324' }
1274
1275
  />
1275
1276
  <Box>