amotify 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/fn.tsx +170 -170
- package/dist/amotify.js +1 -328
- package/dist/amotify.min.css +24 -12724
- package/package.json +1 -1
- package/src/functions/Table/_.tsx +7 -1
- package/src/templates/PlayGround/parts.tsx +9 -1
package/package.json
CHANGED
|
@@ -9,7 +9,13 @@ import {
|
|
|
9
9
|
} from '@atoms';
|
|
10
10
|
|
|
11
11
|
export const Comps: amotify.fn.Tables.CompsMethods = {
|
|
12
|
-
Table: ( params ) =>
|
|
12
|
+
Table: ( params ) => {
|
|
13
|
+
let Params = StyleConverter.ToClassName( params );
|
|
14
|
+
return <table
|
|
15
|
+
{ ...Params }
|
|
16
|
+
border={ Params.border as any }
|
|
17
|
+
/>;
|
|
18
|
+
},
|
|
13
19
|
Head: ( params ) => ( <thead { ...StyleConverter.ToClassName( params ) } /> ),
|
|
14
20
|
Body: ( params ) => ( <tbody { ...StyleConverter.ToClassName( params ) } /> ),
|
|
15
21
|
Row: ( params ) => ( <tr { ...StyleConverter.ToClassName( params ) } /> ),
|
|
@@ -8,7 +8,8 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
Buttons,
|
|
10
10
|
Input,
|
|
11
|
-
Inputs
|
|
11
|
+
Inputs,
|
|
12
|
+
Table
|
|
12
13
|
} from '@fn';
|
|
13
14
|
|
|
14
15
|
import style from './style.module.scss';
|
|
@@ -17,8 +18,15 @@ export const PlayGround: React.FC<{}> = () => {
|
|
|
17
18
|
return ( <>
|
|
18
19
|
<Box
|
|
19
20
|
padding={ 2 }
|
|
21
|
+
border
|
|
20
22
|
backgroundColor='cloud'
|
|
21
23
|
>
|
|
24
|
+
<Table.Comps.Table
|
|
25
|
+
border='2.normal'
|
|
26
|
+
borderLeft='2.normal'
|
|
27
|
+
>
|
|
28
|
+
|
|
29
|
+
</Table.Comps.Table>
|
|
22
30
|
AAAA
|
|
23
31
|
</Box>
|
|
24
32
|
<Column
|