amotify 0.2.26 → 0.2.27

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.
@@ -3,7 +3,7 @@ import * as ReactRouterDOM from 'react-router-dom'
3
3
  import React,{ useEffect } from 'react'
4
4
 
5
5
  import $$ from '@mingoo/jsmin'
6
- import amotify from '../../dist/index'
6
+ import amotify,{ Input } from '../../dist/index'
7
7
 
8
8
 
9
9
  let {
@@ -17,6 +17,7 @@ import {
17
17
  Column,
18
18
  pageRouter,
19
19
  ReactElement,
20
+ Text,
20
21
  Sheet,
21
22
  Button,
22
23
  Tooltips
@@ -24,6 +25,35 @@ import {
24
25
 
25
26
  import '../../dist/@styles/style.css'
26
27
 
28
+
29
+ let Test = () => {
30
+
31
+ return <>
32
+ <Column
33
+ freeCSS={ {
34
+ width: 12 * 32
35
+ } }
36
+ backgroundColor='cloud'
37
+ >
38
+ <Text.Supplement>
39
+ AAA
40
+ </Text.Supplement>
41
+ <Input.AutoHeightText
42
+ placeholder='テンプレートの説明'
43
+ // value={ val_description }
44
+ padding={ 2 }
45
+ freeCSS={ {
46
+ minHeight: 16 * 10
47
+ } }
48
+ onUpdateValidValue={ ( { value } ) => {
49
+ // set_description( value )
50
+ } }
51
+ />
52
+ </Column>
53
+ {/* <DesignBook /> */ }
54
+ </>
55
+ }
56
+
27
57
  $$.scope( () => {
28
58
  let root = document.createElement( 'sample-app' )
29
59
  root.id = 'sampleAppBody'
@@ -53,7 +83,7 @@ $$.scope( () => {
53
83
  } )
54
84
 
55
85
  return <ReactRouterDOM.Routes>
56
- <ReactRouterDOM.Route key={ '*' } path={ '*' } element={ <DesignBook /> } />
86
+ <ReactRouterDOM.Route key={ '*' } path={ '*' } element={ <Test /> } />
57
87
  </ReactRouterDOM.Routes>
58
88
  }
59
89