amotify 0.0.58 → 0.0.59
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/amotify.js +2 -2
- package/dist/amotify.min.css +4 -4
- package/dist/coreVender.js +1 -1
- package/package.json +1 -1
- package/src/@styles/props.scss +7 -8
- package/src/@styles/var.scss +1 -6
- package/src/functions/Layout/PageRouter.tsx +9 -0
- package/src/functions/Layout/RootViewController/parts.tsx +1 -0
package/package.json
CHANGED
package/src/@styles/props.scss
CHANGED
|
@@ -67,12 +67,11 @@ $font-size7 : var(--font-size7);
|
|
|
67
67
|
$font-size8 : var(--font-size8);
|
|
68
68
|
//
|
|
69
69
|
$shadow-color : var(--sc);
|
|
70
|
-
$shadow0 : 0 0 0 transparent inset,var(--shadow_style_0) var(--shadow_color_thin);
|
|
71
|
-
$shadow1 : 0 0 0 transparent inset,var(--shadow_style_0) var(--shadow_color_normal);
|
|
72
|
-
$shadow2 : 0 0 0 transparent inset,var(--shadow_style_1) var(--shadow_color_remark);
|
|
73
|
-
$shadow3 : 0 0 0 transparent inset,var(--shadow_style_3) var(--shadow_color_remark);
|
|
74
|
-
$shadow4 : 0 0 0 transparent inset,var(--shadow_style_4) var(--shadow_color_remark);
|
|
75
|
-
|
|
70
|
+
$shadow0 : 0 0 0 transparent inset, var(--shadow_style_0) var(--shadow_color_thin);
|
|
71
|
+
$shadow1 : 0 0 0 transparent inset, var(--shadow_style_0) var(--shadow_color_normal);
|
|
72
|
+
$shadow2 : 0 0 0 transparent inset, var(--shadow_style_1) var(--shadow_color_remark);
|
|
73
|
+
$shadow3 : 0 0 0 transparent inset, var(--shadow_style_3) var(--shadow_color_remark);
|
|
74
|
+
$shadow4 : 0 0 0 transparent inset, var(--shadow_style_4) var(--shadow_color_remark);
|
|
76
75
|
$animation-time-short : var(--animation-time1);
|
|
77
76
|
$animation-time-middle : var(--animation-time2);
|
|
78
77
|
$animation-time-long : var(--animation-time3);
|
|
@@ -106,5 +105,5 @@ $topNavigationHeight : var(--topNavHeight);
|
|
|
106
105
|
$sideNavigationHeight : var(--sideNavHeight);
|
|
107
106
|
$footerNavigationHeight: var(--footerNavHeight);
|
|
108
107
|
$topBase: var(--topBase);
|
|
109
|
-
$contentHeight
|
|
110
|
-
$breakPoint
|
|
108
|
+
$contentHeight: var(--contentHeight);
|
|
109
|
+
$breakPoint: var(--breakPoint);
|
package/src/@styles/var.scss
CHANGED
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
--color-monoPrime-rgb: 0, 0, 0;
|
|
44
44
|
--color-monoSecond-rgb: 255, 255, 255;
|
|
45
45
|
--font-color-logoTitle: hsl(218, 45%, 22%);
|
|
46
|
-
|
|
47
46
|
/* shadow */
|
|
48
47
|
--sc: 60, 64, 67;
|
|
49
48
|
--shadow_style_0: 0px 1px 2px 0px;
|
|
@@ -52,15 +51,11 @@
|
|
|
52
51
|
--shadow_style_3: 2px 6px 12px;
|
|
53
52
|
--shadow_style_4: .4rem 1rem 2rem;
|
|
54
53
|
--shadow_style_5: 1rem 1.5rem 3rem;
|
|
55
|
-
|
|
56
54
|
--shadow_color_thin: rgba(var(--sc), .05);
|
|
57
55
|
--shadow_color_normal: rgba(var(--sc), .15);
|
|
58
56
|
--shadow_color_remark: rgba(var(--sc), .23);
|
|
59
57
|
--shadow_color_thick: rgba(var(--sc), .32);
|
|
60
58
|
--shadow_color_most: rgba(var(--sc), .41);
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
59
|
/* font colors */
|
|
65
60
|
--font-color1-rgb: 0, 0, 0;
|
|
66
61
|
--font-color2-rgb: 51, 51, 51;
|
|
@@ -94,7 +89,6 @@
|
|
|
94
89
|
--animation-time2: .15s;
|
|
95
90
|
--animation-time3: .25s;
|
|
96
91
|
--animation-time4: .4s;
|
|
97
|
-
|
|
98
92
|
--animation-style1: cubic-bezier(.35, .46, 0, .99);
|
|
99
93
|
--animation-style2: cubic-bezier(.1, .85, .1, .85);
|
|
100
94
|
// safe area
|
|
@@ -111,6 +105,7 @@
|
|
|
111
105
|
--topNavHeight : 0px;
|
|
112
106
|
--contentHeight : 0px;
|
|
113
107
|
--topBase : 0px;
|
|
108
|
+
--breakPoint: 834px;
|
|
114
109
|
}
|
|
115
110
|
@mixin DARK {
|
|
116
111
|
--color-theme-opacity-high: .45;
|
|
@@ -35,6 +35,15 @@ const userEffect = ( beforeCallback?: Function,afterCallback?: Function,afterFir
|
|
|
35
35
|
Body.setStyleProperty( '--topNavHeight','0px' );
|
|
36
36
|
}
|
|
37
37
|
} );
|
|
38
|
+
$( '#FooterNavigation' )
|
|
39
|
+
.callback( ( footerHeader ) => {
|
|
40
|
+
let Body = $( document.body );
|
|
41
|
+
if ( footerHeader[ 0 ] ) {
|
|
42
|
+
Body.setStyleProperty( '--footerNavHeight',footerHeader.position().height + 'px' );
|
|
43
|
+
} else {
|
|
44
|
+
Body.setStyleProperty( '--footerNavHeight','0px' );
|
|
45
|
+
}
|
|
46
|
+
} );
|
|
38
47
|
} else {
|
|
39
48
|
mounted.current = true;
|
|
40
49
|
}
|
|
@@ -168,6 +168,7 @@ export const RootViewController: amotify.fn.Layout.RootViewController.Methods =
|
|
|
168
168
|
paddingBottom={ 'safeAreaBottom' }
|
|
169
169
|
display='none'
|
|
170
170
|
{ ...baseStyles }
|
|
171
|
+
id='footerNavigation'
|
|
171
172
|
UnderBreakPointStyles={ {
|
|
172
173
|
display: 'flex',
|
|
173
174
|
...baseStyles?.UnderBreakPointStyles
|