amotify 0.2.152 → 0.2.153
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/demo/esbuild/app.tsx +0 -7
- package/demo/esbuild/designBook.tsx +107 -109
- package/dist/fn/Cropper.js +1 -1
- package/dist/fn/Input/Autocomplete.js +1 -1
- package/dist/fn/Input/Select.js +1 -1
- package/dist/fn/Input/TextField.js +1 -1
- package/dist/fn/Input/Time/Picker.js +1 -1
- package/dist/fn/Input/Time/index.js +1 -1
- package/dist/fn/Input/core.js +1 -1
- package/dist/fn/PageNotFound.js +1 -1
- package/dist/fn/Tips.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/mols/Text.d.ts +3 -3
- package/dist/mols/Text.js +1 -1
- package/package.json +1 -1
|
@@ -20,13 +20,11 @@ import {
|
|
|
20
20
|
Img,
|
|
21
21
|
Logo,
|
|
22
22
|
Column,
|
|
23
|
-
Placeholder,
|
|
24
23
|
List,
|
|
25
24
|
ListItem,
|
|
26
|
-
LinkifyText,
|
|
27
25
|
Accordion,
|
|
28
26
|
Row,
|
|
29
|
-
|
|
27
|
+
Txt,
|
|
30
28
|
PageViewController,
|
|
31
29
|
SwipeView,
|
|
32
30
|
TabBar,
|
|
@@ -62,7 +60,7 @@ const Basic = {
|
|
|
62
60
|
Fonts: () => {
|
|
63
61
|
return <Card padding={ 1 }>
|
|
64
62
|
<Column>
|
|
65
|
-
<
|
|
63
|
+
<Txt.SubTitle>Fonts</Txt.SubTitle>
|
|
66
64
|
<Box overflow={ 'auto' }>
|
|
67
65
|
<Column>
|
|
68
66
|
<Row.Left
|
|
@@ -118,28 +116,28 @@ const Basic = {
|
|
|
118
116
|
</Column>
|
|
119
117
|
<Column ssCardBox padding={ 1.5 }>
|
|
120
118
|
<Box>[size:Paragraph]</Box>
|
|
121
|
-
<
|
|
122
|
-
<
|
|
119
|
+
<Txt.Paragraph>
|
|
120
|
+
<Txt.Description>
|
|
123
121
|
{ `This article discusses performance best practices for fonts.
|
|
124
122
|
There are a variety of ways in which web fonts impact performance`}
|
|
125
|
-
</
|
|
126
|
-
</
|
|
123
|
+
</Txt.Description>
|
|
124
|
+
</Txt.Paragraph>
|
|
127
125
|
</Column>
|
|
128
126
|
<Column ssCardBox padding={ 1.5 }>
|
|
129
127
|
<Box>[size:Normal]</Box>
|
|
130
|
-
<
|
|
128
|
+
<Txt>
|
|
131
129
|
効率的で持続可能な財政への転換を図り、この財政構造を各般の構造改革とともに推進することで、民間需要主導の持続的経済成長の実現を目指します。
|
|
132
130
|
少子・高齢化、国際化など経済社会の構造変化に対応できる21世紀のあるべき税制をきずきます。
|
|
133
131
|
財政投融資は、行財政改革の趣旨を踏まえ、民間ではできない分野・事業などに重点化を行い、真に政策的に必要な資金需要には的確に対応します。
|
|
134
132
|
金融庁と協力し、金融のセーフティネットを整備し、金融危機に素早く対応するなど、金融システムの安定の確保を目指します。
|
|
135
133
|
国際的な協力等に積極的に取り組むことにより、国際通貨システムの安定・国際貿易の秩序ある発展を目指します。
|
|
136
|
-
</
|
|
134
|
+
</Txt>
|
|
137
135
|
</Column>
|
|
138
136
|
<Column ssCardBox padding={ 1.5 }>
|
|
139
137
|
<Box>[size:Mini]</Box>
|
|
140
|
-
<
|
|
138
|
+
<Txt.Supplement>
|
|
141
139
|
Copyright © Ministry of Finance Japan. All Rights Reserved.
|
|
142
|
-
</
|
|
140
|
+
</Txt.Supplement>
|
|
143
141
|
</Column>
|
|
144
142
|
</Column>
|
|
145
143
|
</Box>
|
|
@@ -148,9 +146,9 @@ There are a variety of ways in which web fonts impact performance`}
|
|
|
148
146
|
},
|
|
149
147
|
Box: () => {
|
|
150
148
|
return <Box ssCardBox>
|
|
151
|
-
<
|
|
149
|
+
<Txt.SubTitle borderBottom padding={ 1 }>
|
|
152
150
|
Box
|
|
153
|
-
</
|
|
151
|
+
</Txt.SubTitle>
|
|
154
152
|
<Box padding={ 1 } overflow={ 'auto' }>
|
|
155
153
|
<Table.Normal
|
|
156
154
|
ssCardBox={ false }
|
|
@@ -162,27 +160,27 @@ There are a variety of ways in which web fonts impact performance`}
|
|
|
162
160
|
rows={ [
|
|
163
161
|
[
|
|
164
162
|
{
|
|
165
|
-
children: <
|
|
163
|
+
children: <Txt.Description>
|
|
166
164
|
{ `<Box>
|
|
167
165
|
helloWorld!!
|
|
168
166
|
</Box>`}
|
|
169
|
-
</
|
|
167
|
+
</Txt.Description>
|
|
170
168
|
},{
|
|
171
169
|
children: <Box> helloWorld!! </Box>
|
|
172
170
|
}
|
|
173
171
|
],[
|
|
174
172
|
{
|
|
175
|
-
children: <
|
|
173
|
+
children: <Txt.Description>
|
|
176
174
|
{ `<Box
|
|
177
175
|
children={ 'helloWorld!!' }
|
|
178
176
|
/>`}
|
|
179
|
-
</
|
|
177
|
+
</Txt.Description>
|
|
180
178
|
},{
|
|
181
179
|
children: <Box children={ 'helloWorld!!' } />
|
|
182
180
|
},
|
|
183
181
|
],[
|
|
184
182
|
{
|
|
185
|
-
children: <
|
|
183
|
+
children: <Txt.Description>
|
|
186
184
|
{ `<Box
|
|
187
185
|
fontColor={ '4.thin' }
|
|
188
186
|
padding={ 1 }
|
|
@@ -193,7 +191,7 @@ border={ 'normal' }
|
|
|
193
191
|
children={ 'styleBox' }
|
|
194
192
|
/>
|
|
195
193
|
`}
|
|
196
|
-
</
|
|
194
|
+
</Txt.Description>
|
|
197
195
|
},{
|
|
198
196
|
children: <Box
|
|
199
197
|
fontColor={ '4.thin' }
|
|
@@ -213,9 +211,9 @@ children={ 'styleBox' }
|
|
|
213
211
|
},
|
|
214
212
|
Flex: () => {
|
|
215
213
|
return <Box ssCardBox>
|
|
216
|
-
<
|
|
214
|
+
<Txt.SubTitle borderBottom padding={ 1 }>
|
|
217
215
|
Flex
|
|
218
|
-
</
|
|
216
|
+
</Txt.SubTitle>
|
|
219
217
|
<Box padding={ 1 } overflow={ 'auto' }>
|
|
220
218
|
<Table.Normal
|
|
221
219
|
ssCardBox={ false }
|
|
@@ -227,7 +225,7 @@ children={ 'styleBox' }
|
|
|
227
225
|
rows={ [
|
|
228
226
|
[
|
|
229
227
|
{
|
|
230
|
-
children: <
|
|
228
|
+
children: <Txt.Description>
|
|
231
229
|
{
|
|
232
230
|
`<Flex flexType='row' gap={ 1 }>
|
|
233
231
|
<Box children={ 'FlexBox1' } />
|
|
@@ -236,7 +234,7 @@ children={ 'styleBox' }
|
|
|
236
234
|
<Box flexSizing={ 'auto' } children={ 'FlexBox3' } />
|
|
237
235
|
</Flex>`
|
|
238
236
|
}
|
|
239
|
-
</
|
|
237
|
+
</Txt.Description>
|
|
240
238
|
},{
|
|
241
239
|
children: <Flex
|
|
242
240
|
gap={ 1 }
|
|
@@ -251,7 +249,7 @@ children={ 'styleBox' }
|
|
|
251
249
|
},
|
|
252
250
|
],[
|
|
253
251
|
{
|
|
254
|
-
children: <
|
|
252
|
+
children: <Txt.Description textAlign='left'>
|
|
255
253
|
{ `<Flex
|
|
256
254
|
flexType='col'
|
|
257
255
|
flexChilds={ 'auto' }
|
|
@@ -260,7 +258,7 @@ flexChilds={ 'auto' }
|
|
|
260
258
|
<Box />
|
|
261
259
|
...
|
|
262
260
|
</Flex>`}
|
|
263
|
-
</
|
|
261
|
+
</Txt.Description>
|
|
264
262
|
},{
|
|
265
263
|
children: <>
|
|
266
264
|
<Flex gap={ 1 } flexCenter>
|
|
@@ -284,7 +282,7 @@ flexChilds={ 'auto' }
|
|
|
284
282
|
},
|
|
285
283
|
],[
|
|
286
284
|
{
|
|
287
|
-
children: <
|
|
285
|
+
children: <Txt.Description>
|
|
288
286
|
{
|
|
289
287
|
`<Flex gap={ 1 }>
|
|
290
288
|
<Box flexGrid={ 2 } ... />
|
|
@@ -292,7 +290,7 @@ flexChilds={ 'auto' }
|
|
|
292
290
|
<Box flexGrid={ 4 } ... />
|
|
293
291
|
</Flex>`
|
|
294
292
|
}
|
|
295
|
-
</
|
|
293
|
+
</Txt.Description>
|
|
296
294
|
},{
|
|
297
295
|
children: <Flex gap={ 1 } fontColor='white'>
|
|
298
296
|
<Card.Plain flexCenter padding={ 1 } backgroundColor='posi' flexGrid={ 2 }>Box1</Card.Plain>
|
|
@@ -308,9 +306,9 @@ flexChilds={ 'auto' }
|
|
|
308
306
|
},
|
|
309
307
|
Grid: () => {
|
|
310
308
|
return <Box ssCardBox>
|
|
311
|
-
<
|
|
309
|
+
<Txt.SubTitle borderBottom padding={ 1 }>
|
|
312
310
|
Grid
|
|
313
|
-
</
|
|
311
|
+
</Txt.SubTitle>
|
|
314
312
|
<Box style={ { padding: 1,overflow: 'auto' } }>
|
|
315
313
|
<Table.Normal
|
|
316
314
|
ssCardBox={ false }
|
|
@@ -323,7 +321,7 @@ flexChilds={ 'auto' }
|
|
|
323
321
|
rows={ [
|
|
324
322
|
[
|
|
325
323
|
{
|
|
326
|
-
children: <
|
|
324
|
+
children: <Txt.Description>
|
|
327
325
|
{
|
|
328
326
|
`<Grid gridCols={ 3 } gap={ 1 }>
|
|
329
327
|
<Box children={ 'GridBox1' } />
|
|
@@ -334,7 +332,7 @@ flexChilds={ 'auto' }
|
|
|
334
332
|
<Box children={ 'GridBox6' } />
|
|
335
333
|
</Grid>`
|
|
336
334
|
}
|
|
337
|
-
</
|
|
335
|
+
</Txt.Description>
|
|
338
336
|
},{
|
|
339
337
|
children: <Grid gridCols={ 3 } gap={ 1 }>
|
|
340
338
|
<Card.Plain padding={ 1 } backgroundColor='layer.1'>GridBox1</Card.Plain>
|
|
@@ -353,9 +351,9 @@ flexChilds={ 'auto' }
|
|
|
353
351
|
},
|
|
354
352
|
Others: () => {
|
|
355
353
|
return <Box ssCardBox>
|
|
356
|
-
<
|
|
354
|
+
<Txt.SubTitle borderBottom padding={ 1 }>
|
|
357
355
|
Others
|
|
358
|
-
</
|
|
356
|
+
</Txt.SubTitle>
|
|
359
357
|
<Box padding={ 1 } overflow={ 'auto' }>
|
|
360
358
|
<Table.Normal
|
|
361
359
|
ssCardBox={ false }
|
|
@@ -368,7 +366,7 @@ flexChilds={ 'auto' }
|
|
|
368
366
|
[
|
|
369
367
|
{
|
|
370
368
|
children: <>
|
|
371
|
-
<
|
|
369
|
+
<Txt.Description>
|
|
372
370
|
{
|
|
373
371
|
`
|
|
374
372
|
<Button.Label
|
|
@@ -386,7 +384,7 @@ children={
|
|
|
386
384
|
}
|
|
387
385
|
/>`
|
|
388
386
|
}
|
|
389
|
-
</
|
|
387
|
+
</Txt.Description>
|
|
390
388
|
</>
|
|
391
389
|
},{
|
|
392
390
|
children: <Column>
|
|
@@ -406,7 +404,7 @@ children={
|
|
|
406
404
|
}
|
|
407
405
|
],[
|
|
408
406
|
{
|
|
409
|
-
children: <
|
|
407
|
+
children: <Txt.Description>
|
|
410
408
|
{
|
|
411
409
|
`
|
|
412
410
|
<Img
|
|
@@ -417,7 +415,7 @@ alt='noImage'
|
|
|
417
415
|
/>
|
|
418
416
|
`
|
|
419
417
|
}
|
|
420
|
-
</
|
|
418
|
+
</Txt.Description>
|
|
421
419
|
},{
|
|
422
420
|
children: <Row.Center>
|
|
423
421
|
<Column
|
|
@@ -436,12 +434,12 @@ alt='noImage'
|
|
|
436
434
|
} }
|
|
437
435
|
/>
|
|
438
436
|
</Box>
|
|
439
|
-
<
|
|
437
|
+
<Txt
|
|
440
438
|
padding={ 1 }
|
|
441
439
|
borderTop
|
|
442
440
|
>
|
|
443
441
|
Image
|
|
444
|
-
</
|
|
442
|
+
</Txt>
|
|
445
443
|
</Column>
|
|
446
444
|
</Row.Center>
|
|
447
445
|
}
|
|
@@ -464,9 +462,9 @@ const Logos = {
|
|
|
464
462
|
},
|
|
465
463
|
Mingoo: () => {
|
|
466
464
|
return <Card>
|
|
467
|
-
<
|
|
465
|
+
<Txt.SubTitle borderBottom padding={ 1 }>
|
|
468
466
|
Mingoo
|
|
469
|
-
</
|
|
467
|
+
</Txt.SubTitle>
|
|
470
468
|
<Box padding={ 1 } overflow={ 'auto' }>
|
|
471
469
|
<Row.Center
|
|
472
470
|
gap={ 2 }
|
|
@@ -484,7 +482,7 @@ const Logos = {
|
|
|
484
482
|
},
|
|
485
483
|
Google: () => {
|
|
486
484
|
return <Card>
|
|
487
|
-
<
|
|
485
|
+
<Txt.SubTitle borderBottom padding={ 1 }>Google</Txt.SubTitle>
|
|
488
486
|
<Box padding={ 1 } overflow={ 'auto' }>
|
|
489
487
|
<Row.Center flexType='col' gap={ 2 } padding={ 2 }>
|
|
490
488
|
<Logo.Brands.Google size='S' />
|
|
@@ -498,7 +496,7 @@ const Logos = {
|
|
|
498
496
|
},
|
|
499
497
|
Facebook: () => {
|
|
500
498
|
return <Card>
|
|
501
|
-
<
|
|
499
|
+
<Txt.SubTitle borderBottom padding={ 1 }>Facebook</Txt.SubTitle>
|
|
502
500
|
<Box padding={ 1 } overflow={ 'auto' }>
|
|
503
501
|
<Row.Center flexType='col' gap={ 2 } padding={ 2 }>
|
|
504
502
|
<Logo.Brands.Facebook size='S' />
|
|
@@ -512,7 +510,7 @@ const Logos = {
|
|
|
512
510
|
},
|
|
513
511
|
Line: () => {
|
|
514
512
|
return <Card>
|
|
515
|
-
<
|
|
513
|
+
<Txt.SubTitle borderBottom padding={ 1 }>LINE</Txt.SubTitle>
|
|
516
514
|
<Box padding={ 1 } overflow={ 'auto' }>
|
|
517
515
|
<Row.Center flexType='col' gap={ 2 } padding={ 2 }>
|
|
518
516
|
<Logo.Brands.LINE size='S' />
|
|
@@ -526,7 +524,7 @@ const Logos = {
|
|
|
526
524
|
},
|
|
527
525
|
Twitter: () => {
|
|
528
526
|
return <Card>
|
|
529
|
-
<
|
|
527
|
+
<Txt.SubTitle borderBottom padding={ 1 }>Twitter</Txt.SubTitle>
|
|
530
528
|
<Box padding={ 1 } overflow={ 'auto' }>
|
|
531
529
|
<Row.Center flexType='col' gap={ 2 } padding={ 2 }>
|
|
532
530
|
<Logo.Brands.Twitter size='S' />
|
|
@@ -550,17 +548,17 @@ const Effections = {
|
|
|
550
548
|
},
|
|
551
549
|
Ripple: () => {
|
|
552
550
|
return <Box ssCardBox>
|
|
553
|
-
<
|
|
551
|
+
<Txt.SubTitle borderBottom padding={ 1 }>
|
|
554
552
|
Ripple
|
|
555
|
-
</
|
|
553
|
+
</Txt.SubTitle>
|
|
556
554
|
<Column padding={ 2 }>
|
|
557
|
-
<
|
|
555
|
+
<Txt.Description>
|
|
558
556
|
{
|
|
559
557
|
`<Element
|
|
560
558
|
ssEffectsOnActive={ 'ripple.( cloud | theme | nega | posi | warn )' }
|
|
561
559
|
/>`
|
|
562
560
|
}
|
|
563
|
-
</
|
|
561
|
+
</Txt.Description>
|
|
564
562
|
<Row.Center>
|
|
565
563
|
<Box
|
|
566
564
|
ssCardBox
|
|
@@ -584,17 +582,17 @@ const Effections = {
|
|
|
584
582
|
},
|
|
585
583
|
Variables: () => {
|
|
586
584
|
return <Box ssCardBox>
|
|
587
|
-
<
|
|
585
|
+
<Txt.SubTitle borderBottom padding={ 1 }>
|
|
588
586
|
Effects
|
|
589
|
-
</
|
|
587
|
+
</Txt.SubTitle>
|
|
590
588
|
<Column padding={ 2 }>
|
|
591
|
-
<
|
|
589
|
+
<Txt.Description>
|
|
592
590
|
{
|
|
593
591
|
`<Button
|
|
594
592
|
ssEffectsOnActive={ 'shrink' }
|
|
595
593
|
/>`
|
|
596
594
|
}
|
|
597
|
-
</
|
|
595
|
+
</Txt.Description>
|
|
598
596
|
<Row.Left>
|
|
599
597
|
<Button
|
|
600
598
|
onClick={ () => {
|
|
@@ -643,9 +641,9 @@ const Effections = {
|
|
|
643
641
|
},
|
|
644
642
|
Tooltips: () => {
|
|
645
643
|
return <Box ssCardBox>
|
|
646
|
-
<
|
|
644
|
+
<Txt.SubTitle borderBottom padding={ 1 }>
|
|
647
645
|
Tooltips
|
|
648
|
-
</
|
|
646
|
+
</Txt.SubTitle>
|
|
649
647
|
<Column padding={ 2 }>
|
|
650
648
|
<Button
|
|
651
649
|
onContextMenu={ event => {
|
|
@@ -719,9 +717,9 @@ const Effections = {
|
|
|
719
717
|
},
|
|
720
718
|
Snackbar: () => {
|
|
721
719
|
return <Box ssCardBox>
|
|
722
|
-
<
|
|
720
|
+
<Txt.SubTitle borderBottom padding={ 1 }>
|
|
723
721
|
Snackbars
|
|
724
|
-
</
|
|
722
|
+
</Txt.SubTitle>
|
|
725
723
|
<Row.Center padding={ 2 }>
|
|
726
724
|
<Button
|
|
727
725
|
onClick={ () => {
|
|
@@ -767,11 +765,11 @@ const Effections = {
|
|
|
767
765
|
src={ Logo.Images.defaultIcon( 'user' ) }
|
|
768
766
|
ssSphere={ 4 }
|
|
769
767
|
/>
|
|
770
|
-
<
|
|
768
|
+
<Txt.Description>
|
|
771
769
|
{ `Some Text
|
|
772
770
|
Some Text
|
|
773
771
|
Some Text`}
|
|
774
|
-
</
|
|
772
|
+
</Txt.Description>
|
|
775
773
|
</Row.Left>
|
|
776
774
|
<Row.Separate>
|
|
777
775
|
<Button.Sub.S
|
|
@@ -807,9 +805,9 @@ const Buttons = {
|
|
|
807
805
|
},
|
|
808
806
|
Tone: () => {
|
|
809
807
|
return <Box ssCardBox>
|
|
810
|
-
<
|
|
808
|
+
<Txt.SubTitle borderBottom padding={ 1 }>
|
|
811
809
|
Tone
|
|
812
|
-
</
|
|
810
|
+
</Txt.SubTitle>
|
|
813
811
|
<Box padding={ 1 } overflow={ 'auto' }>
|
|
814
812
|
<Grid gridCols={ 2 } gap={ 2 }>
|
|
815
813
|
<Box>
|
|
@@ -1019,9 +1017,9 @@ const Buttons = {
|
|
|
1019
1017
|
Types: () => {
|
|
1020
1018
|
return <Flex gap={ 2 } flexChilds='auto'>
|
|
1021
1019
|
<Box ssCardBox>
|
|
1022
|
-
<
|
|
1020
|
+
<Txt.ThirdTitle borderBottom padding={ 1 }>
|
|
1023
1021
|
・Button
|
|
1024
|
-
</
|
|
1022
|
+
</Txt.ThirdTitle>
|
|
1025
1023
|
<Box padding={ 1 } overflow={ 'auto' }>
|
|
1026
1024
|
<List
|
|
1027
1025
|
items={ [
|
|
@@ -1043,9 +1041,9 @@ const Buttons = {
|
|
|
1043
1041
|
</Box>
|
|
1044
1042
|
</Box>
|
|
1045
1043
|
<Box ssCardBox>
|
|
1046
|
-
<
|
|
1044
|
+
<Txt.ThirdTitle borderBottom padding={ 1 }>
|
|
1047
1045
|
・Label
|
|
1048
|
-
</
|
|
1046
|
+
</Txt.ThirdTitle>
|
|
1049
1047
|
<Box padding={ 1 } overflow={ 'auto' }>
|
|
1050
1048
|
<List
|
|
1051
1049
|
ListChildCallback={ ( { children } ) => {
|
|
@@ -1080,9 +1078,9 @@ const Buttons = {
|
|
|
1080
1078
|
</Box>
|
|
1081
1079
|
</Box>
|
|
1082
1080
|
<Box ssCardBox>
|
|
1083
|
-
<
|
|
1081
|
+
<Txt.ThirdTitle borderBottom padding={ 1 }>
|
|
1084
1082
|
・Anchor
|
|
1085
|
-
</
|
|
1083
|
+
</Txt.ThirdTitle>
|
|
1086
1084
|
<Box padding={ 1 } overflow={ 'auto' }>
|
|
1087
1085
|
<List
|
|
1088
1086
|
ListChildCallback={ ( { children } ) => {
|
|
@@ -1123,9 +1121,9 @@ const Buttons = {
|
|
|
1123
1121
|
</Box>
|
|
1124
1122
|
</Box>
|
|
1125
1123
|
<Box ssCardBox>
|
|
1126
|
-
<
|
|
1124
|
+
<Txt.ThirdTitle borderBottom padding={ 1 }>
|
|
1127
1125
|
・Sizes
|
|
1128
|
-
</
|
|
1126
|
+
</Txt.ThirdTitle>
|
|
1129
1127
|
<Column padding={ 2 } gap={ 2 }>
|
|
1130
1128
|
<Row.Left>
|
|
1131
1129
|
<Button.Prime.XS>size="XS"</Button.Prime.XS>
|
|
@@ -1157,9 +1155,9 @@ const Shadows = {
|
|
|
1157
1155
|
}
|
|
1158
1156
|
return <Column gap={ 4 }>
|
|
1159
1157
|
<Column>
|
|
1160
|
-
<
|
|
1158
|
+
<Txt.Paragraph>
|
|
1161
1159
|
Shadows
|
|
1162
|
-
</
|
|
1160
|
+
</Txt.Paragraph>
|
|
1163
1161
|
<Grid gap={ 2 } gridCols={ 4 }>
|
|
1164
1162
|
<Cell boxShadow='0.min'>0.min</Cell>
|
|
1165
1163
|
<Cell boxShadow='0.normal'>0.normal</Cell>
|
|
@@ -1193,9 +1191,9 @@ const Shadows = {
|
|
|
1193
1191
|
</Grid>
|
|
1194
1192
|
</Column>
|
|
1195
1193
|
<Column>
|
|
1196
|
-
<
|
|
1194
|
+
<Txt.Paragraph>
|
|
1197
1195
|
Inset Shadows
|
|
1198
|
-
</
|
|
1196
|
+
</Txt.Paragraph>
|
|
1199
1197
|
<Grid gap={ 2 } gridCols={ 4 }>
|
|
1200
1198
|
<Cell boxShadow='0.min.inset'>0.min.inset</Cell>
|
|
1201
1199
|
<Cell boxShadow='0.normal.inset'>0.normal.inset</Cell>
|
|
@@ -1225,9 +1223,9 @@ const Inputs = () => {
|
|
|
1225
1223
|
const InputComps = {
|
|
1226
1224
|
Basic: () => {
|
|
1227
1225
|
return <Box ssCardBox>
|
|
1228
|
-
<
|
|
1226
|
+
<Txt.Paragraph borderBottom padding={ 1 }>
|
|
1229
1227
|
TextInput
|
|
1230
|
-
</
|
|
1228
|
+
</Txt.Paragraph>
|
|
1231
1229
|
<Column
|
|
1232
1230
|
padding={ 1 }
|
|
1233
1231
|
gap={ 2 }
|
|
@@ -1235,14 +1233,14 @@ const Inputs = () => {
|
|
|
1235
1233
|
<Row.Separate
|
|
1236
1234
|
marginBottom={ 2 }
|
|
1237
1235
|
>
|
|
1238
|
-
<
|
|
1236
|
+
<Txt.Description>
|
|
1239
1237
|
{
|
|
1240
1238
|
`<Input.Text
|
|
1241
1239
|
required
|
|
1242
1240
|
value={ 'hello React!!' }
|
|
1243
1241
|
/>`
|
|
1244
1242
|
}
|
|
1245
|
-
</
|
|
1243
|
+
</Txt.Description>
|
|
1246
1244
|
<Input.TextField
|
|
1247
1245
|
tone='cloud'
|
|
1248
1246
|
name='textfield'
|
|
@@ -1394,9 +1392,9 @@ text5`}
|
|
|
1394
1392
|
},
|
|
1395
1393
|
Time: () => ( <>
|
|
1396
1394
|
<Box ssCardBox>
|
|
1397
|
-
<
|
|
1395
|
+
<Txt.Paragraph borderBottom padding={ 1 }>
|
|
1398
1396
|
Time Input
|
|
1399
|
-
</
|
|
1397
|
+
</Txt.Paragraph>
|
|
1400
1398
|
<Box
|
|
1401
1399
|
padding={ 1 }
|
|
1402
1400
|
>
|
|
@@ -1465,9 +1463,9 @@ text5`}
|
|
|
1465
1463
|
</> ),
|
|
1466
1464
|
List: () => ( <>
|
|
1467
1465
|
<Box ssCardBox>
|
|
1468
|
-
<
|
|
1466
|
+
<Txt.Paragraph borderBottom padding={ 1 }>
|
|
1469
1467
|
Radio & Checkbox Input
|
|
1470
|
-
</
|
|
1468
|
+
</Txt.Paragraph>
|
|
1471
1469
|
<Box padding={ 1 }>
|
|
1472
1470
|
<Column>
|
|
1473
1471
|
<Flex gap={ 2 } flexChilds='auto'>
|
|
@@ -1568,9 +1566,9 @@ text5`}
|
|
|
1568
1566
|
</Box>
|
|
1569
1567
|
</Flex>
|
|
1570
1568
|
<Column>
|
|
1571
|
-
<
|
|
1569
|
+
<Txt.Paragraph>
|
|
1572
1570
|
Tones
|
|
1573
|
-
</
|
|
1571
|
+
</Txt.Paragraph>
|
|
1574
1572
|
<Column>
|
|
1575
1573
|
<Box>
|
|
1576
1574
|
Plain
|
|
@@ -1677,9 +1675,9 @@ text5`}
|
|
|
1677
1675
|
</> ),
|
|
1678
1676
|
Select: () => ( <>
|
|
1679
1677
|
<Box ssCardBox>
|
|
1680
|
-
<
|
|
1678
|
+
<Txt.Paragraph borderBottom padding={ 1 }>
|
|
1681
1679
|
Select,Autocomplete Input
|
|
1682
|
-
</
|
|
1680
|
+
</Txt.Paragraph>
|
|
1683
1681
|
<Column
|
|
1684
1682
|
padding={ 2 }
|
|
1685
1683
|
gap={ 1.5 }
|
|
@@ -1756,9 +1754,9 @@ text5`}
|
|
|
1756
1754
|
</> ),
|
|
1757
1755
|
Segmented: () => {
|
|
1758
1756
|
return <Box ssCardBox>
|
|
1759
|
-
<
|
|
1757
|
+
<Txt.ThirdTitle borderBottom padding={ 1 }>
|
|
1760
1758
|
Segmented
|
|
1761
|
-
</
|
|
1759
|
+
</Txt.ThirdTitle>
|
|
1762
1760
|
<Column padding={ 2 } gap={ 2 }>
|
|
1763
1761
|
<Row.Left>
|
|
1764
1762
|
<Input.Segmented
|
|
@@ -1845,9 +1843,9 @@ text5`}
|
|
|
1845
1843
|
},
|
|
1846
1844
|
Variables: () => ( <>
|
|
1847
1845
|
<Box ssCardBox>
|
|
1848
|
-
<
|
|
1846
|
+
<Txt.Paragraph borderBottom padding={ 1 }>
|
|
1849
1847
|
Variables
|
|
1850
|
-
</
|
|
1848
|
+
</Txt.Paragraph>
|
|
1851
1849
|
<Box padding={ 1 }>
|
|
1852
1850
|
<Column>
|
|
1853
1851
|
<Column gap={ 2 }>
|
|
@@ -1963,11 +1961,11 @@ const Styling = () => {
|
|
|
1963
1961
|
|
|
1964
1962
|
return <>
|
|
1965
1963
|
<Box ssCardBox>
|
|
1966
|
-
<
|
|
1964
|
+
<Txt.SubTitle borderBottom padding={ 1 }>
|
|
1967
1965
|
CardBox
|
|
1968
|
-
</
|
|
1966
|
+
</Txt.SubTitle>
|
|
1969
1967
|
<Box padding={ 1 } overflow={ 'auto' }>
|
|
1970
|
-
<
|
|
1968
|
+
<Txt.Description>
|
|
1971
1969
|
{
|
|
1972
1970
|
`<Box styles={{ssCardBox:true}}>
|
|
1973
1971
|
<Box>
|
|
@@ -1982,13 +1980,13 @@ const Styling = () => {
|
|
|
1982
1980
|
</Box>
|
|
1983
1981
|
</Box>`
|
|
1984
1982
|
}
|
|
1985
|
-
</
|
|
1983
|
+
</Txt.Description>
|
|
1986
1984
|
</Box>
|
|
1987
1985
|
<Box padding={ 2 }>
|
|
1988
1986
|
<Box ssCardBox>
|
|
1989
|
-
<
|
|
1987
|
+
<Txt.SubTitle borderBottom padding={ 1 }>
|
|
1990
1988
|
Header
|
|
1991
|
-
</
|
|
1989
|
+
</Txt.SubTitle>
|
|
1992
1990
|
<Box padding={ 1 } overflow={ 'auto' }>
|
|
1993
1991
|
Body
|
|
1994
1992
|
</Box>
|
|
@@ -1999,11 +1997,11 @@ const Styling = () => {
|
|
|
1999
1997
|
</Box>
|
|
2000
1998
|
</Box>
|
|
2001
1999
|
<Box ssCardBox>
|
|
2002
|
-
<
|
|
2000
|
+
<Txt.SubTitle borderBottom padding={ 1 }>
|
|
2003
2001
|
List
|
|
2004
|
-
</
|
|
2002
|
+
</Txt.SubTitle>
|
|
2005
2003
|
<Box padding={ 1 } overflow={ 'auto' }>
|
|
2006
|
-
<
|
|
2004
|
+
<Txt.Description>
|
|
2007
2005
|
{
|
|
2008
2006
|
`<List
|
|
2009
2007
|
options={ [
|
|
@@ -2014,7 +2012,7 @@ const Styling = () => {
|
|
|
2014
2012
|
] }
|
|
2015
2013
|
/>`
|
|
2016
2014
|
}
|
|
2017
|
-
</
|
|
2015
|
+
</Txt.Description>
|
|
2018
2016
|
</Box>
|
|
2019
2017
|
<Box padding={ 2 } overflow={ 'auto' }>
|
|
2020
2018
|
<List
|
|
@@ -2060,11 +2058,11 @@ const Styling = () => {
|
|
|
2060
2058
|
</Box>
|
|
2061
2059
|
</Box>
|
|
2062
2060
|
<Box ssCardBox>
|
|
2063
|
-
<
|
|
2061
|
+
<Txt.SubTitle borderBottom padding={ 1 }>
|
|
2064
2062
|
Sheet
|
|
2065
|
-
</
|
|
2063
|
+
</Txt.SubTitle>
|
|
2066
2064
|
<Box padding={ 1 } overflow={ 'auto' }>
|
|
2067
|
-
<
|
|
2065
|
+
<Txt.Description>
|
|
2068
2066
|
{
|
|
2069
2067
|
`Sheet.open( {
|
|
2070
2068
|
sheetID: 'sheetID',
|
|
@@ -2073,7 +2071,7 @@ const Styling = () => {
|
|
|
2073
2071
|
footer: ReactElement | React.FC< { modalClose } >
|
|
2074
2072
|
} )`
|
|
2075
2073
|
}
|
|
2076
|
-
</
|
|
2074
|
+
</Txt.Description>
|
|
2077
2075
|
</Box>
|
|
2078
2076
|
<Column padding={ 2 }>
|
|
2079
2077
|
<Button.Border
|
|
@@ -2627,7 +2625,7 @@ const UserConfig = () => {
|
|
|
2627
2625
|
} }
|
|
2628
2626
|
>
|
|
2629
2627
|
<Row.Left>
|
|
2630
|
-
<
|
|
2628
|
+
<Txt.Paragraph>Roundness</Txt.Paragraph>
|
|
2631
2629
|
<Input.Slider
|
|
2632
2630
|
min={ 0 }
|
|
2633
2631
|
max={ 5 }
|
|
@@ -2644,7 +2642,7 @@ const UserConfig = () => {
|
|
|
2644
2642
|
/>
|
|
2645
2643
|
</Row.Left>
|
|
2646
2644
|
<Row.Left>
|
|
2647
|
-
<
|
|
2645
|
+
<Txt.Paragraph>Dark</Txt.Paragraph>
|
|
2648
2646
|
<Input.Segmented.Cloud
|
|
2649
2647
|
cellStyles={ {
|
|
2650
2648
|
flexCenter: true,
|
|
@@ -2674,7 +2672,7 @@ const UserConfig = () => {
|
|
|
2674
2672
|
/>
|
|
2675
2673
|
</Row.Left>
|
|
2676
2674
|
<Row.Left>
|
|
2677
|
-
<
|
|
2675
|
+
<Txt.Paragraph>Color</Txt.Paragraph>
|
|
2678
2676
|
<Row.Left gap={ '1/6' }>
|
|
2679
2677
|
{ Object.entries( ThemeColors ).map( ( [ key,themeColor ] ) => {
|
|
2680
2678
|
let isSelected = key === val_theme
|
|
@@ -2715,7 +2713,7 @@ const UserConfig = () => {
|
|
|
2715
2713
|
} }
|
|
2716
2714
|
/>
|
|
2717
2715
|
</Box>
|
|
2718
|
-
<
|
|
2716
|
+
<Txt.Supplement
|
|
2719
2717
|
display='none'
|
|
2720
2718
|
ssTextEllipsis
|
|
2721
2719
|
freeCSS={ {
|
|
@@ -2723,7 +2721,7 @@ const UserConfig = () => {
|
|
|
2723
2721
|
} }
|
|
2724
2722
|
>
|
|
2725
2723
|
{ isSelected && <FAI.Check /> } { key.toCapital() }
|
|
2726
|
-
</
|
|
2724
|
+
</Txt.Supplement>
|
|
2727
2725
|
</Column>
|
|
2728
2726
|
</Button.Clear>
|
|
2729
2727
|
} ) }
|