amotify 0.0.47 → 0.0.49
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/@types/state.tsx +28 -4
- package/dist/amotify.js +2 -2
- package/dist/amotify.min.css +12 -12
- package/dist/coreVender.js +1 -1
- package/package.json +1 -1
- package/src/@molecules.tsx +4 -4
- package/src/@styles/UniStyling.scss +54 -26
- package/src/@styles/init.scss +12 -19
- package/src/@styles/props.scss +6 -5
- package/src/@styles/var.scss +17 -0
- package/src/functions/Button/_.tsx +6 -6
- package/src/functions/Button/style.module.scss +3 -2
- package/src/functions/Cropper/parts.tsx +3 -3
- package/src/functions/Input/Chips/Selector.tsx +3 -3
- package/src/functions/Input/File/_.tsx +2 -2
- package/src/functions/Input/RichSelect/_.tsx +2 -1
- package/src/functions/Input/Segmented/_.tsx +3 -3
- package/src/functions/Input/Switch/_.tsx +1 -1
- package/src/functions/Input/Time/Picker.tsx +4 -4
- package/src/functions/Input/_.tsx +3 -3
- package/src/functions/Inputs/text.tsx +1 -1
- package/src/functions/Layout/PageNotFound.tsx +1 -1
- package/src/functions/Layout/RootViewController/parts.tsx +2 -2
- package/src/functions/Loader/corner.tsx +2 -2
- package/src/functions/Sheet/parts.tsx +3 -3
- package/src/functions/SnackBar/parts.tsx +1 -1
- package/src/functions/Table/Data/parts.tsx +1 -1
- package/src/functions/Tooltips/parts.tsx +1 -1
- package/src/global/styleConverter.tsx +15 -4
- package/src/preload.tsx +0 -29
package/@types/state.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default {
|
|
1
|
+
export default {}
|
|
2
2
|
|
|
3
3
|
declare global {
|
|
4
4
|
type amotifyBasicElement = amotify.UniStyles.BasicTagParams & amotifyUniStyleParams
|
|
@@ -29,7 +29,28 @@ declare global {
|
|
|
29
29
|
colors: string[]
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
// 0 => 0.thin
|
|
33
|
+
// 1 => 0.normal
|
|
34
|
+
// 2 => 1.remark
|
|
35
|
+
// 3 => 3.remark
|
|
36
|
+
// 4 => 4.remark
|
|
37
|
+
// -1 => 0.remark.inset
|
|
38
|
+
// -2 => 1.remark.inset
|
|
39
|
+
// -3 => 2.remark.inset
|
|
40
|
+
// boxShadow?: 0 | 1 | 2 | 3 | 4 | -1 | -2 | -3 | 'none' | 'borderBox'
|
|
41
|
+
boxShadow?:
|
|
42
|
+
'3.thin.inset' | '3.normal.inset' | '3.remark.inset' | '3.thick.inset' | '3.most.inset' |
|
|
43
|
+
'2.thin.inset' | '2.normal.inset' | '2.remark.inset' | '2.thick.inset' | '2.most.inset' |
|
|
44
|
+
'1.thin.inset' | '1.normal.inset' | '1.remark.inset' | '1.thick.inset' | '1.most.inset' |
|
|
45
|
+
'0.thin.inset' | '0.normal.inset' | '0.remark.inset' | '0.thick.inset' | '0.most.inset' |
|
|
46
|
+
|
|
47
|
+
'0.thin' | '0.normal' | '0.remark' | '0.thick' | '0.most' |
|
|
48
|
+
'1.thin' | '1.normal' | '1.remark' | '1.thick' | '1.most' |
|
|
49
|
+
'2.thin' | '2.normal' | '2.remark' | '2.thick' | '2.most' |
|
|
50
|
+
'3.thin' | '3.normal' | '3.remark' | '3.thick' | '3.most' |
|
|
51
|
+
'4.thin' | '4.normal' | '4.remark' | '4.thick' | '4.most' |
|
|
52
|
+
'5.thin' | '5.normal' | '5.remark' | '5.thick' | '5.most' |
|
|
53
|
+
'none';
|
|
33
54
|
|
|
34
55
|
display?: 'block' | 'none' | 'flex' | 'grid' | 'inlineBlock' | 'inlineFlex'
|
|
35
56
|
|
|
@@ -42,7 +63,7 @@ declare global {
|
|
|
42
63
|
bottom?: Others.TRBLParams
|
|
43
64
|
left?: Others.TRBLParams
|
|
44
65
|
|
|
45
|
-
opacity?: 'trans' | 'low' | 'middle' | 'high' | 'most'
|
|
66
|
+
opacity?: 'trans' | 'few' | 'low' | 'middle' | 'high' | 'most'
|
|
46
67
|
|
|
47
68
|
transition?: 'none' | 'short' | 'middle' | 'long'
|
|
48
69
|
}
|
|
@@ -121,12 +142,15 @@ declare global {
|
|
|
121
142
|
fontSize?: SizeParams
|
|
122
143
|
fontWeight?: WeightParams
|
|
123
144
|
|
|
145
|
+
isLightFont?: boolean
|
|
146
|
+
isSemiBoldFont?: boolean
|
|
124
147
|
isBoldFont?: boolean
|
|
148
|
+
|
|
125
149
|
isRounded?: boolean
|
|
126
150
|
|
|
127
151
|
textAlign?: 'left' | 'center' | 'right'
|
|
128
152
|
}
|
|
129
|
-
type WeightParams = '1.
|
|
153
|
+
type WeightParams = '0.thin' | '1.light' | '2.normal' | '3.semiBold' | '4.bold' | '5.extraBold' | 'inherit' | 'lighter' | 'bolder'
|
|
130
154
|
type ColorParams =
|
|
131
155
|
Others.UniColors |
|
|
132
156
|
'1.clear' | '2.normal' | '3.blur' | '4.thin' | '5.translucent' | '6.clear' |
|