@trilogy-ds/react 4.4.0 → 4.4.2
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/lib/components/alert/Alert.native.js +6 -17
- package/lib/components/autocomplete/AutoComplete.js +5 -4
- package/lib/components/box/BoxPropsDefaults.js +10 -2
- package/lib/components/box/content/BoxContentPropsDefaults.js +5 -1
- package/lib/components/box/footer/BoxFooterPropsDefaults.js +5 -1
- package/lib/components/box/header/BoxHeaderPropsDefaults.js +5 -1
- package/lib/components/chips/list/ChipsList.js +3 -3
- package/lib/components/chips/list/ChipsListProps.d.ts +1 -0
- package/lib/components/chips/list/ChipsListPropsDefaults.js +7 -0
- package/lib/components/enumsComponentsName.d.ts +2 -2
- package/lib/components/enumsComponentsName.js +3 -3
- package/lib/components/hero/HeroPropsDefaults.js +5 -1
- package/lib/components/icon/IconPropsDefaults.js +5 -1
- package/lib/components/image/Image.d.ts +3 -1
- package/lib/components/image/Image.js +4 -2
- package/lib/components/image/Image.native.d.ts +2 -1
- package/lib/components/image/Image.native.js +3 -2
- package/lib/components/input/Input.js +2 -2
- package/lib/components/input/Input.native.js +2 -2
- package/lib/components/otp/Otp.js +2 -2
- package/lib/components/pagination/Pagination.js +4 -1
- package/lib/components/price/Price.js +3 -2
- package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +10 -2
- package/lib/components/progress/radial/item/ProgressRadialItemPropsDefaults.js +2 -0
- package/lib/components/scroll-view/ScrollViewPropsDefaults.js +5 -1
- package/lib/components/section/SectionPropsDefaults.js +5 -1
- package/lib/components/table/body/TableBodyPropsDefaults.js +10 -2
- package/lib/components/table/head/TableHeadPropsDefaults.js +10 -2
- package/lib/components/table/tr/TableTrPropsWebDefaults.js +5 -1
- package/lib/components/tabs/Tabs.d.ts +1 -0
- package/lib/components/tabs/Tabs.js +8 -6
- package/lib/components/tabs/TabsProps.d.ts +1 -0
- package/lib/components/tabs/TabsPropsDefaults.js +8 -0
- package/lib/components/tabs/context/index.d.ts +1 -0
- package/lib/components/tabs/context/index.js +2 -1
- package/lib/components/tabs/tab-list/TabList.js +67 -8
- package/lib/components/tabs/tab-list/TabList.native.js +56 -8
- package/lib/components/tabs/tab-list/tab/Tab.js +5 -5
- package/lib/components/tabs/tab-list/tab/Tab.native.js +3 -3
- package/lib/components/textarea/Textarea.native.js +10 -4
- package/lib/components/view/ViewPropsDefaults.js +9 -5
- package/lib/objects/facets/Color.d.ts +3 -1
- package/lib/objects/facets/Color.js +5 -1
- package/lib/objects/facets/Justifiable.d.ts +6 -6
- package/lib/objects/facets/Justifiable.js +12 -12
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export var Justifiable;
|
|
5
5
|
(function (Justifiable) {
|
|
6
|
-
Justifiable["JUSTIFIED_CENTER"] = "
|
|
7
|
-
Justifiable["JUSTIFIED_START"] = "
|
|
8
|
-
Justifiable["JUSTIFIED_END"] = "
|
|
9
|
-
Justifiable["SPACE_BETWEEN"] = "
|
|
6
|
+
Justifiable["JUSTIFIED_CENTER"] = "JUSTIFIED_CENTER";
|
|
7
|
+
Justifiable["JUSTIFIED_START"] = "JUSTIFIED_START";
|
|
8
|
+
Justifiable["JUSTIFIED_END"] = "JUSTIFIED_END";
|
|
9
|
+
Justifiable["SPACE_BETWEEN"] = "SPACE_BETWEEN";
|
|
10
10
|
})(Justifiable || (Justifiable = {}));
|
|
11
11
|
/**
|
|
12
12
|
* Returns justifyContent style depending on justify type
|
|
@@ -16,13 +16,13 @@ export var Justifiable;
|
|
|
16
16
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
17
17
|
export var getJustifyStyle = function (justifyContent) {
|
|
18
18
|
switch (justifyContent) {
|
|
19
|
-
case '
|
|
19
|
+
case 'JUSTIFIED_CENTER':
|
|
20
20
|
return 'center';
|
|
21
|
-
case '
|
|
21
|
+
case 'JUSTIFIED_START':
|
|
22
22
|
return 'flex-start';
|
|
23
|
-
case '
|
|
23
|
+
case 'JUSTIFIED_END':
|
|
24
24
|
return 'flex-end';
|
|
25
|
-
case '
|
|
25
|
+
case 'SPACE_BETWEEN':
|
|
26
26
|
return 'space-between';
|
|
27
27
|
default:
|
|
28
28
|
return 'flex-start';
|
|
@@ -30,13 +30,13 @@ export var getJustifyStyle = function (justifyContent) {
|
|
|
30
30
|
};
|
|
31
31
|
export var getJustifyClassName = function (justifyContent) {
|
|
32
32
|
switch (justifyContent) {
|
|
33
|
-
case '
|
|
33
|
+
case 'JUSTIFIED_CENTER':
|
|
34
34
|
return 'centered';
|
|
35
|
-
case '
|
|
35
|
+
case 'JUSTIFIED_START':
|
|
36
36
|
return 'justified-start';
|
|
37
|
-
case '
|
|
37
|
+
case 'JUSTIFIED_END':
|
|
38
38
|
return 'justified-end';
|
|
39
|
-
case '
|
|
39
|
+
case 'SPACE_BETWEEN':
|
|
40
40
|
return 'spaced-between';
|
|
41
41
|
default:
|
|
42
42
|
return 'justified-start';
|
package/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "4.4.
|
|
1
|
+
export declare const version = "4.4.2";
|
package/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export var version = "4.4.
|
|
1
|
+
export var version = "4.4.2";
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLElBQU0sT0FBTyxHQUFHLE9BQU8sQ0FBQSJ9
|