unika-components 1.0.2 → 1.0.3

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.
@@ -113,6 +113,9 @@ export declare const textDefaultProps: {
113
113
  textAlign: string;
114
114
  color: string;
115
115
  backgroundColor: string;
116
+ display: string;
117
+ alignItems: string;
118
+ justifyContent: string;
116
119
  };
117
120
  export declare const imageDefaultProps: {
118
121
  actionType: string;
@@ -187,6 +190,9 @@ export declare const componentsDefaultProps: {
187
190
  textAlign: string;
188
191
  color: string;
189
192
  backgroundColor: string;
193
+ display: string;
194
+ alignItems: string;
195
+ justifyContent: string;
190
196
  };
191
197
  };
192
198
  'uni-image': {
@@ -1,4 +1,8 @@
1
1
 
2
+ .uni-image-component {
3
+ max-width: 100%;
4
+ }
5
+
2
6
  h2.uni-text-component, p.uni-text-component {
3
7
  margin-bottom: 0;
4
8
  }
@@ -10,7 +14,3 @@ button.uni-text-component {
10
14
  box-sizing: border-box;
11
15
  white-space: pre-wrap;
12
16
  }
13
-
14
- .uni-image-component {
15
- max-width: 100%;
16
- }
@@ -3416,6 +3416,9 @@ const textDefaultProps = {
3416
3416
  textAlign: 'left',
3417
3417
  color: '#000000',
3418
3418
  backgroundColor: '',
3419
+ display: 'flex',
3420
+ alignItems: 'center',
3421
+ justifyContent: 'center',
3419
3422
  ...commonDefaultProps
3420
3423
  };
3421
3424
  const imageDefaultProps = {
@@ -3420,6 +3420,9 @@
3420
3420
  textAlign: 'left',
3421
3421
  color: '#000000',
3422
3422
  backgroundColor: '',
3423
+ display: 'flex',
3424
+ alignItems: 'center',
3425
+ justifyContent: 'center',
3423
3426
  ...commonDefaultProps
3424
3427
  };
3425
3428
  const imageDefaultProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",