@itcase/types 1.0.21 → 1.0.23
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/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/types/appearance/index.ts +37 -0
- package/types/icon/iconSize.ts +23 -0
- package/types/icon/index.ts +1 -0
- package/types/index.ts +3 -1
- package/types/shape/shapeStrength.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [1.0.23](https://github.com/ITCase/itcase-types/compare/v1.0.22...v1.0.23) (2025-08-15)
|
|
2
|
+
|
|
3
|
+
## [1.0.22](https://github.com/ITCase/itcase-types/compare/v1.0.21...v1.0.22) (2025-08-14)
|
|
4
|
+
|
|
1
5
|
## [1.0.21](https://github.com/ITCase/itcase-types/compare/v1.0.20...v1.0.21) (2025-08-14)
|
|
2
6
|
|
|
3
7
|
## [1.0.20](https://github.com/ITCase/itcase-types/compare/v1.0.19...v1.0.20) (2025-08-14)
|
package/package.json
CHANGED
|
@@ -86,6 +86,36 @@ type AppearanceShapeKey =
|
|
|
86
86
|
| 'roundedS'
|
|
87
87
|
| 'roundedXL'
|
|
88
88
|
|
|
89
|
+
type AppearanceIconSizeKey =
|
|
90
|
+
| 'size12_12'
|
|
91
|
+
| 'size14_12'
|
|
92
|
+
| 'size14_14'
|
|
93
|
+
| 'size16_12'
|
|
94
|
+
| 'size16_14'
|
|
95
|
+
| 'size16_16'
|
|
96
|
+
| 'size20_12'
|
|
97
|
+
| 'size20_14'
|
|
98
|
+
| 'size20_16'
|
|
99
|
+
| 'size20_20'
|
|
100
|
+
| 'size24_12'
|
|
101
|
+
| 'size24_14'
|
|
102
|
+
| 'size24_16'
|
|
103
|
+
| 'size24_20'
|
|
104
|
+
| 'size24_24'
|
|
105
|
+
| 'size32_12'
|
|
106
|
+
| 'size32_14'
|
|
107
|
+
| 'size32_16'
|
|
108
|
+
| 'size32_20'
|
|
109
|
+
| 'size32_24'
|
|
110
|
+
| 'size32_32'
|
|
111
|
+
| 'size40_12'
|
|
112
|
+
| 'size40_14'
|
|
113
|
+
| 'size40_16'
|
|
114
|
+
| 'size40_20'
|
|
115
|
+
| 'size40_24'
|
|
116
|
+
| 'size40_32'
|
|
117
|
+
| 'size40_40'
|
|
118
|
+
|
|
89
119
|
type CompositeAppearanceKey =
|
|
90
120
|
| `${AppearanceKeysDefault} ${AppearanceSizeKey} ${AppearanceStyleKey} ${AppearanceShapeKey}`
|
|
91
121
|
| `${AppearanceKeysDefault} ${AppearanceSizeKey} ${AppearanceStyleKey}`
|
|
@@ -104,6 +134,12 @@ type CompositeAppearanceResponseKeys =
|
|
|
104
134
|
| `${AppearanceResponseKeysDefault} ${AppearanceSizeKey}`
|
|
105
135
|
| AppearanceResponseKeysDefault
|
|
106
136
|
|
|
137
|
+
type CompositeAppearanceIconKeys =
|
|
138
|
+
| `${AppearanceResponseKeysDefault} ${AppearanceIconSizeKey} ${AppearanceStyleKey} ${AppearanceShapeKey}`
|
|
139
|
+
| `${AppearanceResponseKeysDefault} ${AppearanceIconSizeKey} ${AppearanceStyleKey}`
|
|
140
|
+
| `${AppearanceResponseKeysDefault} ${AppearanceIconSizeKey}`
|
|
141
|
+
| AppearanceResponseKeysDefault
|
|
142
|
+
|
|
107
143
|
export type {
|
|
108
144
|
AppearanceKeysDefault,
|
|
109
145
|
AppearanceStateKeysDefault,
|
|
@@ -113,4 +149,5 @@ export type {
|
|
|
113
149
|
CompositeAppearanceKey,
|
|
114
150
|
CompositeAppearanceStateKeys,
|
|
115
151
|
CompositeAppearanceResponseKeys,
|
|
152
|
+
CompositeAppearanceIconKeys,
|
|
116
153
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const iconSizeProps = [
|
|
2
|
+
'12',
|
|
3
|
+
'14',
|
|
4
|
+
'16',
|
|
5
|
+
'20',
|
|
6
|
+
'24',
|
|
7
|
+
'32',
|
|
8
|
+
'40',
|
|
9
|
+
'48',
|
|
10
|
+
'56',
|
|
11
|
+
'60',
|
|
12
|
+
'64',
|
|
13
|
+
'72',
|
|
14
|
+
'80',
|
|
15
|
+
'96',
|
|
16
|
+
'112',
|
|
17
|
+
'144',
|
|
18
|
+
] as const
|
|
19
|
+
|
|
20
|
+
type IconSizeProps = (typeof iconSizeProps)[number]
|
|
21
|
+
|
|
22
|
+
export { iconSizeProps }
|
|
23
|
+
export type { IconSizeProps }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './iconSize'
|
package/types/index.ts
CHANGED
|
@@ -2,11 +2,11 @@ export * from './align'
|
|
|
2
2
|
export * from './appearance'
|
|
3
3
|
export * from './border'
|
|
4
4
|
export * from './colors'
|
|
5
|
+
export * from './icon'
|
|
5
6
|
export * from './common'
|
|
6
7
|
export * from './direction'
|
|
7
8
|
export * from './elevation'
|
|
8
9
|
export * from './fill'
|
|
9
|
-
export * from './svgFill'
|
|
10
10
|
export * from './height'
|
|
11
11
|
export * from './item'
|
|
12
12
|
export * from './justifyContent'
|
|
@@ -18,7 +18,9 @@ export * from './size'
|
|
|
18
18
|
export * from './stacking'
|
|
19
19
|
export * from './state'
|
|
20
20
|
export * from './style'
|
|
21
|
+
export * from './svgFill'
|
|
21
22
|
export * from './text'
|
|
23
|
+
export * from './title'
|
|
22
24
|
export * from './underline'
|
|
23
25
|
export * from './width'
|
|
24
26
|
export * from './wrap'
|