amotify 0.2.98 → 0.2.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/demo/esbuild/app.tsx +3 -2
- package/demo/esbuild/designBook.tsx +17 -3
- package/demo/esbuild/public/index.js +176 -78
- package/dist/fn/Cropper.js +1 -1
- package/dist/fn/Input/List.js +1 -1
- package/package.json +2 -2
package/demo/esbuild/app.tsx
CHANGED
|
@@ -43,7 +43,8 @@ import {
|
|
|
43
43
|
Loader,
|
|
44
44
|
Effect,
|
|
45
45
|
Cropper,
|
|
46
|
-
RootViewController
|
|
46
|
+
RootViewController,
|
|
47
|
+
StyleTags
|
|
47
48
|
} from 'amotify'
|
|
48
49
|
|
|
49
50
|
const Basic = {
|
|
@@ -2339,8 +2340,8 @@ const Tables = {
|
|
|
2339
2340
|
index: () => {
|
|
2340
2341
|
return <>
|
|
2341
2342
|
<Column gap={ 3 }>
|
|
2342
|
-
<Tables.Data />
|
|
2343
2343
|
<Tables.Normal />
|
|
2344
|
+
<Tables.Data />
|
|
2344
2345
|
<Tables.Drag />
|
|
2345
2346
|
<Tables.Spread />
|
|
2346
2347
|
</Column>
|
|
@@ -2376,6 +2377,18 @@ const Tables = {
|
|
|
2376
2377
|
// }
|
|
2377
2378
|
},
|
|
2378
2379
|
] }
|
|
2380
|
+
cellStylesCallback={ ( args ) => {
|
|
2381
|
+
let styles: StyleTags.Properties = {}
|
|
2382
|
+
|
|
2383
|
+
if ( args.isHeader ) {
|
|
2384
|
+
console.log( 'AAA' )
|
|
2385
|
+
styles = {
|
|
2386
|
+
...styles,
|
|
2387
|
+
backgroundColor: 'cloud'
|
|
2388
|
+
}
|
|
2389
|
+
}
|
|
2390
|
+
return styles
|
|
2391
|
+
} }
|
|
2379
2392
|
rows={ PureData }
|
|
2380
2393
|
ssCardBox
|
|
2381
2394
|
onRowClick={ ( rowID ) => {
|
|
@@ -2599,7 +2612,8 @@ const Cropping = () => {
|
|
|
2599
2612
|
<Button
|
|
2600
2613
|
onClick={ () => {
|
|
2601
2614
|
Cropper.openDialogNEdit( {
|
|
2602
|
-
use: 'square',
|
|
2615
|
+
// use: 'square',
|
|
2616
|
+
use: 'wallpaper.horizontal',
|
|
2603
2617
|
develops: [
|
|
2604
2618
|
{ size: 'S' },
|
|
2605
2619
|
{ size: 'R' },
|