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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amotify",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "UI Component for React",
5
5
  "main": "dist/launch.js",
6
6
  "types": "dist/@types.d.ts",
@@ -9,7 +9,13 @@ import {
9
9
  } from '@atoms';
10
10
 
11
11
  export const Comps: amotify.fn.Tables.CompsMethods = {
12
- Table: ( params ) => ( <table { ...StyleConverter.ToClassName( 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