@itcase/types 1.0.22 → 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 CHANGED
@@ -1,3 +1,5 @@
1
+ ## [1.0.23](https://github.com/ITCase/itcase-types/compare/v1.0.22...v1.0.23) (2025-08-15)
2
+
1
3
  ## [1.0.22](https://github.com/ITCase/itcase-types/compare/v1.0.21...v1.0.22) (2025-08-14)
2
4
 
3
5
  ## [1.0.21](https://github.com/ITCase/itcase-types/compare/v1.0.20...v1.0.21) (2025-08-14)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/types",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "unified type storage",
5
5
  "keywords": [
6
6
  "types"
@@ -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,6 +2,7 @@ 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'
@@ -1,4 +1,4 @@
1
- const shapeStrengthProps = ['05-m', '1-m', '15-m', '2-m'] as const
1
+ const shapeStrengthProps = ['0_5m', '1m', '1_5m', '2m'] as const
2
2
 
3
3
  type ShapeStrengthProps = (typeof shapeStrengthProps)[number]
4
4