amotify 0.2.186 → 0.2.187
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.
|
@@ -1,146 +1,2886 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
useState
|
|
3
|
+
import $$,{ UUID,Filer } from 'jmini'
|
|
4
|
+
import React,{
|
|
5
|
+
useState,
|
|
6
|
+
useEffect
|
|
6
7
|
} from 'react'
|
|
7
8
|
|
|
8
|
-
import $$ from 'jmini'
|
|
9
9
|
import '../../../../../dist/index'
|
|
10
10
|
import {
|
|
11
|
+
DarkMode,
|
|
12
|
+
ThemeColor,
|
|
13
|
+
ReactElement,
|
|
14
|
+
Config,
|
|
15
|
+
LaunchReactApp,
|
|
16
|
+
ThemeColors,
|
|
17
|
+
Box,
|
|
18
|
+
Span,
|
|
19
|
+
Grid,
|
|
20
|
+
Flex,
|
|
21
|
+
FAI,
|
|
22
|
+
Img,
|
|
23
|
+
Logo,
|
|
11
24
|
Column,
|
|
12
|
-
|
|
25
|
+
List,
|
|
26
|
+
ListItem,
|
|
27
|
+
Accordion,
|
|
13
28
|
Row,
|
|
14
|
-
Sheet,
|
|
15
29
|
Literal,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
30
|
+
PageViewController,
|
|
31
|
+
SwipeView,
|
|
32
|
+
TabBar,
|
|
33
|
+
Plate,
|
|
34
|
+
Table,
|
|
20
35
|
Input,
|
|
21
|
-
|
|
36
|
+
Button,
|
|
37
|
+
Anchor,
|
|
38
|
+
Label,
|
|
39
|
+
Sheet,
|
|
40
|
+
Snackbar,
|
|
41
|
+
Tooltips,
|
|
42
|
+
Tips,
|
|
43
|
+
Loader,
|
|
44
|
+
Effect,
|
|
45
|
+
Cropper,
|
|
22
46
|
RootViewController,
|
|
23
|
-
|
|
47
|
+
StyleTags,
|
|
48
|
+
Roundness,
|
|
49
|
+
Card
|
|
24
50
|
} from '../../../../../dist/index'
|
|
25
51
|
|
|
26
|
-
|
|
52
|
+
const Basic = {
|
|
53
|
+
index: () => {
|
|
54
|
+
return <>
|
|
55
|
+
<Basic.Fonts />
|
|
56
|
+
<Basic.Box />
|
|
57
|
+
<Basic.Flex />
|
|
58
|
+
<Basic.Grid />
|
|
59
|
+
<Basic.Others />
|
|
60
|
+
</>
|
|
61
|
+
},
|
|
62
|
+
Fonts: () => {
|
|
63
|
+
return <Card padding={ 1 }>
|
|
64
|
+
<Column>
|
|
65
|
+
<Literal.SubTitle>Fonts</Literal.SubTitle>
|
|
66
|
+
<Box overflow={ 'auto' }>
|
|
67
|
+
<Column>
|
|
68
|
+
<Row.Left
|
|
69
|
+
ssCardBox
|
|
70
|
+
padding={ 1.5 }
|
|
71
|
+
>
|
|
72
|
+
[GrayColor]
|
|
73
|
+
<Box fontColor='1.clear'>1.clear</Box>
|
|
74
|
+
<Box fontColor='2.normal'>2.normal</Box>
|
|
75
|
+
<Box fontColor='3.blur'>3.blur</Box>
|
|
76
|
+
<Box fontColor='4.thin'>4.thin</Box>
|
|
77
|
+
<Box fontColor='5.translucent'>5.translucent</Box>
|
|
78
|
+
<Box fontColor='6.clear'>6.clear</Box>
|
|
79
|
+
</Row.Left>
|
|
80
|
+
<Row.Left
|
|
81
|
+
ssCardBox='plain'
|
|
82
|
+
padding={ 1.5 }
|
|
83
|
+
backgroundColor='dark'
|
|
84
|
+
>
|
|
85
|
+
<Box fontColor='white'>[GrayColor in Dark]</Box>
|
|
86
|
+
<Box fontColor='1.clear'>1.clear</Box>
|
|
87
|
+
<Box fontColor='2.normal'>2.normal</Box>
|
|
88
|
+
<Box fontColor='3.blur'>3.blur</Box>
|
|
89
|
+
<Box fontColor='4.thin'>4.thin</Box>
|
|
90
|
+
<Box fontColor='5.translucent'>5.translucent</Box>
|
|
91
|
+
<Box fontColor='6.clear'>6.clear</Box>
|
|
92
|
+
</Row.Left>
|
|
93
|
+
<Column ssCardBox padding={ 1.5 }>
|
|
94
|
+
<Box>[size:Landing]</Box>
|
|
95
|
+
<Box isSemiBoldFont fontSize='7.landing'>
|
|
96
|
+
Visualize Your <Span fontColor='theme'>
|
|
97
|
+
Colors
|
|
98
|
+
</Span> On a Real Website
|
|
99
|
+
</Box>
|
|
100
|
+
</Column>
|
|
101
|
+
<Column ssCardBox padding={ 1.5 }>
|
|
102
|
+
<Box>[size:Title]</Box>
|
|
103
|
+
<Box fontSize='6.title'>
|
|
104
|
+
令和4年度の国民負担率を公表します
|
|
105
|
+
</Box>
|
|
106
|
+
</Column>
|
|
107
|
+
<Column ssCardBox padding={ 1.5 }>
|
|
108
|
+
<Box>[size:Subtitle]</Box>
|
|
109
|
+
<Box fontSize='5.subTitle'>
|
|
110
|
+
支払いを受け付ける
|
|
111
|
+
</Box>
|
|
112
|
+
</Column>
|
|
113
|
+
<Column ssCardBox padding={ 1.5 }>
|
|
114
|
+
<Box>[size:Thirdtitle]</Box>
|
|
115
|
+
<Box fontSize='4.thirdTitle'>
|
|
116
|
+
租税負担率と社会保障負担率を合計した国民負担率について、令和4年度の見通しを推計しましたので、公表します。
|
|
117
|
+
</Box>
|
|
118
|
+
</Column>
|
|
119
|
+
<Column ssCardBox padding={ 1.5 }>
|
|
120
|
+
<Box>[size:Paragraph]</Box>
|
|
121
|
+
<Literal.Paragraph>
|
|
122
|
+
<Literal.Description>
|
|
123
|
+
{ `This article discusses performance best practices for fonts.
|
|
124
|
+
There are a variety of ways in which web fonts impact performance`}
|
|
125
|
+
</Literal.Description>
|
|
126
|
+
</Literal.Paragraph>
|
|
127
|
+
</Column>
|
|
128
|
+
<Column ssCardBox padding={ 1.5 }>
|
|
129
|
+
<Box>[size:Normal]</Box>
|
|
130
|
+
<Literal>
|
|
131
|
+
効率的で持続可能な財政への転換を図り、この財政構造を各般の構造改革とともに推進することで、民間需要主導の持続的経済成長の実現を目指します。
|
|
132
|
+
少子・高齢化、国際化など経済社会の構造変化に対応できる21世紀のあるべき税制をきずきます。
|
|
133
|
+
財政投融資は、行財政改革の趣旨を踏まえ、民間ではできない分野・事業などに重点化を行い、真に政策的に必要な資金需要には的確に対応します。
|
|
134
|
+
金融庁と協力し、金融のセーフティネットを整備し、金融危機に素早く対応するなど、金融システムの安定の確保を目指します。
|
|
135
|
+
国際的な協力等に積極的に取り組むことにより、国際通貨システムの安定・国際貿易の秩序ある発展を目指します。
|
|
136
|
+
</Literal>
|
|
137
|
+
</Column>
|
|
138
|
+
<Column ssCardBox padding={ 1.5 }>
|
|
139
|
+
<Box>[size:Mini]</Box>
|
|
140
|
+
<Literal.Supplement>
|
|
141
|
+
Copyright © Ministry of Finance Japan. All Rights Reserved.
|
|
142
|
+
</Literal.Supplement>
|
|
143
|
+
</Column>
|
|
144
|
+
</Column>
|
|
145
|
+
</Box>
|
|
146
|
+
</Column>
|
|
147
|
+
</Card>
|
|
148
|
+
},
|
|
149
|
+
Box: () => {
|
|
150
|
+
return <Box ssCardBox>
|
|
151
|
+
<Literal.SubTitle borderBottom padding={ 1 }>
|
|
152
|
+
Box
|
|
153
|
+
</Literal.SubTitle>
|
|
154
|
+
<Box padding={ 1 } overflow={ 'auto' }>
|
|
155
|
+
<Table.Normal
|
|
156
|
+
ssCardBox={ false }
|
|
157
|
+
borderRadius={ 0 }
|
|
158
|
+
height={ 1 }
|
|
159
|
+
tone='cellBorder'
|
|
160
|
+
colLength={ 2 }
|
|
161
|
+
head={ false }
|
|
162
|
+
rows={ [
|
|
163
|
+
[
|
|
164
|
+
{
|
|
165
|
+
children: <Literal.Description>
|
|
166
|
+
{ `<Box>
|
|
167
|
+
helloWorld!!
|
|
168
|
+
</Box>`}
|
|
169
|
+
</Literal.Description>
|
|
170
|
+
},{
|
|
171
|
+
children: <Box> helloWorld!! </Box>
|
|
172
|
+
}
|
|
173
|
+
],[
|
|
174
|
+
{
|
|
175
|
+
children: <Literal.Description>
|
|
176
|
+
{ `<Box
|
|
177
|
+
children={ 'helloWorld!!' }
|
|
178
|
+
/>`}
|
|
179
|
+
</Literal.Description>
|
|
180
|
+
},{
|
|
181
|
+
children: <Box children={ 'helloWorld!!' } />
|
|
182
|
+
},
|
|
183
|
+
],[
|
|
184
|
+
{
|
|
185
|
+
children: <Literal.Description>
|
|
186
|
+
{ `<Box
|
|
187
|
+
fontColor={ '4.thin' }
|
|
188
|
+
padding={ 1 }
|
|
189
|
+
margin={ 1 }
|
|
190
|
+
textAlign='center'
|
|
191
|
+
borderRadius={ 2 }
|
|
192
|
+
border={ 'normal' }
|
|
193
|
+
children={ 'styleBox' }
|
|
194
|
+
/>
|
|
195
|
+
`}
|
|
196
|
+
</Literal.Description>
|
|
197
|
+
},{
|
|
198
|
+
children: <Box
|
|
199
|
+
fontColor={ '4.thin' }
|
|
200
|
+
padding={ 1 }
|
|
201
|
+
margin={ 1 }
|
|
202
|
+
textAlign={ 'center' }
|
|
203
|
+
borderRadius={ 2 }
|
|
204
|
+
border
|
|
205
|
+
children={ 'styleBox' }
|
|
206
|
+
/>
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
] }
|
|
210
|
+
/>
|
|
211
|
+
</Box>
|
|
212
|
+
</Box>
|
|
213
|
+
},
|
|
214
|
+
Flex: () => {
|
|
215
|
+
return <Box ssCardBox>
|
|
216
|
+
<Literal.SubTitle borderBottom padding={ 1 }>
|
|
217
|
+
Flex
|
|
218
|
+
</Literal.SubTitle>
|
|
219
|
+
<Box padding={ 1 } overflow={ 'auto' }>
|
|
220
|
+
<Table.Normal
|
|
221
|
+
ssCardBox={ false }
|
|
222
|
+
borderRadius={ 0 }
|
|
223
|
+
height={ 1 }
|
|
224
|
+
colLength={ 2 }
|
|
225
|
+
tone='cellBorder'
|
|
226
|
+
head={ false }
|
|
227
|
+
rows={ [
|
|
228
|
+
[
|
|
229
|
+
{
|
|
230
|
+
children: <Literal.Description>
|
|
231
|
+
{
|
|
232
|
+
`<Flex flexType='row' gap={ 1 }>
|
|
233
|
+
<Box children={ 'FlexBox1' } />
|
|
234
|
+
<Box children={ 'FlexBox2' } />
|
|
235
|
+
<Box children={ 'FlexBox3' } />
|
|
236
|
+
<Box flexSizing={ 'auto' } children={ 'FlexBox3' } />
|
|
237
|
+
</Flex>`
|
|
238
|
+
}
|
|
239
|
+
</Literal.Description>
|
|
240
|
+
},{
|
|
241
|
+
children: <Flex
|
|
242
|
+
gap={ 1 }
|
|
243
|
+
flexType='row'
|
|
244
|
+
fontColor='theme'
|
|
245
|
+
>
|
|
246
|
+
<Card.Plain flexCenter padding={ 1 } backgroundColor='theme.opa.low'>FlexBox1</Card.Plain>
|
|
247
|
+
<Card.Plain flexCenter padding={ 1 } backgroundColor={ 'theme.opa.middle' }>FlexBox2</Card.Plain>
|
|
248
|
+
<Card.Plain flexCenter padding={ 1 } backgroundColor='theme.opa.high'>FlexBox3</Card.Plain>
|
|
249
|
+
<Card.Plain flexCenter flexSizing={ 'auto' } padding={ 1 } backgroundColor='theme.opa.high'>FlexBox4</Card.Plain>
|
|
250
|
+
</Flex>
|
|
251
|
+
},
|
|
252
|
+
],[
|
|
253
|
+
{
|
|
254
|
+
children: <Literal.Description textAlign='left'>
|
|
255
|
+
{ `<Flex
|
|
256
|
+
flexType='col'
|
|
257
|
+
flexChilds={ 'auto' }
|
|
258
|
+
>
|
|
259
|
+
<Box />
|
|
260
|
+
<Box />
|
|
261
|
+
...
|
|
262
|
+
</Flex>`}
|
|
263
|
+
</Literal.Description>
|
|
264
|
+
},{
|
|
265
|
+
children: <>
|
|
266
|
+
<Flex gap={ 1 } flexCenter>
|
|
267
|
+
<Box flexCenter ssSphere={ 3 } boxShadow='0.normal' backgroundColor='theme.lightest' />
|
|
268
|
+
<Box flexCenter ssSphere={ 3 } boxShadow='0.normal' backgroundColor='theme.lighter' />
|
|
269
|
+
<Box flexCenter ssSphere={ 3 } boxShadow='0.normal' backgroundColor='theme.lighten' />
|
|
270
|
+
<Box flexCenter ssSphere={ 3 } boxShadow='0.normal' backgroundColor='theme' />
|
|
271
|
+
<Box flexCenter ssSphere={ 3 } boxShadow='0.normal' backgroundColor='theme.darken' />
|
|
272
|
+
<Box flexCenter ssSphere={ 3 } boxShadow='0.normal' backgroundColor='theme.darker' />
|
|
273
|
+
<Box flexCenter ssSphere={ 3 } boxShadow='0.normal' backgroundColor='theme.darkest' />
|
|
274
|
+
</Flex>
|
|
275
|
+
<Flex gap={ 1 } flexCenter>
|
|
276
|
+
<Box flexCenter ssSphere={ 3 } boxShadow='0.normal' backgroundColor='layer.1' />
|
|
277
|
+
<Box flexCenter ssSphere={ 3 } boxShadow='0.normal' backgroundColor='layer.2' />
|
|
278
|
+
<Box flexCenter ssSphere={ 3 } boxShadow='0.normal' backgroundColor='layer.3' />
|
|
279
|
+
<Box flexCenter ssSphere={ 3 } boxShadow='0.normal' backgroundColor='layer.4' />
|
|
280
|
+
<Box flexCenter ssSphere={ 3 } boxShadow='0.normal' backgroundColor='layer.5' />
|
|
281
|
+
<Box flexCenter ssSphere={ 3 } boxShadow='0.normal' backgroundColor='layer.6' />
|
|
282
|
+
</Flex>
|
|
283
|
+
</>
|
|
284
|
+
},
|
|
285
|
+
],[
|
|
286
|
+
{
|
|
287
|
+
children: <Literal.Description>
|
|
288
|
+
{
|
|
289
|
+
`<Flex gap={ 1 }>
|
|
290
|
+
<Box flexGrid={ 2 } ... />
|
|
291
|
+
<Box flexGrid={ 3 } ... />
|
|
292
|
+
<Box flexGrid={ 4 } ... />
|
|
293
|
+
</Flex>`
|
|
294
|
+
}
|
|
295
|
+
</Literal.Description>
|
|
296
|
+
},{
|
|
297
|
+
children: <Flex gap={ 1 } fontColor='white'>
|
|
298
|
+
<Card.Plain flexCenter padding={ 1 } backgroundColor='posi' flexGrid={ 2 }>Box1</Card.Plain>
|
|
299
|
+
<Card.Plain flexCenter padding={ 1 } backgroundColor='nega' flexGrid={ 3 }>Box2</Card.Plain>
|
|
300
|
+
<Card.Plain flexCenter padding={ 1 } backgroundColor='warn' flexGrid={ 4 }>Box3</Card.Plain>
|
|
301
|
+
</Flex>
|
|
302
|
+
},
|
|
303
|
+
]
|
|
304
|
+
] }
|
|
305
|
+
/>
|
|
306
|
+
</Box>
|
|
307
|
+
</Box>
|
|
308
|
+
},
|
|
309
|
+
Grid: () => {
|
|
310
|
+
return <Box ssCardBox>
|
|
311
|
+
<Literal.SubTitle borderBottom padding={ 1 }>
|
|
312
|
+
Grid
|
|
313
|
+
</Literal.SubTitle>
|
|
314
|
+
<Box style={ { padding: 1,overflow: 'auto' } }>
|
|
315
|
+
<Table.Normal
|
|
316
|
+
ssCardBox={ false }
|
|
317
|
+
height={ 1 }
|
|
318
|
+
backgroundColor='nega'
|
|
319
|
+
borderRadius={ 0 }
|
|
320
|
+
colLength={ 2 }
|
|
321
|
+
tone='cellBorder'
|
|
322
|
+
head={ false }
|
|
323
|
+
rows={ [
|
|
324
|
+
[
|
|
325
|
+
{
|
|
326
|
+
children: <Literal.Description>
|
|
327
|
+
{
|
|
328
|
+
`<Grid gridCols={ 3 } gap={ 1 }>
|
|
329
|
+
<Box children={ 'GridBox1' } />
|
|
330
|
+
<Box children={ 'GridBox2' } />
|
|
331
|
+
<Box children={ 'GridBox3' } />
|
|
332
|
+
<Box children={ 'GridBox4' } />
|
|
333
|
+
<Box children={ 'GridBox5' } />
|
|
334
|
+
<Box children={ 'GridBox6' } />
|
|
335
|
+
</Grid>`
|
|
336
|
+
}
|
|
337
|
+
</Literal.Description>
|
|
338
|
+
},{
|
|
339
|
+
children: <Grid gridCols={ 3 } gap={ 1 }>
|
|
340
|
+
<Card.Plain padding={ 1 } backgroundColor='layer.1'>GridBox1</Card.Plain>
|
|
341
|
+
<Card.Plain padding={ 1 } backgroundColor='layer.2'>GridBox2</Card.Plain>
|
|
342
|
+
<Card.Plain padding={ 1 } backgroundColor='layer.3'>GridBox3</Card.Plain>
|
|
343
|
+
<Card.Plain padding={ 1 } backgroundColor='layer.4'>GridBox4</Card.Plain>
|
|
344
|
+
<Card.Plain padding={ 1 } backgroundColor='layer.5'>GridBox5</Card.Plain>
|
|
345
|
+
<Card.Plain padding={ 1 } backgroundColor='layer.6'>GridBox6</Card.Plain>
|
|
346
|
+
</Grid>
|
|
347
|
+
},
|
|
348
|
+
]
|
|
349
|
+
] }
|
|
350
|
+
/>
|
|
351
|
+
</Box>
|
|
352
|
+
</Box>
|
|
353
|
+
},
|
|
354
|
+
Others: () => {
|
|
355
|
+
return <Box ssCardBox>
|
|
356
|
+
<Literal.SubTitle borderBottom padding={ 1 }>
|
|
357
|
+
Others
|
|
358
|
+
</Literal.SubTitle>
|
|
359
|
+
<Box padding={ 1 } overflow={ 'auto' }>
|
|
360
|
+
<Table.Normal
|
|
361
|
+
ssCardBox={ false }
|
|
362
|
+
height={ 1 }
|
|
363
|
+
borderRadius={ 0 }
|
|
364
|
+
colLength={ 2 }
|
|
365
|
+
tone='cellBorder'
|
|
366
|
+
head={ false }
|
|
367
|
+
rows={ [
|
|
368
|
+
[
|
|
369
|
+
{
|
|
370
|
+
children: <>
|
|
371
|
+
<Literal.Description>
|
|
372
|
+
{
|
|
373
|
+
`
|
|
374
|
+
<Button.Label
|
|
375
|
+
htmlFor='testAccordion'
|
|
376
|
+
type='sub'
|
|
377
|
+
children={ 'ToggleButton' }
|
|
378
|
+
/>
|
|
379
|
+
<Accordion
|
|
380
|
+
id='testAccordion'
|
|
381
|
+
open
|
|
382
|
+
children={
|
|
383
|
+
<>
|
|
384
|
+
in Accordion Element
|
|
385
|
+
</>
|
|
386
|
+
}
|
|
387
|
+
/>`
|
|
388
|
+
}
|
|
389
|
+
</Literal.Description>
|
|
390
|
+
</>
|
|
391
|
+
},{
|
|
392
|
+
children: <Column>
|
|
393
|
+
<Label.Sub
|
|
394
|
+
children={ 'ToggleButton' }
|
|
395
|
+
onClick={ () => {
|
|
396
|
+
Accordion.fn.toggle( 'testAccordion' )
|
|
397
|
+
} }
|
|
398
|
+
/>
|
|
399
|
+
<Accordion
|
|
400
|
+
accordionID={ 'testAccordion' }
|
|
401
|
+
defaultOpen
|
|
402
|
+
>
|
|
403
|
+
in Accordion Element
|
|
404
|
+
</Accordion>
|
|
405
|
+
</Column>
|
|
406
|
+
}
|
|
407
|
+
],[
|
|
408
|
+
{
|
|
409
|
+
children: <Literal.Description>
|
|
410
|
+
{
|
|
411
|
+
`
|
|
412
|
+
<Img
|
|
413
|
+
maxheight={ 8 }
|
|
414
|
+
maxWidth={ 8 }
|
|
415
|
+
src='...'
|
|
416
|
+
alt='noImage'
|
|
417
|
+
/>
|
|
418
|
+
`
|
|
419
|
+
}
|
|
420
|
+
</Literal.Description>
|
|
421
|
+
},{
|
|
422
|
+
children: <Row.Center>
|
|
423
|
+
<Column
|
|
424
|
+
ssCardBox
|
|
425
|
+
gap={ 0 }
|
|
426
|
+
overflow={ 'hidden' }
|
|
427
|
+
>
|
|
428
|
+
<Box>
|
|
429
|
+
<Img
|
|
430
|
+
className='test'
|
|
431
|
+
src={ Logo.Images.defaultIcon( 'user' ) }
|
|
432
|
+
alt='noImage'
|
|
433
|
+
freeCSS={ {
|
|
434
|
+
maxHeight: 12 * 8,
|
|
435
|
+
maxWidth: 12 * 8
|
|
436
|
+
} }
|
|
437
|
+
/>
|
|
438
|
+
</Box>
|
|
439
|
+
<Literal
|
|
440
|
+
padding={ 1 }
|
|
441
|
+
borderTop
|
|
442
|
+
>
|
|
443
|
+
Image
|
|
444
|
+
</Literal>
|
|
445
|
+
</Column>
|
|
446
|
+
</Row.Center>
|
|
447
|
+
}
|
|
448
|
+
]
|
|
449
|
+
] }
|
|
450
|
+
/>
|
|
451
|
+
</Box>
|
|
452
|
+
</Box>
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
const Logos = {
|
|
456
|
+
index: () => {
|
|
457
|
+
return <Row.Left flexWrap flexChilds='auto'>
|
|
458
|
+
<Logos.Mingoo />
|
|
459
|
+
<Logos.Google />
|
|
460
|
+
<Logos.Facebook />
|
|
461
|
+
<Logos.Line />
|
|
462
|
+
<Logos.Twitter />
|
|
463
|
+
</Row.Left>
|
|
464
|
+
},
|
|
465
|
+
Mingoo: () => {
|
|
466
|
+
return <Card>
|
|
467
|
+
<Literal.SubTitle borderBottom padding={ 1 }>
|
|
468
|
+
Mingoo
|
|
469
|
+
</Literal.SubTitle>
|
|
470
|
+
<Box padding={ 1 } overflow={ 'auto' }>
|
|
471
|
+
<Row.Center
|
|
472
|
+
gap={ 2 }
|
|
473
|
+
padding={ 2 }
|
|
474
|
+
flexType='col'
|
|
475
|
+
>
|
|
476
|
+
<Logo.Brands.MingooIcon size='S' />
|
|
477
|
+
<Logo.Brands.MingooIcon size='R' />
|
|
478
|
+
<Logo.Brands.MingooIcon size='L' />
|
|
479
|
+
<Logo.Brands.MingooIcon size='2L' />
|
|
480
|
+
<Logo.Brands.MingooIcon size='3L' />
|
|
481
|
+
</Row.Center>
|
|
482
|
+
</Box>
|
|
483
|
+
</Card>
|
|
484
|
+
},
|
|
485
|
+
Google: () => {
|
|
486
|
+
return <Card>
|
|
487
|
+
<Literal.SubTitle borderBottom padding={ 1 }>Google</Literal.SubTitle>
|
|
488
|
+
<Box padding={ 1 } overflow={ 'auto' }>
|
|
489
|
+
<Row.Center flexType='col' gap={ 2 } padding={ 2 }>
|
|
490
|
+
<Logo.Brands.Google size='S' />
|
|
491
|
+
<Logo.Brands.Google size='R' />
|
|
492
|
+
<Logo.Brands.Google size='L' />
|
|
493
|
+
<Logo.Brands.Google size='2L' />
|
|
494
|
+
<Logo.Brands.Google size='3L' />
|
|
495
|
+
</Row.Center>
|
|
496
|
+
</Box>
|
|
497
|
+
</Card>
|
|
498
|
+
},
|
|
499
|
+
Facebook: () => {
|
|
500
|
+
return <Card>
|
|
501
|
+
<Literal.SubTitle borderBottom padding={ 1 }>Facebook</Literal.SubTitle>
|
|
502
|
+
<Box padding={ 1 } overflow={ 'auto' }>
|
|
503
|
+
<Row.Center flexType='col' gap={ 2 } padding={ 2 }>
|
|
504
|
+
<Logo.Brands.Facebook size='S' />
|
|
505
|
+
<Logo.Brands.Facebook size='R' />
|
|
506
|
+
<Logo.Brands.Facebook size='L' />
|
|
507
|
+
<Logo.Brands.Facebook size='2L' />
|
|
508
|
+
<Logo.Brands.Facebook size='3L' />
|
|
509
|
+
</Row.Center>
|
|
510
|
+
</Box>
|
|
511
|
+
</Card>
|
|
512
|
+
},
|
|
513
|
+
Line: () => {
|
|
514
|
+
return <Card>
|
|
515
|
+
<Literal.SubTitle borderBottom padding={ 1 }>LINE</Literal.SubTitle>
|
|
516
|
+
<Box padding={ 1 } overflow={ 'auto' }>
|
|
517
|
+
<Row.Center flexType='col' gap={ 2 } padding={ 2 }>
|
|
518
|
+
<Logo.Brands.LINE size='S' />
|
|
519
|
+
<Logo.Brands.LINE size='R' />
|
|
520
|
+
<Logo.Brands.LINE size='L' />
|
|
521
|
+
<Logo.Brands.LINE size='2L' />
|
|
522
|
+
<Logo.Brands.LINE size='3L' />
|
|
523
|
+
</Row.Center>
|
|
524
|
+
</Box>
|
|
525
|
+
</Card>
|
|
526
|
+
},
|
|
527
|
+
Twitter: () => {
|
|
528
|
+
return <Card>
|
|
529
|
+
<Literal.SubTitle borderBottom padding={ 1 }>Twitter</Literal.SubTitle>
|
|
530
|
+
<Box padding={ 1 } overflow={ 'auto' }>
|
|
531
|
+
<Row.Center flexType='col' gap={ 2 } padding={ 2 }>
|
|
532
|
+
<Logo.Brands.Twitter size='S' />
|
|
533
|
+
<Logo.Brands.Twitter size='R' />
|
|
534
|
+
<Logo.Brands.Twitter size='L' />
|
|
535
|
+
<Logo.Brands.Twitter size='2L' />
|
|
536
|
+
<Logo.Brands.Twitter size='3L' />
|
|
537
|
+
</Row.Center>
|
|
538
|
+
</Box>
|
|
539
|
+
</Card>
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
const Effections = {
|
|
543
|
+
index: () => {
|
|
544
|
+
return <>
|
|
545
|
+
<Effections.Ripple />
|
|
546
|
+
<Effections.Variables />
|
|
547
|
+
<Effections.Tooltips />
|
|
548
|
+
<Effections.Snackbar />
|
|
549
|
+
</>
|
|
550
|
+
},
|
|
551
|
+
Ripple: () => {
|
|
552
|
+
return <Box ssCardBox>
|
|
553
|
+
<Literal.SubTitle borderBottom padding={ 1 }>
|
|
554
|
+
Ripple
|
|
555
|
+
</Literal.SubTitle>
|
|
556
|
+
<Column padding={ 2 }>
|
|
557
|
+
<Literal.Description>
|
|
558
|
+
{
|
|
559
|
+
`<Element
|
|
560
|
+
ssEffectsOnActive={ 'ripple.( cloud | theme | nega | posi | warn )' }
|
|
561
|
+
/>`
|
|
562
|
+
}
|
|
563
|
+
</Literal.Description>
|
|
564
|
+
<Row.Center>
|
|
565
|
+
<Box
|
|
566
|
+
ssCardBox
|
|
567
|
+
padding={ 1 }
|
|
568
|
+
ssEffectsOnActive={ 'ripple.theme' }
|
|
569
|
+
>
|
|
570
|
+
DIV
|
|
571
|
+
</Box>
|
|
572
|
+
<Button.Prime ssEffectsOnActive={ 'ripple.white' }>
|
|
573
|
+
White
|
|
574
|
+
</Button.Prime>
|
|
575
|
+
<Button.Border ssEffectsOnActive={ 'ripple.cloud' }>
|
|
576
|
+
Cloud
|
|
577
|
+
</Button.Border>
|
|
578
|
+
<Button.Border ssEffectsOnActive={ 'ripple.theme' }>
|
|
579
|
+
Theme
|
|
580
|
+
</Button.Border>
|
|
581
|
+
</Row.Center>
|
|
582
|
+
</Column>
|
|
583
|
+
</Box>
|
|
584
|
+
},
|
|
585
|
+
Variables: () => {
|
|
586
|
+
return <Box ssCardBox>
|
|
587
|
+
<Literal.SubTitle borderBottom padding={ 1 }>
|
|
588
|
+
Effects
|
|
589
|
+
</Literal.SubTitle>
|
|
590
|
+
<Column padding={ 2 }>
|
|
591
|
+
<Literal.Description>
|
|
592
|
+
{
|
|
593
|
+
`<Button
|
|
594
|
+
ssEffectsOnActive={ 'shrink' }
|
|
595
|
+
/>`
|
|
596
|
+
}
|
|
597
|
+
</Literal.Description>
|
|
598
|
+
<Row.Left>
|
|
599
|
+
<Button
|
|
600
|
+
onClick={ () => {
|
|
601
|
+
Loader.fn.mini.active( 'testLoadingKey' )
|
|
602
|
+
setTimeout( () => {
|
|
603
|
+
Loader.fn.stopALL()
|
|
604
|
+
},5000 )
|
|
605
|
+
} }
|
|
606
|
+
>
|
|
607
|
+
<Row.Center gap={ 0 }>
|
|
608
|
+
<Loader.White.S
|
|
609
|
+
loaderID='testLoadingKey'
|
|
610
|
+
marginRight={ 1 }
|
|
611
|
+
/>
|
|
612
|
+
<Box textAlign='left'>
|
|
613
|
+
Launch Mini Loader
|
|
614
|
+
</Box>
|
|
615
|
+
</Row.Center>
|
|
616
|
+
</Button>
|
|
617
|
+
</Row.Left>
|
|
618
|
+
<Row.Left>
|
|
619
|
+
<Button.Border ssEffectsOnActive={ 'shrink' }>
|
|
620
|
+
Shrink
|
|
621
|
+
</Button.Border>
|
|
622
|
+
<Button.Border ssEffectsOnActive={ 'pudding' }>
|
|
623
|
+
Pudding
|
|
624
|
+
</Button.Border>
|
|
625
|
+
<Button.Border ssEffectsOnActive={ 'expand' }>
|
|
626
|
+
Expand
|
|
627
|
+
</Button.Border>
|
|
628
|
+
<Button.Border ssEffectsOnActive={ 'push' }>
|
|
629
|
+
Push
|
|
630
|
+
</Button.Border>
|
|
631
|
+
<Button.Border
|
|
632
|
+
children={ 'corner Loader' }
|
|
633
|
+
onClick={ () => {
|
|
634
|
+
Loader.fn.corner.active()
|
|
635
|
+
setTimeout( () => {
|
|
636
|
+
Loader.fn.corner.stop()
|
|
637
|
+
},3000 )
|
|
638
|
+
} }
|
|
639
|
+
/>
|
|
640
|
+
</Row.Left>
|
|
641
|
+
</Column>
|
|
642
|
+
</Box>
|
|
643
|
+
},
|
|
644
|
+
Tooltips: () => {
|
|
645
|
+
return <Box ssCardBox>
|
|
646
|
+
<Literal.SubTitle borderBottom padding={ 1 }>
|
|
647
|
+
Tooltips
|
|
648
|
+
</Literal.SubTitle>
|
|
649
|
+
<Column padding={ 2 }>
|
|
650
|
+
<Button
|
|
651
|
+
onContextMenu={ event => {
|
|
652
|
+
event.preventDefault()
|
|
653
|
+
Tooltips.open( {
|
|
654
|
+
tipsID: 'testTooltips',
|
|
655
|
+
event,
|
|
656
|
+
nextToCursor: true,
|
|
657
|
+
gravityPoint: 10,
|
|
658
|
+
closeAtParentBlur: false,
|
|
659
|
+
padding: 0,
|
|
660
|
+
freeCSS: {
|
|
661
|
+
minWidth: 12 * 16
|
|
662
|
+
},
|
|
663
|
+
content: <Column
|
|
664
|
+
ssCardBox
|
|
665
|
+
gap={ 0 }
|
|
666
|
+
borderRadius={ '3.tone.tertiary' }
|
|
667
|
+
padding={ '1/2' }
|
|
668
|
+
>
|
|
669
|
+
<Button.Clear.S color='cloud' fontColor='2.normal' textAlign='left'>
|
|
670
|
+
Button Label1
|
|
671
|
+
</Button.Clear.S>
|
|
672
|
+
<Button.Clear.S color='cloud' fontColor='2.normal' textAlign='left'>
|
|
673
|
+
Button Label2
|
|
674
|
+
</Button.Clear.S>
|
|
675
|
+
<Button.Clear.S color='cloud' fontColor='2.normal' textAlign='left'>
|
|
676
|
+
Button Label3
|
|
677
|
+
</Button.Clear.S>
|
|
678
|
+
<Button.Clear.S color='cloud' fontColor='2.normal' textAlign='left'>
|
|
679
|
+
Button Label4
|
|
680
|
+
</Button.Clear.S>
|
|
681
|
+
<Button.Clear.S color='cloud' fontColor='2.normal' textAlign='left'>
|
|
682
|
+
Button Label5
|
|
683
|
+
</Button.Clear.S>
|
|
684
|
+
</Column>
|
|
685
|
+
} )
|
|
686
|
+
} }
|
|
687
|
+
>
|
|
688
|
+
OpenTooltips next to cursor
|
|
689
|
+
<br />
|
|
690
|
+
( onContextMenu )
|
|
691
|
+
</Button>
|
|
692
|
+
<Grid gridCols={ 5 } gap={ 1 }>
|
|
693
|
+
{
|
|
694
|
+
Array.from( { length: 25 } ).map( ( a,index ) => {
|
|
695
|
+
return <Button.Border
|
|
696
|
+
key={ index }
|
|
697
|
+
onMouseOver={ event => {
|
|
698
|
+
Tooltips.open( {
|
|
699
|
+
tipsID: 'tips-' + ( index + 1 ),
|
|
700
|
+
event,
|
|
701
|
+
gravityPoint: index + 1,
|
|
702
|
+
closeAtParentBlur: false,
|
|
703
|
+
padding: 0,
|
|
704
|
+
content: <Tooltips.Body
|
|
705
|
+
key={ index }
|
|
706
|
+
>
|
|
707
|
+
{ ( index + 1 ).zeroEmbed( 2 ) }
|
|
708
|
+
</Tooltips.Body>
|
|
709
|
+
} )
|
|
710
|
+
} }
|
|
711
|
+
>
|
|
712
|
+
{ index + 1 }
|
|
713
|
+
</Button.Border>
|
|
714
|
+
} )
|
|
715
|
+
}
|
|
716
|
+
</Grid>
|
|
717
|
+
</Column>
|
|
718
|
+
</Box >
|
|
719
|
+
},
|
|
720
|
+
Snackbar: () => {
|
|
721
|
+
return <Box ssCardBox>
|
|
722
|
+
<Literal.SubTitle borderBottom padding={ 1 }>
|
|
723
|
+
Snackbars
|
|
724
|
+
</Literal.SubTitle>
|
|
725
|
+
<Row.Center padding={ 2 }>
|
|
726
|
+
<Button
|
|
727
|
+
onClick={ () => {
|
|
728
|
+
Snackbar.add( {
|
|
729
|
+
secondsToClose: 3,
|
|
730
|
+
// snackID: 'testSnackID0',
|
|
731
|
+
children: 'hello World!!'
|
|
732
|
+
} )
|
|
733
|
+
} }
|
|
734
|
+
>
|
|
735
|
+
Add Normal Snackbar
|
|
736
|
+
</Button>
|
|
737
|
+
<Button
|
|
738
|
+
onClick={ () => {
|
|
739
|
+
Snackbar.add( {
|
|
740
|
+
snackID: 'testSnackID1',
|
|
741
|
+
secondsToClose: 30,
|
|
742
|
+
children: <Row.Separate
|
|
743
|
+
verticalAlign='baseline'
|
|
744
|
+
paddingLeft={ '2/3' }
|
|
745
|
+
>
|
|
746
|
+
予約時間が更新されました
|
|
747
|
+
<Button.Sub.S
|
|
748
|
+
color='white'
|
|
749
|
+
fontColor='posi'
|
|
750
|
+
>
|
|
751
|
+
元に戻す
|
|
752
|
+
</Button.Sub.S>
|
|
753
|
+
</Row.Separate>
|
|
754
|
+
} )
|
|
755
|
+
} }
|
|
756
|
+
>
|
|
757
|
+
Notices
|
|
758
|
+
</Button>
|
|
759
|
+
<Button
|
|
760
|
+
onClick={ () => {
|
|
761
|
+
let snackID = UUID()
|
|
762
|
+
Snackbar.add( {
|
|
763
|
+
snackID: snackID,
|
|
764
|
+
children: <Column>
|
|
765
|
+
<Row.Left verticalAlign='top'>
|
|
766
|
+
<Img
|
|
767
|
+
src={ Logo.Images.defaultIcon( 'user' ) }
|
|
768
|
+
ssSphere={ 4 }
|
|
769
|
+
/>
|
|
770
|
+
<Literal.Description>
|
|
771
|
+
{ `Some Text
|
|
772
|
+
Some Text
|
|
773
|
+
Some Text`}
|
|
774
|
+
</Literal.Description>
|
|
775
|
+
</Row.Left>
|
|
776
|
+
<Row.Separate>
|
|
777
|
+
<Button.Sub.S
|
|
778
|
+
color='white'
|
|
779
|
+
onClick={ () => {
|
|
780
|
+
Snackbar.remove( snackID )
|
|
781
|
+
} }
|
|
782
|
+
>
|
|
783
|
+
閉じる
|
|
784
|
+
</Button.Sub.S>
|
|
785
|
+
<Anchor.Prime.S
|
|
786
|
+
href=''
|
|
787
|
+
>
|
|
788
|
+
詳細
|
|
789
|
+
</Anchor.Prime.S>
|
|
790
|
+
</Row.Separate>
|
|
791
|
+
</Column>
|
|
792
|
+
} )
|
|
793
|
+
} }
|
|
794
|
+
>
|
|
795
|
+
Message
|
|
796
|
+
</Button>
|
|
797
|
+
</Row.Center>
|
|
798
|
+
</Box>
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
const Buttons = {
|
|
802
|
+
index: () => {
|
|
803
|
+
return <>
|
|
804
|
+
<Buttons.Types />
|
|
805
|
+
<Buttons.Tone />
|
|
806
|
+
</>
|
|
807
|
+
},
|
|
808
|
+
Tone: () => {
|
|
809
|
+
return <Box ssCardBox>
|
|
810
|
+
<Literal.SubTitle borderBottom padding={ 1 }>
|
|
811
|
+
Tone
|
|
812
|
+
</Literal.SubTitle>
|
|
813
|
+
<Box padding={ 1 } overflow={ 'auto' }>
|
|
814
|
+
<Grid gridCols={ 2 } gap={ 2 }>
|
|
815
|
+
<Box>
|
|
816
|
+
<Box padding={ 1 } isBoldFont fontSize='3.paragraph'>
|
|
817
|
+
・Prime
|
|
818
|
+
</Box>
|
|
819
|
+
<Grid gridCols={ 3 } padding={ 1 } gap={ 1 }>
|
|
820
|
+
<Button
|
|
821
|
+
color='theme'
|
|
822
|
+
children={ 'theme' }
|
|
823
|
+
/>
|
|
824
|
+
<Button
|
|
825
|
+
backgroundColor='coffee'
|
|
826
|
+
children={ 'posi' }
|
|
827
|
+
/>
|
|
828
|
+
<Button
|
|
829
|
+
backgroundColor='ninja'
|
|
830
|
+
children={ 'nega' }
|
|
831
|
+
/>
|
|
832
|
+
<Button
|
|
833
|
+
backgroundColor='droplet'
|
|
834
|
+
children={ 'warn' }
|
|
835
|
+
/>
|
|
836
|
+
<Button
|
|
837
|
+
backgroundColor='googleBlue'
|
|
838
|
+
children={ 'mono' }
|
|
839
|
+
/>
|
|
840
|
+
<Button
|
|
841
|
+
backgroundColor='poizon'
|
|
842
|
+
>
|
|
843
|
+
pozion
|
|
844
|
+
</Button>
|
|
845
|
+
</Grid>
|
|
846
|
+
</Box>
|
|
847
|
+
<Box>
|
|
848
|
+
<Box padding={ 1 } isBoldFont fontSize='3.paragraph'>
|
|
849
|
+
・Sub
|
|
850
|
+
</Box>
|
|
851
|
+
<Grid gridCols={ 3 } gap={ 1 } padding={ 1 }>
|
|
852
|
+
<Button.Sub
|
|
853
|
+
color='theme'
|
|
854
|
+
children={ 'theme' }
|
|
855
|
+
/>
|
|
856
|
+
<Button.Sub
|
|
857
|
+
color='posi'
|
|
858
|
+
children={ 'posi' }
|
|
859
|
+
/>
|
|
860
|
+
<Button.Sub
|
|
861
|
+
color='nega'
|
|
862
|
+
children={ 'nega' }
|
|
863
|
+
/>
|
|
864
|
+
<Button.Sub
|
|
865
|
+
color='warn'
|
|
866
|
+
children={ 'warn' }
|
|
867
|
+
/>
|
|
868
|
+
<Button.Sub
|
|
869
|
+
color='cloud'
|
|
870
|
+
children={ 'cloud' }
|
|
871
|
+
/>
|
|
872
|
+
</Grid>
|
|
873
|
+
<Grid gridCols={ 3 } gap={ 1 } padding={ 1 } ssCardBox backgroundColor='dark'>
|
|
874
|
+
<Button.Sub
|
|
875
|
+
color='white'
|
|
876
|
+
children={ 'white' }
|
|
877
|
+
/>
|
|
878
|
+
<Button.Sub
|
|
879
|
+
color='cloud'
|
|
880
|
+
children={ 'cloud' }
|
|
881
|
+
/>
|
|
882
|
+
</Grid>
|
|
883
|
+
</Box>
|
|
884
|
+
<Box>
|
|
885
|
+
<Box padding={ 1 } isBoldFont fontSize='3.paragraph'>
|
|
886
|
+
・Clear
|
|
887
|
+
</Box>
|
|
888
|
+
<Grid gridCols={ 3 } gap={ 1 } padding={ 1 }>
|
|
889
|
+
<Button.Clear
|
|
890
|
+
color='theme'
|
|
891
|
+
children={ 'theme' }
|
|
892
|
+
/>
|
|
893
|
+
<Button.Clear
|
|
894
|
+
color='posi'
|
|
895
|
+
children={ 'posi' }
|
|
896
|
+
/>
|
|
897
|
+
<Button.Clear
|
|
898
|
+
color='nega'
|
|
899
|
+
children={ 'nega' }
|
|
900
|
+
/>
|
|
901
|
+
<Button.Clear
|
|
902
|
+
color='warn'
|
|
903
|
+
children={ 'warn' }
|
|
904
|
+
/>
|
|
905
|
+
<Button.Clear
|
|
906
|
+
color='cloud'
|
|
907
|
+
children={ 'cloud' }
|
|
908
|
+
/>
|
|
909
|
+
</Grid>
|
|
910
|
+
<Grid gridCols={ 3 } gap={ 1 } padding={ 1 } ssCardBox backgroundColor='dark'>
|
|
911
|
+
<Button.Clear
|
|
912
|
+
color='white'
|
|
913
|
+
children={ 'white' }
|
|
914
|
+
/>
|
|
915
|
+
<Button.Clear
|
|
916
|
+
color='cloud'
|
|
917
|
+
children={ 'cloud' }
|
|
918
|
+
/>
|
|
919
|
+
</Grid>
|
|
920
|
+
</Box>
|
|
921
|
+
<Box>
|
|
922
|
+
<Box padding={ 1 } isBoldFont fontSize='3.paragraph'>
|
|
923
|
+
・FillToBorder
|
|
924
|
+
</Box>
|
|
925
|
+
<Grid gridCols={ 3 } gap={ 1 } padding={ 1 }>
|
|
926
|
+
<Button.FillToBorder
|
|
927
|
+
color='theme'
|
|
928
|
+
children={ 'theme' }
|
|
929
|
+
/>
|
|
930
|
+
<Button.FillToBorder
|
|
931
|
+
color='posi'
|
|
932
|
+
children={ 'posi' }
|
|
933
|
+
/>
|
|
934
|
+
<Button.FillToBorder
|
|
935
|
+
color='nega'
|
|
936
|
+
children={ 'nega' }
|
|
937
|
+
/>
|
|
938
|
+
<Button.FillToBorder
|
|
939
|
+
color='warn'
|
|
940
|
+
children={ 'warn' }
|
|
941
|
+
/>
|
|
942
|
+
</Grid>
|
|
943
|
+
<Grid gridCols={ 3 } gap={ 1 } padding={ 1 } ssCardBox backgroundColor='dark'>
|
|
944
|
+
<Button.FillToBorder
|
|
945
|
+
color='white'
|
|
946
|
+
children={ 'white' }
|
|
947
|
+
/>
|
|
948
|
+
<Button.FillToBorder
|
|
949
|
+
color='cloud'
|
|
950
|
+
children={ 'cloud' }
|
|
951
|
+
/>
|
|
952
|
+
</Grid>
|
|
953
|
+
</Box>
|
|
954
|
+
<Box>
|
|
955
|
+
<Box padding={ 1 } isBoldFont fontSize='3.paragraph'>
|
|
956
|
+
・BorderToFill
|
|
957
|
+
</Box>
|
|
958
|
+
<Grid gridCols={ 3 } gap={ 1 } padding={ 1 }>
|
|
959
|
+
<Button.BorderToFill
|
|
960
|
+
color='theme'
|
|
961
|
+
fontColor='nega'
|
|
962
|
+
>
|
|
963
|
+
<Box>
|
|
964
|
+
theme
|
|
965
|
+
</Box>
|
|
966
|
+
</Button.BorderToFill>
|
|
967
|
+
<Button.BorderToFill
|
|
968
|
+
color='posi'
|
|
969
|
+
>
|
|
970
|
+
posi
|
|
971
|
+
</Button.BorderToFill>
|
|
972
|
+
<Button.BorderToFill
|
|
973
|
+
color='nega'
|
|
974
|
+
>
|
|
975
|
+
nega
|
|
976
|
+
</Button.BorderToFill>
|
|
977
|
+
<Button.BorderToFill
|
|
978
|
+
color='warn'
|
|
979
|
+
>
|
|
980
|
+
warn
|
|
981
|
+
</Button.BorderToFill>
|
|
982
|
+
</Grid>
|
|
983
|
+
<Grid gridCols={ 3 } gap={ 1 } padding={ 1 } ssCardBox backgroundColor='dark'>
|
|
984
|
+
<Button.BorderToFill
|
|
985
|
+
color='white'
|
|
986
|
+
children={ 'white' }
|
|
987
|
+
/>
|
|
988
|
+
<Button.BorderToFill
|
|
989
|
+
color='cloud'
|
|
990
|
+
children={ 'cloud' }
|
|
991
|
+
/>
|
|
992
|
+
</Grid>
|
|
993
|
+
</Box>
|
|
994
|
+
<Box>
|
|
995
|
+
<Box padding={ 1 } isBoldFont fontSize='3.paragraph'>
|
|
996
|
+
・Others
|
|
997
|
+
</Box>
|
|
998
|
+
<Grid gridCols={ 3 } gap={ 1 } padding={ 1 }>
|
|
999
|
+
<Button.Border
|
|
1000
|
+
children={ 'Border' }
|
|
1001
|
+
/>
|
|
27
1002
|
|
|
28
|
-
|
|
1003
|
+
<Button.Normal
|
|
1004
|
+
children={ 'Normal' }
|
|
1005
|
+
/>
|
|
29
1006
|
|
|
1007
|
+
<Button.Link
|
|
1008
|
+
children={ 'Link' }
|
|
1009
|
+
/>
|
|
1010
|
+
<Button.Plain
|
|
1011
|
+
children={ 'Plain' }
|
|
1012
|
+
/>
|
|
1013
|
+
</Grid>
|
|
1014
|
+
</Box>
|
|
1015
|
+
</Grid>
|
|
1016
|
+
</Box>
|
|
1017
|
+
</Box>
|
|
1018
|
+
},
|
|
1019
|
+
Types: () => {
|
|
1020
|
+
return <Flex gap={ 2 } flexChilds='auto'>
|
|
1021
|
+
<Box ssCardBox>
|
|
1022
|
+
<Literal.ThirdTitle borderBottom padding={ 1 }>
|
|
1023
|
+
・Button
|
|
1024
|
+
</Literal.ThirdTitle>
|
|
1025
|
+
<Box padding={ 1 } overflow={ 'auto' }>
|
|
1026
|
+
<List
|
|
1027
|
+
items={ [
|
|
1028
|
+
<>
|
|
1029
|
+
<Button.Prime>
|
|
1030
|
+
Button.Prime
|
|
1031
|
+
</Button.Prime>
|
|
1032
|
+
</>,<>
|
|
1033
|
+
<Button.Sub>
|
|
1034
|
+
Button.Sub
|
|
1035
|
+
</Button.Sub>
|
|
1036
|
+
</>,<>
|
|
1037
|
+
<Button.Border>
|
|
1038
|
+
Button.Border
|
|
1039
|
+
</Button.Border>
|
|
1040
|
+
</>
|
|
1041
|
+
] }
|
|
1042
|
+
/>
|
|
1043
|
+
</Box>
|
|
1044
|
+
</Box>
|
|
1045
|
+
<Box ssCardBox>
|
|
1046
|
+
<Literal.ThirdTitle borderBottom padding={ 1 }>
|
|
1047
|
+
・Label
|
|
1048
|
+
</Literal.ThirdTitle>
|
|
1049
|
+
<Box padding={ 1 } overflow={ 'auto' }>
|
|
1050
|
+
<List
|
|
1051
|
+
ListChildCallback={ ( { children } ) => {
|
|
1052
|
+
return <Column
|
|
1053
|
+
gap={ '1/3' }
|
|
1054
|
+
padding={ [ 1,0 ] }
|
|
1055
|
+
horizontalAlign='between'
|
|
1056
|
+
borderBottom='2.normal'
|
|
1057
|
+
>
|
|
1058
|
+
{ children }
|
|
1059
|
+
</Column>
|
|
1060
|
+
} }
|
|
1061
|
+
items={ [
|
|
1062
|
+
<>
|
|
1063
|
+
Label.Prime
|
|
1064
|
+
<Label.Prime>
|
|
1065
|
+
Label.Prime
|
|
1066
|
+
</Label.Prime>
|
|
1067
|
+
</>,<>
|
|
1068
|
+
Label.Sub
|
|
1069
|
+
<Label.Sub>
|
|
1070
|
+
Label.Sub
|
|
1071
|
+
</Label.Sub>
|
|
1072
|
+
</>,<>
|
|
1073
|
+
Label.Border
|
|
1074
|
+
<Label.Border>
|
|
1075
|
+
Label.Border
|
|
1076
|
+
</Label.Border>
|
|
1077
|
+
</>
|
|
1078
|
+
] }
|
|
1079
|
+
/>
|
|
1080
|
+
</Box>
|
|
1081
|
+
</Box>
|
|
1082
|
+
<Box ssCardBox>
|
|
1083
|
+
<Literal.ThirdTitle borderBottom padding={ 1 }>
|
|
1084
|
+
・Anchor
|
|
1085
|
+
</Literal.ThirdTitle>
|
|
1086
|
+
<Box padding={ 1 } overflow={ 'auto' }>
|
|
1087
|
+
<List
|
|
1088
|
+
ListChildCallback={ ( { children } ) => {
|
|
1089
|
+
return <Column
|
|
1090
|
+
gap={ '1/3' }
|
|
1091
|
+
padding={ [ 1,0 ] }
|
|
1092
|
+
horizontalAlign='between'
|
|
1093
|
+
borderBottom='2.normal'
|
|
1094
|
+
>
|
|
1095
|
+
{ children }
|
|
1096
|
+
</Column>
|
|
1097
|
+
} }
|
|
1098
|
+
items={ [
|
|
1099
|
+
<>
|
|
1100
|
+
Button.Anchor.Prime
|
|
1101
|
+
<Anchor.Prime
|
|
1102
|
+
href=""
|
|
1103
|
+
>
|
|
1104
|
+
Anchor.Prime
|
|
1105
|
+
</Anchor.Prime>
|
|
1106
|
+
</>,<>
|
|
1107
|
+
Button.Anchor.Sub
|
|
1108
|
+
<Anchor.Sub
|
|
1109
|
+
href=""
|
|
1110
|
+
>
|
|
1111
|
+
Anchor.Sub
|
|
1112
|
+
</Anchor.Sub>
|
|
1113
|
+
</>,<>
|
|
1114
|
+
Button.Anchor.Border
|
|
1115
|
+
<Anchor.Border
|
|
1116
|
+
href=""
|
|
1117
|
+
>
|
|
1118
|
+
Anchor.Border
|
|
1119
|
+
</Anchor.Border>
|
|
1120
|
+
</>
|
|
1121
|
+
] }
|
|
1122
|
+
/>
|
|
1123
|
+
</Box>
|
|
1124
|
+
</Box>
|
|
1125
|
+
<Box ssCardBox>
|
|
1126
|
+
<Literal.ThirdTitle borderBottom padding={ 1 }>
|
|
1127
|
+
・Sizes
|
|
1128
|
+
</Literal.ThirdTitle>
|
|
1129
|
+
<Column padding={ 2 } gap={ 2 }>
|
|
1130
|
+
<Row.Left>
|
|
1131
|
+
<Button.Prime.XS>size="XS"</Button.Prime.XS>
|
|
1132
|
+
</Row.Left>
|
|
1133
|
+
<Row.Left>
|
|
1134
|
+
<Button.Prime.S>size="S"</Button.Prime.S>
|
|
1135
|
+
</Row.Left>
|
|
1136
|
+
<Row.Left>
|
|
1137
|
+
<Button.Prime>size="R"</Button.Prime>
|
|
1138
|
+
</Row.Left>
|
|
1139
|
+
<Row.Left>
|
|
1140
|
+
<Button.Prime.L>size="L"</Button.Prime.L>
|
|
1141
|
+
</Row.Left>
|
|
1142
|
+
</Column>
|
|
1143
|
+
</Box>
|
|
1144
|
+
</Flex>
|
|
1145
|
+
},
|
|
30
1146
|
}
|
|
1147
|
+
const Shadows = {
|
|
1148
|
+
index: () => {
|
|
1149
|
+
let Cell = ( p: Box.DefaultInput ) => {
|
|
1150
|
+
return <Box
|
|
1151
|
+
flexCenter
|
|
1152
|
+
ssCardBox={ 'plain' }
|
|
1153
|
+
textAlign={ 'center' }
|
|
1154
|
+
padding={ 2 }
|
|
1155
|
+
{ ...p }
|
|
1156
|
+
/>
|
|
1157
|
+
}
|
|
1158
|
+
return <Column gap={ 4 }>
|
|
1159
|
+
<Column>
|
|
1160
|
+
<Literal.Paragraph>
|
|
1161
|
+
Shadows
|
|
1162
|
+
</Literal.Paragraph>
|
|
1163
|
+
<Grid gap={ 2 } gridCols={ 4 }>
|
|
1164
|
+
<Cell boxShadow='0.min'>0.min</Cell>
|
|
1165
|
+
<Cell boxShadow='0.normal'>0.normal</Cell>
|
|
1166
|
+
<Cell boxShadow='0.remark'>0.remark</Cell>
|
|
1167
|
+
<Cell boxShadow='0.max'>0.max</Cell>
|
|
31
1168
|
|
|
32
|
-
|
|
1169
|
+
<Cell boxShadow='1.min'>1.min</Cell>
|
|
1170
|
+
<Cell boxShadow='1.normal'>1.normal</Cell>
|
|
1171
|
+
<Cell boxShadow='1.remark'>1.remark</Cell>
|
|
1172
|
+
<Cell boxShadow='1.max'>1.max</Cell>
|
|
33
1173
|
|
|
1174
|
+
<Cell boxShadow='2.min'>2.min</Cell>
|
|
1175
|
+
<Cell boxShadow='2.normal'>2.normal</Cell>
|
|
1176
|
+
<Cell boxShadow='2.remark'>2.remark</Cell>
|
|
1177
|
+
<Cell boxShadow='2.max'>2.max</Cell>
|
|
34
1178
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
1179
|
+
<Cell boxShadow='3.min'>3.min</Cell>
|
|
1180
|
+
<Cell boxShadow='3.normal'>3.normal</Cell>
|
|
1181
|
+
<Cell boxShadow='3.remark'>3.remark</Cell>
|
|
1182
|
+
<Cell boxShadow='3.max'>3.max</Cell>
|
|
38
1183
|
|
|
39
|
-
|
|
40
|
-
|
|
1184
|
+
<Cell boxShadow='4.min'>4.min</Cell>
|
|
1185
|
+
<Cell boxShadow='4.normal'>4.normal</Cell>
|
|
1186
|
+
<Cell boxShadow='4.remark'>4.remark</Cell>
|
|
1187
|
+
<Cell boxShadow='4.max'>4.max</Cell>
|
|
1188
|
+
|
|
1189
|
+
<Cell boxShadow='5.min'>5.min</Cell>
|
|
1190
|
+
<Cell boxShadow='5.normal'>5.normal</Cell>
|
|
1191
|
+
<Cell boxShadow='5.remark'>5.remark</Cell>
|
|
1192
|
+
<Cell boxShadow='5.max'>5.max</Cell>
|
|
1193
|
+
</Grid>
|
|
1194
|
+
</Column>
|
|
1195
|
+
<Column>
|
|
1196
|
+
<Literal.Paragraph>
|
|
1197
|
+
Inset Shadows
|
|
1198
|
+
</Literal.Paragraph>
|
|
1199
|
+
<Grid gap={ 2 } gridCols={ 4 }>
|
|
1200
|
+
<Cell boxShadow='0.min.inset'>0.min.inset</Cell>
|
|
1201
|
+
<Cell boxShadow='0.normal.inset'>0.normal.inset</Cell>
|
|
1202
|
+
<Cell boxShadow='0.remark.inset'>0.remark.inset</Cell>
|
|
1203
|
+
<Cell boxShadow='0.max.inset'>0.max.inset</Cell>
|
|
1204
|
+
|
|
1205
|
+
<Cell boxShadow='1.min.inset'>1.min.inset</Cell>
|
|
1206
|
+
<Cell boxShadow='1.normal.inset'>1.normal.inset</Cell>
|
|
1207
|
+
<Cell boxShadow='1.remark.inset'>1.remark.inset</Cell>
|
|
1208
|
+
<Cell boxShadow='1.max.inset'>1.max.inset</Cell>
|
|
1209
|
+
|
|
1210
|
+
<Cell boxShadow='2.min.inset'>2.min.inset</Cell>
|
|
1211
|
+
<Cell boxShadow='2.normal.inset'>2.normal.inset</Cell>
|
|
1212
|
+
<Cell boxShadow='2.remark.inset'>2.remark.inset</Cell>
|
|
1213
|
+
<Cell boxShadow='2.max.inset'>2.max.inset</Cell>
|
|
1214
|
+
|
|
1215
|
+
<Cell boxShadow='3.min.inset'>3.min.inset</Cell>
|
|
1216
|
+
<Cell boxShadow='3.normal.inset'>3.normal.inset</Cell>
|
|
1217
|
+
<Cell boxShadow='3.remark.inset'>3.remark.inset</Cell>
|
|
1218
|
+
<Cell boxShadow='3.max.inset'>3.max.inset</Cell>
|
|
1219
|
+
</Grid>
|
|
1220
|
+
</Column>
|
|
1221
|
+
</Column>
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
const Inputs = () => {
|
|
1225
|
+
const InputComps = {
|
|
1226
|
+
Basic: () => {
|
|
1227
|
+
return <Box ssCardBox>
|
|
1228
|
+
<Literal.Paragraph borderBottom padding={ 1 }>
|
|
1229
|
+
TextInput
|
|
1230
|
+
</Literal.Paragraph>
|
|
1231
|
+
<Column
|
|
1232
|
+
padding={ 1 }
|
|
1233
|
+
gap={ 2 }
|
|
1234
|
+
>
|
|
1235
|
+
<Row.Separate
|
|
1236
|
+
marginBottom={ 2 }
|
|
1237
|
+
>
|
|
1238
|
+
<Literal.Description>
|
|
1239
|
+
{
|
|
1240
|
+
`<Input.Text
|
|
1241
|
+
required
|
|
1242
|
+
value={ 'hello React!!' }
|
|
1243
|
+
/>`
|
|
1244
|
+
}
|
|
1245
|
+
</Literal.Description>
|
|
1246
|
+
<Input.TextField
|
|
1247
|
+
tone='cloud'
|
|
1248
|
+
name='textfield'
|
|
1249
|
+
label='testInputLabel'
|
|
1250
|
+
placeholder='testInputPlaceholder'
|
|
1251
|
+
isLabelActive
|
|
1252
|
+
required
|
|
1253
|
+
value={ 'helloReact' }
|
|
1254
|
+
/>
|
|
1255
|
+
</Row.Separate>
|
|
1256
|
+
<Input.TextField.Email
|
|
1257
|
+
label='Input.TextField.Email'
|
|
1258
|
+
name='textfield.email'
|
|
1259
|
+
autoComplete="off"
|
|
1260
|
+
value={ 'test@gmail.com' }
|
|
1261
|
+
/>
|
|
1262
|
+
<Input.TextField.Number
|
|
1263
|
+
label='Input.TextField.Number'
|
|
1264
|
+
value={ 324 }
|
|
1265
|
+
onUpdateValidValue={ value => {
|
|
1266
|
+
console.log( value )
|
|
1267
|
+
} }
|
|
1268
|
+
/>
|
|
1269
|
+
<Input.TextField
|
|
1270
|
+
label='Input.TextField (number.zeroStart)'
|
|
1271
|
+
name='textfield.zeroStart'
|
|
1272
|
+
allowZeroStart
|
|
1273
|
+
allowDecimals
|
|
1274
|
+
value={ '0324' }
|
|
1275
|
+
/>
|
|
1276
|
+
<Box>
|
|
1277
|
+
Input.DigitCharacters
|
|
1278
|
+
<Input.DigitCharacters
|
|
1279
|
+
numericOnly
|
|
1280
|
+
value={ '032421' }
|
|
1281
|
+
name='digitCharacters'
|
|
1282
|
+
digits={ 6 }
|
|
1283
|
+
onUpdateValidValue={ value => {
|
|
1284
|
+
console.log( value )
|
|
1285
|
+
} }
|
|
1286
|
+
/>
|
|
1287
|
+
</Box>
|
|
1288
|
+
<Input.TextField.Tel
|
|
1289
|
+
label='Input.TextField.Tel'
|
|
1290
|
+
name='textfield.tel'
|
|
1291
|
+
value={ '080-6995-2229' }
|
|
1292
|
+
/>
|
|
1293
|
+
<Input.TextField.Money.JPY
|
|
1294
|
+
value={ '3000' }
|
|
1295
|
+
label='Input.TextField.Money.JPY'
|
|
1296
|
+
name='textfield.money'
|
|
1297
|
+
/>
|
|
1298
|
+
<Input.TextField.Url
|
|
1299
|
+
label='Input.TextField.Url'
|
|
1300
|
+
value={ 'http://google.com' }
|
|
1301
|
+
name='textfield.url'
|
|
1302
|
+
/>
|
|
1303
|
+
<Box>
|
|
1304
|
+
<Input.TextField.Postal
|
|
1305
|
+
label='Input.TextField.Postal'
|
|
1306
|
+
name='textfield.postal'
|
|
1307
|
+
override="force"
|
|
1308
|
+
rightIcon={ <Input.RightIcon freeCSS={ { pointerEvents: 'all' } }>
|
|
1309
|
+
<Button.Sub.S
|
|
1310
|
+
borderRadius={ '3.tone.tertiary' }
|
|
1311
|
+
ssSphere={ 2 }
|
|
1312
|
+
onClick={ async () => {
|
|
1313
|
+
} }
|
|
1314
|
+
onMouseOver={ event => {
|
|
1315
|
+
Tips.open( event.currentTarget,'現在地を取得' )
|
|
1316
|
+
} }
|
|
1317
|
+
onMouseLeave={ () => { Tips.abort() } }
|
|
1318
|
+
>
|
|
1319
|
+
<FAI.Location />
|
|
1320
|
+
</Button.Sub.S>
|
|
1321
|
+
</Input.RightIcon> }
|
|
1322
|
+
/>
|
|
1323
|
+
<Box
|
|
1324
|
+
id="postalResult"
|
|
1325
|
+
padding={ 1 }
|
|
1326
|
+
textAlign='left'
|
|
1327
|
+
/>
|
|
1328
|
+
</Box>
|
|
1329
|
+
<Input.TextField.Password
|
|
1330
|
+
label='Input.TextField.Password'
|
|
1331
|
+
name='textfield.password'
|
|
1332
|
+
value={ 'onigiriUmai123' }
|
|
1333
|
+
/>
|
|
1334
|
+
<Input.TextField
|
|
1335
|
+
label='Input.TextField (multiline)'
|
|
1336
|
+
name='textfield.multiline'
|
|
1337
|
+
multiline
|
|
1338
|
+
autoHeight={ false }
|
|
1339
|
+
value={ `text1
|
|
1340
|
+
text2
|
|
1341
|
+
text3
|
|
1342
|
+
text4
|
|
1343
|
+
text5`}
|
|
1344
|
+
minRows={ 5 }
|
|
1345
|
+
/>
|
|
1346
|
+
<Input.TextField
|
|
1347
|
+
label='Input.TextField'
|
|
1348
|
+
name='textfield.autoHeight'
|
|
1349
|
+
isLabelActive
|
|
1350
|
+
placeholder='(autoHeight) (multiline)'
|
|
1351
|
+
multiline
|
|
1352
|
+
autoHeight
|
|
1353
|
+
value={ '' }
|
|
1354
|
+
freeCSS={ {
|
|
1355
|
+
minHeight: 12 * 6
|
|
1356
|
+
} }
|
|
1357
|
+
onUpdateValidValue={ ( args ) => {
|
|
1358
|
+
console.log( args )
|
|
1359
|
+
} }
|
|
1360
|
+
/>
|
|
1361
|
+
|
|
1362
|
+
<Input.TextField
|
|
1363
|
+
label='Input.LeftIndicator'
|
|
1364
|
+
leftIndicator={ <Input.LeftIndicator>
|
|
1365
|
+
Left Indicator
|
|
1366
|
+
</Input.LeftIndicator> }
|
|
1367
|
+
/>
|
|
1368
|
+
<Input.TextField
|
|
1369
|
+
label='Input.LeftIcon'
|
|
1370
|
+
paddingLeft={ 6 }
|
|
1371
|
+
leftIcon={ <Input.LeftIcon ssSquare={ void 0 } freeCSS={ { pointerEvents: 'all' } }>
|
|
1372
|
+
<Button.Sub.S padding={ [ '1/3','1/2' ] }>
|
|
1373
|
+
Left Icon
|
|
1374
|
+
</Button.Sub.S>
|
|
1375
|
+
</Input.LeftIcon> }
|
|
1376
|
+
/>
|
|
1377
|
+
<Input.TextField
|
|
1378
|
+
label='Input.RightIcon'
|
|
1379
|
+
paddingRight={ 6 }
|
|
1380
|
+
rightIcon={ <Input.RightIcon ssSquare={ void 0 } freeCSS={ { pointerEvents: 'all' } }>
|
|
1381
|
+
<Button.Sub.S padding={ [ '1/3','1/2' ] }>
|
|
1382
|
+
Right Icon
|
|
1383
|
+
</Button.Sub.S>
|
|
1384
|
+
</Input.RightIcon> }
|
|
1385
|
+
/>
|
|
1386
|
+
<Input.TextField
|
|
1387
|
+
label='Input.RightIndicator'
|
|
1388
|
+
rightIndicator={ <Input.RightIndicator>
|
|
1389
|
+
Right Indicator
|
|
1390
|
+
</Input.RightIndicator> }
|
|
1391
|
+
/>
|
|
1392
|
+
</Column>
|
|
1393
|
+
</Box>
|
|
1394
|
+
},
|
|
1395
|
+
Time: () => ( <>
|
|
1396
|
+
<Box ssCardBox>
|
|
1397
|
+
<Literal.Paragraph borderBottom padding={ 1 }>
|
|
1398
|
+
Time Input
|
|
1399
|
+
</Literal.Paragraph>
|
|
1400
|
+
<Box
|
|
1401
|
+
padding={ 1 }
|
|
1402
|
+
>
|
|
1403
|
+
<Column gap={ 1.5 }>
|
|
1404
|
+
<Input.Time.Clock
|
|
1405
|
+
label='Input.Time.Clock'
|
|
1406
|
+
name='time.clock'
|
|
1407
|
+
/>
|
|
1408
|
+
<Input.Time.Date
|
|
1409
|
+
label='Input.Time.Date'
|
|
1410
|
+
name='time.date'
|
|
1411
|
+
/>
|
|
1412
|
+
<Input.Time.Week
|
|
1413
|
+
label='Input.Time.Week'
|
|
1414
|
+
name='time.week'
|
|
1415
|
+
/>
|
|
1416
|
+
<Input.Time.Month
|
|
1417
|
+
label='Input.Time.Month'
|
|
1418
|
+
name='time.month'
|
|
1419
|
+
/>
|
|
1420
|
+
<Input.Time.Year
|
|
1421
|
+
label='Input.Time.Year'
|
|
1422
|
+
name='time.year'
|
|
1423
|
+
/>
|
|
1424
|
+
<Input.Time.Periods.Date
|
|
1425
|
+
label='Input.Time.Periods.Date'
|
|
1426
|
+
name='time.periods.date'
|
|
1427
|
+
/>
|
|
1428
|
+
<Input.Time.Periods.Month
|
|
1429
|
+
label='Input.Time.Periods.Month'
|
|
1430
|
+
name='time.periods.month'
|
|
1431
|
+
/>
|
|
1432
|
+
<Input.Time.DateWareki
|
|
1433
|
+
label='Input.Time.DateWareki'
|
|
1434
|
+
name='time.dateWareki'
|
|
1435
|
+
defaultEra="year"
|
|
1436
|
+
/>
|
|
1437
|
+
<Box>
|
|
1438
|
+
<Input.Select
|
|
1439
|
+
label='Input.TimePicker'
|
|
1440
|
+
id="timePicker"
|
|
1441
|
+
options={ [
|
|
1442
|
+
{ value: 'clock',label: 'clock' },
|
|
1443
|
+
{ value: 'date',label: 'date' },
|
|
1444
|
+
{ value: 'week',label: 'week' },
|
|
1445
|
+
{ value: 'month',label: 'month' },
|
|
1446
|
+
{ value: 'year',label: 'year' },
|
|
1447
|
+
{ value: 'dates',label: 'dates' },
|
|
1448
|
+
{ value: 'months',label: 'months' },
|
|
1449
|
+
{ value: 'dateWareki',label: 'dateWareki' },
|
|
1450
|
+
] }
|
|
1451
|
+
onUpdateValidValue={ value => {
|
|
1452
|
+
Input.Time.fn.picker.launch( {
|
|
1453
|
+
parent: '#timePicker',
|
|
1454
|
+
restrict: value as any,
|
|
1455
|
+
defaultValue: '',
|
|
1456
|
+
onValueUpdate: ( value ) => {
|
|
1457
|
+
console.log( value )
|
|
1458
|
+
}
|
|
1459
|
+
} )
|
|
1460
|
+
} }
|
|
1461
|
+
/>
|
|
1462
|
+
</Box>
|
|
1463
|
+
</Column>
|
|
1464
|
+
</Box>
|
|
1465
|
+
</Box>
|
|
1466
|
+
</> ),
|
|
1467
|
+
List: () => ( <>
|
|
1468
|
+
<Box ssCardBox>
|
|
1469
|
+
<Literal.Paragraph borderBottom padding={ 1 }>
|
|
1470
|
+
Radio & Checkbox Input
|
|
1471
|
+
</Literal.Paragraph>
|
|
1472
|
+
<Box padding={ 1 }>
|
|
1473
|
+
<Column>
|
|
1474
|
+
<Flex gap={ 2 } flexChilds='auto'>
|
|
1475
|
+
<Box>
|
|
1476
|
+
Input.Checkbox
|
|
1477
|
+
<Input.Checkbox
|
|
1478
|
+
name='checkbox'
|
|
1479
|
+
value={ [ 2,'3' ] }
|
|
1480
|
+
min={ 2 }
|
|
1481
|
+
|
|
1482
|
+
options={ [
|
|
1483
|
+
{ value: '1',label: 'Option1' },
|
|
1484
|
+
{ value: '2',label: 'Option2' },
|
|
1485
|
+
{ value: '3',label: 'Option3' }
|
|
1486
|
+
] }
|
|
1487
|
+
/>
|
|
1488
|
+
</Box>
|
|
1489
|
+
<Box>
|
|
1490
|
+
Input.Radio
|
|
1491
|
+
<Input.Radio
|
|
1492
|
+
name='radio'
|
|
1493
|
+
value={ 1 }
|
|
1494
|
+
options={ [
|
|
1495
|
+
{ value: 1,label: 'Option1' },
|
|
1496
|
+
{ value: 2,label: 'Option2' },
|
|
1497
|
+
{ value: 3,label: 'Option3' },
|
|
1498
|
+
{ value: 4,label: 'Option4' },
|
|
1499
|
+
{ value: 5,label: 'Option5' },
|
|
1500
|
+
] }
|
|
1501
|
+
onUpdateValidValue={ value => {
|
|
1502
|
+
|
|
1503
|
+
} }
|
|
1504
|
+
/>
|
|
1505
|
+
</Box>
|
|
1506
|
+
<Box>
|
|
1507
|
+
CustomIcon
|
|
1508
|
+
<Input.Radio
|
|
1509
|
+
name='radio.CustomIcon'
|
|
1510
|
+
value={ [ 1 ] }
|
|
1511
|
+
options={ [
|
|
1512
|
+
{ value: 1,label: 'Option1' },
|
|
1513
|
+
{ value: 2,label: 'Option2' },
|
|
1514
|
+
{ value: 3,label: 'Option3' },
|
|
1515
|
+
] }
|
|
1516
|
+
CustomIcon={ ( p ) => {
|
|
1517
|
+
return <Button.Normal.S
|
|
1518
|
+
ssPushable
|
|
1519
|
+
color='cloud'
|
|
1520
|
+
tabIndex={ -1 }
|
|
1521
|
+
ssEffectsOnActive='ripple.cloud'
|
|
1522
|
+
// ssSphere={ 3 }
|
|
1523
|
+
isRounded
|
|
1524
|
+
fontSize='3.paragraph'
|
|
1525
|
+
fontColor={ p.isChecked ? 'theme' : '5.translucent' }
|
|
1526
|
+
onClick={ event => {
|
|
1527
|
+
event.preventDefault()
|
|
1528
|
+
event.stopPropagation()
|
|
1529
|
+
p.toggle()
|
|
1530
|
+
} }
|
|
1531
|
+
>
|
|
1532
|
+
<FAI.Heart /> 3
|
|
1533
|
+
</Button.Normal.S>
|
|
1534
|
+
} }
|
|
1535
|
+
/>
|
|
1536
|
+
</Box>
|
|
1537
|
+
<Box>
|
|
1538
|
+
<Input.Checkbox.Border
|
|
1539
|
+
name='checkbox.normala'
|
|
1540
|
+
value={ [ 2,'3' ] }
|
|
1541
|
+
flexType='col'
|
|
1542
|
+
iconPosition='right'
|
|
1543
|
+
hideInput
|
|
1544
|
+
options={ [
|
|
1545
|
+
{
|
|
1546
|
+
value: '1',label: <Row.Separate flexSizing={ 0 }>
|
|
1547
|
+
Option1
|
|
1548
|
+
<Box padding={ 2 }>
|
|
1549
|
+
<FAI.Heart />
|
|
1550
|
+
</Box>
|
|
1551
|
+
</Row.Separate>
|
|
1552
|
+
},{
|
|
1553
|
+
value: '2',label: <Row.Separate>
|
|
1554
|
+
Option2
|
|
1555
|
+
<Box padding={ 2 }>
|
|
1556
|
+
<FAI.Heart />
|
|
1557
|
+
</Box>
|
|
1558
|
+
</Row.Separate>
|
|
1559
|
+
},{
|
|
1560
|
+
value: '3',label: <Row.Separate>
|
|
1561
|
+
Option3
|
|
1562
|
+
<Box padding={ 2 }>
|
|
1563
|
+
<FAI.Heart />
|
|
1564
|
+
</Box>
|
|
1565
|
+
</Row.Separate>
|
|
1566
|
+
}
|
|
1567
|
+
] }
|
|
1568
|
+
/>
|
|
1569
|
+
</Box>
|
|
1570
|
+
</Flex>
|
|
1571
|
+
<Column>
|
|
1572
|
+
<Literal.Paragraph>
|
|
1573
|
+
Tones
|
|
1574
|
+
</Literal.Paragraph>
|
|
1575
|
+
<Column>
|
|
1576
|
+
<Box>
|
|
1577
|
+
Plain
|
|
1578
|
+
<Input.Radio
|
|
1579
|
+
name='radio.plain'
|
|
1580
|
+
value={ [ 1 ] }
|
|
1581
|
+
gap={ 1 }
|
|
1582
|
+
options={ [
|
|
1583
|
+
{ value: 1,label: 'Option1' },
|
|
1584
|
+
{ value: 2,label: 'Option2' },
|
|
1585
|
+
{ value: 3,label: 'Option3' }
|
|
1586
|
+
] }
|
|
1587
|
+
/>
|
|
1588
|
+
</Box>
|
|
1589
|
+
<Box>
|
|
1590
|
+
{ "Plain icon={ false }" }
|
|
1591
|
+
<Input.Checkbox
|
|
1592
|
+
name='checkbox.plain'
|
|
1593
|
+
icon={ false }
|
|
1594
|
+
cellStyles={ {
|
|
1595
|
+
padding: [ '1/3','2/3' ],
|
|
1596
|
+
isRounded: true
|
|
1597
|
+
} }
|
|
1598
|
+
cellCheckedStyles={ {
|
|
1599
|
+
fontColor: 'theme'
|
|
1600
|
+
} }
|
|
1601
|
+
value={ [ 2,'3' ] }
|
|
1602
|
+
hideInput
|
|
1603
|
+
options={ [
|
|
1604
|
+
{ value: '1',label: 'Option1' },
|
|
1605
|
+
{ value: '2',label: 'Option2' },
|
|
1606
|
+
{ value: '3',label: 'Option3' }
|
|
1607
|
+
] }
|
|
1608
|
+
/>
|
|
1609
|
+
</Box>
|
|
1610
|
+
<Box>
|
|
1611
|
+
Simple
|
|
1612
|
+
<Input.Checkbox.Simple
|
|
1613
|
+
name='checkbox.simple'
|
|
1614
|
+
value={ [ 2,'3' ] }
|
|
1615
|
+
hideInput
|
|
1616
|
+
options={ [
|
|
1617
|
+
{ value: '1',label: 'Option1' },
|
|
1618
|
+
{ value: '2',label: 'Option2' },
|
|
1619
|
+
{ value: '3',label: 'Option3' }
|
|
1620
|
+
] }
|
|
1621
|
+
/>
|
|
1622
|
+
</Box>
|
|
1623
|
+
<Box>
|
|
1624
|
+
Normal
|
|
1625
|
+
<Input.Checkbox.Normal
|
|
1626
|
+
name='checkbox.normal'
|
|
1627
|
+
value={ [ 2,'3' ] }
|
|
1628
|
+
hideInput
|
|
1629
|
+
options={ [
|
|
1630
|
+
{ value: '1',label: 'Option1' },
|
|
1631
|
+
{ value: '2',label: 'Option2' },
|
|
1632
|
+
{ value: '3',label: 'Option3' }
|
|
1633
|
+
] }
|
|
1634
|
+
/>
|
|
1635
|
+
</Box>
|
|
1636
|
+
<Box>
|
|
1637
|
+
Vivid
|
|
1638
|
+
<Input.Checkbox.Vivid
|
|
1639
|
+
name='checkbox.vivid'
|
|
1640
|
+
value={ [ 2,'3' ] }
|
|
1641
|
+
hideInput
|
|
1642
|
+
options={ [
|
|
1643
|
+
{ value: '1',label: 'Option1' },
|
|
1644
|
+
{ value: '2',label: 'Option2' },
|
|
1645
|
+
{ value: '3',label: 'Option3' }
|
|
1646
|
+
] }
|
|
1647
|
+
/>
|
|
1648
|
+
</Box>
|
|
1649
|
+
<Box>
|
|
1650
|
+
Cloud
|
|
1651
|
+
<Input.Checkbox.Cloud
|
|
1652
|
+
name='checkbox.cloud'
|
|
1653
|
+
value={ [ 1 ] }
|
|
1654
|
+
options={ [
|
|
1655
|
+
{ value: 1,label: 'Option1' },
|
|
1656
|
+
{ value: 2,label: 'Option2' },
|
|
1657
|
+
{ value: 3,label: 'Option3' }
|
|
1658
|
+
] }
|
|
1659
|
+
/>
|
|
1660
|
+
</Box>
|
|
1661
|
+
<Box>
|
|
1662
|
+
Border
|
|
1663
|
+
<Input.Radio.Border
|
|
1664
|
+
name='radio.border'
|
|
1665
|
+
value={ [ 1 ] }
|
|
1666
|
+
options={ [
|
|
1667
|
+
{ value: 1,label: 'Option1' },
|
|
1668
|
+
{ value: 2,label: 'Option2' },
|
|
1669
|
+
{ value: 3,label: 'Option3' }
|
|
1670
|
+
] }
|
|
1671
|
+
/>
|
|
1672
|
+
</Box>
|
|
1673
|
+
</Column>
|
|
1674
|
+
</Column>
|
|
1675
|
+
</Column>
|
|
1676
|
+
</Box>
|
|
1677
|
+
</Box>
|
|
1678
|
+
</> ),
|
|
1679
|
+
Select: () => ( <>
|
|
1680
|
+
<Box ssCardBox>
|
|
1681
|
+
<Literal.Paragraph borderBottom padding={ 1 }>
|
|
1682
|
+
Select,Autocomplete Input
|
|
1683
|
+
</Literal.Paragraph>
|
|
1684
|
+
<Column
|
|
1685
|
+
padding={ 2 }
|
|
1686
|
+
gap={ 1.5 }
|
|
1687
|
+
>
|
|
1688
|
+
<Input.Select
|
|
1689
|
+
name='select'
|
|
1690
|
+
label='Input.Select'
|
|
1691
|
+
isLabelActive
|
|
1692
|
+
placeholder='Select'
|
|
1693
|
+
required
|
|
1694
|
+
value={ 3 }
|
|
1695
|
+
options={ [
|
|
1696
|
+
{ value: 1,label: 'option1' },
|
|
1697
|
+
{ value: 2,label: 'option2' },
|
|
1698
|
+
{ value: 3,label: 'option3a' },
|
|
1699
|
+
{ value: 4,label: 'option4' }
|
|
1700
|
+
] }
|
|
1701
|
+
/>
|
|
1702
|
+
<Input.Search
|
|
1703
|
+
name='search'
|
|
1704
|
+
label='Input.Search'
|
|
1705
|
+
required
|
|
1706
|
+
options={ [
|
|
1707
|
+
{ value: 1,label: '1' },
|
|
1708
|
+
{ value: { value1: 2,value2: 3 },label: 'Object' },
|
|
1709
|
+
{ value: 3,label: '3' },
|
|
1710
|
+
{ value: 101,label: '101' },
|
|
1711
|
+
{ value: 102,label: '102' }
|
|
1712
|
+
] }
|
|
1713
|
+
/>
|
|
1714
|
+
<Input.Autocomplete
|
|
1715
|
+
name='autocomplete'
|
|
1716
|
+
label='Input.Autocomplete'
|
|
1717
|
+
max={ 2 }
|
|
1718
|
+
value={ [
|
|
1719
|
+
4
|
|
1720
|
+
] }
|
|
1721
|
+
options={ [
|
|
1722
|
+
{ value: 1,label: 'X-men' },
|
|
1723
|
+
{ value: 2,label: 'ショーシャンクの空' },
|
|
1724
|
+
{ value: 3,label: 'スターウォーズ' },
|
|
1725
|
+
{ value: 4,label: 'ゴッドファーザー: Part II' },
|
|
1726
|
+
{ value: 5,label: 'ゴッドファーザー: Part III' },
|
|
1727
|
+
{ value: 6,label: 'インセプション' },
|
|
1728
|
+
] }
|
|
1729
|
+
/>
|
|
1730
|
+
<Input.Autocomplete
|
|
1731
|
+
name='autocomplete.dynamic'
|
|
1732
|
+
label='Input.Search( Dynamic Search )'
|
|
1733
|
+
options={ [
|
|
1734
|
+
{ value: 1,label: '1' },
|
|
1735
|
+
{ value: { value1: 2,value2: 3 },label: 'Object' },
|
|
1736
|
+
{ value: 3,label: '3' },
|
|
1737
|
+
{ value: 101,label: '101' },
|
|
1738
|
+
{ value: 102,label: '102' }
|
|
1739
|
+
] }
|
|
1740
|
+
DynamicOptionsOnSearch={ async ( keyword ) => {
|
|
1741
|
+
console.log( 'keyword',keyword )
|
|
1742
|
+
await $$.pending( () => { },1000 )
|
|
1743
|
+
let options: Input.Autocomplete.Option[] = []
|
|
1744
|
+
for ( let i = 0; i < 100; i++ ) {
|
|
1745
|
+
let index = i + 1
|
|
1746
|
+
options.push( {
|
|
1747
|
+
value: index,
|
|
1748
|
+
label: 'option-' + index,
|
|
1749
|
+
searchValue: keyword
|
|
1750
|
+
} )
|
|
1751
|
+
}
|
|
1752
|
+
return options
|
|
1753
|
+
} }
|
|
1754
|
+
/>
|
|
1755
|
+
</Column>
|
|
1756
|
+
</Box>
|
|
1757
|
+
</> ),
|
|
1758
|
+
Segmented: () => {
|
|
1759
|
+
return <Box ssCardBox>
|
|
1760
|
+
<Literal.ThirdTitle borderBottom padding={ 1 }>
|
|
1761
|
+
Segmented
|
|
1762
|
+
</Literal.ThirdTitle>
|
|
1763
|
+
<Column padding={ 2 } gap={ 2 }>
|
|
1764
|
+
<Row.Left>
|
|
1765
|
+
<Input.Segmented
|
|
1766
|
+
name='segmented'
|
|
1767
|
+
value={ 1 }
|
|
1768
|
+
options={ [
|
|
1769
|
+
{ value: 0,label: 'Home' },
|
|
1770
|
+
{ value: 1,label: 'Notice' },
|
|
1771
|
+
{ value: 2,label: 'Posts' },
|
|
1772
|
+
{ value: 3,label: 'Settings' }
|
|
1773
|
+
] }
|
|
1774
|
+
/>
|
|
1775
|
+
</Row.Left>
|
|
1776
|
+
<Row.Left>
|
|
1777
|
+
<Input.Segmented.Cloud
|
|
1778
|
+
name='segmented.cloud'
|
|
1779
|
+
value={ 1 }
|
|
1780
|
+
options={ [
|
|
1781
|
+
{ value: 0,label: <FAI.AngleLeft /> },
|
|
1782
|
+
{ value: 1,label: <FAI.AngleRight /> },
|
|
1783
|
+
{ value: 2,label: <FAI.AngleUp /> },
|
|
1784
|
+
{ value: 3,label: <FAI.AngleDown /> }
|
|
1785
|
+
] }
|
|
1786
|
+
/>
|
|
1787
|
+
</Row.Left>
|
|
1788
|
+
<Row.Left>
|
|
1789
|
+
<Input.Segmented.CloudTheme
|
|
1790
|
+
name='segmented.cloudTheme'
|
|
1791
|
+
value={ 1 }
|
|
1792
|
+
options={ [
|
|
1793
|
+
{ value: 0,label: <FAI.AngleLeft /> },
|
|
1794
|
+
{ value: 1,label: <FAI.AngleRight /> },
|
|
1795
|
+
{ value: 2,label: <FAI.AngleUp /> },
|
|
1796
|
+
{ value: 3,label: <FAI.AngleDown /> }
|
|
1797
|
+
] }
|
|
1798
|
+
/>
|
|
1799
|
+
</Row.Left>
|
|
1800
|
+
<Row.Left>
|
|
1801
|
+
<Input.Segmented.CloudMono
|
|
1802
|
+
name='segmented.cloudMono'
|
|
1803
|
+
value={ 1 }
|
|
1804
|
+
options={ [
|
|
1805
|
+
{ value: 0,label: <FAI.AngleLeft /> },
|
|
1806
|
+
{ value: 1,label: <FAI.AngleRight /> },
|
|
1807
|
+
{ value: 2,label: <FAI.AngleUp /> },
|
|
1808
|
+
{ value: 3,label: <FAI.AngleDown /> }
|
|
1809
|
+
] }
|
|
1810
|
+
/>
|
|
1811
|
+
</Row.Left>
|
|
1812
|
+
<Row.Left>
|
|
1813
|
+
<Input.Segmented.Border
|
|
1814
|
+
name='segmented.border'
|
|
1815
|
+
value={ 1 }
|
|
1816
|
+
options={ [
|
|
1817
|
+
{ value: 0,label: 'On' },
|
|
1818
|
+
{ value: 1,label: 'Off' }
|
|
1819
|
+
] }
|
|
1820
|
+
/>
|
|
1821
|
+
</Row.Left>
|
|
1822
|
+
<Row.Left>
|
|
1823
|
+
<Input.Segmented.BorderVivid
|
|
1824
|
+
name='segmented.borderVivid'
|
|
1825
|
+
value={ 1 }
|
|
1826
|
+
options={ [
|
|
1827
|
+
{ value: 0,label: 'On' },
|
|
1828
|
+
{ value: 1,label: 'Off' }
|
|
1829
|
+
] }
|
|
1830
|
+
/>
|
|
1831
|
+
</Row.Left>
|
|
1832
|
+
<Row.Left borderBottom>
|
|
1833
|
+
<Input.Segmented.Bottomline
|
|
1834
|
+
name='segmented.bottomline'
|
|
1835
|
+
value={ 1 }
|
|
1836
|
+
options={ [
|
|
1837
|
+
{ value: 0,label: 'Takana' },
|
|
1838
|
+
{ value: 1,label: 'Mentai' },
|
|
1839
|
+
{ value: 2,label: 'Mayo' },
|
|
1840
|
+
{ value: 3,label: 'Gyudon' }
|
|
1841
|
+
] }
|
|
1842
|
+
/>
|
|
1843
|
+
</Row.Left>
|
|
1844
|
+
</Column>
|
|
1845
|
+
</Box>
|
|
1846
|
+
},
|
|
1847
|
+
Variables: () => ( <>
|
|
1848
|
+
<Box ssCardBox>
|
|
1849
|
+
<Literal.Paragraph borderBottom padding={ 1 }>
|
|
1850
|
+
Variables
|
|
1851
|
+
</Literal.Paragraph>
|
|
1852
|
+
<Box padding={ 1 }>
|
|
1853
|
+
<Column>
|
|
1854
|
+
<Column gap={ 2 }>
|
|
1855
|
+
<Box>
|
|
1856
|
+
Input.File
|
|
1857
|
+
<Input.Filer
|
|
1858
|
+
name='filer'
|
|
1859
|
+
limit={ 3 }
|
|
1860
|
+
onUpdateValidValue={ value => {
|
|
1861
|
+
console.log( value )
|
|
1862
|
+
} }
|
|
1863
|
+
/>
|
|
1864
|
+
</Box>
|
|
1865
|
+
<Box>
|
|
1866
|
+
Input.Switch
|
|
1867
|
+
<Row.Left gap={ 2 }>
|
|
1868
|
+
<Input.Switch
|
|
1869
|
+
name='switch'
|
|
1870
|
+
/>
|
|
1871
|
+
<Input.Switch
|
|
1872
|
+
name='switch.applely'
|
|
1873
|
+
isApply
|
|
1874
|
+
color='icicles'
|
|
1875
|
+
value
|
|
1876
|
+
/>
|
|
1877
|
+
<Input.Switch
|
|
1878
|
+
name='switch.warn'
|
|
1879
|
+
isApply
|
|
1880
|
+
icon={ <FAI.ExclamationTriangle /> }
|
|
1881
|
+
color='warn'
|
|
1882
|
+
value
|
|
1883
|
+
/>
|
|
1884
|
+
</Row.Left>
|
|
1885
|
+
</Box>
|
|
1886
|
+
<Row.Left>
|
|
1887
|
+
<Input.Color
|
|
1888
|
+
name='color'
|
|
1889
|
+
onUpdateValidValue={ value => {
|
|
1890
|
+
console.log( value )
|
|
1891
|
+
} }
|
|
1892
|
+
value='#4332c3'
|
|
1893
|
+
/>
|
|
1894
|
+
</Row.Left>
|
|
1895
|
+
<Box flexNewLine>
|
|
1896
|
+
Input.Slider
|
|
1897
|
+
<Input.Slider
|
|
1898
|
+
name='slider'
|
|
1899
|
+
color='battery'
|
|
1900
|
+
value={ 40 }
|
|
1901
|
+
step={ 10 }
|
|
1902
|
+
min={ 0 }
|
|
1903
|
+
max={ 100 }
|
|
1904
|
+
onUpdateValidValue={ value => {
|
|
1905
|
+
console.log( value )
|
|
1906
|
+
} }
|
|
1907
|
+
/>
|
|
1908
|
+
</Box>
|
|
1909
|
+
</Column>
|
|
1910
|
+
</Column>
|
|
1911
|
+
</Box>
|
|
1912
|
+
</Box>
|
|
1913
|
+
</> ),
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
return <>
|
|
41
1917
|
<Plate
|
|
42
|
-
size='
|
|
1918
|
+
size='L'
|
|
43
1919
|
>
|
|
44
|
-
<
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
1920
|
+
<Grid gridCols={ 2 } gap={ 2 }>
|
|
1921
|
+
<InputComps.Basic />
|
|
1922
|
+
<InputComps.Select />
|
|
1923
|
+
<InputComps.Time />
|
|
1924
|
+
<InputComps.List />
|
|
1925
|
+
<InputComps.Segmented />
|
|
1926
|
+
<InputComps.Variables />
|
|
1927
|
+
</Grid>
|
|
1928
|
+
</Plate>
|
|
1929
|
+
</>
|
|
1930
|
+
}
|
|
1931
|
+
const Styling = () => {
|
|
1932
|
+
const SheetContent = ( type: Sheet.Type,index?: number,opt?: Partial<Sheet.Input> ) => {
|
|
1933
|
+
let sheetID = 'testModal' + index
|
|
1934
|
+
Sheet.open( type,{
|
|
1935
|
+
sheetID: sheetID,
|
|
1936
|
+
size: 'S',
|
|
1937
|
+
padding: 2,
|
|
1938
|
+
...opt,
|
|
1939
|
+
content: <Sheet.Body padding={ 1 }>
|
|
1940
|
+
<Box padding={ 2 }>
|
|
1941
|
+
Content { index || 0 }
|
|
1942
|
+
</Box>
|
|
1943
|
+
|
|
1944
|
+
<Button.Sub
|
|
1945
|
+
onClick={ () => {
|
|
1946
|
+
SheetContent( type,index ? index + 1 : 1 )
|
|
1947
|
+
} }
|
|
1948
|
+
>
|
|
1949
|
+
Open Nested
|
|
1950
|
+
</Button.Sub>
|
|
1951
|
+
<Row.Right>
|
|
1952
|
+
<Button
|
|
1953
|
+
onClick={ () => {
|
|
1954
|
+
Sheet.close( sheetID )
|
|
1955
|
+
} }
|
|
1956
|
+
>
|
|
1957
|
+
閉じる
|
|
1958
|
+
</Button>
|
|
1959
|
+
</Row.Right>
|
|
1960
|
+
</Sheet.Body>
|
|
1961
|
+
} )
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
return <>
|
|
1965
|
+
<Box ssCardBox>
|
|
1966
|
+
<Literal.SubTitle borderBottom padding={ 1 }>
|
|
1967
|
+
CardBox
|
|
1968
|
+
</Literal.SubTitle>
|
|
1969
|
+
<Box padding={ 1 } overflow={ 'auto' }>
|
|
1970
|
+
<Literal.Description>
|
|
1971
|
+
{
|
|
1972
|
+
`<Box styles={{ssCardBox:true}}>
|
|
1973
|
+
<Box>
|
|
1974
|
+
Header
|
|
1975
|
+
</Box>
|
|
1976
|
+
<Box padding={ 1 }
|
|
1977
|
+
overflow='auto'>
|
|
1978
|
+
Body
|
|
1979
|
+
</Box>
|
|
1980
|
+
<Box>
|
|
1981
|
+
Footer
|
|
1982
|
+
</Box>
|
|
1983
|
+
</Box>`
|
|
1984
|
+
}
|
|
1985
|
+
</Literal.Description>
|
|
1986
|
+
</Box>
|
|
1987
|
+
<Box padding={ 2 }>
|
|
1988
|
+
<Box ssCardBox>
|
|
1989
|
+
<Literal.SubTitle borderBottom padding={ 1 }>
|
|
1990
|
+
Header
|
|
1991
|
+
</Literal.SubTitle>
|
|
1992
|
+
<Box padding={ 1 } overflow={ 'auto' }>
|
|
1993
|
+
Body
|
|
1994
|
+
</Box>
|
|
1995
|
+
<Box padding={ 1 }>
|
|
1996
|
+
Footer
|
|
1997
|
+
</Box>
|
|
1998
|
+
</Box>
|
|
1999
|
+
</Box>
|
|
2000
|
+
</Box>
|
|
2001
|
+
<Box ssCardBox>
|
|
2002
|
+
<Literal.SubTitle borderBottom padding={ 1 }>
|
|
2003
|
+
List
|
|
2004
|
+
</Literal.SubTitle>
|
|
2005
|
+
<Box padding={ 1 } overflow={ 'auto' }>
|
|
2006
|
+
<Literal.Description>
|
|
2007
|
+
{
|
|
2008
|
+
`<List
|
|
2009
|
+
options={ [
|
|
2010
|
+
{
|
|
2011
|
+
title?: LeftSideReactComponent,
|
|
2012
|
+
content: RightSideReactComponent
|
|
2013
|
+
}
|
|
2014
|
+
] }
|
|
2015
|
+
/>`
|
|
2016
|
+
}
|
|
2017
|
+
</Literal.Description>
|
|
2018
|
+
</Box>
|
|
2019
|
+
<Box padding={ 2 } overflow={ 'auto' }>
|
|
2020
|
+
<List
|
|
2021
|
+
ssCardBox
|
|
2022
|
+
padding={ 1 }
|
|
2023
|
+
>
|
|
2024
|
+
<ListItem.Left>
|
|
2025
|
+
<Box padding={ '1/2' } backgroundColor='cloud'>
|
|
2026
|
+
Left
|
|
2027
|
+
</Box>
|
|
2028
|
+
<Box padding={ '1/2' } backgroundColor='cloud' flexSizing={ 0 }>
|
|
2029
|
+
Right
|
|
2030
|
+
</Box>
|
|
2031
|
+
</ListItem.Left>
|
|
2032
|
+
<ListItem.Right>
|
|
2033
|
+
<Box padding={ '1/2' } backgroundColor='cloud' flexSizing={ 0 }>
|
|
2034
|
+
Left
|
|
2035
|
+
</Box>
|
|
2036
|
+
<Box padding={ '1/2' } backgroundColor='cloud'>
|
|
2037
|
+
Right
|
|
2038
|
+
</Box>
|
|
2039
|
+
</ListItem.Right>
|
|
2040
|
+
<ListItem.Separate>
|
|
2041
|
+
<Box padding={ '1/2' } backgroundColor='cloud'>
|
|
2042
|
+
Left
|
|
2043
|
+
</Box>
|
|
2044
|
+
<Box padding={ '1/2' } backgroundColor='cloud'>
|
|
2045
|
+
Right
|
|
2046
|
+
</Box>
|
|
2047
|
+
</ListItem.Separate>
|
|
2048
|
+
<ListItem.Center gap={ '1/4' }>
|
|
2049
|
+
<Box padding={ '1/2' } backgroundColor='cloud' flexGrid={ 1 }>
|
|
2050
|
+
1
|
|
2051
|
+
</Box>
|
|
2052
|
+
<Box padding={ '1/2' } backgroundColor='cloud' flexGrid={ 3 }>
|
|
2053
|
+
3
|
|
2054
|
+
</Box>
|
|
2055
|
+
<Box padding={ '1/2' } backgroundColor='cloud' flexGrid={ 2 }>
|
|
2056
|
+
2
|
|
2057
|
+
</Box>
|
|
2058
|
+
</ListItem.Center>
|
|
2059
|
+
</List>
|
|
2060
|
+
</Box>
|
|
2061
|
+
</Box>
|
|
2062
|
+
<Box ssCardBox>
|
|
2063
|
+
<Literal.SubTitle borderBottom padding={ 1 }>
|
|
2064
|
+
Sheet
|
|
2065
|
+
</Literal.SubTitle>
|
|
2066
|
+
<Box padding={ 1 } overflow={ 'auto' }>
|
|
2067
|
+
<Literal.Description>
|
|
2068
|
+
{
|
|
2069
|
+
`Sheet.open( Type,{
|
|
2070
|
+
sheetID: 'sheetID',
|
|
2071
|
+
header: ReactElement | React.FC< { modalClose } >,
|
|
2072
|
+
body: ReactElement | React.FC< { modalClose } >,
|
|
2073
|
+
footer: ReactElement | React.FC< { modalClose } >
|
|
2074
|
+
} )`
|
|
2075
|
+
}
|
|
2076
|
+
</Literal.Description>
|
|
2077
|
+
</Box>
|
|
2078
|
+
<Column padding={ 2 }>
|
|
2079
|
+
<Button.Border
|
|
2080
|
+
onClick={ ( e ) => {
|
|
2081
|
+
Tooltips.open( {
|
|
2082
|
+
tipsID: 'testTips',
|
|
2083
|
+
parent: e.currentTarget,
|
|
2084
|
+
closeAtParentBlur: false,
|
|
2085
|
+
closeAtAroundClick: false,
|
|
2086
|
+
closeAtEscapeKeyDown: true,
|
|
2087
|
+
content: () => {
|
|
2088
|
+
return <Sheet.Body padding={ 2 }>
|
|
2089
|
+
<Button
|
|
2090
|
+
onClick={ () => {
|
|
2091
|
+
Sheet.open( 'middleLeft',{
|
|
2092
|
+
sheetID: 'testSheet',
|
|
2093
|
+
closeAtAroundClick: true,
|
|
2094
|
+
content: () => {
|
|
2095
|
+
return <Sheet.Body padding={ 2 }>
|
|
2096
|
+
END
|
|
2097
|
+
</Sheet.Body>
|
|
2098
|
+
}
|
|
2099
|
+
} )
|
|
2100
|
+
} }
|
|
2101
|
+
>
|
|
2102
|
+
nest
|
|
2103
|
+
</Button>
|
|
2104
|
+
</Sheet.Body>
|
|
77
2105
|
}
|
|
78
|
-
} )
|
|
79
|
-
{ value: { test: "hello" },label: '無効/測定しない' },
|
|
80
|
-
// { value: true,label: '無効/測定しない' },
|
|
81
|
-
] }
|
|
82
|
-
label='時間'
|
|
83
|
-
// value={ 17 }
|
|
84
|
-
// value={ "17" }
|
|
85
|
-
// value={ true }
|
|
86
|
-
value={ "17" }
|
|
87
|
-
|
|
88
|
-
// value={ { test: "hello" } }
|
|
89
|
-
|
|
90
|
-
// DynamicOptionsOnSearch={ async ( keyword ) => {
|
|
91
|
-
// console.log( keyword )
|
|
92
|
-
|
|
93
|
-
// return [
|
|
94
|
-
// ...Array.from( { length: 24 } ).map( ( hour,idx ) => {
|
|
95
|
-
// return {
|
|
96
|
-
// value: idx,
|
|
97
|
-
// label: Number( idx ).zeroEmbed( 2 ) + ':00'
|
|
98
|
-
// }
|
|
99
|
-
// } ),
|
|
100
|
-
// ...Array.from( { length: 24 } ).map( ( hour,idx ) => {
|
|
101
|
-
// return {
|
|
102
|
-
// value: String( idx ),
|
|
103
|
-
// label: Number( idx ).zeroEmbed( 2 ) + ':00'
|
|
104
|
-
// }
|
|
105
|
-
// } ),
|
|
106
|
-
// ]
|
|
107
|
-
// } }
|
|
108
|
-
|
|
109
|
-
// value={ val_dailyLog || void 0 }
|
|
110
|
-
onUpdateValidValue={ value => {
|
|
111
|
-
// set_keyword( value )
|
|
2106
|
+
} )
|
|
112
2107
|
} }
|
|
113
|
-
|
|
2108
|
+
>
|
|
2109
|
+
Tooltips with nested sheet
|
|
2110
|
+
</Button.Border>
|
|
2111
|
+
<Box flexCenter>
|
|
2112
|
+
<Grid gridCols={ 3 } gap={ 1 }>
|
|
2113
|
+
<Button.Border
|
|
2114
|
+
onClick={ () => {
|
|
2115
|
+
SheetContent( 'topLeft' )
|
|
2116
|
+
} }
|
|
2117
|
+
>
|
|
2118
|
+
Top Left
|
|
2119
|
+
</Button.Border>
|
|
2120
|
+
<Button.Border
|
|
2121
|
+
onClick={ () => {
|
|
2122
|
+
SheetContent( 'topCenter' )
|
|
2123
|
+
} }
|
|
2124
|
+
>
|
|
2125
|
+
Top Center
|
|
2126
|
+
</Button.Border>
|
|
2127
|
+
<Button.Border
|
|
2128
|
+
onClick={ () => {
|
|
2129
|
+
SheetContent( 'topRight' )
|
|
2130
|
+
} }
|
|
2131
|
+
>
|
|
2132
|
+
Top Right
|
|
2133
|
+
</Button.Border>
|
|
2134
|
+
<Button.Border
|
|
2135
|
+
onClick={ () => {
|
|
2136
|
+
SheetContent( 'middleLeft' )
|
|
2137
|
+
} }
|
|
2138
|
+
>
|
|
2139
|
+
Middle Left
|
|
2140
|
+
</Button.Border>
|
|
2141
|
+
<Button.Border
|
|
2142
|
+
onClick={ () => {
|
|
2143
|
+
SheetContent( 'middleCenter' )
|
|
2144
|
+
} }
|
|
2145
|
+
>
|
|
2146
|
+
Middle Center
|
|
2147
|
+
</Button.Border>
|
|
2148
|
+
<Button.Border
|
|
2149
|
+
onClick={ () => {
|
|
2150
|
+
SheetContent( 'middleRight' )
|
|
2151
|
+
} }
|
|
2152
|
+
>
|
|
2153
|
+
Middle Right
|
|
2154
|
+
</Button.Border>
|
|
2155
|
+
<Button.Border
|
|
2156
|
+
onClick={ () => {
|
|
2157
|
+
SheetContent( 'bottomLeft' )
|
|
2158
|
+
} }
|
|
2159
|
+
>
|
|
2160
|
+
Bottom Left
|
|
2161
|
+
</Button.Border>
|
|
2162
|
+
<Button.Border
|
|
2163
|
+
onClick={ () => {
|
|
2164
|
+
SheetContent( 'bottomCenter' )
|
|
2165
|
+
} }
|
|
2166
|
+
>
|
|
2167
|
+
Bottom Center
|
|
2168
|
+
</Button.Border>
|
|
2169
|
+
<Button.Border
|
|
2170
|
+
onClick={ () => {
|
|
2171
|
+
SheetContent( 'bottomRight' )
|
|
2172
|
+
} }
|
|
2173
|
+
>
|
|
2174
|
+
Bottom Right
|
|
2175
|
+
</Button.Border>
|
|
114
2176
|
|
|
115
|
-
|
|
116
|
-
|
|
2177
|
+
<Button.Border
|
|
2178
|
+
onClick={ () => {
|
|
2179
|
+
SheetContent( 'drawer.left' )
|
|
2180
|
+
} }
|
|
2181
|
+
>
|
|
2182
|
+
Drawer Left
|
|
2183
|
+
</Button.Border>
|
|
2184
|
+
<Button.Border
|
|
2185
|
+
onClick={ () => {
|
|
2186
|
+
SheetContent( 'drawer.bottom',10,{
|
|
2187
|
+
size: 'R'
|
|
2188
|
+
} )
|
|
2189
|
+
} }
|
|
2190
|
+
>
|
|
2191
|
+
Drawer Bottom
|
|
2192
|
+
</Button.Border>
|
|
2193
|
+
<Button.Border
|
|
2194
|
+
onClick={ () => {
|
|
2195
|
+
SheetContent( 'drawer.right' )
|
|
2196
|
+
} }
|
|
2197
|
+
>
|
|
2198
|
+
Drawer Right
|
|
2199
|
+
</Button.Border>
|
|
2200
|
+
|
|
2201
|
+
<Button.Border
|
|
2202
|
+
onClick={ event => {
|
|
2203
|
+
Tooltips.open( {
|
|
2204
|
+
tipsID: 'test40',
|
|
2205
|
+
parent: event.currentTarget,
|
|
2206
|
+
content: <Box
|
|
2207
|
+
padding={ 1 }
|
|
2208
|
+
border
|
|
2209
|
+
borderRadius={ 2 }
|
|
2210
|
+
backgroundColor={ 'dark' }
|
|
2211
|
+
fontColor={ 'white' }
|
|
2212
|
+
>Content</Box>,
|
|
2213
|
+
} )
|
|
2214
|
+
} }
|
|
2215
|
+
>
|
|
2216
|
+
Open Tooltips
|
|
2217
|
+
</Button.Border>
|
|
2218
|
+
</Grid>
|
|
2219
|
+
</Box>
|
|
2220
|
+
<Row.Center>
|
|
2221
|
+
Image Picker
|
|
2222
|
+
<Img
|
|
2223
|
+
src={ Logo.Images.defaultIcon( 'user' ) }
|
|
2224
|
+
ssSphere={ 6 }
|
|
2225
|
+
showExpand
|
|
2226
|
+
/>
|
|
2227
|
+
</Row.Center>
|
|
2228
|
+
</Column>
|
|
2229
|
+
</Box>
|
|
2230
|
+
</>
|
|
2231
|
+
}
|
|
2232
|
+
const Tables = {
|
|
2233
|
+
index: () => {
|
|
2234
|
+
return <>
|
|
2235
|
+
<Column gap={ 3 }>
|
|
2236
|
+
<Tables.Normal />
|
|
2237
|
+
<Tables.Data />
|
|
2238
|
+
<Tables.Drag />
|
|
2239
|
+
<Tables.Spread />
|
|
2240
|
+
</Column>
|
|
2241
|
+
</>
|
|
2242
|
+
},
|
|
2243
|
+
Normal: () => {
|
|
2244
|
+
let PureData: Table.Normal.BodyRow[] = []
|
|
2245
|
+
for ( var i = 0; i < 10; i++ ) {
|
|
2246
|
+
let Row: Table.Normal.BodyRow = [
|
|
2247
|
+
{ children: 'head_' + i },
|
|
2248
|
+
{ children: 'data_' + i },
|
|
2249
|
+
{ children: 'data_' + i },
|
|
2250
|
+
]
|
|
2251
|
+
PureData.push( Row )
|
|
2252
|
+
}
|
|
2253
|
+
|
|
2254
|
+
return <>
|
|
2255
|
+
<Box fontSize='5.subTitle'>
|
|
2256
|
+
Table.Normal
|
|
2257
|
+
</Box>
|
|
2258
|
+
<Table.Normal
|
|
2259
|
+
colLength={ 3 }
|
|
2260
|
+
head={ [
|
|
2261
|
+
{ children: 'head1' },
|
|
2262
|
+
{ children: 'head2' },
|
|
2263
|
+
{
|
|
2264
|
+
children: 'head3',
|
|
2265
|
+
// styles: {
|
|
2266
|
+
// backgroundColor: 'nega'
|
|
2267
|
+
// },
|
|
2268
|
+
// freeCSS: {
|
|
2269
|
+
// opacity: .3
|
|
2270
|
+
// }
|
|
2271
|
+
},
|
|
2272
|
+
] }
|
|
2273
|
+
cellStylesCallback={ ( args ) => {
|
|
2274
|
+
let styles: StyleTags.Properties = {}
|
|
2275
|
+
|
|
2276
|
+
if ( args.isHeader ) {
|
|
2277
|
+
styles = {
|
|
2278
|
+
...styles,
|
|
2279
|
+
backgroundColor: 'cloud'
|
|
2280
|
+
}
|
|
2281
|
+
}
|
|
2282
|
+
return styles
|
|
2283
|
+
} }
|
|
2284
|
+
rows={ PureData }
|
|
2285
|
+
ssCardBox
|
|
2286
|
+
onRowClick={ ( rowID ) => {
|
|
2287
|
+
console.log( rowID )
|
|
2288
|
+
} }
|
|
2289
|
+
/>
|
|
2290
|
+
</>
|
|
2291
|
+
},
|
|
2292
|
+
Drag: () => {
|
|
2293
|
+
let DragData: Table.Drag.BodyRow[] = []
|
|
2294
|
+
for ( var i = 0; i < 4; i++ ) {
|
|
2295
|
+
let Row: Table.Drag.BodyRow = [
|
|
2296
|
+
{ children: 'head_' + i },
|
|
2297
|
+
{ children: 'data_' + i },
|
|
2298
|
+
{
|
|
2299
|
+
children: 'data_' + i,
|
|
2300
|
+
// styles: { backgroundColor: 'nega' },
|
|
2301
|
+
// freeCSS: { opacity: .3 }
|
|
2302
|
+
},
|
|
2303
|
+
]
|
|
2304
|
+
Row.rowID = 'rowID-' + i
|
|
2305
|
+
DragData.push( Row )
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
return <>
|
|
2309
|
+
<Box fontSize='5.subTitle'>
|
|
2310
|
+
Table.Drag
|
|
2311
|
+
</Box>
|
|
2312
|
+
<Table.Drag
|
|
2313
|
+
colLength={ 3 }
|
|
2314
|
+
head={ [
|
|
2315
|
+
{ children: 'head1' },
|
|
2316
|
+
{ children: 'head2' },
|
|
2317
|
+
{
|
|
2318
|
+
children: 'head3',
|
|
2319
|
+
// styles: { backgroundColor: 'nega' },
|
|
2320
|
+
// freeCSS: { opacity: .3 }
|
|
2321
|
+
},
|
|
2322
|
+
] }
|
|
2323
|
+
|
|
2324
|
+
cellStyles={ {
|
|
2325
|
+
// backgroundColor: 'posi',
|
|
2326
|
+
// freeCSS: { opacity: .3 }
|
|
2327
|
+
} }
|
|
2328
|
+
cellStylesCallback={ () => {
|
|
2329
|
+
return {
|
|
2330
|
+
// backgroundColor: 'warn',
|
|
2331
|
+
// freeCSS: { opacity: .3 }
|
|
2332
|
+
}
|
|
2333
|
+
} }
|
|
2334
|
+
|
|
2335
|
+
rows={ DragData }
|
|
2336
|
+
ssCardBox
|
|
2337
|
+
onOrderChanged={ ( args ) => {
|
|
2338
|
+
console.log( args )
|
|
2339
|
+
} }
|
|
2340
|
+
/>
|
|
2341
|
+
</>
|
|
2342
|
+
},
|
|
2343
|
+
Data: () => {
|
|
2344
|
+
let [ val_keyword,set_keyword ] = useState( '' )
|
|
2345
|
+
let DataData: Table.Data.BodyRow[] = []
|
|
2346
|
+
for ( var i = 0; i < 100; i++ ) {
|
|
2347
|
+
let random1 = Math.round( Math.random() * 50 + 1 )
|
|
2348
|
+
let random2 = Math.round( Math.random() * 50 + 1 )
|
|
2349
|
+
let random3 = Math.round( Math.random() * 50 + 1 )
|
|
2350
|
+
|
|
2351
|
+
let Data1 = 'name_' + random1
|
|
2352
|
+
let Data2 = 'data_' + random2
|
|
2353
|
+
let Data3 = 'data_' + random3
|
|
2354
|
+
let Row: Table.Data.BodyRow = [
|
|
2355
|
+
{
|
|
2356
|
+
type: 'th',
|
|
2357
|
+
children: i + ':' + Data1,
|
|
2358
|
+
data: Data1,
|
|
2359
|
+
orderIndex: i
|
|
2360
|
+
},{
|
|
2361
|
+
type: 'td',
|
|
2362
|
+
children: Data2,
|
|
2363
|
+
data: Data2
|
|
2364
|
+
},{
|
|
2365
|
+
type: 'td',
|
|
2366
|
+
children: Data3,
|
|
2367
|
+
data: Data3,
|
|
2368
|
+
// styles: { backgroundColor: 'greenTea' },
|
|
2369
|
+
// freeCSS: { opacity: .3 }
|
|
2370
|
+
}
|
|
2371
|
+
]
|
|
2372
|
+
DataData.push( Row )
|
|
2373
|
+
}
|
|
2374
|
+
DataData[ 1 ].checked = true
|
|
2375
|
+
DataData[ 4 ].checked = true
|
|
2376
|
+
DataData[ 10 ].checked = true
|
|
2377
|
+
|
|
2378
|
+
let tableID = 'testDataTable'
|
|
2379
|
+
return <Column>
|
|
2380
|
+
<Flex horizontalAlign='between'>
|
|
2381
|
+
<Box fontSize='5.subTitle'>
|
|
2382
|
+
Table.Data
|
|
2383
|
+
</Box>
|
|
2384
|
+
<Flex
|
|
2385
|
+
gap={ '1/2' }
|
|
2386
|
+
backgroundColor={ 'theme' }
|
|
2387
|
+
borderRadius={ '1.tone.primary' }
|
|
2388
|
+
overflow={ 'hidden' }
|
|
2389
|
+
fontColor={ 'white' }
|
|
117
2390
|
>
|
|
118
|
-
<Button.
|
|
119
|
-
|
|
2391
|
+
<Button.Clear
|
|
2392
|
+
color='white'
|
|
2393
|
+
>
|
|
2394
|
+
SubmitButton
|
|
2395
|
+
</Button.Clear>
|
|
2396
|
+
<Box
|
|
2397
|
+
flexSizing={ 'none' }
|
|
2398
|
+
unitWidth={ '1/4' }
|
|
2399
|
+
backgroundColor={ 'layer.4.opa.middle' }
|
|
2400
|
+
isRounded
|
|
2401
|
+
margin={ [ '2/3',0 ] }
|
|
2402
|
+
/>
|
|
2403
|
+
<Button.Clear
|
|
2404
|
+
padding={ [ 0,1 ] }
|
|
2405
|
+
color='white'
|
|
2406
|
+
onClick={ event => {
|
|
2407
|
+
Tooltips.open( {
|
|
2408
|
+
tipsID: UUID(),
|
|
2409
|
+
parent: event.target,
|
|
2410
|
+
gravityPoint: 24,
|
|
2411
|
+
closeAtAroundClick: true,
|
|
2412
|
+
closeAtParentBlur: false,
|
|
2413
|
+
content: <Column
|
|
2414
|
+
gap={ 0 }
|
|
2415
|
+
padding={ [ '2/3',0 ] }
|
|
2416
|
+
backgroundColor={ 'layer.1' }
|
|
2417
|
+
borderRadius={ 2 }
|
|
2418
|
+
boxShadow={ '0.normal' }
|
|
2419
|
+
overflow={ 'hidden' }
|
|
2420
|
+
>
|
|
2421
|
+
<Button.Clear.S
|
|
2422
|
+
borderRadius={ 0 }
|
|
2423
|
+
borderBottom='1.thin'
|
|
2424
|
+
>すべてを出力</Button.Clear.S>
|
|
2425
|
+
<Button.Clear.S
|
|
2426
|
+
borderRadius={ 0 }
|
|
2427
|
+
borderBottom='1.thin'
|
|
2428
|
+
>
|
|
2429
|
+
このページのみ出力
|
|
2430
|
+
</Button.Clear.S>
|
|
2431
|
+
<Button.Clear.S borderRadius={ 0 }>
|
|
2432
|
+
チェックした行のみ出力
|
|
2433
|
+
</Button.Clear.S>
|
|
2434
|
+
</Column>
|
|
2435
|
+
} )
|
|
2436
|
+
} }
|
|
2437
|
+
>
|
|
2438
|
+
<FAI.EllipsisV />
|
|
2439
|
+
</Button.Clear>
|
|
2440
|
+
</Flex>
|
|
2441
|
+
</Flex>
|
|
2442
|
+
<Row.Separate verticalAlign='bottom'>
|
|
2443
|
+
<Row.Left verticalAlign='bottom'>
|
|
2444
|
+
<Table.Data.SearchInput
|
|
2445
|
+
tableID={ tableID }
|
|
2446
|
+
onChange={ ( keyword ) => {
|
|
2447
|
+
set_keyword( keyword )
|
|
2448
|
+
} }
|
|
2449
|
+
/>
|
|
2450
|
+
<Table.Data.Info tableID={ tableID } />
|
|
2451
|
+
</Row.Left>
|
|
2452
|
+
<Row.Right verticalAlign='unset'>
|
|
2453
|
+
<Table.Data.RowLength
|
|
2454
|
+
tableID={ tableID }
|
|
2455
|
+
lengthSelect={ [ 30,50,100 ] }
|
|
2456
|
+
/>
|
|
2457
|
+
<Table.Data.Paging tableID={ tableID } />
|
|
2458
|
+
</Row.Right>
|
|
2459
|
+
</Row.Separate>
|
|
2460
|
+
<Table.Data
|
|
2461
|
+
tableID={ tableID }
|
|
2462
|
+
colLength={ 3 }
|
|
2463
|
+
head={ [
|
|
2464
|
+
{ data: 'head1' },
|
|
2465
|
+
{ data: 'head2',children: <Box>head2</Box> },
|
|
2466
|
+
{
|
|
2467
|
+
data: 'head3',
|
|
2468
|
+
// styles: { backgroundColor: 'angel' },
|
|
2469
|
+
// freeCSS: { opacity: .3 }
|
|
2470
|
+
}
|
|
2471
|
+
] }
|
|
2472
|
+
rows={ DataData }
|
|
2473
|
+
pageRowLength={ 30 }
|
|
2474
|
+
ssCardBox
|
|
2475
|
+
|
|
2476
|
+
cellStyles={ {
|
|
2477
|
+
padding: '1/2'
|
|
2478
|
+
} }
|
|
2479
|
+
filter={ [ true,true ] }
|
|
2480
|
+
checker
|
|
2481
|
+
/>
|
|
2482
|
+
</Column>
|
|
2483
|
+
},
|
|
2484
|
+
Spread: () => {
|
|
2485
|
+
return <>
|
|
2486
|
+
<Box fontSize='5.subTitle'>
|
|
2487
|
+
Table.Spread
|
|
2488
|
+
</Box>
|
|
2489
|
+
{/* <Table.Spread /> */ }
|
|
2490
|
+
</>
|
|
2491
|
+
}
|
|
2492
|
+
}
|
|
2493
|
+
|
|
2494
|
+
|
|
2495
|
+
|
|
2496
|
+
|
|
2497
|
+
const Cropping = () => {
|
|
2498
|
+
let [ val_ImageUrl1,set_ImageUrl1 ] = useState( '' )
|
|
2499
|
+
let [ val_ImageUrl2,set_ImageUrl2 ] = useState( '' )
|
|
2500
|
+
let [ val_ImageUrl3,set_ImageUrl3 ] = useState( '' )
|
|
2501
|
+
|
|
2502
|
+
return <>
|
|
2503
|
+
<Box>
|
|
2504
|
+
<Button
|
|
2505
|
+
onClick={ () => {
|
|
2506
|
+
Cropper.openDialogNEdit( {
|
|
2507
|
+
// use: 'square',
|
|
2508
|
+
use: '3:1',
|
|
2509
|
+
develops: [
|
|
2510
|
+
{ size: 'S' },
|
|
2511
|
+
{ size: 'R' },
|
|
2512
|
+
{ size: 'L' }
|
|
2513
|
+
],
|
|
2514
|
+
onProcessFinished: async ( develops ) => {
|
|
2515
|
+
set_ImageUrl1( await ( await Filer.fromFile( develops[ 0 ] ) ).toDataURL() )
|
|
2516
|
+
set_ImageUrl2( await ( await Filer.fromFile( develops[ 1 ] ) ).toDataURL() )
|
|
2517
|
+
set_ImageUrl3( await ( await Filer.fromFile( develops[ 2 ] ) ).toDataURL() )
|
|
2518
|
+
|
|
2519
|
+
// set_ImageUrl1( await develops[ 0 ].toDataUrl() )
|
|
2520
|
+
// set_ImageUrl2( await develops[ 1 ].toDataUrl() )
|
|
2521
|
+
// set_ImageUrl3( await develops[ 2 ].toDataUrl() )
|
|
2522
|
+
}
|
|
2523
|
+
} )
|
|
2524
|
+
} }
|
|
2525
|
+
>
|
|
2526
|
+
<FAI.Image /> イメージを選択
|
|
2527
|
+
</Button>
|
|
2528
|
+
|
|
2529
|
+
<Row.Center>
|
|
2530
|
+
<Button.Prime
|
|
2531
|
+
onClick={ () => {
|
|
2532
|
+
Sheet.image( {},[
|
|
2533
|
+
'https://png.pngtree.com/background/20210714/original/pngtree-futuristic-shape-abstract-background-chemistry-technology-concept-for-website-picture-image_1250295.jpg',
|
|
2534
|
+
'https://png.pngtree.com/background/20210711/original/pngtree-set-of-instagram-stories-sale-banner-background-instagram-template-photo-can-picture-image_1167343.jpg',
|
|
2535
|
+
'https://png.pngtree.com/background/20210715/original/pngtree-website-banner-abstract-purple-blue-gradient-background-picture-image_1298439.jpg'
|
|
2536
|
+
] )
|
|
2537
|
+
} }
|
|
2538
|
+
>
|
|
2539
|
+
Open Image Sheet
|
|
2540
|
+
</Button.Prime>
|
|
2541
|
+
</Row.Center>
|
|
2542
|
+
|
|
2543
|
+
<Flex gap={ 1 } verticalAlign='top'>
|
|
2544
|
+
{ val_ImageUrl1 && <Img
|
|
2545
|
+
isRounded
|
|
2546
|
+
src={ val_ImageUrl1 }
|
|
2547
|
+
alt=''
|
|
2548
|
+
showExpand
|
|
2549
|
+
freeCSS={ {
|
|
2550
|
+
maxWidth: 12 * 12
|
|
2551
|
+
} }
|
|
2552
|
+
/> }
|
|
2553
|
+
{ val_ImageUrl2 && <Img
|
|
2554
|
+
style={ {
|
|
2555
|
+
maxWidth: 24 * 12
|
|
2556
|
+
} }
|
|
2557
|
+
src={ val_ImageUrl2 }
|
|
2558
|
+
alt=''
|
|
2559
|
+
showExpand
|
|
2560
|
+
/> }
|
|
2561
|
+
{ val_ImageUrl3 && <Img
|
|
2562
|
+
style={ {
|
|
2563
|
+
maxWidth: 24 * 12
|
|
2564
|
+
} }
|
|
2565
|
+
src={ val_ImageUrl3 }
|
|
2566
|
+
alt=''
|
|
2567
|
+
showExpand
|
|
2568
|
+
/> }
|
|
2569
|
+
|
|
2570
|
+
<SwipeView
|
|
2571
|
+
border
|
|
2572
|
+
borderWidth={ 3 }
|
|
2573
|
+
margin={ [ 3,'auto' ] }
|
|
2574
|
+
// padding={ [ 0,4 ] }
|
|
2575
|
+
// margin={ 'auto' }
|
|
2576
|
+
freeCSS={ {
|
|
2577
|
+
// maxWidth: 12 * 30
|
|
2578
|
+
width: 12 * 10
|
|
2579
|
+
} }
|
|
2580
|
+
slideIndex={ 1 }
|
|
2581
|
+
options={ {
|
|
2582
|
+
loop: true,
|
|
2583
|
+
onSlideCallback: ( index ) => {
|
|
2584
|
+
}
|
|
2585
|
+
} }
|
|
2586
|
+
slides={ [
|
|
2587
|
+
<Box flexCenter padding={ 3 } backgroundColor='nega'>
|
|
2588
|
+
test1
|
|
2589
|
+
</Box>,
|
|
2590
|
+
<Box flexCenter padding={ 3 } backgroundColor='posi'>
|
|
2591
|
+
test2
|
|
2592
|
+
</Box>,
|
|
2593
|
+
<Box flexCenter padding={ 3 } backgroundColor='warn'>
|
|
2594
|
+
test3
|
|
2595
|
+
</Box>,
|
|
2596
|
+
<Box flexCenter padding={ 3 } backgroundColor='theme'>
|
|
2597
|
+
test4
|
|
2598
|
+
</Box>,
|
|
2599
|
+
] }
|
|
2600
|
+
/>
|
|
2601
|
+
</Flex>
|
|
2602
|
+
</Box>
|
|
2603
|
+
</>
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2606
|
+
const UserConfig = () => {
|
|
2607
|
+
let [ val_theme,set_theme ] = useState<ThemeColor>( Config.get().themeColor )
|
|
2608
|
+
useEffect( () => {
|
|
2609
|
+
$$.scope( () => {
|
|
2610
|
+
if ( val_theme === Config.get().themeColor ) return
|
|
2611
|
+
Config.update.themeColor( val_theme )
|
|
2612
|
+
$$.localStrage.set( 'prf.themeColor',val_theme )
|
|
2613
|
+
} )
|
|
2614
|
+
},[ val_theme ] )
|
|
2615
|
+
|
|
2616
|
+
return <Row.Left
|
|
2617
|
+
borderBottom
|
|
2618
|
+
gap={ 2 }
|
|
2619
|
+
padding={ [ '1/2',2 ] }
|
|
2620
|
+
overflow={ 'auto' }
|
|
2621
|
+
freeCSS={ {
|
|
2622
|
+
whiteSpace: 'nowrap'
|
|
2623
|
+
} }
|
|
2624
|
+
>
|
|
2625
|
+
<Row.Left>
|
|
2626
|
+
<Literal.Paragraph>Roundness</Literal.Paragraph>
|
|
2627
|
+
<Input.Slider
|
|
2628
|
+
min={ 0 }
|
|
2629
|
+
max={ 5 }
|
|
2630
|
+
step={ 1 }
|
|
2631
|
+
value={ Config.get().roundness }
|
|
2632
|
+
onUpdateValidValue={ value => {
|
|
2633
|
+
let nextValue = value
|
|
2634
|
+
|
|
2635
|
+
$$.interval.once( () => {
|
|
2636
|
+
$$.localStrage.set( 'prf.roundness',nextValue )
|
|
2637
|
+
Config.update.roundness( Number( nextValue ) as Roundness )
|
|
2638
|
+
},1000,'updateRoundness' )
|
|
2639
|
+
} }
|
|
2640
|
+
/>
|
|
2641
|
+
</Row.Left>
|
|
2642
|
+
<Row.Left>
|
|
2643
|
+
<Literal.Paragraph>Dark</Literal.Paragraph>
|
|
2644
|
+
<Input.Segmented.Cloud
|
|
2645
|
+
cellStyles={ {
|
|
2646
|
+
flexCenter: true,
|
|
2647
|
+
padding: [ '1/4','1/2' ],
|
|
2648
|
+
} }
|
|
2649
|
+
cellCheckedStyles={ {
|
|
2650
|
+
boxShadow: '2.normal',
|
|
2651
|
+
backgroundColor: 'theme',
|
|
2652
|
+
fontColor: 'white'
|
|
2653
|
+
} }
|
|
2654
|
+
ssCardBox
|
|
2655
|
+
backgroundColor={ 'layer.1' }
|
|
2656
|
+
gap={ '1/6' }
|
|
2657
|
+
fontColor={ '4.thin' }
|
|
2658
|
+
options={ [
|
|
2659
|
+
{ value: 'light',label: 'Light' },
|
|
2660
|
+
{ value: 'dim',label: 'Dim' },
|
|
2661
|
+
{ value: 'dark',label: 'Dark' },
|
|
2662
|
+
{ value: 'auto',label: 'Auto' },
|
|
2663
|
+
] }
|
|
2664
|
+
value={ Config.get().darkMode }
|
|
2665
|
+
onUpdateValidValue={ value => {
|
|
2666
|
+
let nextValue = value
|
|
2667
|
+
$$.localStrage.set( 'prf.darkMode',nextValue )
|
|
2668
|
+
Config.update.darkMode( nextValue )
|
|
2669
|
+
} }
|
|
2670
|
+
/>
|
|
2671
|
+
</Row.Left>
|
|
2672
|
+
<Row.Left>
|
|
2673
|
+
<Literal.Paragraph>Color</Literal.Paragraph>
|
|
2674
|
+
<Row.Left gap={ '1/6' }>
|
|
2675
|
+
{ Object.entries( ThemeColors ).map( ( [ key,themeColor ] ) => {
|
|
2676
|
+
let isSelected = key === val_theme
|
|
2677
|
+
|
|
2678
|
+
return <Button.Clear
|
|
2679
|
+
key={ key }
|
|
120
2680
|
color='cloud'
|
|
121
|
-
|
|
122
|
-
|
|
2681
|
+
padding={ '1/2' }
|
|
2682
|
+
textAlign='center'
|
|
2683
|
+
opacity={ isSelected ? 'max' : 'low' }
|
|
2684
|
+
isActive={ isSelected }
|
|
2685
|
+
isActiveStyles={ {
|
|
2686
|
+
boxShadow: '2.remark',
|
|
2687
|
+
backgroundColor: key as ThemeColor,
|
|
2688
|
+
fontColor: 'white'
|
|
2689
|
+
} }
|
|
123
2690
|
onClick={ () => {
|
|
124
|
-
|
|
125
|
-
use: "16:9",
|
|
126
|
-
develops: [
|
|
127
|
-
{ size: "S",}
|
|
128
|
-
],
|
|
129
|
-
onProcessFinished: ( files ) => {
|
|
130
|
-
console.log( files )
|
|
131
|
-
}
|
|
132
|
-
} )
|
|
2691
|
+
set_theme( key as ThemeColor )
|
|
133
2692
|
} }
|
|
134
2693
|
>
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
2694
|
+
<Column gap={ '1/2' } textAlign='center'>
|
|
2695
|
+
<Box
|
|
2696
|
+
position={ 'relative' }
|
|
2697
|
+
margin={ 'auto' }
|
|
2698
|
+
backgroundColor={ key as ThemeColor }
|
|
2699
|
+
ssSquare={ 2 }
|
|
2700
|
+
borderRadius={ '1.tone.primary' }
|
|
2701
|
+
>
|
|
2702
|
+
<Box
|
|
2703
|
+
ssAbsoluteCovered
|
|
2704
|
+
border
|
|
2705
|
+
opacity={ isSelected ? 'max' : 'low' }
|
|
2706
|
+
borderWidth={ 2 }
|
|
2707
|
+
transition={ 'short' }
|
|
2708
|
+
borderRadius={ '1.tone.primary' }
|
|
2709
|
+
freeCSS={ {
|
|
2710
|
+
transform: 'scale(1.25)',
|
|
2711
|
+
} }
|
|
2712
|
+
/>
|
|
2713
|
+
</Box>
|
|
2714
|
+
<Literal.Supplement
|
|
2715
|
+
display='none'
|
|
2716
|
+
ssTextEllipsis
|
|
2717
|
+
freeCSS={ {
|
|
2718
|
+
lineHeight: 1.25
|
|
2719
|
+
} }
|
|
2720
|
+
>
|
|
2721
|
+
{ isSelected && <FAI.Check /> } { key.toCapital() }
|
|
2722
|
+
</Literal.Supplement>
|
|
2723
|
+
</Column>
|
|
2724
|
+
</Button.Clear>
|
|
2725
|
+
} ) }
|
|
2726
|
+
</Row.Left>
|
|
2727
|
+
</Row.Left>
|
|
2728
|
+
</Row.Left>
|
|
2729
|
+
}
|
|
138
2730
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
2731
|
+
let DesignBook = () => {
|
|
2732
|
+
let [ val_tabIndex,set_tabIndex ] = useState( Number( $$.queryParams.get().ti ) || 0 )
|
|
2733
|
+
useEffect( () => {
|
|
2734
|
+
$$.queryParams.set( { 'ti': String( val_tabIndex ) } )
|
|
2735
|
+
},[ val_tabIndex ] )
|
|
2736
|
+
|
|
2737
|
+
// let [ val_refresh,set_refresh ] = useState( UUID() )
|
|
2738
|
+
|
|
2739
|
+
// let DataData: Table.Data.BodyRow[] = []
|
|
2740
|
+
// for ( var i = 0; i < 100; i++ ) {
|
|
2741
|
+
// let random1 = $$.randomNumber( 0,10000 )
|
|
2742
|
+
// let random2 = $$.randomNumber( 0,10000 )
|
|
2743
|
+
|
|
2744
|
+
// let Data1 = 'name_' + random1
|
|
2745
|
+
// let Data2 = 'data_' + random2
|
|
2746
|
+
// let Row: Table.Data.BodyRow = [
|
|
2747
|
+
// {
|
|
2748
|
+
// type: 'th',
|
|
2749
|
+
// // children: i + ':' + Data1,
|
|
2750
|
+
// children: [
|
|
2751
|
+
// 'i=' + i,
|
|
2752
|
+
// 'data=' + random1.toLocaleString(),
|
|
2753
|
+
// ].join( '/' ),
|
|
2754
|
+
// data: Data1,
|
|
2755
|
+
// // orderIndex: random1.toLocaleString()
|
|
2756
|
+
// orderIndex: random1
|
|
2757
|
+
// },
|
|
2758
|
+
// { type: 'td',children: Data2,data: Data2 },
|
|
2759
|
+
// ]
|
|
2760
|
+
// DataData.push( Row )
|
|
2761
|
+
// }
|
|
2762
|
+
// DataData[ 1 ].checked = true
|
|
2763
|
+
// DataData[ 4 ].checked = true
|
|
2764
|
+
|
|
2765
|
+
// return <Column>
|
|
2766
|
+
// <Literal>Count: { DataData.length.toLocaleString() }</Literal>
|
|
2767
|
+
// <Table.Data
|
|
2768
|
+
// tableID={ 'aaaa' }
|
|
2769
|
+
// colLength={ 2 }
|
|
2770
|
+
// pageRowLength={ 100 }
|
|
2771
|
+
// head={ [
|
|
2772
|
+
// { data: 'head1' },
|
|
2773
|
+
// { data: 'head2',children: <Box>head2</Box> },
|
|
2774
|
+
// ] }
|
|
2775
|
+
// rows={ DataData }
|
|
2776
|
+
// ssCardBox
|
|
2777
|
+
|
|
2778
|
+
// orderPriority='DESC'
|
|
2779
|
+
// cellStyles={ {
|
|
2780
|
+
// padding: '1/2'
|
|
2781
|
+
// } }
|
|
2782
|
+
// // filter={ [ true,true ] }
|
|
2783
|
+
// // checker
|
|
2784
|
+
// />
|
|
2785
|
+
// </Column>
|
|
2786
|
+
|
|
2787
|
+
return <Box
|
|
2788
|
+
padding={ 3 }
|
|
2789
|
+
>
|
|
2790
|
+
<Input.Time.DateWareki
|
|
2791
|
+
label='Input.Time.DateWareki'
|
|
2792
|
+
name='time.dateWareki'
|
|
2793
|
+
defaultEra="year"
|
|
2794
|
+
/>
|
|
2795
|
+
|
|
2796
|
+
</Box>
|
|
2797
|
+
|
|
2798
|
+
return <>
|
|
2799
|
+
{ Array.from( { length: 10 } ).map( ( _,index ) => {
|
|
2800
|
+
return <Box>
|
|
2801
|
+
AAAA
|
|
2802
|
+
</Box>
|
|
2803
|
+
} ) }
|
|
2804
|
+
<UserConfig />
|
|
2805
|
+
<Column
|
|
2806
|
+
gap={ 0 }
|
|
2807
|
+
// minHeight={ 'contentHeight' }
|
|
2808
|
+
// backgroundColor={ 'layer.1' }
|
|
2809
|
+
// backgroundColor='gray'
|
|
2810
|
+
// position={ 'relative' }
|
|
2811
|
+
freeCSS={ {
|
|
2812
|
+
zIndex: 1
|
|
2813
|
+
} }
|
|
2814
|
+
>
|
|
2815
|
+
<TabBar
|
|
2816
|
+
borderBottom
|
|
2817
|
+
position={ 'sticky' }
|
|
2818
|
+
backgroundColor={ 'layer.1' }
|
|
2819
|
+
boxShadow='2.normal'
|
|
2820
|
+
top={ 'topBase' }
|
|
2821
|
+
tabIndex={ val_tabIndex }
|
|
2822
|
+
tabs={ [
|
|
2823
|
+
'Basic',
|
|
2824
|
+
'Shadows',
|
|
2825
|
+
'Buttons',
|
|
2826
|
+
'Inputs',
|
|
2827
|
+
'Styling',
|
|
2828
|
+
'Effection',
|
|
2829
|
+
'Tables',
|
|
2830
|
+
'Croppie',
|
|
2831
|
+
'PlayGround',
|
|
2832
|
+
'Logo',
|
|
2833
|
+
] }
|
|
2834
|
+
onTabChange={ ( index ) => {
|
|
2835
|
+
localStorage.setItem( 'designTabHeader',String( index ) )
|
|
2836
|
+
set_tabIndex( index )
|
|
2837
|
+
} }
|
|
2838
|
+
UnderBreakPointStyles={ {
|
|
2839
|
+
position: 'static',
|
|
2840
|
+
top: 0
|
|
2841
|
+
} }
|
|
2842
|
+
/>
|
|
2843
|
+
<Box
|
|
2844
|
+
flexSizing={ 0 }
|
|
2845
|
+
position={ 'relative' }
|
|
2846
|
+
freeCSS={ {
|
|
2847
|
+
zIndex: 1
|
|
2848
|
+
} }
|
|
2849
|
+
>
|
|
2850
|
+
<PageViewController
|
|
2851
|
+
viewIndex={ val_tabIndex }
|
|
2852
|
+
views={ [
|
|
2853
|
+
<Basic.index />,
|
|
2854
|
+
<Shadows.index />,
|
|
2855
|
+
<Buttons.index />,
|
|
2856
|
+
<Inputs />,
|
|
2857
|
+
<Styling />,
|
|
2858
|
+
<Effections.index />,
|
|
2859
|
+
<Tables.index />,
|
|
2860
|
+
<Cropping />,
|
|
2861
|
+
'',
|
|
2862
|
+
<Logos.index />,
|
|
2863
|
+
] }
|
|
2864
|
+
wrapper={ ( View ) => {
|
|
2865
|
+
return <Effect.FadeIn
|
|
2866
|
+
key={ val_tabIndex }
|
|
2867
|
+
animationTime={ 200 }
|
|
2868
|
+
>
|
|
2869
|
+
<Plate>
|
|
2870
|
+
<Flex
|
|
2871
|
+
gap={ 2 }
|
|
2872
|
+
padding={ 2 }
|
|
2873
|
+
flexWrap
|
|
2874
|
+
flexChilds={ 'auto' }
|
|
2875
|
+
>{ View }</Flex>
|
|
2876
|
+
</Plate>
|
|
2877
|
+
</Effect.FadeIn>
|
|
2878
|
+
} }
|
|
2879
|
+
/>
|
|
2880
|
+
</Box>
|
|
2881
|
+
</Column>
|
|
2882
|
+
</>
|
|
142
2883
|
}
|
|
143
2884
|
|
|
144
2885
|
import dynamic from 'next/dynamic'
|
|
145
|
-
|
|
146
|
-
export default dynamic( () => Promise.resolve( Dashboard ),{ ssr: false } )
|
|
2886
|
+
export default dynamic( () => Promise.resolve( DesignBook ),{ ssr: false } )
|