@factorearth/component-library 4.5.0 → 4.6.2-alpha.0
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.
|
@@ -4,6 +4,10 @@ const FieldWrapperContainer = styled.div `
|
|
|
4
4
|
display: flex;
|
|
5
5
|
width: 100%;
|
|
6
6
|
gap: 16px;
|
|
7
|
+
@media (max-width: 500px) {
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
gap: 8px;
|
|
10
|
+
}
|
|
7
11
|
`;
|
|
8
12
|
const LabelContainer = styled.label `
|
|
9
13
|
display: flex;
|
|
@@ -18,12 +22,19 @@ const LabelContainer = styled.label `
|
|
|
18
22
|
line-height: 125%;
|
|
19
23
|
color: ${({ colorPalette }) => colorPalette.text.primary};
|
|
20
24
|
width: 50%;
|
|
25
|
+
@media (max-width: 500px) {
|
|
26
|
+
min-height: 16px;
|
|
27
|
+
padding-top: 0;
|
|
28
|
+
}
|
|
21
29
|
`;
|
|
22
30
|
const FieldActionContainer = styled.div `
|
|
23
31
|
display: flex;
|
|
24
32
|
width: 100%;
|
|
25
33
|
padding: 8px 0;
|
|
26
34
|
align-items: center;
|
|
35
|
+
@media (max-width: 500px) {
|
|
36
|
+
padding: 0;
|
|
37
|
+
}
|
|
27
38
|
`;
|
|
28
39
|
export const FieldWrapper = (props) => {
|
|
29
40
|
const { colorPalette, label, children, link, ...htmlProps } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldWrapper.js","sourceRoot":"","sources":["../../../lib/Atoms/FieldWrapper/FieldWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,qBAAqB,GAAG,MAAM,CAAC,GAAG,CAA2B
|
|
1
|
+
{"version":3,"file":"FieldWrapper.js","sourceRoot":"","sources":["../../../lib/Atoms/FieldWrapper/FieldWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,qBAAqB,GAAG,MAAM,CAAC,GAAG,CAA2B;;;;;;;;CAQlE,CAAC;AACF,MAAM,cAAc,GAAG,MAAM,CAAC,KAAK,CAA2B;;;;;;;;;;;UAWpD,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO;;;;;;CAMxD,CAAC;AAEF,MAAM,oBAAoB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;EAQrC,CAAC;AAaH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAAwB,EAAE,EAAE;IACxD,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IACpE,OAAO,CACN,oBAAC,qBAAqB,OAAK,SAAS,EAAE,YAAY,EAAE,YAAY;QAC9D,KAAK,IAAI,CACT,oBAAC,cAAc,IAAC,YAAY,EAAE,YAAY;YACxC,KAAK;YACL,IAAI,CACW,CACjB;QACA,QAAQ,CACc,CACxB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,KAA8B,EAAE,EAAE;IACpE,MAAM,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IACzC,OAAO,CACN,oBAAC,oBAAoB,OAAK,SAAS,IAAG,QAAQ,CAAwB,CACtE,CAAC;AACH,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@factorearth/component-library",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.2-alpha.0",
|
|
4
4
|
"description": " A storybook component library for FactorEarth",
|
|
5
5
|
"author": "madtrx <marlin.makori@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/FactorEarth/RecordMiddleware#readme",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"access": "public",
|
|
47
47
|
"registry": "https://registry.npmjs.org/"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "29f5e3531ad326709f534cf4e2363a1d7651914a",
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@emotion/react": "^11.13.0",
|
|
52
52
|
"@emotion/styled": "^11.13.0",
|