amotify 0.0.13 → 0.0.15
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/@types/amot.tsx +48 -63
- package/@types/fn.tsx +10 -16
- package/@types/state.tsx +2 -2
- package/dist/amotify.js +1 -1
- package/dist/amotify.min.css +12 -13
- package/dist/coreVender.js +14 -0
- package/package.json +27 -22
- package/src/@atoms.tsx +4 -2
- package/src/@global.tsx +5 -0
- package/src/@jsminAmotifyExtension/fetch.tsx +2 -0
- package/src/@jsminAmotifyExtension/variables.tsx +4 -0
- package/src/@organisms.tsx +1 -5
- package/src/@styles/UniStyling.scss +6 -0
- package/src/@styles/init.scss +42 -106
- package/src/@variables.tsx +70 -0
- package/src/atoms/FAI/parts.tsx +136 -0
- package/src/atoms/Logo/style.module.scss +6 -5
- package/src/atoms/Various/style.module.scss +11 -6
- package/src/config.tsx +31 -5
- package/src/functions/Button/_.tsx +27 -19
- package/src/functions/Button/style.module.scss +20 -22
- package/src/functions/Cropper/parts.tsx +18 -10
- package/src/functions/Cropper/style.module.scss +1 -0
- package/src/functions/Effects/Ripple.tsx +1 -1
- package/src/functions/Input/Chips/Selector.tsx +9 -9
- package/src/functions/Input/Chips/_.tsx +10 -3
- package/src/functions/Input/DigitCharacters.tsx +13 -15
- package/src/functions/Input/File/_.tsx +37 -67
- package/src/functions/Input/Hidden.tsx +3 -1
- package/src/functions/Input/List/_.tsx +8 -8
- package/src/functions/Input/Select/_.tsx +8 -7
- package/src/functions/Input/Select/style.module.scss +1 -0
- package/src/functions/Input/Slider/_.tsx +5 -5
- package/src/functions/Input/Switch/_.tsx +11 -8
- package/src/functions/Input/Text.tsx +3 -4
- package/src/functions/Input/TextArea.tsx +3 -3
- package/src/functions/Input/Time/Picker.tsx +10 -17
- package/src/functions/Input/Time/_.tsx +3 -2
- package/src/functions/Input/Time/style.module.scss +9 -2
- package/src/functions/Input/_.tsx +53 -42
- package/src/functions/Input/core.tsx +53 -54
- package/src/functions/Input/style.module.scss +66 -8
- package/src/functions/Layout/PageNotFound.tsx +2 -4
- package/src/functions/Layout/PageRouter.tsx +2 -3
- package/src/functions/Layout/RootViewController/parts.tsx +4 -16
- package/src/functions/Loader/parts.tsx +3 -1
- package/src/functions/Loader/style.module.scss +2 -1
- package/src/functions/Sheet/parts.tsx +45 -42
- package/src/functions/Sheet/style.module.scss +18 -25
- package/src/functions/SnackBar/parts.tsx +5 -3
- package/src/functions/SnackBar/style.module.scss +1 -1
- package/src/functions/Table/Data/parts.tsx +18 -12
- package/src/functions/Table/Drag/parts.tsx +7 -9
- package/src/functions/Table/_.tsx +2 -2
- package/src/global/LaunchReactApplication.tsx +17 -5
- package/src/launch.tsx +12 -5
- package/src/molecules/Accordion/parts.tsx +4 -1
- package/src/molecules/LinkifyText/parts.tsx +2 -3
- package/src/preload.tsx +19 -30
- package/tsconfig.json +19 -8
- package/webpack.config.js +16 -5
- package/src/atoms/FAIcon/parts.tsx +0 -118
- package/src/atoms/FAIcon/style.module.scss +0 -8
- package/src/organisms/DisplayStyleInput/_.tsx +0 -18
- package/src/organisms/DisplayStyleInput/darkmode.tsx +0 -107
- package/src/organisms/DisplayStyleInput/themeColor.tsx +0 -205
|
@@ -2,10 +2,12 @@ import React from 'react';
|
|
|
2
2
|
export const HiddenInput: React.FC<amotify.fn.Input.Hidden.PlainParams> = ( params ) => {
|
|
3
3
|
let {
|
|
4
4
|
componentID = '',
|
|
5
|
+
enableFormSubmit,
|
|
6
|
+
|
|
5
7
|
form,
|
|
6
8
|
value = '',
|
|
7
9
|
...others
|
|
8
|
-
} = params;
|
|
10
|
+
} = params;
|
|
9
11
|
|
|
10
12
|
return <input
|
|
11
13
|
value={ JSON.stringify( value ) }
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
Box,
|
|
6
6
|
Flex,
|
|
7
|
-
|
|
7
|
+
FAI
|
|
8
8
|
} from '@atoms';
|
|
9
9
|
import {
|
|
10
10
|
Input,
|
|
@@ -84,12 +84,12 @@ const Core: React.FC<amotify.fn.Input.List.OriginParams> = ( params ) => {
|
|
|
84
84
|
componentID = '',
|
|
85
85
|
form,
|
|
86
86
|
override,
|
|
87
|
-
|
|
87
|
+
|
|
88
88
|
freeCSS,
|
|
89
89
|
icon,
|
|
90
90
|
iconType,
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
enableFormSubmit,
|
|
93
93
|
defaultActiveStyling,
|
|
94
94
|
checkValidationAtFirst,
|
|
95
95
|
onValidate,
|
|
@@ -180,7 +180,7 @@ const CellList: React.FC<{
|
|
|
180
180
|
cellCheckedStyles: DefaultCellCheckedStyles,
|
|
181
181
|
cellCheckedClassName: DefaultCellCheckedClassName = '',
|
|
182
182
|
|
|
183
|
-
|
|
183
|
+
enableFormSubmit,
|
|
184
184
|
defaultActiveStyling = true
|
|
185
185
|
} = params;
|
|
186
186
|
let {
|
|
@@ -240,6 +240,7 @@ const CellList: React.FC<{
|
|
|
240
240
|
|
|
241
241
|
return [
|
|
242
242
|
<input
|
|
243
|
+
key={ 'List-' + JSON.stringify( value ) }
|
|
243
244
|
type={ type == 'radio' ? 'radio' : 'checkbox' }
|
|
244
245
|
className={ [
|
|
245
246
|
style.Input,
|
|
@@ -247,7 +248,6 @@ const CellList: React.FC<{
|
|
|
247
248
|
].join( ' ' ) }
|
|
248
249
|
name={ 'RadioCheckbox-' + name }
|
|
249
250
|
data-list-index={ componentID + '-' + index }
|
|
250
|
-
key={ CellID }
|
|
251
251
|
id={ CellID }
|
|
252
252
|
value={ String( value ) }
|
|
253
253
|
data-form-name={ form }
|
|
@@ -310,12 +310,12 @@ const CellList: React.FC<{
|
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
if (
|
|
313
|
+
if ( enableFormSubmit ) SubmitForm( event );
|
|
314
314
|
} }
|
|
315
315
|
tabIndex={ tabIndex }
|
|
316
316
|
/>,
|
|
317
317
|
<Buttons.Label.Plain
|
|
318
|
-
key={ '
|
|
318
|
+
key={ 'ListTrigger-' + JSON.stringify( value ) }
|
|
319
319
|
htmlFor={ CellID }
|
|
320
320
|
className={ ClassName.join( ' ' ) }
|
|
321
321
|
tabIndex={ -1 }
|
|
@@ -371,7 +371,7 @@ const Comps = {
|
|
|
371
371
|
position='relative'
|
|
372
372
|
flexCenter
|
|
373
373
|
>
|
|
374
|
-
<
|
|
374
|
+
<FAI.Check
|
|
375
375
|
className={ style.I }
|
|
376
376
|
transition='middle'
|
|
377
377
|
opacity='trans'
|
|
@@ -84,7 +84,7 @@ const Core: React.FC<amotify.fn.Input.Select.PlainParams> = ( params ) => {
|
|
|
84
84
|
form,
|
|
85
85
|
className,
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
enableFormSubmit,
|
|
88
88
|
enableUnSelected,
|
|
89
89
|
|
|
90
90
|
checkValidationAtFirst,
|
|
@@ -96,7 +96,8 @@ const Core: React.FC<amotify.fn.Input.Select.PlainParams> = ( params ) => {
|
|
|
96
96
|
options,
|
|
97
97
|
placeholder,
|
|
98
98
|
|
|
99
|
-
leftIndicator,rightIndicator,rightIcon,
|
|
99
|
+
leftIndicator,rightIndicator,leftIcon,rightIcon,
|
|
100
|
+
componentID,status_id,
|
|
100
101
|
|
|
101
102
|
...others
|
|
102
103
|
} = params;
|
|
@@ -158,7 +159,7 @@ const Core: React.FC<amotify.fn.Input.Select.PlainParams> = ( params ) => {
|
|
|
158
159
|
value={ val_status.dataValue }
|
|
159
160
|
onKeyDown={ ( event ) => {
|
|
160
161
|
if ( onKeyDown ) onKeyDown( event );
|
|
161
|
-
if (
|
|
162
|
+
if ( enableFormSubmit ) SubmitForm( event );
|
|
162
163
|
} }
|
|
163
164
|
onChange={ ( event ) => {
|
|
164
165
|
let {
|
|
@@ -199,19 +200,19 @@ const Options: React.FC<{ params: amotify.fn.Input.Select.PlainParams }> = ( pro
|
|
|
199
200
|
label,
|
|
200
201
|
} = option;
|
|
201
202
|
let Value = String( value );
|
|
202
|
-
return
|
|
203
|
+
return <option
|
|
203
204
|
value={ Value }
|
|
204
205
|
key={ Value }
|
|
205
|
-
selected={ Value == SelectedValue }
|
|
206
|
+
// selected={ Value == SelectedValue }
|
|
206
207
|
children={ label }
|
|
207
|
-
|
|
208
|
+
/>;
|
|
208
209
|
} );
|
|
209
210
|
|
|
210
211
|
if ( enableUnSelected ) {
|
|
211
212
|
Options.unshift( <option
|
|
212
213
|
key={ 0 }
|
|
213
214
|
value={ JSON.stringify( null ) }
|
|
214
|
-
selected={ SelectedValue == 'null' }
|
|
215
|
+
// selected={ SelectedValue == 'null' }
|
|
215
216
|
children={ placeholder }
|
|
216
217
|
/> );
|
|
217
218
|
}
|
|
@@ -78,7 +78,7 @@ export const SliderInput: React.FC<amotify.fn.Input.Slider.PlainParams> = ( para
|
|
|
78
78
|
} = {},
|
|
79
79
|
min,max,step,
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
enableFormSubmit,
|
|
82
82
|
|
|
83
83
|
checkValidationAtFirst,
|
|
84
84
|
onChange,onKeyDown,
|
|
@@ -160,7 +160,7 @@ export const SliderInput: React.FC<amotify.fn.Input.Slider.PlainParams> = ( para
|
|
|
160
160
|
set_status={ set_status }
|
|
161
161
|
DotData={ DotData }
|
|
162
162
|
form={ form }
|
|
163
|
-
|
|
163
|
+
enableFormSubmit={ enableFormSubmit! }
|
|
164
164
|
/>
|
|
165
165
|
{ showLegends ? <Comps.IndicatorLabels
|
|
166
166
|
componentID={ val_status.componentID }
|
|
@@ -277,14 +277,14 @@ const Comps = {
|
|
|
277
277
|
set_status: React.Dispatch<React.SetStateAction<amotify.fn.Input.Status.Slider>>
|
|
278
278
|
DotData: DataLevelingResult
|
|
279
279
|
form: string
|
|
280
|
-
|
|
280
|
+
enableFormSubmit: boolean
|
|
281
281
|
} ) => {
|
|
282
282
|
let {
|
|
283
283
|
val_status,
|
|
284
284
|
set_status,
|
|
285
285
|
DotData,
|
|
286
286
|
form,
|
|
287
|
-
|
|
287
|
+
enableFormSubmit
|
|
288
288
|
} = props;
|
|
289
289
|
let {
|
|
290
290
|
componentID
|
|
@@ -375,7 +375,7 @@ const Comps = {
|
|
|
375
375
|
DotData
|
|
376
376
|
} );
|
|
377
377
|
|
|
378
|
-
if (
|
|
378
|
+
if ( enableFormSubmit ) SubmitForm( event );
|
|
379
379
|
} }
|
|
380
380
|
/>
|
|
381
381
|
</Box>
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from '@global';
|
|
4
4
|
import {
|
|
5
5
|
Box,
|
|
6
|
-
|
|
6
|
+
FAI
|
|
7
7
|
} from '@atoms';
|
|
8
8
|
import {
|
|
9
9
|
Row
|
|
@@ -45,7 +45,7 @@ export const SwitchInput: React.FC<amotify.fn.Input.Switch.PlainParams> = ( para
|
|
|
45
45
|
form,
|
|
46
46
|
id,
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
enableFormSubmit,
|
|
49
49
|
|
|
50
50
|
checkValidationAtFirst,
|
|
51
51
|
onChange,onKeyDown,
|
|
@@ -85,7 +85,7 @@ export const SwitchInput: React.FC<amotify.fn.Input.Switch.PlainParams> = ( para
|
|
|
85
85
|
},
|
|
86
86
|
} );
|
|
87
87
|
|
|
88
|
-
return
|
|
88
|
+
return <BoxWrapper
|
|
89
89
|
val_status={ val_status }
|
|
90
90
|
set_status={ set_status }
|
|
91
91
|
val_validate={ val_validate }
|
|
@@ -103,7 +103,7 @@ export const SwitchInput: React.FC<amotify.fn.Input.Switch.PlainParams> = ( para
|
|
|
103
103
|
id={ id }
|
|
104
104
|
onKeyDown={ ( event ) => {
|
|
105
105
|
if ( onKeyDown ) onKeyDown( event );
|
|
106
|
-
if (
|
|
106
|
+
if ( enableFormSubmit ) SubmitForm( event );
|
|
107
107
|
} }
|
|
108
108
|
onChange={ ( event ) => {
|
|
109
109
|
if ( val_validate.ok ) set_validate( { ok: false,notice: [] } );
|
|
@@ -160,14 +160,17 @@ export const SwitchInput: React.FC<amotify.fn.Input.Switch.PlainParams> = ( para
|
|
|
160
160
|
boxShadow={ 2 }
|
|
161
161
|
className={ style.Dot }
|
|
162
162
|
>
|
|
163
|
-
{ icon ? <
|
|
163
|
+
{ icon ? <Box
|
|
164
164
|
transition='middle'
|
|
165
|
+
ssSquare={ 2 }
|
|
166
|
+
flexCenter
|
|
165
167
|
fontColor={ appearance == 'applely' && isChecked ? color : 'white' }
|
|
166
|
-
|
|
167
|
-
|
|
168
|
+
>
|
|
169
|
+
{ icon }
|
|
170
|
+
</Box> : null }
|
|
168
171
|
</Box>
|
|
169
172
|
</Row.Center>
|
|
170
173
|
</Box>
|
|
171
174
|
</Buttons.Label.Plain>
|
|
172
|
-
</BoxWrapper
|
|
175
|
+
</BoxWrapper>;
|
|
173
176
|
}
|
|
@@ -256,7 +256,7 @@ export const TextInput: React.FC<amotify.fn.Input.Text.OriginParams> = ( params
|
|
|
256
256
|
autoComplete = 'off',
|
|
257
257
|
autoCapitalize = 'off',
|
|
258
258
|
|
|
259
|
-
|
|
259
|
+
enableFormSubmit,
|
|
260
260
|
clearButton = false,
|
|
261
261
|
|
|
262
262
|
checkValidationAtFirst,
|
|
@@ -265,11 +265,10 @@ export const TextInput: React.FC<amotify.fn.Input.Text.OriginParams> = ( params
|
|
|
265
265
|
onUpdateValue,
|
|
266
266
|
onUpdateValidValue,
|
|
267
267
|
value = '',
|
|
268
|
-
leftIndicator,rightIndicator,rightIcon,
|
|
268
|
+
leftIndicator,rightIndicator,leftIcon,rightIcon,
|
|
269
269
|
maxLength,
|
|
270
270
|
min,
|
|
271
271
|
max,
|
|
272
|
-
|
|
273
272
|
...others
|
|
274
273
|
} = params;
|
|
275
274
|
|
|
@@ -396,7 +395,7 @@ export const TextInput: React.FC<amotify.fn.Input.Text.OriginParams> = ( params
|
|
|
396
395
|
}
|
|
397
396
|
|
|
398
397
|
if ( onKeyDown ) onKeyDown( event );
|
|
399
|
-
if (
|
|
398
|
+
if ( enableFormSubmit ) SubmitForm( event );
|
|
400
399
|
} }
|
|
401
400
|
onChange={ ( event ) => {
|
|
402
401
|
let {
|
|
@@ -35,7 +35,7 @@ export const TextAreaInput: React.FC<amotify.fn.Input.TextArea.PlainParams> = (
|
|
|
35
35
|
required,
|
|
36
36
|
form,
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
enableFormSubmit,
|
|
39
39
|
|
|
40
40
|
checkValidationAtFirst,
|
|
41
41
|
onChange,onKeyDown,
|
|
@@ -43,7 +43,7 @@ export const TextAreaInput: React.FC<amotify.fn.Input.TextArea.PlainParams> = (
|
|
|
43
43
|
onUpdateValue,
|
|
44
44
|
onUpdateValidValue,
|
|
45
45
|
value = '',
|
|
46
|
-
leftIndicator,rightIndicator,
|
|
46
|
+
leftIndicator,rightIndicator,leftIcon,rightIcon,
|
|
47
47
|
|
|
48
48
|
...others
|
|
49
49
|
} = params;
|
|
@@ -87,7 +87,7 @@ export const TextAreaInput: React.FC<amotify.fn.Input.TextArea.PlainParams> = (
|
|
|
87
87
|
value={ val_status.dataValue }
|
|
88
88
|
onKeyDown={ ( event ) => {
|
|
89
89
|
if ( onKeyDown ) onKeyDown( event );
|
|
90
|
-
if (
|
|
90
|
+
if ( enableFormSubmit ) SubmitForm( event );
|
|
91
91
|
} }
|
|
92
92
|
onChange={ ( event ) => {
|
|
93
93
|
let {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
Grid,
|
|
6
6
|
Box,
|
|
7
7
|
Flex,
|
|
8
|
-
|
|
8
|
+
FAI
|
|
9
9
|
} from '@atoms';
|
|
10
10
|
import {
|
|
11
11
|
Column,
|
|
@@ -213,7 +213,7 @@ const Comps = {
|
|
|
213
213
|
|
|
214
214
|
let { hour,minutes } = val_value;
|
|
215
215
|
|
|
216
|
-
return
|
|
216
|
+
return <Column
|
|
217
217
|
padding={ 1 }
|
|
218
218
|
>
|
|
219
219
|
<Flex
|
|
@@ -381,8 +381,7 @@ const Comps = {
|
|
|
381
381
|
tipsID={ tipsID! }
|
|
382
382
|
onValueUpdate={ onValueUpdate }
|
|
383
383
|
/>
|
|
384
|
-
</Column
|
|
385
|
-
)
|
|
384
|
+
</Column>;
|
|
386
385
|
},
|
|
387
386
|
Hours: ( params: {
|
|
388
387
|
min?: string
|
|
@@ -657,6 +656,7 @@ const Comps = {
|
|
|
657
656
|
thisMonthDates.push( <Buttons.Button.Clear.R
|
|
658
657
|
className={ [
|
|
659
658
|
style.CalendarDay,
|
|
659
|
+
style[ 'isToday_' + isToday ]
|
|
660
660
|
].join( ' ' ) }
|
|
661
661
|
{ ...commonStyle }
|
|
662
662
|
onClick={ () => {
|
|
@@ -671,10 +671,6 @@ const Comps = {
|
|
|
671
671
|
padding={ 0 }
|
|
672
672
|
flexCenter
|
|
673
673
|
borderRadius={ 'sphere' }
|
|
674
|
-
{ ...isToday ? {
|
|
675
|
-
backgroundColor: 'warn',
|
|
676
|
-
fontColor: 'white'
|
|
677
|
-
} : null }
|
|
678
674
|
children={ i }
|
|
679
675
|
/> );
|
|
680
676
|
}
|
|
@@ -759,7 +755,6 @@ const Comps = {
|
|
|
759
755
|
{ Comps.Month.Months( {
|
|
760
756
|
min,max,
|
|
761
757
|
year: val_value.year,
|
|
762
|
-
current: [ val_value.year,val_value.month ],
|
|
763
758
|
callback: ( ( val: [ number,number,number ] ) => {
|
|
764
759
|
let [ year,month ] = val;
|
|
765
760
|
set_value( {
|
|
@@ -779,20 +774,18 @@ const Comps = {
|
|
|
779
774
|
min?: string
|
|
780
775
|
max?: string
|
|
781
776
|
year: number
|
|
782
|
-
current: [ number,number ]
|
|
783
777
|
callback: any
|
|
784
778
|
} ) => {
|
|
785
779
|
let {
|
|
786
780
|
year,
|
|
787
|
-
current,
|
|
788
781
|
callback
|
|
789
782
|
} = params;
|
|
790
|
-
let
|
|
783
|
+
let Today = $.Time();
|
|
791
784
|
|
|
792
785
|
let Months = [];
|
|
793
786
|
|
|
794
787
|
for ( let index = 1; index <= 12; index++ ) {
|
|
795
|
-
let
|
|
788
|
+
let isThisMonth = year == Today.year && index == Today.month;
|
|
796
789
|
let isLocked = false;
|
|
797
790
|
|
|
798
791
|
{
|
|
@@ -809,7 +802,7 @@ const Comps = {
|
|
|
809
802
|
|
|
810
803
|
let ClassName = [
|
|
811
804
|
style.Cell,
|
|
812
|
-
|
|
805
|
+
isThisMonth ? style.isThisMonth : ''
|
|
813
806
|
].join( ' ' );
|
|
814
807
|
|
|
815
808
|
Months.push( <Buttons.Button.Clear.R
|
|
@@ -889,7 +882,7 @@ const Comps = {
|
|
|
889
882
|
flexSizing={ 'none' }
|
|
890
883
|
padding={ [ '2/3',1 ] }
|
|
891
884
|
>
|
|
892
|
-
<
|
|
885
|
+
<FAI.Times /> 削除
|
|
893
886
|
</Buttons.Button.Border.R>
|
|
894
887
|
<Buttons.Button.Prime.R
|
|
895
888
|
flexSizing={ 'auto' }
|
|
@@ -918,7 +911,7 @@ const Comps = {
|
|
|
918
911
|
params.callback( -1 );
|
|
919
912
|
} }
|
|
920
913
|
>
|
|
921
|
-
<
|
|
914
|
+
<FAI.ChevronLeft />
|
|
922
915
|
</Buttons.Button.Clear.R>
|
|
923
916
|
<Buttons.Button.Clear.R
|
|
924
917
|
className={ style.RightButton }
|
|
@@ -929,7 +922,7 @@ const Comps = {
|
|
|
929
922
|
params.callback( 1 );
|
|
930
923
|
} }
|
|
931
924
|
>
|
|
932
|
-
<
|
|
925
|
+
<FAI.ChevronRight />
|
|
933
926
|
</Buttons.Button.Clear.R>
|
|
934
927
|
</Flex >;
|
|
935
928
|
},
|
|
@@ -306,7 +306,7 @@ export const TimeInput: React.FC<amotify.fn.Input.Time.OriginParams> = ( params
|
|
|
306
306
|
min,max,
|
|
307
307
|
className,
|
|
308
308
|
|
|
309
|
-
|
|
309
|
+
enableFormSubmit,
|
|
310
310
|
|
|
311
311
|
checkValidationAtFirst,
|
|
312
312
|
onKeyDown,
|
|
@@ -481,7 +481,7 @@ export const TimeInput: React.FC<amotify.fn.Input.Time.OriginParams> = ( params
|
|
|
481
481
|
} );
|
|
482
482
|
|
|
483
483
|
if ( onKeyDown ) onKeyDown( event );
|
|
484
|
-
if (
|
|
484
|
+
if ( enableFormSubmit ) SubmitForm( event );
|
|
485
485
|
} }
|
|
486
486
|
onKeyUp={ ( event ) => {
|
|
487
487
|
if ( event.key == 'Tab' ) set_focus( {
|
|
@@ -506,6 +506,7 @@ export const TimeInput: React.FC<amotify.fn.Input.Time.OriginParams> = ( params
|
|
|
506
506
|
} );
|
|
507
507
|
event.preventDefault();
|
|
508
508
|
} }
|
|
509
|
+
onChange={ () => { } }
|
|
509
510
|
{ ...others }
|
|
510
511
|
/> }
|
|
511
512
|
</BoxWrapper>
|
|
@@ -60,13 +60,20 @@
|
|
|
60
60
|
.RightButton:active {
|
|
61
61
|
left: $unit1_3 !important;
|
|
62
62
|
}
|
|
63
|
-
.Cell.
|
|
63
|
+
.Cell.isThisMonth {
|
|
64
64
|
color: #fff !important;
|
|
65
|
-
background-color: $color-
|
|
65
|
+
background-color: $color-warning !important;
|
|
66
66
|
box-shadow: $shadow2;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
.miniYearInput {
|
|
70
70
|
width: 4em !important;
|
|
71
71
|
text-align: center;
|
|
72
|
+
}
|
|
73
|
+
.CalendarDay {
|
|
74
|
+
&.isToday_true {
|
|
75
|
+
color: white !important;
|
|
76
|
+
background-color: $color-warning !important;
|
|
77
|
+
font-weight: bold;
|
|
78
|
+
}
|
|
72
79
|
}
|