@jamadd/react-native-template-ui 0.1.7 → 0.1.9
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/commonjs/components/btn/ThemedBtn.js +1 -1
- package/lib/commonjs/components/btn/ThemedBtn.js.map +1 -1
- package/lib/commonjs/components/btn/ThemedIconTextBtn.js +1 -1
- package/lib/commonjs/components/btn/ThemedIconTextBtn.js.map +1 -1
- package/lib/commonjs/components/icon/ThemedIcon.js +1 -1
- package/lib/commonjs/components/icon/ThemedIcon.js.map +1 -1
- package/lib/commonjs/components/loading/ThemedLoading.js +1 -1
- package/lib/commonjs/components/loading/ThemedLoading.js.map +1 -1
- package/lib/commonjs/components/overlay/alert/AlertBtn.js +2 -2
- package/lib/commonjs/components/overlay/alert/AlertBtn.js.map +1 -1
- package/lib/commonjs/components/overlay/alert/AlertBtns.js.map +1 -1
- package/lib/commonjs/hooks/switch.js +16 -16
- package/lib/commonjs/hooks/switch.js.map +1 -1
- package/lib/commonjs/utils/theme/const.js +15 -16
- package/lib/commonjs/utils/theme/const.js.map +1 -1
- package/lib/module/components/btn/ThemedBtn.js +1 -1
- package/lib/module/components/btn/ThemedBtn.js.map +1 -1
- package/lib/module/components/btn/ThemedIconTextBtn.js +1 -1
- package/lib/module/components/btn/ThemedIconTextBtn.js.map +1 -1
- package/lib/module/components/icon/ThemedIcon.js +1 -1
- package/lib/module/components/icon/ThemedIcon.js.map +1 -1
- package/lib/module/components/loading/ThemedLoading.js +1 -1
- package/lib/module/components/loading/ThemedLoading.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertBtn.js +2 -2
- package/lib/module/components/overlay/alert/AlertBtn.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertBtns.js.map +1 -1
- package/lib/module/hooks/switch.js +16 -16
- package/lib/module/hooks/switch.js.map +1 -1
- package/lib/module/utils/theme/const.js +15 -21
- package/lib/module/utils/theme/const.js.map +1 -1
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertBtns.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertBtns.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/text/Text.d.ts +56 -20
- package/lib/typescript/commonjs/src/components/text/Text.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/view/AnimatedBox.d.ts +29 -15
- package/lib/typescript/commonjs/src/components/view/AnimatedBox.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/view/Box.d.ts +58 -30
- package/lib/typescript/commonjs/src/components/view/Box.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/hooks/btn.d.ts +20 -20
- package/lib/typescript/commonjs/src/hooks/theme.d.ts +6 -2
- package/lib/typescript/commonjs/src/hooks/theme.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/test/utils/func.d.ts +3 -1
- package/lib/typescript/commonjs/src/test/utils/func.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/overlay.d.ts +2 -2
- package/lib/typescript/commonjs/src/types/overlay.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/theme/const.d.ts +54 -1
- package/lib/typescript/commonjs/src/utils/theme/const.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/theme/restyle.d.ts +18 -6
- package/lib/typescript/commonjs/src/utils/theme/restyle.d.ts.map +1 -1
- package/lib/typescript/module/src/components/overlay/alert/AlertBtns.d.ts +2 -2
- package/lib/typescript/module/src/components/overlay/alert/AlertBtns.d.ts.map +1 -1
- package/lib/typescript/module/src/components/text/Text.d.ts +56 -20
- package/lib/typescript/module/src/components/text/Text.d.ts.map +1 -1
- package/lib/typescript/module/src/components/view/AnimatedBox.d.ts +29 -15
- package/lib/typescript/module/src/components/view/AnimatedBox.d.ts.map +1 -1
- package/lib/typescript/module/src/components/view/Box.d.ts +58 -30
- package/lib/typescript/module/src/components/view/Box.d.ts.map +1 -1
- package/lib/typescript/module/src/hooks/btn.d.ts +20 -20
- package/lib/typescript/module/src/hooks/theme.d.ts +6 -2
- package/lib/typescript/module/src/hooks/theme.d.ts.map +1 -1
- package/lib/typescript/module/src/test/utils/func.d.ts +3 -1
- package/lib/typescript/module/src/test/utils/func.d.ts.map +1 -1
- package/lib/typescript/module/src/types/overlay.d.ts +2 -2
- package/lib/typescript/module/src/types/overlay.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/theme/const.d.ts +54 -1
- package/lib/typescript/module/src/utils/theme/const.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/theme/restyle.d.ts +18 -6
- package/lib/typescript/module/src/utils/theme/restyle.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,42 @@
|
|
|
1
|
+
export declare enum Palette {
|
|
2
|
+
Transparent = "transparent",
|
|
3
|
+
ThemePri = "#7ccf6b",
|
|
4
|
+
ThemeSec = "#5aa85a",
|
|
5
|
+
ThemePriT = "#7ccf6b80",
|
|
6
|
+
Black = "#1a1a1a",
|
|
7
|
+
BlackT = "#1a1a1a80",
|
|
8
|
+
White = "#fafafa",
|
|
9
|
+
WhiteT = "#fafafa80",
|
|
10
|
+
Silver = "#c4c4c4",
|
|
11
|
+
Grey = "#7a7a7a",
|
|
12
|
+
Red = "#ff3b30"
|
|
13
|
+
}
|
|
14
|
+
export declare enum Spacing {
|
|
15
|
+
None = 0,
|
|
16
|
+
XXXS = 2,
|
|
17
|
+
XXS = 4,
|
|
18
|
+
XS = 6,
|
|
19
|
+
S = 10,
|
|
20
|
+
M = 16,
|
|
21
|
+
L = 26,
|
|
22
|
+
XL = 42,
|
|
23
|
+
XXL = 68,
|
|
24
|
+
XXXL = 110
|
|
25
|
+
}
|
|
26
|
+
export declare enum FontSize {
|
|
27
|
+
XS = 12,
|
|
28
|
+
S = 16,
|
|
29
|
+
M = 20,
|
|
30
|
+
L = 24,
|
|
31
|
+
XL = 28
|
|
32
|
+
}
|
|
33
|
+
export declare enum FontLineHeight {
|
|
34
|
+
XS = 14.399999999999999,
|
|
35
|
+
S = 19.2,
|
|
36
|
+
M = 24,
|
|
37
|
+
L = 28.799999999999997,
|
|
38
|
+
XL = 33.6
|
|
39
|
+
}
|
|
1
40
|
export declare enum SwitchSize {
|
|
2
41
|
S = 16,
|
|
3
42
|
M = 22,
|
|
@@ -10,10 +49,24 @@ export declare enum BorderSize {
|
|
|
10
49
|
L = 4,
|
|
11
50
|
XL = 8
|
|
12
51
|
}
|
|
52
|
+
export declare enum BorderRadius {
|
|
53
|
+
S = 12,
|
|
54
|
+
M = 24,
|
|
55
|
+
L = 36,
|
|
56
|
+
Circle = 9999
|
|
57
|
+
}
|
|
58
|
+
export declare enum ZIndex {
|
|
59
|
+
Base = 0,
|
|
60
|
+
Bottom = 1,
|
|
61
|
+
Middle = 2,
|
|
62
|
+
Top = 3
|
|
63
|
+
}
|
|
13
64
|
export declare const lightTheme: {
|
|
14
65
|
colors: {
|
|
15
66
|
transparent: Palette;
|
|
16
|
-
|
|
67
|
+
themePri: Palette;
|
|
68
|
+
themeSec: Palette;
|
|
69
|
+
themePriT: Palette;
|
|
17
70
|
background: Palette;
|
|
18
71
|
backgroundOverlay: Palette;
|
|
19
72
|
text: Palette;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/theme/const.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/theme/const.ts"],"names":[],"mappings":"AAGA,oBAAY,OAAO;IACjB,WAAW,gBAAgB;IAC3B,QAAQ,YAAY;IACpB,QAAQ,YAAY;IACpB,SAAS,cAAc;IACvB,KAAK,YAAY;IACjB,MAAM,cAAc;IACpB,KAAK,YAAY;IACjB,MAAM,cAAc;IACpB,MAAM,YAAY;IAClB,IAAI,YAAY;IAChB,GAAG,YAAY;CAChB;AAED,oBAAY,OAAO;IACjB,IAAI,IAAI;IACR,IAAI,IAAI;IACR,GAAG,IAAI;IACP,EAAE,IAAI;IACN,CAAC,KAAK;IACN,CAAC,KAAK;IACN,CAAC,KAAK;IACN,EAAE,KAAK;IACP,GAAG,KAAK;IACR,IAAI,MAAM;CACX;AAED,oBAAY,QAAQ;IAClB,EAAE,KAAK;IACP,CAAC,KAAK;IACN,CAAC,KAAK;IACN,CAAC,KAAK;IACN,EAAE,KAAK;CACR;AAKD,oBAAY,cAAc;IACxB,EAAE,qBAAoC;IACtC,CAAC,OAAmC;IACpC,CAAC,KAAmC;IACpC,CAAC,qBAAmC;IACpC,EAAE,OAAoC;CACvC;AAED,oBAAY,UAAU;IACpB,CAAC,KAAK;IACN,CAAC,KAAK;IACN,CAAC,KAAK;CACP;AAED,oBAAY,UAAU;IACpB,EAA6B;IAC7B,CAAC,IAAI;IACL,CAAC,IAAI;IACL,CAAC,IAAI;IACL,EAAE,IAAI;CACP;AAED,oBAAY,YAAY;IACtB,CAAC,KAAK;IACN,CAAC,KAAK;IACN,CAAC,KAAK;IACN,MAAM,OAAO;CACd;AAED,oBAAY,MAAM;IAChB,IAAI,IAAI;IACR,MAAM,IAAI;IACV,MAAM,IAAI;IACV,GAAG,IAAI;CACR;AA+BD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqErB,CAAC;AAEH,eAAO,MAAM,SAAS,EAAE,OAAO,UAO9B,CAAC"}
|
|
@@ -8,7 +8,9 @@ export declare const themedPressableRestyleFuncs: {
|
|
|
8
8
|
theme: {
|
|
9
9
|
colors: {
|
|
10
10
|
transparent: import("./const").Palette;
|
|
11
|
-
|
|
11
|
+
themePri: import("./const").Palette;
|
|
12
|
+
themeSec: import("./const").Palette;
|
|
13
|
+
themePriT: import("./const").Palette;
|
|
12
14
|
background: import("./const").Palette;
|
|
13
15
|
backgroundOverlay: import("./const").Palette;
|
|
14
16
|
text: import("./const").Palette;
|
|
@@ -223,7 +225,9 @@ export declare const themedLoadingRestyleFuncs: {
|
|
|
223
225
|
theme: {
|
|
224
226
|
colors: {
|
|
225
227
|
transparent: import("./const").Palette;
|
|
226
|
-
|
|
228
|
+
themePri: import("./const").Palette;
|
|
229
|
+
themeSec: import("./const").Palette;
|
|
230
|
+
themePriT: import("./const").Palette;
|
|
227
231
|
background: import("./const").Palette;
|
|
228
232
|
backgroundOverlay: import("./const").Palette;
|
|
229
233
|
text: import("./const").Palette;
|
|
@@ -407,7 +411,9 @@ export declare const themedLoadingColorRestyleFuncs: {
|
|
|
407
411
|
theme: {
|
|
408
412
|
colors: {
|
|
409
413
|
transparent: import("./const").Palette;
|
|
410
|
-
|
|
414
|
+
themePri: import("./const").Palette;
|
|
415
|
+
themeSec: import("./const").Palette;
|
|
416
|
+
themePriT: import("./const").Palette;
|
|
411
417
|
background: import("./const").Palette;
|
|
412
418
|
backgroundOverlay: import("./const").Palette;
|
|
413
419
|
text: import("./const").Palette;
|
|
@@ -522,7 +528,9 @@ export declare const themedIconRestyleFuncs: {
|
|
|
522
528
|
theme: {
|
|
523
529
|
colors: {
|
|
524
530
|
transparent: import("./const").Palette;
|
|
525
|
-
|
|
531
|
+
themePri: import("./const").Palette;
|
|
532
|
+
themeSec: import("./const").Palette;
|
|
533
|
+
themePriT: import("./const").Palette;
|
|
526
534
|
background: import("./const").Palette;
|
|
527
535
|
backgroundOverlay: import("./const").Palette;
|
|
528
536
|
text: import("./const").Palette;
|
|
@@ -706,7 +714,9 @@ export declare const themedIconColorRestyleFuncs: {
|
|
|
706
714
|
theme: {
|
|
707
715
|
colors: {
|
|
708
716
|
transparent: import("./const").Palette;
|
|
709
|
-
|
|
717
|
+
themePri: import("./const").Palette;
|
|
718
|
+
themeSec: import("./const").Palette;
|
|
719
|
+
themePriT: import("./const").Palette;
|
|
710
720
|
background: import("./const").Palette;
|
|
711
721
|
backgroundOverlay: import("./const").Palette;
|
|
712
722
|
text: import("./const").Palette;
|
|
@@ -821,7 +831,9 @@ export declare const themedScrollViewRestyleFuncs: {
|
|
|
821
831
|
theme: {
|
|
822
832
|
colors: {
|
|
823
833
|
transparent: import("./const").Palette;
|
|
824
|
-
|
|
834
|
+
themePri: import("./const").Palette;
|
|
835
|
+
themeSec: import("./const").Palette;
|
|
836
|
+
themePriT: import("./const").Palette;
|
|
825
837
|
background: import("./const").Palette;
|
|
826
838
|
backgroundOverlay: import("./const").Palette;
|
|
827
839
|
text: import("./const").Palette;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restyle.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/theme/restyle.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAkB,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,EAAgB,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAM9D,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"restyle.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/theme/restyle.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAkB,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,EAAgB,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAM9D,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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