@itcase/types 1.0.10 → 1.0.12
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/colors/index.ts +4 -4
- package/types/fill/fillActive.ts +57 -0
- package/types/fill/fillActiveHover.ts +57 -0
- package/types/fill/fillHover.ts +57 -0
- package/types/fill/index.ts +3 -1
- package/types/state/index.ts +0 -1
- package/types/state/state.ts +1 -1
- package/types/text/index.ts +0 -2
- package/types/colors/colorsSvg.ts +0 -7
- package/types/state/stateKeys.ts +0 -11
- package/types/text/textColorActive.ts +0 -40
- package/types/text/textColorHover.ts +0 -40
- /package/types/colors/{active.ts → colorsActive.ts} +0 -0
- /package/types/colors/{disabled.ts → colorsDisabled.ts} +0 -0
- /package/types/colors/{focus.ts → colorsFocus.ts} +0 -0
- /package/types/colors/{hover.ts → colorsHover.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [1.0.12](https://github.com/ITCase/itcase-types/compare/v1.0.11...v1.0.12) (2025-08-14)
|
|
2
|
+
|
|
3
|
+
## [1.0.11](https://github.com/ITCase/itcase-types/compare/v1.0.10...v1.0.11) (2025-08-13)
|
|
4
|
+
|
|
1
5
|
## [1.0.10](https://github.com/ITCase/itcase-types/compare/v1.0.9...v1.0.10) (2025-08-13)
|
|
2
6
|
|
|
3
7
|
## [1.0.9](https://github.com/ITCase/itcase-types/compare/v1.0.8...v1.0.9) (2025-08-13)
|
package/package.json
CHANGED
package/types/colors/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
1
|
+
export * from './colorsActive'
|
|
2
|
+
export * from './colorsDisabled'
|
|
3
|
+
export * from './colorsFocus'
|
|
4
|
+
export * from './colorsHover'
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
const fillActiveProps = [
|
|
2
|
+
'accentActivePrimary',
|
|
3
|
+
'accentActiveSecondary',
|
|
4
|
+
'accentActiveTertiary',
|
|
5
|
+
'accentActiveQuaternary',
|
|
6
|
+
|
|
7
|
+
'specialActivePrimary',
|
|
8
|
+
'specialActiveSecondary',
|
|
9
|
+
'specialActiveTertiary',
|
|
10
|
+
'specialActiveQuaternary',
|
|
11
|
+
|
|
12
|
+
'extraActivePrimary',
|
|
13
|
+
'extraActiveSecondary',
|
|
14
|
+
'extraActiveTertiary',
|
|
15
|
+
'extraActiveQuaternary',
|
|
16
|
+
|
|
17
|
+
'surfaceActivePrimary',
|
|
18
|
+
'surfaceActiveSecondary',
|
|
19
|
+
'surfaceActiveTertiary',
|
|
20
|
+
'surfaceActiveQuaternary',
|
|
21
|
+
|
|
22
|
+
'errorActivePrimary',
|
|
23
|
+
'errorActiveSecondary',
|
|
24
|
+
'errorActiveTertiary',
|
|
25
|
+
'errorActiveQuaternary',
|
|
26
|
+
|
|
27
|
+
'warningActivePrimary',
|
|
28
|
+
'warningActiveSecondary',
|
|
29
|
+
'warningActiveTertiary',
|
|
30
|
+
'warningActiveQuaternary',
|
|
31
|
+
|
|
32
|
+
'successActivePrimary',
|
|
33
|
+
'successActiveSecondary',
|
|
34
|
+
'successActiveTertiary',
|
|
35
|
+
'successActiveQuaternary',
|
|
36
|
+
|
|
37
|
+
'infoActivePrimary',
|
|
38
|
+
'infoActiveSecondary',
|
|
39
|
+
'infoActiveTertiary',
|
|
40
|
+
'infoActiveQuaternary',
|
|
41
|
+
|
|
42
|
+
'dangerActivePrimary',
|
|
43
|
+
'dangerActiveSecondary',
|
|
44
|
+
'dangerActiveTertiary',
|
|
45
|
+
'dangerActiveQuaternary',
|
|
46
|
+
|
|
47
|
+
'disabledActivePrimary',
|
|
48
|
+
'disabledActiveSecondary',
|
|
49
|
+
'disabledActiveTertiary',
|
|
50
|
+
'disabledActiveQuaternary',
|
|
51
|
+
|
|
52
|
+
'none',
|
|
53
|
+
] as const
|
|
54
|
+
|
|
55
|
+
export type FillActiveProps = (typeof fillActiveProps)[number]
|
|
56
|
+
|
|
57
|
+
export { fillActiveProps }
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
const fillActiveHoverProps = [
|
|
2
|
+
'accentActiveHoverPrimary',
|
|
3
|
+
'accentActiveHoverSecondary',
|
|
4
|
+
'accentActiveHoverTertiary',
|
|
5
|
+
'accentActiveHoverQuaternary',
|
|
6
|
+
|
|
7
|
+
'specialActiveHoverPrimary',
|
|
8
|
+
'specialActiveHoverSecondary',
|
|
9
|
+
'specialActiveHoverTertiary',
|
|
10
|
+
'specialActiveHoverQuaternary',
|
|
11
|
+
|
|
12
|
+
'extraActiveHoverPrimary',
|
|
13
|
+
'extraActiveHoverSecondary',
|
|
14
|
+
'extraActiveHoverTertiary',
|
|
15
|
+
'extraActiveHoverQuaternary',
|
|
16
|
+
|
|
17
|
+
'surfaceActiveHoverPrimary',
|
|
18
|
+
'surfaceActiveHoverSecondary',
|
|
19
|
+
'surfaceActiveHoverTertiary',
|
|
20
|
+
'surfaceActiveHoverQuaternary',
|
|
21
|
+
|
|
22
|
+
'errorActiveHoverPrimary',
|
|
23
|
+
'errorActiveHoverSecondary',
|
|
24
|
+
'errorActiveHoverTertiary',
|
|
25
|
+
'errorActiveHoverQuaternary',
|
|
26
|
+
|
|
27
|
+
'warningActiveHoverPrimary',
|
|
28
|
+
'warningActiveHoverSecondary',
|
|
29
|
+
'warningActiveHoverTertiary',
|
|
30
|
+
'warningActiveHoverQuaternary',
|
|
31
|
+
|
|
32
|
+
'successActiveHoverPrimary',
|
|
33
|
+
'successActiveHoverSecondary',
|
|
34
|
+
'successActiveHoverTertiary',
|
|
35
|
+
'successActiveHoverQuaternary',
|
|
36
|
+
|
|
37
|
+
'infoActiveHoverPrimary',
|
|
38
|
+
'infoActiveHoverSecondary',
|
|
39
|
+
'infoActiveHoverTertiary',
|
|
40
|
+
'infoActiveHoverQuaternary',
|
|
41
|
+
|
|
42
|
+
'dangerActiveHoverPrimary',
|
|
43
|
+
'dangerActiveHoverSecondary',
|
|
44
|
+
'dangerActiveHoverTertiary',
|
|
45
|
+
'dangerActiveHoverQuaternary',
|
|
46
|
+
|
|
47
|
+
'disabledActiveHoverPrimary',
|
|
48
|
+
'disabledActiveHoverSecondary',
|
|
49
|
+
'disabledActiveHoverTertiary',
|
|
50
|
+
'disabledActiveHoverQuaternary',
|
|
51
|
+
|
|
52
|
+
'none',
|
|
53
|
+
] as const
|
|
54
|
+
|
|
55
|
+
export type FillActiveHoverProps = (typeof fillActiveHoverProps)[number]
|
|
56
|
+
|
|
57
|
+
export { fillActiveHoverProps }
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
const fillHoverProps = [
|
|
2
|
+
'accentHoverPrimary',
|
|
3
|
+
'accentHoverSecondary',
|
|
4
|
+
'accentHoverTertiary',
|
|
5
|
+
'accentHoverQuaternary',
|
|
6
|
+
|
|
7
|
+
'specialHoverPrimary',
|
|
8
|
+
'specialHoverSecondary',
|
|
9
|
+
'specialHoverTertiary',
|
|
10
|
+
'specialHoverQuaternary',
|
|
11
|
+
|
|
12
|
+
'extraHoverPrimary',
|
|
13
|
+
'extraHoverSecondary',
|
|
14
|
+
'extraHoverTertiary',
|
|
15
|
+
'extraHoverQuaternary',
|
|
16
|
+
|
|
17
|
+
'surfaceHoverPrimary',
|
|
18
|
+
'surfaceHoverSecondary',
|
|
19
|
+
'surfaceHoverTertiary',
|
|
20
|
+
'surfaceHoverQuaternary',
|
|
21
|
+
|
|
22
|
+
'errorHoverPrimary',
|
|
23
|
+
'errorHoverSecondary',
|
|
24
|
+
'errorHoverTertiary',
|
|
25
|
+
'errorHoverQuaternary',
|
|
26
|
+
|
|
27
|
+
'warningHoverPrimary',
|
|
28
|
+
'warningHoverSecondary',
|
|
29
|
+
'warningHoverTertiary',
|
|
30
|
+
'warningHoverQuaternary',
|
|
31
|
+
|
|
32
|
+
'successHoverPrimary',
|
|
33
|
+
'successHoverSecondary',
|
|
34
|
+
'successHoverTertiary',
|
|
35
|
+
'successHoverQuaternary',
|
|
36
|
+
|
|
37
|
+
'infoHoverPrimary',
|
|
38
|
+
'infoHoverSecondary',
|
|
39
|
+
'infoHoverTertiary',
|
|
40
|
+
'infoHoverQuaternary',
|
|
41
|
+
|
|
42
|
+
'dangerHoverPrimary',
|
|
43
|
+
'dangerHoverSecondary',
|
|
44
|
+
'dangerHoverTertiary',
|
|
45
|
+
'dangerHoverQuaternary',
|
|
46
|
+
|
|
47
|
+
'disabledHoverPrimary',
|
|
48
|
+
'disabledHoverSecondary',
|
|
49
|
+
'disabledHoverTertiary',
|
|
50
|
+
'disabledHoverQuaternary',
|
|
51
|
+
|
|
52
|
+
'none',
|
|
53
|
+
] as const
|
|
54
|
+
|
|
55
|
+
export type FillHoverProps = (typeof fillHoverProps)[number]
|
|
56
|
+
|
|
57
|
+
export { fillHoverProps }
|
package/types/fill/index.ts
CHANGED
package/types/state/index.ts
CHANGED
package/types/state/state.ts
CHANGED
package/types/text/index.ts
CHANGED
package/types/state/stateKeys.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
const textColorActiveProps = [
|
|
2
|
-
'accentTextPrimary',
|
|
3
|
-
'accentTextSecondary',
|
|
4
|
-
'accentTextTertiary',
|
|
5
|
-
|
|
6
|
-
'primaryTextPrimary',
|
|
7
|
-
'primaryTextSecondary',
|
|
8
|
-
'primaryTextTertiary',
|
|
9
|
-
|
|
10
|
-
'secondaryTextPrimary',
|
|
11
|
-
'secondaryTextSecondary',
|
|
12
|
-
'secondaryTextTertiary',
|
|
13
|
-
|
|
14
|
-
'tertiaryTextPrimary',
|
|
15
|
-
'tertiaryTextSecondary',
|
|
16
|
-
|
|
17
|
-
'surfaceTextAccent',
|
|
18
|
-
'surfaceTextActive',
|
|
19
|
-
'surfaceTextDisabled',
|
|
20
|
-
'surfaceTextFocus',
|
|
21
|
-
'surfaceTextHover',
|
|
22
|
-
'surfaceTextInverse',
|
|
23
|
-
'surfaceTextPrimary',
|
|
24
|
-
'surfaceTextQuaternary',
|
|
25
|
-
'surfaceTextSecondary',
|
|
26
|
-
'surfaceTextTertiary',
|
|
27
|
-
|
|
28
|
-
'errorTextPrimary',
|
|
29
|
-
'errorTextSecondary',
|
|
30
|
-
|
|
31
|
-
'successTextPrimary',
|
|
32
|
-
'successTextSecondary',
|
|
33
|
-
|
|
34
|
-
'dangerTextPrimary',
|
|
35
|
-
'dangerTextSecondary',
|
|
36
|
-
] as const
|
|
37
|
-
|
|
38
|
-
export type TextColorActiveProps = (typeof textColorActiveProps)[number]
|
|
39
|
-
|
|
40
|
-
export { textColorActiveProps }
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
const textColorHoverProps = [
|
|
2
|
-
'accentTextPrimary',
|
|
3
|
-
'accentTextSecondary',
|
|
4
|
-
'accentTextTertiary',
|
|
5
|
-
|
|
6
|
-
'primaryTextPrimary',
|
|
7
|
-
'primaryTextSecondary',
|
|
8
|
-
'primaryTextTertiary',
|
|
9
|
-
|
|
10
|
-
'secondaryTextPrimary',
|
|
11
|
-
'secondaryTextSecondary',
|
|
12
|
-
'secondaryTextTertiary',
|
|
13
|
-
|
|
14
|
-
'tertiaryTextPrimary',
|
|
15
|
-
'tertiaryTextSecondary',
|
|
16
|
-
|
|
17
|
-
'surfaceTextAccent',
|
|
18
|
-
'surfaceTextActive',
|
|
19
|
-
'surfaceTextDisabled',
|
|
20
|
-
'surfaceTextFocus',
|
|
21
|
-
'surfaceTextHover',
|
|
22
|
-
'surfaceTextInverse',
|
|
23
|
-
'surfaceTextPrimary',
|
|
24
|
-
'surfaceTextQuaternary',
|
|
25
|
-
'surfaceTextSecondary',
|
|
26
|
-
'surfaceTextTertiary',
|
|
27
|
-
|
|
28
|
-
'errorTextPrimary',
|
|
29
|
-
'errorTextSecondary',
|
|
30
|
-
|
|
31
|
-
'successTextPrimary',
|
|
32
|
-
'successTextSecondary',
|
|
33
|
-
|
|
34
|
-
'dangerTextPrimary',
|
|
35
|
-
'dangerTextSecondary',
|
|
36
|
-
] as const
|
|
37
|
-
|
|
38
|
-
export type TextColorHoverProps = (typeof textColorHoverProps)[number]
|
|
39
|
-
|
|
40
|
-
export { textColorHoverProps }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|