@servesall/atoms 1.1.11 → 1.1.13
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/dist/bundle.cjs.js +584 -1145
- package/dist/bundle.esm.js +584 -1146
- package/dist/bundle.umd.js +584 -1145
- package/package.json +1 -1
- package/src/Icons/Assets/add.json +1 -1
- package/src/Icons/Assets/big_calendar.json +1 -1
- package/src/Icons/Assets/big_pax.json +1 -1
- package/src/Icons/Assets/big_time.json +1 -1
- package/src/Inputs/InputNormal/index.js +1 -0
- package/src/Layout/Layout.style.js +6 -0
- package/src/Layout/MarginLeft.js +12 -0
- package/src/Layout/index.js +2 -0
- package/src/index.js +2 -0
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"ip":0,"fr":60,"v":"5.1.20","assets":[],"layers":[{"ty":4,"nm":"
|
|
1
|
+
{"ip":0,"fr":60,"v":"5.1.20","assets":[],"layers":[{"ty":4,"nm":"add","ip":0,"st":0,"ind":1,"hix":1,"ks":{"o":{"a":0,"k":100},"or":{"a":0,"k":[0,0,0]},"a":{"a":0,"k":[119,119,0]},"p":{"s":true,"x":{"a":0,"k":200},"y":{"a":0,"k":200}},"rx":{"a":0,"k":0},"ry":{"a":0,"k":0},"rz":{"a":0,"k":0},"s":{"a":0,"k":[161.8,161.8]}},"shapes":[{"ty":"gr","nm":"add shape group","it":[{"ty":"rc","s":{"a":0,"k":[40,238]},"r":{"a":0,"k":20},"p":{"a":0,"k":[119,119]}},{"ty":"st","o":{"a":0,"k":0},"w":{"a":0,"k":0},"c":{"a":0,"k":[0,0,0,0]},"lc":3,"lj":1,"ml":1},{"ty":"fl","o":{"a":0,"k":100},"r":2,"c":{"a":0,"k":[1,1,1,1]}},{"ty":"tr","o":{"a":0,"k":100},"a":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"p":{"a":0,"k":[238,0]},"r":{"a":0,"k":90.01166961505233}}]},{"ty":"gr","nm":"add shape group","it":[{"ty":"rc","s":{"a":0,"k":[40,238]},"r":{"a":0,"k":20},"p":{"a":0,"k":[119,119]}},{"ty":"st","o":{"a":0,"k":0},"w":{"a":0,"k":0},"c":{"a":0,"k":[0,0,0,0]},"lc":3,"lj":1,"ml":1},{"ty":"fl","o":{"a":0,"k":100},"r":2,"c":{"a":0,"k":[1,1,1,1]}},{"ty":"tr","o":{"a":0,"k":100},"a":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0}}]}],"op":1}],"op":1,"w":400,"h":400}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"ip":0,"fr":60,"v":"5.1.20","assets":[],"layers":[{"ty":4,"nm":"big_calendar","ip":0,"st":0,"ind":1,"hix":1,"ks":{"o":{"a":0,"k":100},"or":{"a":0,"k":[0,0,0]},"a":{"a":0,"k":[24,
|
|
1
|
+
{"ip":0,"fr":60,"v":"5.1.20","assets":[],"layers":[{"ty":4,"nm":"big_calendar","ip":0,"st":0,"ind":1,"hix":1,"ks":{"o":{"a":0,"k":100},"or":{"a":0,"k":[0,0,0]},"a":{"a":0,"k":[24,23.5,0]},"p":{"s":true,"x":{"a":0,"k":50},"y":{"a":0,"k":49.9995}},"rx":{"a":0,"k":0},"ry":{"a":0,"k":0},"rz":{"a":0,"k":0},"s":{"a":0,"k":[190.3,190.3]}},"shapes":[{"ty":"gr","nm":"big_calendar shape group","it":[{"ty":"rc","s":{"a":0,"k":[6,16]},"r":{"a":0,"k":3},"p":{"a":0,"k":[29,8]}},{"ty":"st","o":{"a":0,"k":0},"w":{"a":0,"k":0},"c":{"a":0,"k":[0,0,0,0]},"lc":3,"lj":1,"ml":1},{"ty":"fl","o":{"a":0,"k":100},"r":2,"c":{"a":0,"k":[0,0,0,1]}},{"ty":"tr","o":{"a":0,"k":100},"a":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"p":{"a":0,"k":[3,0]},"r":{"a":0,"k":0}}]},{"ty":"gr","nm":"big_calendar shape group","it":[{"ty":"rc","s":{"a":0,"k":[6,16]},"r":{"a":0,"k":3},"p":{"a":0,"k":[13,8]}},{"ty":"st","o":{"a":0,"k":0},"w":{"a":0,"k":0},"c":{"a":0,"k":[0,0,0,0]},"lc":3,"lj":1,"ml":1},{"ty":"fl","o":{"a":0,"k":100},"r":2,"c":{"a":0,"k":[0,0,0,1]}},{"ty":"tr","o":{"a":0,"k":100},"a":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"p":{"a":0,"k":[3,0]},"r":{"a":0,"k":0}}]},{"ty":"gr","nm":"big_calendar shape group","it":[{"ty":"sh","ks":{"a":0,"k":{"c":true,"v":[[7,8],[0,15],[0,39],[6,44],[36,44],[42,39],[42,15],[36,8]],"i":[[4.5,0],[0,-5],[0,-3],[-4,0],[-3.5,0],[0,3.5],[0,4.5],[3.5,0]],"o":[[-4.5,0],[0,5],[0,3],[4,0],[3.5,0],[0,-3.5],[0,-4.5],[-3.5,0]]}}},{"ty":"st","o":{"a":0,"k":100},"c":{"a":0,"k":[0,0,0,1]},"lc":2,"lj":1,"ml":1,"w":{"a":0,"k":5}},{"ty":"fl","o":{"a":0,"k":0},"c":{"a":0,"k":[0,0,0,0]},"r":1},{"ty":"tr","o":{"a":0,"k":100},"a":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"p":{"a":0,"k":[3,0]},"r":{"a":0,"k":0}}]}],"op":1}],"op":1,"w":100,"h":100}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"ip":0,"fr":60,"v":"5.1.20","assets":[],"layers":[{"ty":4,"nm":"big_pax","ip":0,"st":0,"ind":
|
|
1
|
+
{"ip":0,"fr":60,"v":"5.1.20","assets":[],"layers":[{"ty":4,"nm":"big_pax","ip":0,"st":0,"ind":2,"hix":1,"ks":{"o":{"a":0,"k":100},"or":{"a":0,"k":[0,0,0]},"a":{"a":0,"k":[26,38.5,0]},"p":{"s":true,"x":{"a":0,"k":50},"y":{"a":0,"k":49.99999999999999}},"rx":{"a":0,"k":0},"ry":{"a":0,"k":0},"rz":{"a":0,"k":0},"s":{"a":0,"k":[113.19999999999999,113.19999999999999]}},"shapes":[{"ty":"gr","nm":"big_pax shape group","it":[{"ty":"el","p":{"a":0,"k":[22,15]},"s":{"a":0,"k":[22,22]}},{"ty":"st","o":{"a":0,"k":100},"c":{"a":0,"k":[0,0,0,1]},"lc":3,"lj":1,"ml":1,"w":{"a":0,"k":8}},{"ty":"fl","o":{"a":0,"k":0},"c":{"a":0,"k":[0,0,0,0]},"r":1},{"ty":"tr","o":{"a":0,"k":100},"a":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"p":{"a":0,"k":[4,0]},"r":{"a":0,"k":0}}]},{"ty":"gr","nm":"big_pax shape group","it":[{"ty":"sh","ks":{"a":0,"k":{"c":true,"v":[[7.33333333,37],[-7.10542736e-15,44],[-7.10542736e-15,68],[6.28571429,73],[37.7142857,73],[44,68],[44,44],[37.7142857,37]],"i":[[4.714285669999999,0],[0,-5],[0,-3],[-4.19047619,0],[-3.6666667000000004,0],[0,3.5],[0,4.5],[3.6666667000000004,0]],"o":[[-4.71428571,0],[0,5],[0,3],[4.19047621,0],[3.6666667000000004,0],[0,-3.5],[0,-4.5],[-3.6666667000000004,0]]}}},{"ty":"st","o":{"a":0,"k":100},"c":{"a":0,"k":[0,0,0,1]},"lc":2,"lj":1,"ml":1,"w":{"a":0,"k":8}},{"ty":"fl","o":{"a":0,"k":0},"c":{"a":0,"k":[0,0,0,0]},"r":1},{"ty":"tr","o":{"a":0,"k":100},"a":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"p":{"a":0,"k":[4,0]},"r":{"a":0,"k":0}}]}],"op":1}],"op":1,"w":100,"h":100}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"ip":0,"fr":60,"v":"5.1.20","assets":[],"layers":[{"ty":4,"nm":"big_time","ip":0,"st":0,"ind":1,"hix":1,"ks":{"o":{"a":0,"k":100},"or":{"a":0,"k":[0,0,0]},"a":{"a":0,"k":[23,23,0]},"p":{"s":true,"x":{"a":0,"k":
|
|
1
|
+
{"ip":0,"fr":60,"v":"5.1.20","assets":[],"layers":[{"ty":4,"nm":"big_time","ip":0,"st":0,"ind":1,"hix":1,"ks":{"o":{"a":0,"k":100},"or":{"a":0,"k":[0,0,0]},"a":{"a":0,"k":[23,23,0]},"p":{"s":true,"x":{"a":0,"k":49.99999999999999},"y":{"a":0,"k":49.99999999999999}},"rx":{"a":0,"k":0},"ry":{"a":0,"k":0},"rz":{"a":0,"k":0},"s":{"a":0,"k":[189.79999999999998,189.79999999999998]}},"shapes":[{"ty":"gr","nm":"big_time shape group","it":[{"ty":"el","p":{"a":0,"k":[20,20]},"s":{"a":0,"k":[40,40]}},{"ty":"st","o":{"a":0,"k":100},"c":{"a":0,"k":[0,0,0,1]},"lc":3,"lj":1,"ml":1,"w":{"a":0,"k":5}},{"ty":"fl","o":{"a":0,"k":0},"c":{"a":0,"k":[0,0,0,0]},"r":1},{"ty":"tr","o":{"a":0,"k":100},"a":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"p":{"a":0,"k":[3,3]},"r":{"a":0,"k":0}}]},{"ty":"gr","nm":"big_time shape group","it":[{"ty":"sh","ks":{"a":0,"k":{"c":true,"v":[[17.2452323,1.23259096],[17.2996632,1.27798766],[17.2996632,1.27798766],[17.5992203,4.63249835],[11.2398426,12.4547889],[10.1652413,13.1881493],[8.85116116,13.5639426],[8.7791316,13.5614653],[2.91965905,13.2692512],[0.569452227,10.7591723],[2.93818511,8.48554368],[3.01021462,8.48802097],[8.20110156,8.74682095],[14.0378964,1.56711401]],"i":[[-0.9784399000000015,-0.7905749950000001],[0,0],[0,0],[0.8253424000000003,-1.0152043899999996],[0,0],[0.40834229999999927,-0.13020629999999933],[0.4844840099999992,0.009171499999999],[0.023995629999999935,0.0011966000000001031],[0,0],[-0.025230059999999943,1.3321182],[-1.28397215,-0.024306429999999324],[-0.023995600000000117,-0.0011967400000010286],[0,0],[0,0]],"o":[[0,0],[0,0],[0.9922699999999978,0.8540893700000001],[0,0],[-0.2900936999999999,0.3568268999999997],[-0.37692737000000065,0.24574200000000168],[-0.024021210000000792,-0.00045479999999997744],[0,0],[-1.3348316599999999,-0.06656869999999948],[0.024242890000000017,-1.2799967799999994],[0.024021190000000026,0.0004547400000003421],[0,0],[0,0],[0.7929228000000013,-0.97532697]]}}},{"ty":"st","o":{"a":0,"k":100},"c":{"a":0,"k":[0,0,0,1]},"lc":3,"lj":1,"ml":1,"w":{"a":0,"k":1}},{"ty":"fl","o":{"a":0,"k":100},"r":1,"c":{"a":0,"k":[0,0,0,1]}},{"ty":"tr","o":{"a":0,"k":100},"a":{"a":0,"k":[0,0]},"s":{"a":0,"k":[-100,100]},"p":{"a":0,"k":[37.042,21.361]},"r":{"a":0,"k":37.98710181717358}}]}],"op":1}],"op":1,"w":100,"h":100}
|
|
@@ -75,6 +75,12 @@ export const MarginRightElement = styled.View`
|
|
|
75
75
|
${(props) => props.style};
|
|
76
76
|
`;
|
|
77
77
|
|
|
78
|
+
export const MarginLeftElement = styled.View`
|
|
79
|
+
margin-left: ${(props) => props.theme.margin};
|
|
80
|
+
flex-direction: ${(props) => props.flexDirection || DEFAULT_FLEX_DIRECTION};
|
|
81
|
+
${(props) => props.style};
|
|
82
|
+
`;
|
|
83
|
+
|
|
78
84
|
export const PaddingElement = styled.View`
|
|
79
85
|
padding: ${(props) => props.theme.padding};
|
|
80
86
|
flex-direction: ${(props) => props.flexDirection || DEFAULT_FLEX_DIRECTION};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { MarginLeftElement } from "./Layout.style";
|
|
3
|
+
|
|
4
|
+
const MarginLeft = ({ children, style, direction = false }) => {
|
|
5
|
+
return (
|
|
6
|
+
<MarginLeftElement style={style} flexDirection={direction}>
|
|
7
|
+
{children}
|
|
8
|
+
</MarginLeftElement>
|
|
9
|
+
);
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export default MarginLeft;
|
package/src/Layout/index.js
CHANGED
|
@@ -7,6 +7,7 @@ import MarginVertical from "./MarginVertical";
|
|
|
7
7
|
import MarginBottom from "./MarginBottom";
|
|
8
8
|
import MarginTop from "./MarginTop";
|
|
9
9
|
import MarginRight from "./MarginRight";
|
|
10
|
+
import MarginLeft from "./MarginLeft";
|
|
10
11
|
import Padding from "./Padding";
|
|
11
12
|
import PaddingHorizontal from "./PaddingHorizontal";
|
|
12
13
|
import PaddingVertical from "./PaddingVertical";
|
|
@@ -31,6 +32,7 @@ export {
|
|
|
31
32
|
MarginBottom,
|
|
32
33
|
MarginTop,
|
|
33
34
|
MarginRight,
|
|
35
|
+
MarginLeft,
|
|
34
36
|
Padding,
|
|
35
37
|
PaddingHorizontal,
|
|
36
38
|
PaddingVertical,
|
package/src/index.js
CHANGED
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
MarginBottom,
|
|
11
11
|
MarginTop,
|
|
12
12
|
MarginRight,
|
|
13
|
+
MarginLeft,
|
|
13
14
|
Padding,
|
|
14
15
|
PaddingHorizontal,
|
|
15
16
|
PaddingVertical,
|
|
@@ -71,6 +72,7 @@ export {
|
|
|
71
72
|
MarginBottom,
|
|
72
73
|
MarginTop,
|
|
73
74
|
MarginRight,
|
|
75
|
+
MarginLeft,
|
|
74
76
|
Padding,
|
|
75
77
|
PaddingHorizontal,
|
|
76
78
|
PaddingVertical,
|