@itcase/types 1.0.14 → 1.0.16

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.16](https://github.com/ITCase/itcase-types/compare/v1.0.15...v1.0.16) (2025-08-14)
2
+
3
+ ## [1.0.15](https://github.com/ITCase/itcase-types/compare/v1.0.14...v1.0.15) (2025-08-14)
4
+
1
5
  ## [1.0.14](https://github.com/ITCase/itcase-types/compare/v1.0.13...v1.0.14) (2025-08-14)
2
6
 
3
7
  ## [1.0.13](https://github.com/ITCase/itcase-types/compare/v1.0.12...v1.0.13) (2025-08-14)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/types",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "description": "unified type storage",
5
5
  "keywords": [
6
6
  "types"
@@ -0,0 +1,57 @@
1
+ const borderColorActiveProps = [
2
+ 'accentBorderActivePrimary',
3
+ 'accentBorderActiveSecondary',
4
+ 'accentBorderActiveTertiary',
5
+ 'accentBorderActiveQuaternary',
6
+
7
+ 'specialBorderActivePrimary',
8
+ 'specialBorderActiveSecondary',
9
+ 'specialBorderActiveTertiary',
10
+ 'specialBorderActiveQuaternary',
11
+
12
+ 'extraBorderActivePrimary',
13
+ 'extraBorderActiveSecondary',
14
+ 'extraBorderActiveTertiary',
15
+ 'extraBorderActiveQuaternary',
16
+
17
+ 'surfaceBorderActivePrimary',
18
+ 'surfaceBorderActiveSecondary',
19
+ 'surfaceBorderActiveTertiary',
20
+ 'surfaceBorderActiveQuaternary',
21
+
22
+ 'errorBorderActivePrimary',
23
+ 'errorBorderActiveSecondary',
24
+ 'errorBorderActiveTertiary',
25
+ 'errorBorderActiveQuaternary',
26
+
27
+ 'warningBorderActivePrimary',
28
+ 'warningBorderActiveSecondary',
29
+ 'warningBorderActiveTertiary',
30
+ 'warningBorderActiveQuaternary',
31
+
32
+ 'successBorderActivePrimary',
33
+ 'successBorderActiveSecondary',
34
+ 'successBorderActiveTertiary',
35
+ 'successBorderActiveQuaternary',
36
+
37
+ 'infoBorderActivePrimary',
38
+ 'infoBorderActiveSecondary',
39
+ 'infoBorderActiveTertiary',
40
+ 'infoBorderActiveQuaternary',
41
+
42
+ 'dangerBorderActivePrimary',
43
+ 'dangerBorderActiveSecondary',
44
+ 'dangerBorderActiveTertiary',
45
+ 'dangerBorderActiveQuaternary',
46
+
47
+ 'disabledBorderActivePrimary',
48
+ 'disabledBorderActiveSecondary',
49
+ 'disabledBorderActiveTertiary',
50
+ 'disabledBorderActiveQuaternary',
51
+
52
+ 'none',
53
+ ] as const
54
+
55
+ export type borderColorActiveProps = (typeof borderColorActiveProps)[number]
56
+
57
+ export { borderColorActiveProps }
@@ -0,0 +1,57 @@
1
+ const borderColorDisabledProps = [
2
+ 'accentBorderDisabledPrimary',
3
+ 'accentBorderDisabledSecondary',
4
+ 'accentBorderDisabledTertiary',
5
+ 'accentBorderDisabledQuaternary',
6
+
7
+ 'specialBorderDisabledPrimary',
8
+ 'specialBorderDisabledSecondary',
9
+ 'specialBorderDisabledTertiary',
10
+ 'specialBorderDisabledQuaternary',
11
+
12
+ 'extraBorderDisabledPrimary',
13
+ 'extraBorderDisabledSecondary',
14
+ 'extraBorderDisabledTertiary',
15
+ 'extraBorderDisabledQuaternary',
16
+
17
+ 'surfaceBorderDisabledPrimary',
18
+ 'surfaceBorderDisabledSecondary',
19
+ 'surfaceBorderDisabledTertiary',
20
+ 'surfaceBorderDisabledQuaternary',
21
+
22
+ 'errorBorderDisabledPrimary',
23
+ 'errorBorderDisabledSecondary',
24
+ 'errorBorderDisabledTertiary',
25
+ 'errorBorderDisabledQuaternary',
26
+
27
+ 'warningBorderDisabledPrimary',
28
+ 'warningBorderDisabledSecondary',
29
+ 'warningBorderDisabledTertiary',
30
+ 'warningBorderDisabledQuaternary',
31
+
32
+ 'successBorderDisabledPrimary',
33
+ 'successBorderDisabledSecondary',
34
+ 'successBorderDisabledTertiary',
35
+ 'successBorderDisabledQuaternary',
36
+
37
+ 'infoBorderDisabledPrimary',
38
+ 'infoBorderDisabledSecondary',
39
+ 'infoBorderDisabledTertiary',
40
+ 'infoBorderDisabledQuaternary',
41
+
42
+ 'dangerBorderDisabledPrimary',
43
+ 'dangerBorderDisabledSecondary',
44
+ 'dangerBorderDisabledTertiary',
45
+ 'dangerBorderDisabledQuaternary',
46
+
47
+ 'disabledBorderDisabledPrimary',
48
+ 'disabledBorderDisabledSecondary',
49
+ 'disabledBorderDisabledTertiary',
50
+ 'disabledBorderDisabledQuaternary',
51
+
52
+ 'none',
53
+ ] as const
54
+
55
+ export type borderColorDisabledProps = (typeof borderColorDisabledProps)[number]
56
+
57
+ export { borderColorDisabledProps }
@@ -0,0 +1,57 @@
1
+ const borderColorFocusProps = [
2
+ 'accentBorderFocusPrimary',
3
+ 'accentBorderFocusSecondary',
4
+ 'accentBorderFocusTertiary',
5
+ 'accentBorderFocusQuaternary',
6
+
7
+ 'specialBorderFocusPrimary',
8
+ 'specialBorderFocusSecondary',
9
+ 'specialBorderFocusTertiary',
10
+ 'specialBorderFocusQuaternary',
11
+
12
+ 'extraBorderFocusPrimary',
13
+ 'extraBorderFocusSecondary',
14
+ 'extraBorderFocusTertiary',
15
+ 'extraBorderFocusQuaternary',
16
+
17
+ 'surfaceBorderFocusPrimary',
18
+ 'surfaceBorderFocusSecondary',
19
+ 'surfaceBorderFocusTertiary',
20
+ 'surfaceBorderFocusQuaternary',
21
+
22
+ 'errorBorderFocusPrimary',
23
+ 'errorBorderFocusSecondary',
24
+ 'errorBorderFocusTertiary',
25
+ 'errorBorderFocusQuaternary',
26
+
27
+ 'warningBorderFocusPrimary',
28
+ 'warningBorderFocusSecondary',
29
+ 'warningBorderFocusTertiary',
30
+ 'warningBorderFocusQuaternary',
31
+
32
+ 'successBorderFocusPrimary',
33
+ 'successBorderFocusSecondary',
34
+ 'successBorderFocusTertiary',
35
+ 'successBorderFocusQuaternary',
36
+
37
+ 'infoBorderFocusPrimary',
38
+ 'infoBorderFocusSecondary',
39
+ 'infoBorderFocusTertiary',
40
+ 'infoBorderFocusQuaternary',
41
+
42
+ 'dangerBorderFocusPrimary',
43
+ 'dangerBorderFocusSecondary',
44
+ 'dangerBorderFocusTertiary',
45
+ 'dangerBorderFocusQuaternary',
46
+
47
+ 'disabledBorderFocusPrimary',
48
+ 'disabledBorderFocusSecondary',
49
+ 'disabledBorderFocusTertiary',
50
+ 'disabledBorderFocusQuaternary',
51
+
52
+ 'none',
53
+ ] as const
54
+
55
+ export type borderColorFocusProps = (typeof borderColorFocusProps)[number]
56
+
57
+ export { borderColorFocusProps }
@@ -0,0 +1,57 @@
1
+ const borderColorHoverProps = [
2
+ 'accentBorderHoverPrimary',
3
+ 'accentBorderHoverSecondary',
4
+ 'accentBorderHoverTertiary',
5
+ 'accentBorderHoverQuaternary',
6
+
7
+ 'specialBorderHoverPrimary',
8
+ 'specialBorderHoverSecondary',
9
+ 'specialBorderHoverTertiary',
10
+ 'specialBorderHoverQuaternary',
11
+
12
+ 'extraBorderHoverPrimary',
13
+ 'extraBorderHoverSecondary',
14
+ 'extraBorderHoverTertiary',
15
+ 'extraBorderHoverQuaternary',
16
+
17
+ 'surfaceBorderHoverPrimary',
18
+ 'surfaceBorderHoverSecondary',
19
+ 'surfaceBorderHoverTertiary',
20
+ 'surfaceBorderHoverQuaternary',
21
+
22
+ 'errorBorderHoverPrimary',
23
+ 'errorBorderHoverSecondary',
24
+ 'errorBorderHoverTertiary',
25
+ 'errorBorderHoverQuaternary',
26
+
27
+ 'warningBorderHoverPrimary',
28
+ 'warningBorderHoverSecondary',
29
+ 'warningBorderHoverTertiary',
30
+ 'warningBorderHoverQuaternary',
31
+
32
+ 'successBorderHoverPrimary',
33
+ 'successBorderHoverSecondary',
34
+ 'successBorderHoverTertiary',
35
+ 'successBorderHoverQuaternary',
36
+
37
+ 'infoBorderHoverPrimary',
38
+ 'infoBorderHoverSecondary',
39
+ 'infoBorderHoverTertiary',
40
+ 'infoBorderHoverQuaternary',
41
+
42
+ 'dangerBorderHoverPrimary',
43
+ 'dangerBorderHoverSecondary',
44
+ 'dangerBorderHoverTertiary',
45
+ 'dangerBorderHoverQuaternary',
46
+
47
+ 'disabledBorderHoverPrimary',
48
+ 'disabledBorderHoverSecondary',
49
+ 'disabledBorderHoverTertiary',
50
+ 'disabledBorderHoverQuaternary',
51
+
52
+ 'none',
53
+ ] as const
54
+
55
+ export type borderColorHoverProps = (typeof borderColorHoverProps)[number]
56
+
57
+ export { borderColorHoverProps }
@@ -1,3 +1,7 @@
1
1
  export * from './borderType'
2
2
  export * from './borderColor'
3
+ export * from './borderColorActive'
4
+ export * from './borderColorFocus'
5
+ export * from './borderColorHover'
6
+ export * from './borderColor'
3
7
  export * from './borderWidth'
@@ -1,3 +1,10 @@
1
+ export * from './textAlign'
1
2
  export * from './textColor'
3
+ export * from './textColorActive'
4
+ export * from './textColorFocus'
5
+ export * from './textColorHover'
6
+ export * from './textColorHover'
2
7
  export * from './textSize'
3
8
  export * from './textTag'
9
+ export * from './textWeight'
10
+ export * from './textWrap'
@@ -0,0 +1,5 @@
1
+ const textAlignProps = ['left', 'center', 'right'] as const
2
+
3
+ export type TextAlignProps = (typeof textAlignProps)[number]
4
+
5
+ export { textAlignProps }
@@ -0,0 +1,57 @@
1
+ const textColorActiveProps = [
2
+ 'accentTextActivePrimary',
3
+ 'accentTextActiveSecondary',
4
+ 'accentTextActiveTertiary',
5
+ 'accentTextActiveQuaternary',
6
+
7
+ 'specialTextActivePrimary',
8
+ 'specialTextActiveSecondary',
9
+ 'specialTextActiveTertiary',
10
+ 'specialTextActiveQuaternary',
11
+
12
+ 'extraTextActivePrimary',
13
+ 'extraTextActiveSecondary',
14
+ 'extraTextActiveTertiary',
15
+ 'extraTextActiveQuaternary',
16
+
17
+ 'surfaceTextActivePrimary',
18
+ 'surfaceTextActiveSecondary',
19
+ 'surfaceTextActiveTertiary',
20
+ 'surfaceTextActiveQuaternary',
21
+
22
+ 'errorTextActivePrimary',
23
+ 'errorTextActiveSecondary',
24
+ 'errorTextActiveTertiary',
25
+ 'errorTextActiveQuaternary',
26
+
27
+ 'warningTextActivePrimary',
28
+ 'warningTextActiveSecondary',
29
+ 'warningTextActiveTertiary',
30
+ 'warningTextActiveQuaternary',
31
+
32
+ 'successTextActivePrimary',
33
+ 'successTextActiveSecondary',
34
+ 'successTextActiveTertiary',
35
+ 'successTextActiveQuaternary',
36
+
37
+ 'infoTextActivePrimary',
38
+ 'infoTextActiveSecondary',
39
+ 'infoTextActiveTertiary',
40
+ 'infoTextActiveQuaternary',
41
+
42
+ 'dangerTextActivePrimary',
43
+ 'dangerTextActiveSecondary',
44
+ 'dangerTextActiveTertiary',
45
+ 'dangerTextActiveQuaternary',
46
+
47
+ 'disabledTextActivePrimary',
48
+ 'disabledTextActiveSecondary',
49
+ 'disabledTextActiveTertiary',
50
+ 'disabledTextActiveQuaternary',
51
+
52
+ 'none',
53
+ ] as const
54
+
55
+ export type textColorActiveProps = (typeof textColorActiveProps)[number]
56
+
57
+ export { textColorActiveProps }
@@ -0,0 +1,57 @@
1
+ const textColorDisabledProps = [
2
+ 'accentTextDisabledPrimary',
3
+ 'accentTextDisabledSecondary',
4
+ 'accentTextDisabledTertiary',
5
+ 'accentTextDisabledQuaternary',
6
+
7
+ 'specialTextDisabledPrimary',
8
+ 'specialTextDisabledSecondary',
9
+ 'specialTextDisabledTertiary',
10
+ 'specialTextDisabledQuaternary',
11
+
12
+ 'extraTextDisabledPrimary',
13
+ 'extraTextDisabledSecondary',
14
+ 'extraTextDisabledTertiary',
15
+ 'extraTextDisabledQuaternary',
16
+
17
+ 'surfaceTextDisabledPrimary',
18
+ 'surfaceTextDisabledSecondary',
19
+ 'surfaceTextDisabledTertiary',
20
+ 'surfaceTextDisabledQuaternary',
21
+
22
+ 'errorTextDisabledPrimary',
23
+ 'errorTextDisabledSecondary',
24
+ 'errorTextDisabledTertiary',
25
+ 'errorTextDisabledQuaternary',
26
+
27
+ 'warningTextDisabledPrimary',
28
+ 'warningTextDisabledSecondary',
29
+ 'warningTextDisabledTertiary',
30
+ 'warningTextDisabledQuaternary',
31
+
32
+ 'successTextDisabledPrimary',
33
+ 'successTextDisabledSecondary',
34
+ 'successTextDisabledTertiary',
35
+ 'successTextDisabledQuaternary',
36
+
37
+ 'infoTextDisabledPrimary',
38
+ 'infoTextDisabledSecondary',
39
+ 'infoTextDisabledTertiary',
40
+ 'infoTextDisabledQuaternary',
41
+
42
+ 'dangerTextDisabledPrimary',
43
+ 'dangerTextDisabledSecondary',
44
+ 'dangerTextDisabledTertiary',
45
+ 'dangerTextDisabledQuaternary',
46
+
47
+ 'disabledTextDisabledPrimary',
48
+ 'disabledTextDisabledSecondary',
49
+ 'disabledTextDisabledTertiary',
50
+ 'disabledTextDisabledQuaternary',
51
+
52
+ 'none',
53
+ ] as const
54
+
55
+ export type textColorDisabledProps = (typeof textColorDisabledProps)[number]
56
+
57
+ export { textColorDisabledProps }
@@ -0,0 +1,57 @@
1
+ const textColorFocusProps = [
2
+ 'accentTextFocusPrimary',
3
+ 'accentTextFocusSecondary',
4
+ 'accentTextFocusTertiary',
5
+ 'accentTextFocusQuaternary',
6
+
7
+ 'specialTextFocusPrimary',
8
+ 'specialTextFocusSecondary',
9
+ 'specialTextFocusTertiary',
10
+ 'specialTextFocusQuaternary',
11
+
12
+ 'extraTextFocusPrimary',
13
+ 'extraTextFocusSecondary',
14
+ 'extraTextFocusTertiary',
15
+ 'extraTextFocusQuaternary',
16
+
17
+ 'surfaceTextFocusPrimary',
18
+ 'surfaceTextFocusSecondary',
19
+ 'surfaceTextFocusTertiary',
20
+ 'surfaceTextFocusQuaternary',
21
+
22
+ 'errorTextFocusPrimary',
23
+ 'errorTextFocusSecondary',
24
+ 'errorTextFocusTertiary',
25
+ 'errorTextFocusQuaternary',
26
+
27
+ 'warningTextFocusPrimary',
28
+ 'warningTextFocusSecondary',
29
+ 'warningTextFocusTertiary',
30
+ 'warningTextFocusQuaternary',
31
+
32
+ 'successTextFocusPrimary',
33
+ 'successTextFocusSecondary',
34
+ 'successTextFocusTertiary',
35
+ 'successTextFocusQuaternary',
36
+
37
+ 'infoTextFocusPrimary',
38
+ 'infoTextFocusSecondary',
39
+ 'infoTextFocusTertiary',
40
+ 'infoTextFocusQuaternary',
41
+
42
+ 'dangerTextFocusPrimary',
43
+ 'dangerTextFocusSecondary',
44
+ 'dangerTextFocusTertiary',
45
+ 'dangerTextFocusQuaternary',
46
+
47
+ 'disabledTextFocusPrimary',
48
+ 'disabledTextFocusSecondary',
49
+ 'disabledTextFocusTertiary',
50
+ 'disabledTextFocusQuaternary',
51
+
52
+ 'none',
53
+ ] as const
54
+
55
+ export type textColorFocusProps = (typeof textColorFocusProps)[number]
56
+
57
+ export { textColorFocusProps }
@@ -0,0 +1,57 @@
1
+ const textColorHoverProps = [
2
+ 'accentTextHoverPrimary',
3
+ 'accentTextHoverSecondary',
4
+ 'accentTextHoverTertiary',
5
+ 'accentTextHoverQuaternary',
6
+
7
+ 'specialTextHoverPrimary',
8
+ 'specialTextHoverSecondary',
9
+ 'specialTextHoverTertiary',
10
+ 'specialTextHoverQuaternary',
11
+
12
+ 'extraTextHoverPrimary',
13
+ 'extraTextHoverSecondary',
14
+ 'extraTextHoverTertiary',
15
+ 'extraTextHoverQuaternary',
16
+
17
+ 'surfaceTextHoverPrimary',
18
+ 'surfaceTextHoverSecondary',
19
+ 'surfaceTextHoverTertiary',
20
+ 'surfaceTextHoverQuaternary',
21
+
22
+ 'errorTextHoverPrimary',
23
+ 'errorTextHoverSecondary',
24
+ 'errorTextHoverTertiary',
25
+ 'errorTextHoverQuaternary',
26
+
27
+ 'warningTextHoverPrimary',
28
+ 'warningTextHoverSecondary',
29
+ 'warningTextHoverTertiary',
30
+ 'warningTextHoverQuaternary',
31
+
32
+ 'successTextHoverPrimary',
33
+ 'successTextHoverSecondary',
34
+ 'successTextHoverTertiary',
35
+ 'successTextHoverQuaternary',
36
+
37
+ 'infoTextHoverPrimary',
38
+ 'infoTextHoverSecondary',
39
+ 'infoTextHoverTertiary',
40
+ 'infoTextHoverQuaternary',
41
+
42
+ 'dangerTextHoverPrimary',
43
+ 'dangerTextHoverSecondary',
44
+ 'dangerTextHoverTertiary',
45
+ 'dangerTextHoverQuaternary',
46
+
47
+ 'disabledTextHoverPrimary',
48
+ 'disabledTextHoverSecondary',
49
+ 'disabledTextHoverTertiary',
50
+ 'disabledTextHoverQuaternary',
51
+
52
+ 'none',
53
+ ] as const
54
+
55
+ export type textColorHoverProps = (typeof textColorHoverProps)[number]
56
+
57
+ export { textColorHoverProps }
@@ -0,0 +1,34 @@
1
+ const textWeightProps = [
2
+ '100',
3
+ '200',
4
+ '300',
5
+ '400',
6
+ '500',
7
+ '600',
8
+ '700',
9
+ '800',
10
+ '900',
11
+ '950',
12
+ 'thin ',
13
+ 'extra-light',
14
+ 'extralight',
15
+ 'ultra-light',
16
+ 'ultralight ',
17
+ 'light ',
18
+ 'normal ',
19
+ 'medium ',
20
+ 'semibold',
21
+ 'semi-bold',
22
+ 'demi-bold ',
23
+ 'bold ',
24
+ 'extrabold',
25
+ 'extra-bold',
26
+ 'ultrabold',
27
+ 'ultra-bold ',
28
+ 'black',
29
+ 'heavy ',
30
+ ] as const
31
+
32
+ export type TextWeightProps = (typeof textWeightProps)[number]
33
+
34
+ export { textWeightProps }
@@ -0,0 +1,5 @@
1
+ const textWrapProps = ['wrap', 'nowrap'] as const
2
+
3
+ export type TextWrapProps = (typeof textWrapProps)[number]
4
+
5
+ export { textWrapProps }