@itcase/types 1.0.40 → 1.0.41
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 +2 -0
- package/package.json +1 -1
- package/types/appearance/index.ts +11 -1
- package/types/svgFill/index.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
## [1.0.41](https://github.com/ITCase/itcase-types/compare/v1.0.40...v1.0.41) (2025-08-22)
|
|
2
|
+
|
|
1
3
|
## [1.0.40](https://github.com/ITCase/itcase-types/compare/v1.0.39...v1.0.40) (2025-08-22)
|
|
2
4
|
|
|
3
5
|
## [1.0.39](https://github.com/ITCase/itcase-types/compare/v1.0.38...v1.0.39) (2025-08-22)
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { SizeProps, SizePXProps } from '../size'
|
|
2
2
|
import type { StyleProps } from '../style'
|
|
3
|
+
import type { TitleSizeProps } from '../title'
|
|
3
4
|
import type { AppearanceIconSizeKey } from './AppearanceIconSizeKey'
|
|
4
5
|
import type { AppearanceKeysDefault } from './AppearanceKeysDefault'
|
|
5
6
|
import type { AppearanceOverlayKey } from './AppearanceOverlayKey'
|
|
@@ -9,6 +10,7 @@ import type { AppearanceStateKeysDefault } from './AppearanceStateKeysDefault'
|
|
|
9
10
|
|
|
10
11
|
type AppearanceSizeKey = `size${Uppercase<SizeProps>}`
|
|
11
12
|
type AppearanceSizePxKey = `size${Uppercase<SizePXProps>}`
|
|
13
|
+
type AppearanceTitleSizePxKey = TitleSizeProps
|
|
12
14
|
type AppearanceStyleKey = StyleProps
|
|
13
15
|
|
|
14
16
|
// key: surfacePrimary
|
|
@@ -36,6 +38,12 @@ type CompositeAppearanceKey =
|
|
|
36
38
|
| `${AppearanceKeysDefault} ${AppearanceSizeKey}`
|
|
37
39
|
| AppearanceKeysDefault
|
|
38
40
|
|
|
41
|
+
type CompositeAppearanceTitleKey =
|
|
42
|
+
| `${AppearanceKeysDefault} ${AppearanceTitleSizePxKey} ${AppearanceStyleKey} ${AppearanceShapeKey}`
|
|
43
|
+
| `${AppearanceKeysDefault} ${AppearanceTitleSizePxKey} ${AppearanceStyleKey}`
|
|
44
|
+
| `${AppearanceKeysDefault} ${AppearanceTitleSizePxKey}`
|
|
45
|
+
| AppearanceKeysDefault
|
|
46
|
+
|
|
39
47
|
type CompositeAppearanceSizePxKey =
|
|
40
48
|
| `${AppearanceKeysDefault} ${AppearanceSizePxKey} ${AppearanceStyleKey} ${AppearanceShapeKey}`
|
|
41
49
|
| `${AppearanceKeysDefault} ${AppearanceSizePxKey} ${AppearanceStyleKey}`
|
|
@@ -68,14 +76,16 @@ export type {
|
|
|
68
76
|
AppearanceSizePxKey,
|
|
69
77
|
AppearanceStateKeysDefault,
|
|
70
78
|
AppearanceStyleKey,
|
|
79
|
+
AppearanceTitleSizePxKey,
|
|
71
80
|
CompositeAppearanceDefaultKey,
|
|
72
81
|
CompositeAppearanceDefaultSizeKey,
|
|
73
|
-
CompositeAppearanceDefaultSizeStyleKey,
|
|
74
82
|
CompositeAppearanceDefaultSizeShapeKey,
|
|
83
|
+
CompositeAppearanceDefaultSizeStyleKey,
|
|
75
84
|
CompositeAppearanceDefaultStyleShapeKey,
|
|
76
85
|
CompositeAppearanceIconKeys,
|
|
77
86
|
CompositeAppearanceKey,
|
|
78
87
|
CompositeAppearanceResponseKeys,
|
|
79
88
|
CompositeAppearanceSizePxKey,
|
|
80
89
|
CompositeAppearanceStateKeys,
|
|
90
|
+
CompositeAppearanceTitleKey,
|
|
81
91
|
}
|
package/types/svgFill/index.ts
CHANGED