amotify 0.0.59 → 0.0.62

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 (79) hide show
  1. package/@types/_.tsx +5 -5
  2. package/@types/amot.tsx +11 -11
  3. package/@types/fn.tsx +14 -1
  4. package/@types/module.tsx +1 -1
  5. package/dist/amotify.js +1 -1
  6. package/dist/amotify.min.css +3 -3
  7. package/package.json +1 -1
  8. package/src/@atoms.tsx +3 -3
  9. package/src/@functions.tsx +11 -11
  10. package/src/@global.tsx +40 -40
  11. package/src/@jsminAmotifyExtension/_.tsx +4 -4
  12. package/src/@jsminAmotifyExtension/fetch.tsx +30 -30
  13. package/src/@jsminAmotifyExtension/formCollect.tsx +32 -32
  14. package/src/@jsminAmotifyExtension/spreadSheet.tsx +71 -71
  15. package/src/@jsminAmotifyExtension/variables.tsx +38 -38
  16. package/src/@molecules.tsx +6 -6
  17. package/src/@styles/props.scss +1 -1
  18. package/src/@styles/var.scss +0 -1
  19. package/src/@templates.tsx +1 -1
  20. package/src/@variables.tsx +2 -2
  21. package/src/atoms/FAI/parts.tsx +105 -105
  22. package/src/atoms/Logo/parts.tsx +19 -19
  23. package/src/atoms/Various/parts.tsx +26 -26
  24. package/src/config.tsx +62 -59
  25. package/src/functions/Button/_.tsx +49 -49
  26. package/src/functions/Cropper/parts.tsx +249 -249
  27. package/src/functions/Effects/Fade.tsx +18 -18
  28. package/src/functions/Effects/Ripple.tsx +24 -24
  29. package/src/functions/Effects/_.tsx +5 -5
  30. package/src/functions/Input/Chips/Selector.tsx +107 -107
  31. package/src/functions/Input/Chips/_.tsx +66 -66
  32. package/src/functions/Input/Contenteditable.tsx +18 -18
  33. package/src/functions/Input/DigitCharacters.tsx +48 -48
  34. package/src/functions/Input/File/_.tsx +114 -114
  35. package/src/functions/Input/Hidden.tsx +3 -3
  36. package/src/functions/Input/List/_.tsx +61 -61
  37. package/src/functions/Input/RichSelect/_.tsx +38 -38
  38. package/src/functions/Input/Segmented/_.tsx +30 -30
  39. package/src/functions/Input/Select/_.tsx +42 -42
  40. package/src/functions/Input/Slider/_.tsx +93 -93
  41. package/src/functions/Input/Switch/_.tsx +21 -21
  42. package/src/functions/Input/Text.tsx +99 -97
  43. package/src/functions/Input/TextArea.tsx +17 -17
  44. package/src/functions/Input/Time/Picker.tsx +199 -199
  45. package/src/functions/Input/Time/_.tsx +173 -173
  46. package/src/functions/Input/_.tsx +135 -135
  47. package/src/functions/Input/core.tsx +96 -96
  48. package/src/functions/Inputs/_.tsx +1 -1
  49. package/src/functions/Inputs/text.tsx +5 -5
  50. package/src/functions/Layout/PageNotFound.tsx +6 -6
  51. package/src/functions/Layout/PageRouter.tsx +28 -44
  52. package/src/functions/Layout/PageViewController/parts.tsx +7 -7
  53. package/src/functions/Layout/Plate.tsx +5 -5
  54. package/src/functions/Layout/RootViewController/parts.tsx +94 -71
  55. package/src/functions/Layout/RootViewController/style.module.scss +0 -1
  56. package/src/functions/Layout/SwipeView/parts.tsx +90 -90
  57. package/src/functions/Layout/TabBar.tsx +10 -10
  58. package/src/functions/Layout/_.tsx +7 -7
  59. package/src/functions/Loader/corner.tsx +10 -10
  60. package/src/functions/Loader/mini.tsx +25 -25
  61. package/src/functions/Loader/parts.tsx +31 -31
  62. package/src/functions/Loader/top.tsx +10 -10
  63. package/src/functions/Sheet/parts.tsx +219 -219
  64. package/src/functions/Sheet/style.module.scss +0 -20
  65. package/src/functions/SnackBar/parts.tsx +50 -50
  66. package/src/functions/Table/Data/parts.tsx +202 -202
  67. package/src/functions/Table/Drag/parts.tsx +76 -76
  68. package/src/functions/Table/Normal/parts.tsx +23 -23
  69. package/src/functions/Table/_.tsx +33 -33
  70. package/src/functions/Tooltips/parts.tsx +7 -7
  71. package/src/global/LaunchReactApplication.tsx +28 -28
  72. package/src/global/styleConverter.tsx +133 -133
  73. package/src/launch.tsx +27 -27
  74. package/src/molecules/Accordion/parts.tsx +41 -41
  75. package/src/molecules/LinkifyText/parts.tsx +18 -18
  76. package/src/molecules/List.tsx +6 -6
  77. package/src/preload.tsx +5 -45
  78. package/src/templates/PlayGround/parts.tsx +8 -8
  79. package/webpack.config.js +9 -9
