amotify 0.0.65 → 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.
Files changed (114) hide show
  1. package/dist/amotify.js +3 -2
  2. package/dist/amotify.min.css +2 -2
  3. package/dist/coreVender.js +14 -2
  4. package/package.json +10 -10
  5. package/tsconfig.json +13 -5
  6. package/@types/_.tsx +0 -7
  7. package/@types/amot.tsx +0 -355
  8. package/@types/fn.tsx +0 -1280
  9. package/@types/jsminAmotifyExtension.tsx +0 -137
  10. package/@types/module.tsx +0 -1
  11. package/@types/state.tsx +0 -231
  12. package/src/@atoms.tsx +0 -34
  13. package/src/@functions.tsx +0 -29
  14. package/src/@global.tsx +0 -145
  15. package/src/@jsminAmotifyExtension/_.tsx +0 -4
  16. package/src/@jsminAmotifyExtension/fetch.tsx +0 -110
  17. package/src/@jsminAmotifyExtension/formCollect.tsx +0 -94
  18. package/src/@jsminAmotifyExtension/spreadSheet.tsx +0 -165
  19. package/src/@jsminAmotifyExtension/variables.tsx +0 -137
  20. package/src/@molecules.tsx +0 -96
  21. package/src/@organisms.tsx +0 -1
  22. package/src/@reactPacks/reactProduction@18.2.0.js +0 -79
  23. package/src/@reactPacks/reactRouterDomProduction@18.2.0.js +0 -31
  24. package/src/@styles/@app.scss +0 -4
  25. package/src/@styles/UniStyling.scss +0 -1028
  26. package/src/@styles/init.scss +0 -94
  27. package/src/@styles/props.scss +0 -109
  28. package/src/@styles/styleSet.scss +0 -38
  29. package/src/@styles/themeColor.scss +0 -71
  30. package/src/@styles/var.scss +0 -182
  31. package/src/@templates.tsx +0 -7
  32. package/src/@variables.tsx +0 -74
  33. package/src/atoms/FAI/parts.tsx +0 -139
  34. package/src/atoms/Logo/parts.tsx +0 -335
  35. package/src/atoms/Logo/style.module.scss +0 -96
  36. package/src/atoms/Various/parts.tsx +0 -159
  37. package/src/atoms/Various/style.module.scss +0 -46
  38. package/src/config.tsx +0 -191
  39. package/src/functions/Button/_.tsx +0 -331
  40. package/src/functions/Button/style.module.scss +0 -157
  41. package/src/functions/Cropper/parts.tsx +0 -1084
  42. package/src/functions/Cropper/style.module.scss +0 -64
  43. package/src/functions/Effects/Fade.tsx +0 -76
  44. package/src/functions/Effects/Ripple.tsx +0 -141
  45. package/src/functions/Effects/_.tsx +0 -33
  46. package/src/functions/Effects/style.module.scss +0 -91
  47. package/src/functions/Input/Chips/Selector.tsx +0 -445
  48. package/src/functions/Input/Chips/_.tsx +0 -289
  49. package/src/functions/Input/Chips/style.module.scss +0 -6
  50. package/src/functions/Input/Contenteditable.tsx +0 -114
  51. package/src/functions/Input/DigitCharacters.tsx +0 -235
  52. package/src/functions/Input/File/_.tsx +0 -553
  53. package/src/functions/Input/File/style.module.scss +0 -34
  54. package/src/functions/Input/Hidden.tsx +0 -21
  55. package/src/functions/Input/List/_.tsx +0 -383
  56. package/src/functions/Input/List/style.module.scss +0 -84
  57. package/src/functions/Input/RichSelect/_.tsx +0 -230
  58. package/src/functions/Input/RichSelect/style.module.scss +0 -11
  59. package/src/functions/Input/Segmented/_.tsx +0 -246
  60. package/src/functions/Input/Segmented/style.module.scss +0 -81
  61. package/src/functions/Input/Select/_.tsx +0 -218
  62. package/src/functions/Input/Select/style.module.scss +0 -11
  63. package/src/functions/Input/Slider/_.tsx +0 -524
  64. package/src/functions/Input/Slider/style.module.scss +0 -67
  65. package/src/functions/Input/Switch/_.tsx +0 -176
  66. package/src/functions/Input/Switch/style.module.scss +0 -18
  67. package/src/functions/Input/Text.tsx +0 -487
  68. package/src/functions/Input/TextArea.tsx +0 -109
  69. package/src/functions/Input/Time/Picker.tsx +0 -1361
  70. package/src/functions/Input/Time/_.tsx +0 -749
  71. package/src/functions/Input/Time/style.module.scss +0 -79
  72. package/src/functions/Input/_.tsx +0 -881
  73. package/src/functions/Input/core.tsx +0 -473
  74. package/src/functions/Input/style.module.scss +0 -102
  75. package/src/functions/Inputs/_.tsx +0 -5
  76. package/src/functions/Inputs/style.module.scss +0 -15
  77. package/src/functions/Inputs/text.tsx +0 -53
  78. package/src/functions/Inputs/types.d.ts +0 -13
  79. package/src/functions/Layout/PageNotFound.tsx +0 -78
  80. package/src/functions/Layout/PageRouter.tsx +0 -89
  81. package/src/functions/Layout/PageViewController/parts.tsx +0 -27
  82. package/src/functions/Layout/Plate.tsx +0 -30
  83. package/src/functions/Layout/RootViewController/parts.tsx +0 -300
  84. package/src/functions/Layout/RootViewController/style.module.scss +0 -23
  85. package/src/functions/Layout/SwipeView/parts.tsx +0 -375
  86. package/src/functions/Layout/SwipeView/style.module.scss +0 -20
  87. package/src/functions/Layout/TabBar.tsx +0 -60
  88. package/src/functions/Layout/_.tsx +0 -20
  89. package/src/functions/Loader/corner.tsx +0 -74
  90. package/src/functions/Loader/mini.tsx +0 -114
  91. package/src/functions/Loader/parts.tsx +0 -103
  92. package/src/functions/Loader/style.module.scss +0 -223
  93. package/src/functions/Loader/top.tsx +0 -84
  94. package/src/functions/Sheet/parts.tsx +0 -994
  95. package/src/functions/Sheet/style.module.scss +0 -208
  96. package/src/functions/SnackBar/parts.tsx +0 -215
  97. package/src/functions/SnackBar/style.module.scss +0 -25
  98. package/src/functions/Table/Data/parts.tsx +0 -965
  99. package/src/functions/Table/Drag/parts.tsx +0 -442
  100. package/src/functions/Table/Normal/parts.tsx +0 -124
  101. package/src/functions/Table/_.tsx +0 -177
  102. package/src/functions/Table/style.module.scss +0 -93
  103. package/src/functions/Tooltips/parts.tsx +0 -53
  104. package/src/global/LaunchReactApplication.tsx +0 -40
  105. package/src/global/styleConverter.tsx +0 -465
  106. package/src/launch.tsx +0 -117
  107. package/src/molecules/Accordion/parts.tsx +0 -146
  108. package/src/molecules/Accordion/style.module.scss +0 -13
  109. package/src/molecules/LinkifyText/parts.tsx +0 -52
  110. package/src/molecules/List.tsx +0 -31
  111. package/src/preload.tsx +0 -31
  112. package/src/templates/PlayGround/parts.tsx +0 -96
  113. package/src/templates/PlayGround/style.module.scss +0 -38
  114. package/webpack.config.js +0 -146
