amotify 0.0.64 → 0.0.66
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 +3 -2
- package/dist/amotify.min.css +2 -2
- package/dist/coreVender.js +14 -2
- package/package.json +10 -10
- package/tsconfig.json +13 -5
- package/@types/_.tsx +0 -7
- package/@types/amot.tsx +0 -357
- package/@types/fn.tsx +0 -1280
- package/@types/jsminAmotifyExtension.tsx +0 -137
- package/@types/module.tsx +0 -1
- package/@types/state.tsx +0 -231
- package/src/@atoms.tsx +0 -34
- package/src/@functions.tsx +0 -29
- package/src/@global.tsx +0 -149
- package/src/@jsminAmotifyExtension/_.tsx +0 -4
- package/src/@jsminAmotifyExtension/fetch.tsx +0 -110
- package/src/@jsminAmotifyExtension/formCollect.tsx +0 -94
- package/src/@jsminAmotifyExtension/spreadSheet.tsx +0 -165
- package/src/@jsminAmotifyExtension/variables.tsx +0 -137
- package/src/@molecules.tsx +0 -96
- package/src/@organisms.tsx +0 -1
- package/src/@reactPacks/reactProduction@18.2.0.js +0 -79
- package/src/@reactPacks/reactRouterDomProduction@18.2.0.js +0 -31
- package/src/@styles/@app.scss +0 -4
- package/src/@styles/UniStyling.scss +0 -1028
- package/src/@styles/init.scss +0 -94
- package/src/@styles/props.scss +0 -109
- package/src/@styles/styleSet.scss +0 -38
- package/src/@styles/themeColor.scss +0 -71
- package/src/@styles/var.scss +0 -182
- package/src/@templates.tsx +0 -7
- package/src/@variables.tsx +0 -74
- package/src/atoms/FAI/parts.tsx +0 -139
- package/src/atoms/Logo/parts.tsx +0 -335
- package/src/atoms/Logo/style.module.scss +0 -96
- package/src/atoms/Various/parts.tsx +0 -159
- package/src/atoms/Various/style.module.scss +0 -46
- package/src/config.tsx +0 -191
- package/src/functions/Button/_.tsx +0 -331
- package/src/functions/Button/style.module.scss +0 -157
- package/src/functions/Cropper/parts.tsx +0 -1084
- package/src/functions/Cropper/style.module.scss +0 -64
- package/src/functions/Effects/Fade.tsx +0 -76
- package/src/functions/Effects/Ripple.tsx +0 -141
- package/src/functions/Effects/_.tsx +0 -33
- package/src/functions/Effects/style.module.scss +0 -91
- package/src/functions/Input/Chips/Selector.tsx +0 -445
- package/src/functions/Input/Chips/_.tsx +0 -289
- package/src/functions/Input/Chips/style.module.scss +0 -6
- package/src/functions/Input/Contenteditable.tsx +0 -114
- package/src/functions/Input/DigitCharacters.tsx +0 -235
- package/src/functions/Input/File/_.tsx +0 -553
- package/src/functions/Input/File/style.module.scss +0 -34
- package/src/functions/Input/Hidden.tsx +0 -21
- package/src/functions/Input/List/_.tsx +0 -383
- package/src/functions/Input/List/style.module.scss +0 -84
- package/src/functions/Input/RichSelect/_.tsx +0 -230
- package/src/functions/Input/RichSelect/style.module.scss +0 -11
- package/src/functions/Input/Segmented/_.tsx +0 -246
- package/src/functions/Input/Segmented/style.module.scss +0 -81
- package/src/functions/Input/Select/_.tsx +0 -218
- package/src/functions/Input/Select/style.module.scss +0 -11
- package/src/functions/Input/Slider/_.tsx +0 -524
- package/src/functions/Input/Slider/style.module.scss +0 -67
- package/src/functions/Input/Switch/_.tsx +0 -176
- package/src/functions/Input/Switch/style.module.scss +0 -18
- package/src/functions/Input/Text.tsx +0 -487
- package/src/functions/Input/TextArea.tsx +0 -109
- package/src/functions/Input/Time/Picker.tsx +0 -1361
- package/src/functions/Input/Time/_.tsx +0 -749
- package/src/functions/Input/Time/style.module.scss +0 -79
- package/src/functions/Input/_.tsx +0 -881
- package/src/functions/Input/core.tsx +0 -473
- package/src/functions/Input/style.module.scss +0 -102
- package/src/functions/Inputs/_.tsx +0 -5
- package/src/functions/Inputs/style.module.scss +0 -15
- package/src/functions/Inputs/text.tsx +0 -53
- package/src/functions/Inputs/types.d.ts +0 -13
- package/src/functions/Layout/PageNotFound.tsx +0 -78
- package/src/functions/Layout/PageRouter.tsx +0 -89
- package/src/functions/Layout/PageViewController/parts.tsx +0 -27
- package/src/functions/Layout/Plate.tsx +0 -30
- package/src/functions/Layout/RootViewController/parts.tsx +0 -300
- package/src/functions/Layout/RootViewController/style.module.scss +0 -23
- package/src/functions/Layout/SwipeView/parts.tsx +0 -375
- package/src/functions/Layout/SwipeView/style.module.scss +0 -20
- package/src/functions/Layout/TabBar.tsx +0 -60
- package/src/functions/Layout/_.tsx +0 -20
- package/src/functions/Loader/corner.tsx +0 -74
- package/src/functions/Loader/mini.tsx +0 -114
- package/src/functions/Loader/parts.tsx +0 -103
- package/src/functions/Loader/style.module.scss +0 -223
- package/src/functions/Loader/top.tsx +0 -84
- package/src/functions/Sheet/parts.tsx +0 -994
- package/src/functions/Sheet/style.module.scss +0 -208
- package/src/functions/SnackBar/parts.tsx +0 -215
- package/src/functions/SnackBar/style.module.scss +0 -25
- package/src/functions/Table/Data/parts.tsx +0 -965
- package/src/functions/Table/Drag/parts.tsx +0 -442
- package/src/functions/Table/Normal/parts.tsx +0 -124
- package/src/functions/Table/_.tsx +0 -177
- package/src/functions/Table/style.module.scss +0 -93
- package/src/functions/Tooltips/parts.tsx +0 -53
- package/src/global/LaunchReactApplication.tsx +0 -74
- package/src/global/styleConverter.tsx +0 -465
- package/src/launch.tsx +0 -119
- package/src/molecules/Accordion/parts.tsx +0 -146
- package/src/molecules/Accordion/style.module.scss +0 -13
- package/src/molecules/LinkifyText/parts.tsx +0 -52
- package/src/molecules/List.tsx +0 -31
- package/src/preload.tsx +0 -31
- package/src/templates/PlayGround/parts.tsx +0 -96
- package/src/templates/PlayGround/style.module.scss +0 -38
- package/webpack.config.js +0 -146
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
@use '@props' as *;
|
|
2
|
-
:global {
|
|
3
|
-
.AMOTIFY_be_sheet {
|
|
4
|
-
position: fixed;
|
|
5
|
-
// position: sticky;
|
|
6
|
-
top: 0;
|
|
7
|
-
left: 0;
|
|
8
|
-
right: 0;
|
|
9
|
-
height: 0;
|
|
10
|
-
pointer-events: none;
|
|
11
|
-
z-index: 6;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
html {
|
|
15
|
-
&.FixHeight {
|
|
16
|
-
.FixScroll {
|
|
17
|
-
overflow: hidden !important;
|
|
18
|
-
min-height: 0 !important;
|
|
19
|
-
height: calc($viewHeight );
|
|
20
|
-
width: calc(100vw);
|
|
21
|
-
transition: $animation-time-long;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
&.FloatMainSheet {
|
|
25
|
-
@media (max-width:$breakPoint ) {
|
|
26
|
-
&.Type_bottom {
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
.FixScroll {
|
|
31
|
-
opacity: .8 !important;
|
|
32
|
-
pointer-events: none;
|
|
33
|
-
transform-origin: center center;
|
|
34
|
-
transform: scale(.96);
|
|
35
|
-
border-radius: calc(calc(2vw + 2vh) / 2);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
//Sheet
|
|
40
|
-
.Wrap {
|
|
41
|
-
pointer-events: none !important;
|
|
42
|
-
.TapSensor {
|
|
43
|
-
position: sticky;
|
|
44
|
-
top: 0;
|
|
45
|
-
height: 0;
|
|
46
|
-
user-select: none;
|
|
47
|
-
-webkit-user-select: none;
|
|
48
|
-
-webkit-touch-callout: none;
|
|
49
|
-
flex: none;
|
|
50
|
-
.TapContent {
|
|
51
|
-
height: $viewHeight;
|
|
52
|
-
width: 100vw;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
&.Hide {
|
|
56
|
-
display: none !important;
|
|
57
|
-
}
|
|
58
|
-
&.Open {
|
|
59
|
-
&.isNewSheet_ {
|
|
60
|
-
&true {
|
|
61
|
-
.Content {
|
|
62
|
-
pointer-events: all !important;
|
|
63
|
-
background-color: rgba(var(--color-dark-rgb), .25);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
&false {
|
|
67
|
-
.BB {
|
|
68
|
-
pointer-events: all !important;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
&.Tcate_ {
|
|
74
|
-
&normal {
|
|
75
|
-
.TapSensor:active + .BB {
|
|
76
|
-
transform: scale(1.015);
|
|
77
|
-
transition: $animation-time-short;
|
|
78
|
-
.BaseBody {
|
|
79
|
-
transition: $animation-time-short;
|
|
80
|
-
box-shadow: $shadow4;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
.BB {
|
|
84
|
-
transform: scale(.75);
|
|
85
|
-
padding: $unit1;
|
|
86
|
-
pointer-events: none !important;
|
|
87
|
-
> * {
|
|
88
|
-
pointer-events: all;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
&.Open .BB {
|
|
92
|
-
transform: scale(1);
|
|
93
|
-
opacity: 1;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
&drawer {
|
|
97
|
-
$drawer: left, right;
|
|
98
|
-
@each $type in $drawer {
|
|
99
|
-
&.Tpos_#{ $type } {
|
|
100
|
-
.Content {
|
|
101
|
-
overflow: hidden auto;
|
|
102
|
-
}
|
|
103
|
-
.TapSensor:active + .BB {
|
|
104
|
-
transition: $animation-time-short;
|
|
105
|
-
#{ $type }: calc(-1 * $unit2 );
|
|
106
|
-
}
|
|
107
|
-
.BB {
|
|
108
|
-
max-width: 100vw;
|
|
109
|
-
#{ $type }: -10%;
|
|
110
|
-
}
|
|
111
|
-
&.Open .BB {
|
|
112
|
-
#{ $type }: 0;
|
|
113
|
-
opacity: 1;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
&.Tpos_bottom {
|
|
118
|
-
.TapSensor:active + .BB {
|
|
119
|
-
padding-top: 2vh !important;
|
|
120
|
-
transition: $animation-time-short !important;
|
|
121
|
-
}
|
|
122
|
-
.BB {
|
|
123
|
-
padding-top: 10vh;
|
|
124
|
-
.DragBar {
|
|
125
|
-
position: relative;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
&.Open {
|
|
129
|
-
.BB {
|
|
130
|
-
padding-top: 0;
|
|
131
|
-
opacity: 1 !important;
|
|
132
|
-
transition: $animation-time-long;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
&custom {
|
|
138
|
-
.TapSensor:active + .BB {
|
|
139
|
-
transform: scale(1.015);
|
|
140
|
-
transition: $animation-time-short;
|
|
141
|
-
box-shadow: $shadow4;
|
|
142
|
-
}
|
|
143
|
-
.BB {
|
|
144
|
-
transform: scale(.95);
|
|
145
|
-
&.CustomSheet {
|
|
146
|
-
position: relative;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
.GPT {
|
|
150
|
-
&.Col_1, &.Col_4 {
|
|
151
|
-
&.Row_1, &.Row_4 {
|
|
152
|
-
transform-origin: bottom right;
|
|
153
|
-
}
|
|
154
|
-
&.Row_2, &.Row_5 {
|
|
155
|
-
transform-origin: top right;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
&.Col_2, &.Col_5 {
|
|
159
|
-
&.Row_1, &.Row_4 {
|
|
160
|
-
transform-origin: bottom left;
|
|
161
|
-
}
|
|
162
|
-
&.Row_2, &.Row_5 {
|
|
163
|
-
transform-origin: top left;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
&_ {
|
|
167
|
-
&3, &18 {
|
|
168
|
-
transform-origin: bottom;
|
|
169
|
-
}
|
|
170
|
-
&8, &23 {
|
|
171
|
-
transform-origin: top;
|
|
172
|
-
}
|
|
173
|
-
&11, &14 {
|
|
174
|
-
transform-origin: right;
|
|
175
|
-
}
|
|
176
|
-
&12, &15 {
|
|
177
|
-
transform-origin: left;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
&.Col_ {
|
|
181
|
-
&1, &4 {
|
|
182
|
-
right: 0;
|
|
183
|
-
justify-content: flex-end;
|
|
184
|
-
}
|
|
185
|
-
&2, &5 {
|
|
186
|
-
left: 0;
|
|
187
|
-
}
|
|
188
|
-
&3 {
|
|
189
|
-
align-items: center;
|
|
190
|
-
justify-content: center;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
&.Row_ {
|
|
194
|
-
&1, &4 {
|
|
195
|
-
bottom: 0;
|
|
196
|
-
}
|
|
197
|
-
&2, &5 {
|
|
198
|
-
top: 0;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
&.Open .BB {
|
|
203
|
-
transform: scale(1);
|
|
204
|
-
opacity: 1;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
}
|
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
launchID,
|
|
3
|
-
LaunchSubApplication,
|
|
4
|
-
useStore,
|
|
5
|
-
React
|
|
6
|
-
} from '@global'
|
|
7
|
-
import {
|
|
8
|
-
Box,
|
|
9
|
-
Flex,
|
|
10
|
-
FAI
|
|
11
|
-
} from '@atoms'
|
|
12
|
-
import {
|
|
13
|
-
Row,
|
|
14
|
-
Column
|
|
15
|
-
} from '@mols'
|
|
16
|
-
import {
|
|
17
|
-
Buttons
|
|
18
|
-
} from '@fn'
|
|
19
|
-
|
|
20
|
-
import style from './style.module.scss'
|
|
21
|
-
|
|
22
|
-
const SnackBar: amotify.fn.SnackBar.Methods = {
|
|
23
|
-
__memoryID: $.uuidGen(),
|
|
24
|
-
add: function ( params ) {
|
|
25
|
-
useStore.get( 'SnackBar',this.__memoryID ).add( params )
|
|
26
|
-
return this
|
|
27
|
-
},
|
|
28
|
-
remove: function ( val_componentID ) {
|
|
29
|
-
useStore.get( 'SnackBar',this.__memoryID ).remove( val_componentID )
|
|
30
|
-
return this
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
type ElementParams = amotify.fn.SnackBar.AddParams & {
|
|
36
|
-
snackID: string
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
const Cell: React.FC<ElementParams> = ( props ) => {
|
|
40
|
-
let {
|
|
41
|
-
snackID,
|
|
42
|
-
secondsToClose = 10,
|
|
43
|
-
componentID = $.uuidGen(),
|
|
44
|
-
children: Children,
|
|
45
|
-
customChildren: CustomChildren,
|
|
46
|
-
...others
|
|
47
|
-
} = props
|
|
48
|
-
|
|
49
|
-
let [ val_componentID ] = React.useState( componentID )
|
|
50
|
-
let [ val_mouseOn,set_mouseOn ] = React.useState( false )
|
|
51
|
-
|
|
52
|
-
React.useEffect( () => {
|
|
53
|
-
let Query = '[data-component-id="' + val_componentID + '"]'
|
|
54
|
-
setTimeout( () => {
|
|
55
|
-
$( Query ).addClass( style.FadeIn )
|
|
56
|
-
},10 )
|
|
57
|
-
|
|
58
|
-
useStore.set( {
|
|
59
|
-
key: 'SnackBar-' + snackID,
|
|
60
|
-
value: {
|
|
61
|
-
remove: () => {
|
|
62
|
-
$( Query ).addClass( style.FadeOut )
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
} )
|
|
66
|
-
},[] )
|
|
67
|
-
|
|
68
|
-
React.useEffect( () => {
|
|
69
|
-
$.interval.clear( 'SnackBar-' + val_componentID )
|
|
70
|
-
if ( !val_mouseOn ) {
|
|
71
|
-
setTimeout( () => {
|
|
72
|
-
$.interval.standBy(
|
|
73
|
-
'SnackBar-' + val_componentID,
|
|
74
|
-
secondsToClose * 1000,
|
|
75
|
-
() => {
|
|
76
|
-
if ( !val_mouseOn ) SnackBar.remove( snackID )
|
|
77
|
-
}
|
|
78
|
-
)
|
|
79
|
-
},100 )
|
|
80
|
-
}
|
|
81
|
-
},[ val_mouseOn ] )
|
|
82
|
-
|
|
83
|
-
let Content: ReactElement = <></>
|
|
84
|
-
if ( CustomChildren ) {
|
|
85
|
-
Content = <CustomChildren
|
|
86
|
-
close={ () => {
|
|
87
|
-
SnackBar.remove( snackID )
|
|
88
|
-
} }
|
|
89
|
-
/>
|
|
90
|
-
} else {
|
|
91
|
-
Content = <Row.Separate
|
|
92
|
-
verticalAlign='top'
|
|
93
|
-
>
|
|
94
|
-
<Box
|
|
95
|
-
padding={ [ '1/4',0 ] }
|
|
96
|
-
flexSizing={ 0 }
|
|
97
|
-
>
|
|
98
|
-
{ $.is.function( Children ) ? <Children /> : Children }
|
|
99
|
-
</Box>
|
|
100
|
-
<Buttons.Button.Clear.R
|
|
101
|
-
color='layer'
|
|
102
|
-
backgroundColor='lcOpLow'
|
|
103
|
-
fontColor='white'
|
|
104
|
-
ssSphere={ 2.5 }
|
|
105
|
-
onClick={ () => {
|
|
106
|
-
SnackBar.remove( snackID )
|
|
107
|
-
} }
|
|
108
|
-
>
|
|
109
|
-
<FAI.Times />
|
|
110
|
-
</Buttons.Button.Clear.R>
|
|
111
|
-
</Row.Separate>
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
return <Box
|
|
115
|
-
className={ style.Cell }
|
|
116
|
-
opacity='trans'
|
|
117
|
-
width={ 1 }
|
|
118
|
-
padding={ '2/3' }
|
|
119
|
-
marginBottom={ 1 }
|
|
120
|
-
borderRadius={ '1.tone.primary' }
|
|
121
|
-
fontColor={ 'white' }
|
|
122
|
-
boxShadow={ '1.remark' }
|
|
123
|
-
backgroundColor='dark'
|
|
124
|
-
transition={ 'middle' }
|
|
125
|
-
componentID={ val_componentID }
|
|
126
|
-
onMouseOver={ () => {
|
|
127
|
-
set_mouseOn( true )
|
|
128
|
-
} }
|
|
129
|
-
onMouseOut={ () => {
|
|
130
|
-
set_mouseOn( false )
|
|
131
|
-
} }
|
|
132
|
-
{ ...others }
|
|
133
|
-
>
|
|
134
|
-
{ Content }
|
|
135
|
-
</Box>
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
let SnackBarElements: ElementParams[] = []
|
|
139
|
-
|
|
140
|
-
const SnackBarsWrap: React.FC<{}> = () => {
|
|
141
|
-
let [ val_refresh,set_refresh ] = React.useState( $.uuidGen() )
|
|
142
|
-
|
|
143
|
-
React.useEffect( () => {
|
|
144
|
-
useStore.set( {
|
|
145
|
-
key: 'SnackBar',
|
|
146
|
-
privateKey: SnackBar.__memoryID,
|
|
147
|
-
value: {
|
|
148
|
-
add: ( params: amotify.fn.SnackBar.AddParams ) => {
|
|
149
|
-
params.snackID = params.snackID || $.uuidGen()
|
|
150
|
-
let findIndex = SnackBarElements.findIndex( ( el ) => el.snackID == params.snackID )
|
|
151
|
-
|
|
152
|
-
if ( findIndex == -1 ) {
|
|
153
|
-
SnackBarElements.unshift( {
|
|
154
|
-
...params,
|
|
155
|
-
snackID: params.snackID
|
|
156
|
-
} )
|
|
157
|
-
} else {
|
|
158
|
-
let newList = [ ...SnackBarElements ]
|
|
159
|
-
newList[ findIndex ] = {
|
|
160
|
-
...params,
|
|
161
|
-
snackID: params.snackID
|
|
162
|
-
}
|
|
163
|
-
SnackBarElements = newList
|
|
164
|
-
}
|
|
165
|
-
set_refresh( $.uuidGen() )
|
|
166
|
-
},
|
|
167
|
-
remove: ( snackID: string ) => {
|
|
168
|
-
let component = useStore.get( 'SnackBar-' + snackID )
|
|
169
|
-
if ( component && component.remove ) {
|
|
170
|
-
component.remove()
|
|
171
|
-
setTimeout( () => {
|
|
172
|
-
let findIndex = SnackBarElements.findIndex( ( cell ) => cell.snackID == snackID )
|
|
173
|
-
if ( findIndex != -1 ) {
|
|
174
|
-
let newList = [ ...SnackBarElements ]
|
|
175
|
-
newList.splice( findIndex,1 )
|
|
176
|
-
|
|
177
|
-
SnackBarElements = newList
|
|
178
|
-
set_refresh( $.uuidGen() )
|
|
179
|
-
}
|
|
180
|
-
},210 )
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
} )
|
|
185
|
-
},[] )
|
|
186
|
-
|
|
187
|
-
let SnackBars = SnackBarElements.map( ( el ) => { return <Cell { ...el } key={ el.snackID } /> } )
|
|
188
|
-
|
|
189
|
-
return <Flex
|
|
190
|
-
className={ style.SnackBarsWrap }
|
|
191
|
-
position='fixed'
|
|
192
|
-
right={ 0 }
|
|
193
|
-
bottom={ 0 }
|
|
194
|
-
paddingLeft={ 0 }
|
|
195
|
-
paddingRight={ 1 }
|
|
196
|
-
paddingBottom={ 'safeAreaBottom' }
|
|
197
|
-
verticalAlign='bottom'
|
|
198
|
-
children={ SnackBars }
|
|
199
|
-
overflow='auto'
|
|
200
|
-
UnderBreakPointStyles={ {
|
|
201
|
-
left: 0,
|
|
202
|
-
paddingLeft: 1,
|
|
203
|
-
width: 'auto'
|
|
204
|
-
} }
|
|
205
|
-
/>
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
LaunchSubApplication( {
|
|
209
|
-
isRoot: false,
|
|
210
|
-
baseElement: '#' + launchID + ' .AMOTIFY_be_snackbar',
|
|
211
|
-
reactElement: <SnackBarsWrap />,
|
|
212
|
-
nonRouter: true
|
|
213
|
-
} )
|
|
214
|
-
|
|
215
|
-
export { SnackBar }
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
@use '@props' as *;
|
|
2
|
-
:global {
|
|
3
|
-
.AMOTIFY_be_snackbar {
|
|
4
|
-
z-index: 8;
|
|
5
|
-
position: absolute;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
.SnackBarsWrap {
|
|
9
|
-
max-height: $viewHeight;
|
|
10
|
-
max-width: 100%;
|
|
11
|
-
width: 25rem;
|
|
12
|
-
}
|
|
13
|
-
.Cell {
|
|
14
|
-
transform: scale(.3);
|
|
15
|
-
transform-origin: bottom right;
|
|
16
|
-
&.FadeIn {
|
|
17
|
-
transform: scale(1);
|
|
18
|
-
opacity: 1;
|
|
19
|
-
}
|
|
20
|
-
&.FadeOut {
|
|
21
|
-
transition: .2s !important;
|
|
22
|
-
opacity: 0;
|
|
23
|
-
transform: scale(.3);
|
|
24
|
-
}
|
|
25
|
-
}
|