package/@types/_.tsx CHANGED
@@ -1,7 +1,7 @@
1
1
  export default { }
2
2
 
3
- import './jsminAmotifyExtension';
4
- import './state';
5
- import './module';
6
- import './amot';
7
- import './fn';
3
+ import './jsminAmotifyExtension'
4
+ import './state'
5
+ import './module'
6
+ import './amot'
7
+ import './fn'
package/@types/amot.tsx CHANGED
@@ -1,12 +1,12 @@
1
1
  export default { }
2
2
 
3
- import { FontAwesomeIconProps } from '@fortawesome/react-fontawesome';
4
- import { IconDefinition } from "@fortawesome/fontawesome-common-types";
5
- import * as FontawesomeCore from '@fortawesome/fontawesome-svg-core';
3
+ import { FontAwesomeIconProps } from '@fortawesome/react-fontawesome'
4
+ import { IconDefinition } from "@fortawesome/fontawesome-common-types"
5
+ import * as FontawesomeCore from '@fortawesome/fontawesome-svg-core'
6
6
 
7
- import React from 'react';
8
- import ReactDOM from 'react-dom';
9
- import * as ReactRouterDOM from 'react-router-dom';
7
+ import React from 'react'
8
+ import ReactDOM from 'react-dom'
9
+ import * as ReactRouterDOM from 'react-router-dom'
10
10
 
11
11
 
12
12
  declare global {
@@ -155,11 +155,11 @@ declare global {
155
155
  } & React.HTMLAttributes<HTMLDivElement>
156
156
 
157
157
  namespace FAI {
158
- type Method = React.FC<FAIParams> & Shortcuts;
158
+ type Method = React.FC<FAIParams> & Shortcuts
159
159
  type FAIParams = amotifyBasicElement & {
160
160
  icon: FontawesomeCore.IconProp | IconDefinition
161
161
  iconParams?: Omit<FontAwesomeIconProps,'icon'>
162
- };
162
+ }
163
163
  type Shortcuts = {
164
164
  [ key in ShortCutNames ]: React.FC<Omit<FAIParams,'icon'>>
165
165
  }
@@ -185,11 +185,11 @@ declare global {
185
185
  'Plus' | 'Minus' |
186
186
  'EllipsisH' | 'EllipsisV' |
187
187
  'PaperPlane' |
188
- 'Image';
188
+ 'Image'
189
189
  }
190
190
 
191
191
  namespace Image {
192
- type Methods = React.FC<CompInput> & DefaultImages;
192
+ type Methods = React.FC<CompInput> & DefaultImages
193
193
  type CompInput = amotifyBasicElement & {
194
194
  src: string
195
195
  alt?: string
@@ -350,5 +350,5 @@ declare global {
350
350
  temps: amotify.temps.Methods
351
351
  fn: amotify.fn.Methods
352
352
  }
353
- var amotify: amotify;
353
+ var amotify: amotify
354
354
  }
package/@types/fn.tsx CHANGED
@@ -91,6 +91,10 @@ declare global {
91
91
  }
92
92
 
93
93
  namespace RootViewController {
94
+ // type Methods = React.FC<PlainParams> & {
95
+ // fn: FNs
96
+ // }
97
+
94
98
  type Methods = {
95
99
  Base: React.FC<RootViewController.BaseParams>
96
100
  TopNavigation: React.FC<amotify.atoms.FlexProps>
@@ -105,6 +109,7 @@ declare global {
105
109
  Title: React.FC<atoms.BoxInput>
106
110
  Bar: React.FC<atoms.BoxInput>
107
111
  }
112
+ fn: FNs
108
113
  }
109
114
 
110
115
  type BaseParams = atoms.BoxInput & {
@@ -117,6 +122,14 @@ declare global {
117
122
  uri?: string
118
123
  uriGroup?: ( string | RegExp ) | ( string | RegExp )[]
119
124
  }
125
+
126
+ type FNs = {
127
+ updateCSSProperty: {
128
+ topNav(): void
129
+ footer(): void
130
+ reset(): void
131
+ }
132
+ }
120
133
  }
121
134
  }
122
135
  namespace Tables {
@@ -417,7 +430,7 @@ declare global {
417
430
  }
418
431
  }
419
432
 
420
- type RestrictTypes = 'text' | 'katakana' | 'hankaku.katakana' | 'number' | 'digitNumber' | 'tel' | 'email' | 'url' | 'fileName' | 'password' | 'postal' | 'creditCard';
433
+ type RestrictTypes = 'text' | 'katakana' | 'hankaku.katakana' | 'number' | 'digitNumber' | 'tel' | 'email' | 'url' | 'fileName' | 'password' | 'postal' | 'creditCard'
421
434
 
422
435
  type PlainParams = CoreParams & React.DOMAttributes<HTMLInputElement> & {
423
436
  tone?: BoxToneTypes
package/@types/module.tsx CHANGED
@@ -1 +1 @@
1
- declare module "*.scss";
1
+ declare module "*.scss"