@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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/types",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "unified type storage",
5
5
  "keywords": [
6
6
  "types"
@@ -1,4 +1,4 @@
1
- export * from './active'
2
- export * from './disabled'
3
- export * from './focus'
4
- export * from './hover'
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 }
@@ -1,3 +1,5 @@
1
1
  export * from './fill'
2
+ export * from './fillActive'
3
+ export * from './fillActiveHover'
4
+ export * from './fillHover'
2
5
  export * from './fillSize'
3
- export * from './fillGradient'
@@ -1,2 +1 @@
1
1
  export * from './state'
2
- export * from './stateKeys'
@@ -4,7 +4,7 @@ const stateProps = [
4
4
  'disabled',
5
5
  'focus',
6
6
  'hover',
7
- 'normal',
7
+ 'default',
8
8
  ] as const
9
9
 
10
10
  export type StateProps = (typeof stateProps)[number]
@@ -1,5 +1,3 @@
1
1
  export * from './textColor'
2
- export * from './textColorActive'
3
- export * from './textColorHover'
4
2
  export * from './textSize'
5
3
  export * from './textTag'
@@ -1,7 +0,0 @@
1
- import { fillProps } from '../fill'
2
-
3
- const svgFillProps = [...fillProps] as const
4
-
5
- export type SvgFillProps = (typeof svgFillProps)[number]
6
-
7
- export { svgFillProps }
@@ -1,11 +0,0 @@
1
- export type StateKeysDefault =
2
- | 'active'
3
- | 'activeFilled'
4
- | 'disabled'
5
- | 'error'
6
- | 'errorFilled'
7
- | 'filled'
8
- | 'normal'
9
- | 'readonly'
10
- | 'require'
11
- | 'success'
@@ -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