@itcase/types 1.0.41 → 1.0.43
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 +5 -5
- package/types/icon/iconFill.ts +3 -0
- package/types/icon/iconFillActive.ts +61 -0
- package/types/icon/iconFillActiveHover.ts +61 -0
- package/types/icon/iconFillDisabled.ts +12 -0
- package/types/icon/iconFillHover.ts +60 -0
- package/types/icon/iconFillItem.ts +3 -0
- package/types/icon/index.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [1.0.43](https://github.com/ITCase/itcase-types/compare/v1.0.42...v1.0.43) (2025-08-29)
|
|
2
|
+
|
|
3
|
+
## [1.0.42](https://github.com/ITCase/itcase-types/compare/v1.0.41...v1.0.42) (2025-08-22)
|
|
4
|
+
|
|
1
5
|
## [1.0.41](https://github.com/ITCase/itcase-types/compare/v1.0.40...v1.0.41) (2025-08-22)
|
|
2
6
|
|
|
3
7
|
## [1.0.40](https://github.com/ITCase/itcase-types/compare/v1.0.39...v1.0.40) (2025-08-22)
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ import type { AppearanceStateKeysDefault } from './AppearanceStateKeysDefault'
|
|
|
10
10
|
|
|
11
11
|
type AppearanceSizeKey = `size${Uppercase<SizeProps>}`
|
|
12
12
|
type AppearanceSizePxKey = `size${Uppercase<SizePXProps>}`
|
|
13
|
-
type
|
|
13
|
+
type AppearanceTitleSizeKey = TitleSizeProps
|
|
14
14
|
type AppearanceStyleKey = StyleProps
|
|
15
15
|
|
|
16
16
|
// key: surfacePrimary
|
|
@@ -39,9 +39,9 @@ type CompositeAppearanceKey =
|
|
|
39
39
|
| AppearanceKeysDefault
|
|
40
40
|
|
|
41
41
|
type CompositeAppearanceTitleKey =
|
|
42
|
-
| `${AppearanceKeysDefault} ${
|
|
43
|
-
| `${AppearanceKeysDefault} ${
|
|
44
|
-
| `${AppearanceKeysDefault} ${
|
|
42
|
+
| `${AppearanceKeysDefault} ${AppearanceTitleSizeKey} ${AppearanceStyleKey} ${AppearanceShapeKey}`
|
|
43
|
+
| `${AppearanceKeysDefault} ${AppearanceTitleSizeKey} ${AppearanceStyleKey}`
|
|
44
|
+
| `${AppearanceKeysDefault} ${AppearanceTitleSizeKey}`
|
|
45
45
|
| AppearanceKeysDefault
|
|
46
46
|
|
|
47
47
|
type CompositeAppearanceSizePxKey =
|
|
@@ -76,7 +76,7 @@ export type {
|
|
|
76
76
|
AppearanceSizePxKey,
|
|
77
77
|
AppearanceStateKeysDefault,
|
|
78
78
|
AppearanceStyleKey,
|
|
79
|
-
|
|
79
|
+
AppearanceTitleSizeKey,
|
|
80
80
|
CompositeAppearanceDefaultKey,
|
|
81
81
|
CompositeAppearanceDefaultSizeKey,
|
|
82
82
|
CompositeAppearanceDefaultSizeShapeKey,
|
package/types/icon/iconFill.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { fillPaletteProps } from './../fill/fillPalette'
|
|
2
|
+
|
|
1
3
|
const iconFillProps = [
|
|
2
4
|
'accentPrimary',
|
|
3
5
|
'accentSecondary',
|
|
@@ -50,6 +52,7 @@ const iconFillProps = [
|
|
|
50
52
|
'disabledQuaternary',
|
|
51
53
|
|
|
52
54
|
'none',
|
|
55
|
+
...fillPaletteProps,
|
|
53
56
|
] as const
|
|
54
57
|
|
|
55
58
|
export type IconFillProps = (typeof iconFillProps)[number]
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { fillPaletteProps } from './../fill/fillPalette'
|
|
2
|
+
|
|
3
|
+
const iconFillActiveProps = [
|
|
4
|
+
'accentActivePrimary',
|
|
5
|
+
'accentActiveSecondary',
|
|
6
|
+
'accentActiveTertiary',
|
|
7
|
+
'accentActiveQuaternary',
|
|
8
|
+
|
|
9
|
+
'specialActivePrimary',
|
|
10
|
+
'specialActiveSecondary',
|
|
11
|
+
'specialActiveTertiary',
|
|
12
|
+
'specialActiveQuaternary',
|
|
13
|
+
|
|
14
|
+
'extraActivePrimary',
|
|
15
|
+
'extraActiveSecondary',
|
|
16
|
+
'extraActiveTertiary',
|
|
17
|
+
'extraActiveQuaternary',
|
|
18
|
+
|
|
19
|
+
'surfaceActivePrimary',
|
|
20
|
+
'surfaceActiveSecondary',
|
|
21
|
+
'surfaceActiveTertiary',
|
|
22
|
+
'surfaceActiveQuaternary',
|
|
23
|
+
|
|
24
|
+
'errorActivePrimary',
|
|
25
|
+
'errorActiveSecondary',
|
|
26
|
+
'errorActiveTertiary',
|
|
27
|
+
'errorActiveQuaternary',
|
|
28
|
+
|
|
29
|
+
'warningActivePrimary',
|
|
30
|
+
'warningActiveSecondary',
|
|
31
|
+
'warningActiveTertiary',
|
|
32
|
+
'warningActiveQuaternary',
|
|
33
|
+
|
|
34
|
+
'successActivePrimary',
|
|
35
|
+
'successActiveSecondary',
|
|
36
|
+
'successActiveTertiary',
|
|
37
|
+
'successActiveQuaternary',
|
|
38
|
+
|
|
39
|
+
'infoActivePrimary',
|
|
40
|
+
'infoActiveSecondary',
|
|
41
|
+
'infoActiveTertiary',
|
|
42
|
+
'infoActiveQuaternary',
|
|
43
|
+
|
|
44
|
+
'dangerActivePrimary',
|
|
45
|
+
'dangerActiveSecondary',
|
|
46
|
+
'dangerActiveTertiary',
|
|
47
|
+
'dangerActiveQuaternary',
|
|
48
|
+
|
|
49
|
+
'disabledActivePrimary',
|
|
50
|
+
'disabledActiveSecondary',
|
|
51
|
+
'disabledActiveTertiary',
|
|
52
|
+
'disabledActiveQuaternary',
|
|
53
|
+
|
|
54
|
+
'none',
|
|
55
|
+
|
|
56
|
+
...fillPaletteProps,
|
|
57
|
+
] as const
|
|
58
|
+
|
|
59
|
+
export type IconFillActiveProps = (typeof iconFillActiveProps)[number]
|
|
60
|
+
|
|
61
|
+
export { iconFillActiveProps }
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { fillPaletteProps } from './../fill/fillPalette'
|
|
2
|
+
|
|
3
|
+
const iconFillActiveHoverProps = [
|
|
4
|
+
'accentActiveHoverPrimary',
|
|
5
|
+
'accentActiveHoverSecondary',
|
|
6
|
+
'accentActiveHoverTertiary',
|
|
7
|
+
'accentActiveHoverQuaternary',
|
|
8
|
+
|
|
9
|
+
'specialActiveHoverPrimary',
|
|
10
|
+
'specialActiveHoverSecondary',
|
|
11
|
+
'specialActiveHoverTertiary',
|
|
12
|
+
'specialActiveHoverQuaternary',
|
|
13
|
+
|
|
14
|
+
'extraActiveHoverPrimary',
|
|
15
|
+
'extraActiveHoverSecondary',
|
|
16
|
+
'extraActiveHoverTertiary',
|
|
17
|
+
'extraActiveHoverQuaternary',
|
|
18
|
+
|
|
19
|
+
'surfaceActiveHoverPrimary',
|
|
20
|
+
'surfaceActiveHoverSecondary',
|
|
21
|
+
'surfaceActiveHoverTertiary',
|
|
22
|
+
'surfaceActiveHoverQuaternary',
|
|
23
|
+
|
|
24
|
+
'errorActiveHoverPrimary',
|
|
25
|
+
'errorActiveHoverSecondary',
|
|
26
|
+
'errorActiveHoverTertiary',
|
|
27
|
+
'errorActiveHoverQuaternary',
|
|
28
|
+
|
|
29
|
+
'warningActiveHoverPrimary',
|
|
30
|
+
'warningActiveHoverSecondary',
|
|
31
|
+
'warningActiveHoverTertiary',
|
|
32
|
+
'warningActiveHoverQuaternary',
|
|
33
|
+
|
|
34
|
+
'successActiveHoverPrimary',
|
|
35
|
+
'successActiveHoverSecondary',
|
|
36
|
+
'successActiveHoverTertiary',
|
|
37
|
+
'successActiveHoverQuaternary',
|
|
38
|
+
|
|
39
|
+
'infoActiveHoverPrimary',
|
|
40
|
+
'infoActiveHoverSecondary',
|
|
41
|
+
'infoActiveHoverTertiary',
|
|
42
|
+
'infoActiveHoverQuaternary',
|
|
43
|
+
|
|
44
|
+
'dangerActiveHoverPrimary',
|
|
45
|
+
'dangerActiveHoverSecondary',
|
|
46
|
+
'dangerActiveHoverTertiary',
|
|
47
|
+
'dangerActiveHoverQuaternary',
|
|
48
|
+
|
|
49
|
+
'disabledActiveHoverPrimary',
|
|
50
|
+
'disabledActiveHoverSecondary',
|
|
51
|
+
'disabledActiveHoverTertiary',
|
|
52
|
+
'disabledActiveHoverQuaternary',
|
|
53
|
+
|
|
54
|
+
'none',
|
|
55
|
+
|
|
56
|
+
...fillPaletteProps,
|
|
57
|
+
] as const
|
|
58
|
+
|
|
59
|
+
export type IconFillActiveHoverProps = (typeof iconFillActiveHoverProps)[number]
|
|
60
|
+
|
|
61
|
+
export { iconFillActiveHoverProps }
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const iconFillDisabledProps = [
|
|
2
|
+
'disabledPrimary',
|
|
3
|
+
'disabledSecondary',
|
|
4
|
+
'disabledTertiary',
|
|
5
|
+
'disabledQuaternary',
|
|
6
|
+
|
|
7
|
+
'none',
|
|
8
|
+
] as const
|
|
9
|
+
|
|
10
|
+
export type IconFillDisabledProps = (typeof iconFillDisabledProps)[number]
|
|
11
|
+
|
|
12
|
+
export { iconFillDisabledProps }
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { fillPaletteProps } from './fillPalette'
|
|
2
|
+
|
|
3
|
+
const iconFillHoverProps = [
|
|
4
|
+
'accentHoverPrimary',
|
|
5
|
+
'accentHoverSecondary',
|
|
6
|
+
'accentHoverTertiary',
|
|
7
|
+
'accentHoverQuaternary',
|
|
8
|
+
|
|
9
|
+
'specialHoverPrimary',
|
|
10
|
+
'specialHoverSecondary',
|
|
11
|
+
'specialHoverTertiary',
|
|
12
|
+
'specialHoverQuaternary',
|
|
13
|
+
|
|
14
|
+
'extraHoverPrimary',
|
|
15
|
+
'extraHoverSecondary',
|
|
16
|
+
'extraHoverTertiary',
|
|
17
|
+
'extraHoverQuaternary',
|
|
18
|
+
|
|
19
|
+
'surfaceHoverPrimary',
|
|
20
|
+
'surfaceHoverSecondary',
|
|
21
|
+
'surfaceHoverTertiary',
|
|
22
|
+
'surfaceHoverQuaternary',
|
|
23
|
+
|
|
24
|
+
'errorHoverPrimary',
|
|
25
|
+
'errorHoverSecondary',
|
|
26
|
+
'errorHoverTertiary',
|
|
27
|
+
'errorHoverQuaternary',
|
|
28
|
+
|
|
29
|
+
'warningHoverPrimary',
|
|
30
|
+
'warningHoverSecondary',
|
|
31
|
+
'warningHoverTertiary',
|
|
32
|
+
'warningHoverQuaternary',
|
|
33
|
+
|
|
34
|
+
'successHoverPrimary',
|
|
35
|
+
'successHoverSecondary',
|
|
36
|
+
'successHoverTertiary',
|
|
37
|
+
'successHoverQuaternary',
|
|
38
|
+
|
|
39
|
+
'infoHoverPrimary',
|
|
40
|
+
'infoHoverSecondary',
|
|
41
|
+
'infoHoverTertiary',
|
|
42
|
+
'infoHoverQuaternary',
|
|
43
|
+
|
|
44
|
+
'dangerHoverPrimary',
|
|
45
|
+
'dangerHoverSecondary',
|
|
46
|
+
'dangerHoverTertiary',
|
|
47
|
+
'dangerHoverQuaternary',
|
|
48
|
+
|
|
49
|
+
'disabledHoverPrimary',
|
|
50
|
+
'disabledHoverSecondary',
|
|
51
|
+
'disabledHoverTertiary',
|
|
52
|
+
'disabledHoverQuaternary',
|
|
53
|
+
|
|
54
|
+
'none',
|
|
55
|
+
...fillPaletteProps,
|
|
56
|
+
] as const
|
|
57
|
+
|
|
58
|
+
export type IconFillHoverProps = (typeof iconFillHoverProps)[number]
|
|
59
|
+
|
|
60
|
+
export { iconFillHoverProps }
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { fillPaletteProps } from './../fill/fillPalette'
|
|
2
|
+
|
|
1
3
|
const iconFillItemProps = [
|
|
2
4
|
'accentItemPrimary',
|
|
3
5
|
'accentItemSecondary',
|
|
@@ -50,6 +52,7 @@ const iconFillItemProps = [
|
|
|
50
52
|
'disabledItemQuaternary',
|
|
51
53
|
|
|
52
54
|
'none',
|
|
55
|
+
...fillPaletteProps,
|
|
53
56
|
] as const
|
|
54
57
|
|
|
55
58
|
export type IconFillItemProps = (typeof iconFillItemProps)[number]
|