@@ -1,64 +0,0 @@
1
- @use '@props' as *;
2
- .Wrap {
3
- vertical-align: bottom;
4
- &.Use_ {
5
- &profile {
6
- max-width: calc($unit1 * 38);
7
- }
8
- &head {
9
- max-width: calc($unit1 * 72);
10
- }
11
- }
12
- }
13
- .Canvas {
14
- width: 100%;
15
- cursor: move;
16
- overflow: hidden;
17
- // user-select: none !important;
18
- vertical-align: middle;
19
- }
20
- .Preview {
21
- display: none;
22
- }
23
- .ToneBall {
24
- & {
25
- position: relative;
26
- width: $unit1-5;
27
- height: $unit1-5;
28
- border-radius: 50%;
29
- background-color: gray;
30
- &:before {}
31
- }
32
- &_ {
33
- &1 {
34
- background-color: rgb(255, 165, 0);
35
- }
36
- &2 {
37
- background-color: rgb(150, 150, 255);
38
- }
39
- &3 {
40
- background-color: rgb(240, 200, 145);
41
- }
42
- &4 {
43
- background-color: rgb(0, 255, 255);
44
- }
45
- &5 {
46
- background-color: rgb(255, 0, 255);
47
- }
48
- &6 {
49
- background-color: rgb(255, 255, 0);
50
- }
51
- &7 {
52
- background-color: rgb(40, 158, 169);
53
- }
54
- &8 {
55
- background-color: rgb(90, 112, 162);
56
- }
57
- &9 {
58
- background-color: rgb(50, 192, 87);
59
- }
60
- &10 {
61
- background-color: rgb(246, 20, 140);
62
- }
63
- }
64
- }
@@ -1,76 +0,0 @@
1
- import {
2
- React
3
- } from '@global'
4
- import {
5
- Box
6
- } from '@atoms'
7
-
8
- export const FadeEffects: amotify.fn.Effects.Methods = {
9
- ...{} as any,
10
- FadeIn: ( params ) => {
11
- let {
12
- animationDelay = 100,
13
- animationTime = 300,
14
- componentID = $.uuidGen(),
15
- ...others
16
- } = params
17
- let [ val_componentID ] = React.useState( componentID )
18
-
19
- React.useEffect( () => {
20
- setTimeout( () => {
21
- let Element = $( '[data-component-id="' + val_componentID + '"]' )
22
- if ( !Element[ 0 ] ) return
23
- Element.css( {
24
- transition: animationTime + 'ms'
25
- } )
26
- .await( 1 )
27
- .css( {
28
- opacity: 1
29
- } )
30
- },animationDelay )
31
- },[] )
32
-
33
- return <Box
34
- { ...others }
35
- freeCSS={ {
36
- ...others.freeCSS,
37
- opacity: 0,
38
- } }
39
- componentID={ val_componentID }
40
- />
41
- },
42
- FadeUp: ( params ) => {
43
- let {
44
- animationDelay = 100,
45
- animationTime = 300,
46
- componentID = $.uuidGen(),
47
- ...others
48
- } = params
49
- let [ val_componentID ] = React.useState( componentID )
50
-
51
- React.useEffect( () => {
52
- setTimeout( () => {
53
- let Element = $( '[data-component-id="' + val_componentID + '"]' )
54
- if ( !Element[ 0 ] ) return
55
- Element.css( {
56
- transition: animationTime + 'ms'
57
- } )
58
- .await( 1 )
59
- .css( {
60
- opacity: 1,
61
- paddingTop: 0
62
- } )
63
- },animationDelay )
64
- },[] )
65
-
66
- return <Box
67
- paddingTop={ 2 }
68
- { ...others }
69
- freeCSS={ {
70
- ...others.freeCSS,
71
- opacity: 0,
72
- } }
73
- componentID={ val_componentID }
74
- />
75
- }
76
- }
@@ -1,141 +0,0 @@
1
- import style from './style.module.scss'
2
-
3
- type InfoProps = {
4
- RippleElement: Jsmin.Methods
5
- startedAt: number
6
- size: number
7
- }
8
-
9
- new class {
10
- constructor() {
11
- this.UserEvent()
12
- }
13
- UserEvent() {
14
- let RippleElementClassName = 'eff_ripple'
15
- const EffectStart = ( event: Event ) => {
16
- let startedAt = $.Time().time
17
- let target: HTMLElement = event.target as any
18
-
19
- let RippleElement = $( target.closest( '.' + RippleElementClassName ) )
20
- let Color = RippleElement.findClass( /^eff_ripple-/ )[ 0 ].split( '-' )[ 1 ]
21
-
22
- let
23
- ID = 'RippleWrap-' + $.uuidGen(),
24
- {
25
- left,
26
- top,
27
- height,
28
- width
29
- } = RippleElement.position(),
30
- {
31
- pageXOffset,
32
- pageYOffset
33
- } = $.getScreenSize(),
34
- {
35
- x: cursorX,
36
- y: cursorY
37
- } = $.getCursor( event ),
38
- size = Math.min( width * 1.5,300 ),
39
- x = Math.max( cursorX - ( left + pageXOffset ),0 ),
40
- y = Math.max( cursorY - ( top + pageYOffset ),0 )
41
-
42
- let effectInfo: InfoProps = {
43
- RippleElement,
44
- startedAt,
45
- size
46
- }
47
-
48
- $( document ).addEvent( {
49
- eventID: 'RippleMouseUp',
50
- eventType: 'mouseup',
51
- callback: () => {
52
- EffectEnd( effectInfo )
53
- }
54
- } ).addEvent( {
55
- eventID: 'RippleTouchEnd',
56
- eventType: 'touchend',
57
- callback: () => {
58
- setTimeout( () => {
59
- EffectEnd( effectInfo )
60
- },20 )
61
- }
62
- } )
63
-
64
- $( RippleElement )
65
- .addClass( [
66
- style.RippleElement,
67
- style[ 'Color_' + Color ]
68
- ] )
69
- .append( `<div class="${ style.RippleWrap }" id="${ ID }">
70
- <div class="${ style.Wave }" />
71
- </div>` )
72
- .addEvent( {
73
- eventID: 'RippleMouseOut',
74
- eventType: 'mouseout',
75
- callback: ( event ) => {
76
- EffectEnd( effectInfo )
77
- }
78
- } )
79
- .find( '#' + ID )
80
- .find( '.' + style.Wave )
81
- .css( { left: x,top: y } )
82
- .await( 10 )
83
- .css( {
84
- height: size,
85
- width: size,
86
- opacity: '.3',
87
- transition: '.25s'
88
- } )
89
- }
90
- const EffectEnd = ( effectInfo: InfoProps ) => {
91
- let {
92
- RippleElement,
93
- startedAt,
94
- size
95
- } = effectInfo
96
-
97
- let processTime = $.Time().time - startedAt
98
- let transition = processTime <= 400 ? '.75s' : '.55s'
99
- let diameter = size * 2.5
100
-
101
- $( document ).removeEvent( [
102
- 'RippleMouseUp',
103
- 'RippleTouchMove',
104
- 'RippleTouchEnd',
105
- ] )
106
-
107
- RippleElement
108
- .removeEvent( [ 'RippleMouseOut' ] )
109
-
110
- .find( '.' + style.Wave )
111
- .css( {
112
- height: diameter,
113
- width: diameter,
114
- opacity: '0',
115
- transition: transition
116
- } )
117
- .await( 750 )
118
- .parent()
119
- .callback( ( Parent ) => {
120
- Parent.remove()
121
- } )
122
- }
123
-
124
- $( document )
125
- .addEvent( {
126
- eventType: 'touchstart',
127
- target: '.' + RippleElementClassName,
128
- callback: ( event ) => {
129
- EffectStart( event )
130
- }
131
- } )
132
- .addEvent( {
133
- eventType: 'mousedown',
134
- target: '.' + RippleElementClassName,
135
- callback: ( event ) => {
136
- if ( amotify.config.device.isTouchDevice ) return
137
- EffectStart( event )
138
- }
139
- } )
140
- }
141
- }
@@ -1,33 +0,0 @@
1
- import './Ripple'
2
- import style from './style.module.scss'
3
-
4
- import { FadeEffects } from './Fade'
5
-
6
- const Effects: amotify.fn.Effects.Methods = {
7
- ...FadeEffects,
8
- }
9
- export {
10
- Effects
11
- }
12
-
13
-
14
- /** PuddingEffect */
15
- new class {
16
- constructor() {
17
- this.UserEvent()
18
- }
19
- UserEvent() {
20
- $( document ).addEvent( {
21
- eventType: 'click',
22
- target: '.eff_pudding',
23
- callback: function () {
24
- $( this )
25
- .removeClass( style.PuddingEffect )
26
- .await( 1 )
27
- .addClass( style.PuddingEffect )
28
- .await( 510 )
29
- .removeClass( style.PuddingEffect )
30
- }
31
- } )
32
- }
33
- }
@@ -1,91 +0,0 @@
1
- @use '@props' as *;
2
- .Ripple {
3
- &Element {
4
- transition: $animation-time-short;
5
- position: relative;
6
- -webkit-user-select: none;
7
- user-select: none;
8
- &.Color_ {
9
- &white .RippleWrap {}
10
- &cloud .RippleWrap .Wave {
11
- background-color: rgba(var(--color-dark-rgb), .25) !important;
12
- }
13
- &theme .RippleWrap .Wave {
14
- background-color: $color-theme-lighter !important;
15
- opacity: .4;
16
- }
17
- }
18
- }
19
- &Wrap {
20
- position: absolute !important;
21
- z-index: 100 !important;
22
- top: 0;
23
- left: 0;
24
- bottom: 0;
25
- right: 0;
26
- overflow: hidden;
27
- border-radius: inherit;
28
- pointer-events: none !important;
29
- .Wave {
30
- position: absolute;
31
- overflow: hidden;
32
- top: 0;
33
- left: 0;
34
- width: 0;
35
- height: 0;
36
- border-radius: 50%;
37
- transform: translate(-50%, -50%);
38
- transition: 1s;
39
- transition-timing-function: $animation-style1;
40
- background-color: rgba(white, .75);
41
- }
42
- }
43
- }
44
- //
45
- .PuddingEffect {
46
- animation: pdAnm .5s ease;
47
- position: relative;
48
- }
49
- @keyframes pdAnm {
50
- 0% {
51
- transform: scale3d(1, 1, 1);
52
- }
53
- 10% {
54
- transform: scale3d(1.1, 0.75, 1);
55
- }
56
- 20% {
57
- transform: scale3d(0.85, 1.15, 1);
58
- }
59
- 30% {
60
- transform: scale3d(1.05, 0.85, 1);
61
- }
62
- 45% {
63
- transform: scale3d(.95, 1.05, 1);
64
- }
65
- 75% {
66
- transform: scale3d(1.02, .95, 1);
67
- }
68
- 100% {
69
- transform: scale3d(1, 1, 1);
70
- }
71
- }
72
- :global {
73
- .eff_ {
74
- &expand:active {
75
- transition: $animation-time-short;
76
- transform: scale(1.05);
77
- }
78
- &shrink:active {
79
- transition: $animation-time-short;
80
- transform: scale(0.97);
81
- }
82
- &push {
83
- &:active {
84
- box-shadow: $shadow2 inset, 0 0 0 transparent !important;
85
- }
86
- &:focus {
87
- box-shadow: 0 0 0 transparent inset, $shadow3;
88
- }
89
- }
90
- }
91
- }