@itcase/types 1.0.33 → 1.0.35
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 +2 -2
- package/types/appearance/index.ts +14 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [1.0.35](https://github.com/ITCase/itcase-types/compare/v1.0.34...v1.0.35) (2025-08-22)
|
|
2
|
+
|
|
3
|
+
## [1.0.34](https://github.com/ITCase/itcase-types/compare/v1.0.33...v1.0.34) (2025-08-22)
|
|
4
|
+
|
|
1
5
|
## [1.0.33](https://github.com/ITCase/itcase-types/compare/v1.0.32...v1.0.33) (2025-08-21)
|
|
2
6
|
|
|
3
7
|
## [1.0.32](https://github.com/ITCase/itcase-types/compare/v1.0.31...v1.0.32) (2025-08-21)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.35",
|
|
4
4
|
"description": "unified type storage",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"types"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@commitlint/cli": "^19.8.1",
|
|
34
34
|
"@commitlint/config-conventional": "^19.8.1",
|
|
35
|
-
"@itcase/config": "^1.0.
|
|
35
|
+
"@itcase/config": "^1.0.56",
|
|
36
36
|
"@itcase/lint": "^1.1.37",
|
|
37
37
|
"@semantic-release/changelog": "^6.0.3",
|
|
38
38
|
"@semantic-release/git": "^10.0.1",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SizeProps } from '../size'
|
|
1
|
+
import type { SizeProps, SizePXProps } from '../size'
|
|
2
2
|
import type { StyleProps } from '../style'
|
|
3
3
|
import type { AppearanceIconSizeKey } from './AppearanceIconSizeKey'
|
|
4
4
|
import type { AppearanceKeysDefault } from './AppearanceKeysDefault'
|
|
@@ -8,6 +8,7 @@ import type { AppearanceShapeKey } from './AppearanceShapeKey'
|
|
|
8
8
|
import type { AppearanceStateKeysDefault } from './AppearanceStateKeysDefault'
|
|
9
9
|
|
|
10
10
|
type AppearanceSizeKey = `size${Uppercase<SizeProps>}`
|
|
11
|
+
type AppearanceSizePxKey = `size${Uppercase<SizePXProps>}`
|
|
11
12
|
type AppearanceStyleKey = StyleProps
|
|
12
13
|
|
|
13
14
|
type CompositeAppearanceKey =
|
|
@@ -16,6 +17,12 @@ type CompositeAppearanceKey =
|
|
|
16
17
|
| `${AppearanceKeysDefault} ${AppearanceSizeKey}`
|
|
17
18
|
| AppearanceKeysDefault
|
|
18
19
|
|
|
20
|
+
type CompositeAppearanceSizePxKey =
|
|
21
|
+
| `${AppearanceKeysDefault} ${AppearanceSizePxKey} ${AppearanceStyleKey} ${AppearanceShapeKey}`
|
|
22
|
+
| `${AppearanceKeysDefault} ${AppearanceSizePxKey} ${AppearanceStyleKey}`
|
|
23
|
+
| `${AppearanceKeysDefault} ${AppearanceSizePxKey}`
|
|
24
|
+
| AppearanceKeysDefault
|
|
25
|
+
|
|
19
26
|
type CompositeAppearanceStateKeys =
|
|
20
27
|
| `${AppearanceStateKeysDefault} ${AppearanceSizeKey} ${AppearanceStyleKey} ${AppearanceShapeKey}`
|
|
21
28
|
| `${AppearanceStateKeysDefault} ${AppearanceSizeKey} ${AppearanceStyleKey}`
|
|
@@ -36,13 +43,15 @@ type CompositeAppearanceIconKeys =
|
|
|
36
43
|
|
|
37
44
|
export type {
|
|
38
45
|
AppearanceKeysDefault,
|
|
39
|
-
AppearanceStateKeysDefault,
|
|
40
46
|
AppearanceOverlayKey,
|
|
41
|
-
AppearanceSizeKey,
|
|
42
47
|
AppearanceShapeKey,
|
|
48
|
+
AppearanceSizeKey,
|
|
49
|
+
AppearanceSizePxKey,
|
|
50
|
+
AppearanceStateKeysDefault,
|
|
43
51
|
AppearanceStyleKey,
|
|
52
|
+
CompositeAppearanceIconKeys,
|
|
44
53
|
CompositeAppearanceKey,
|
|
45
|
-
CompositeAppearanceStateKeys,
|
|
46
54
|
CompositeAppearanceResponseKeys,
|
|
47
|
-
|
|
55
|
+
CompositeAppearanceSizePxKey,
|
|
56
|
+
CompositeAppearanceStateKeys,
|
|
48
57
|
}
|