@itcase/types 1.0.5 → 1.0.7

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.
Files changed (72) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +9 -9
  3. package/types/appearance/index.ts +110 -0
  4. package/types/border/borderColor.ts +34 -23
  5. package/types/border/index.ts +0 -1
  6. package/types/colors/active.ts +57 -0
  7. package/types/colors/colorsSvg.ts +7 -0
  8. package/types/colors/disabled.ts +57 -0
  9. package/types/colors/focus.ts +57 -0
  10. package/types/colors/hover.ts +57 -0
  11. package/types/colors/index.ts +4 -0
  12. package/types/fill/fill.ts +34 -16
  13. package/types/fill/fillGradient.ts +4 -7
  14. package/types/fill/fillSize.ts +17 -0
  15. package/types/fill/index.ts +1 -2
  16. package/types/index.ts +12 -20
  17. package/types/item/index.ts +1 -0
  18. package/types/item/item.ts +57 -0
  19. package/types/option.ts +29 -0
  20. package/types/{resizeMode.ts → resizeMode/resizeMode.ts} +1 -7
  21. package/types/shape/index.ts +1 -0
  22. package/types/shape/shape.ts +13 -0
  23. package/types/size/index.ts +1 -1
  24. package/types/style/index.ts +1 -0
  25. package/types/style/style.ts +6 -0
  26. package/types/text/index.ts +0 -5
  27. package/types/text/textColor.ts +31 -16
  28. package/types/appearanceKeys.ts +0 -43
  29. package/types/border/borderColorHover.ts +0 -18
  30. package/types/fill/fillHover.ts +0 -20
  31. package/types/fill/fillType.ts +0 -5
  32. package/types/flex/flexAlign.ts +0 -12
  33. package/types/flex/flexGrow.ts +0 -5
  34. package/types/flex/flexJustifyContent.ts +0 -12
  35. package/types/flex/flexWrap.ts +0 -5
  36. package/types/flex/index.ts +0 -4
  37. package/types/grid/gridAlign.ts +0 -23
  38. package/types/grid/gridAlignSelf.ts +0 -23
  39. package/types/grid/gridJustifyItems.ts +0 -24
  40. package/types/grid/gridJustifySelf.ts +0 -28
  41. package/types/grid/index.ts +0 -4
  42. package/types/horizontal/horizontalContentAlign.ts +0 -6
  43. package/types/horizontal/horizontalResizeMode.ts +0 -6
  44. package/types/horizontal/index.ts +0 -2
  45. package/types/icon/iconFillSize.ts +0 -16
  46. package/types/icon/iconSize.ts +0 -17
  47. package/types/icon/index.ts +0 -2
  48. package/types/itemColor.ts +0 -39
  49. package/types/overflow.ts +0 -5
  50. package/types/shape.ts +0 -5
  51. package/types/size/sizeOption.ts +0 -18
  52. package/types/svgFill.ts +0 -33
  53. package/types/text/textAlign.ts +0 -5
  54. package/types/text/textGradient.ts +0 -13
  55. package/types/text/textStyle.ts +0 -5
  56. package/types/text/textWeight.ts +0 -21
  57. package/types/text/textWrap.ts +0 -5
  58. package/types/type.ts +0 -13
  59. package/types/vertical/index.ts +0 -2
  60. package/types/vertical/verticalContentAlign.ts +0 -6
  61. package/types/vertical/verticalResizeMode.ts +0 -5
  62. /package/types/{common.ts → common/common.ts} +0 -0
  63. /package/types/{direction.ts → direction/direction.ts} +0 -0
  64. /package/types/{elevation.ts → elevation/elevation.ts} +0 -0
  65. /package/types/{height.ts → height/index.ts} +0 -0
  66. /package/types/{justifyContent.ts → justifyContent/justifyContent.ts} +0 -0
  67. /package/types/{position.ts → position/position.ts} +0 -0
  68. /package/types/{titleSize.ts → size/titleSize.ts} +0 -0
  69. /package/types/{stacking.ts → stacking/stacking.ts} +0 -0
  70. /package/types/{underline.ts → underline/underline.ts} +0 -0
  71. /package/types/{width.ts → width/index.ts} +0 -0
  72. /package/types/{wrap.ts → wrap/wrap.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [1.0.7](https://github.com/ITCase/itcase-types/compare/v1.0.6...v1.0.7) (2025-08-13)
2
+
3
+ ## [1.0.6](https://github.com/ITCase/itcase-types/compare/v1.0.5...v1.0.6) (2025-07-14)
4
+
5
+ ### Features
6
+
7
+ * add option type ([1087551](https://github.com/ITCase/itcase-types/commit/1087551371d856ca8d65c1c23564f2785c047531))
8
+
1
9
  ## [1.0.5](https://github.com/ITCase/itcase-types/compare/v1.0.4...v1.0.5) (2025-06-12)
2
10
 
3
11
  ## [1.0.4](https://github.com/ITCase/itcase-types/compare/v1.0.3...v1.0.4) (2025-06-04)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/types",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "unified type storage",
5
5
  "keywords": [
6
6
  "types"
@@ -32,17 +32,17 @@
32
32
  "devDependencies": {
33
33
  "@commitlint/cli": "^19.8.1",
34
34
  "@commitlint/config-conventional": "^19.8.1",
35
- "@itcase/config": "^1.0.47",
36
- "@itcase/lint": "^1.1.15",
35
+ "@itcase/config": "^1.0.55",
36
+ "@itcase/lint": "^1.1.30",
37
37
  "@semantic-release/changelog": "^6.0.3",
38
38
  "@semantic-release/git": "^10.0.1",
39
39
  "@semantic-release/release-notes-generator": "14.0.3",
40
- "conventional-changelog-conventionalcommits": "^9.0.0",
41
- "eslint": "9.28.0",
40
+ "conventional-changelog-conventionalcommits": "^9.1.0",
41
+ "eslint": "9.33.0",
42
42
  "husky": "^9.1.7",
43
- "lint-staged": "^16.1.0",
44
- "prettier": "^3.5.3",
45
- "semantic-release": "^24.2.5",
46
- "typescript": "^5.8.3"
43
+ "lint-staged": "^16.1.5",
44
+ "prettier": "^3.6.2",
45
+ "semantic-release": "^24.2.7",
46
+ "typescript": "^5.9.2"
47
47
  }
48
48
  }
@@ -0,0 +1,110 @@
1
+ import type { ShapeProps } from '../shape'
2
+ import type { SizeProps } from '../size'
3
+ import type { StyleProps } from '../style'
4
+
5
+ type AppearanceResponseKeysDefault =
6
+ | 'error'
7
+ | 'success'
8
+ | 'warning'
9
+ | 'fail'
10
+ | 'nothingFound'
11
+ | 'unableLoadData'
12
+ | 'refresh'
13
+ | 'confirm'
14
+
15
+ type AppearanceStateKeysDefault =
16
+ | 'defaultPrimary'
17
+ | 'defaultSecondary'
18
+ | 'defaultTertiary'
19
+ | 'defaultQuaternary'
20
+ | 'errorPrimary'
21
+ | 'errorSecondary'
22
+ | 'errorTertiary'
23
+ | 'errorQuaternary'
24
+ | 'successPrimary'
25
+ | 'successSecondary'
26
+ | 'successTertiary'
27
+ | 'successQuaternary'
28
+ | 'requirePrimary'
29
+ | 'requireSecondary'
30
+ | 'requireTertiary'
31
+ | 'requireQuaternary'
32
+ | 'disabledPrimary'
33
+ | 'disabledSecondary'
34
+ | 'disabledTertiary'
35
+ | 'disabledQuaternary'
36
+
37
+ type AppearanceKeysDefault =
38
+ | 'accentPrimary'
39
+ | 'accentSecondary'
40
+ | 'accentTertiary'
41
+ | 'accentQuaternary'
42
+ | 'specialPrimary'
43
+ | 'specialSecondary'
44
+ | 'specialTertiary'
45
+ | 'specialQuaternary'
46
+ | 'extraPrimary'
47
+ | 'extraSecondary'
48
+ | 'extraTertiary'
49
+ | 'extraQuaternary'
50
+ | 'errorPrimary'
51
+ | 'errorSecondary'
52
+ | 'errorTertiary'
53
+ | 'errorQuaternary'
54
+ | 'surfacePrimary'
55
+ | 'surfaceSecondary'
56
+ | 'surfaceTertiary'
57
+ | 'surfaceQuaternary'
58
+ | 'warningPrimary'
59
+ | 'warningSecondary'
60
+ | 'warningTertiary'
61
+ | 'warningQuaternary'
62
+ | 'successPrimary'
63
+ | 'successSecondary'
64
+ | 'successTertiary'
65
+ | 'successQuaternary'
66
+ | 'dangerPrimary'
67
+ | 'dangerSecondary'
68
+ | 'dangerTertiary'
69
+ | 'dangerQuaternary'
70
+ | 'infoPrimary'
71
+ | 'infoSecondary'
72
+ | 'infoTertiary'
73
+ | 'infoQuaternary'
74
+ | 'disabledPrimary'
75
+ | 'disabledSecondary'
76
+ | 'disabledTertiary'
77
+ | 'disabledQuaternary'
78
+
79
+ type AppearanceSizeKey = `size${Uppercase<SizeProps>}`
80
+ type AppearanceStyleKey = StyleProps
81
+ type AppearanceShapeKey = ShapeProps
82
+
83
+ type CompositeAppearanceKey =
84
+ | AppearanceKeysDefault
85
+ | `${AppearanceKeysDefault} ${AppearanceSizeKey}`
86
+ | `${AppearanceKeysDefault} ${AppearanceSizeKey} ${AppearanceStyleKey}`
87
+ | `${AppearanceKeysDefault} ${AppearanceSizeKey} ${AppearanceStyleKey} ${AppearanceShapeKey}`
88
+
89
+ type CompositeAppearanceStateKeys =
90
+ | AppearanceStateKeysDefault
91
+ | `${AppearanceStateKeysDefault} ${AppearanceSizeKey}`
92
+ | `${AppearanceStateKeysDefault} ${AppearanceSizeKey} ${AppearanceStyleKey}`
93
+ | `${AppearanceStateKeysDefault} ${AppearanceSizeKey} ${AppearanceStyleKey} ${AppearanceShapeKey}`
94
+
95
+ type CompositeAppearanceResponseKeys =
96
+ | AppearanceResponseKeysDefault
97
+ | `${AppearanceResponseKeysDefault} ${AppearanceSizeKey}`
98
+ | `${AppearanceResponseKeysDefault} ${AppearanceSizeKey} ${AppearanceStyleKey}`
99
+ | `${AppearanceResponseKeysDefault} ${AppearanceSizeKey} ${AppearanceStyleKey} ${AppearanceShapeKey}`
100
+
101
+ export type {
102
+ AppearanceKeysDefault,
103
+ AppearanceStateKeysDefault,
104
+ AppearanceSizeKey,
105
+ AppearanceShapeKey,
106
+ AppearanceStyleKey,
107
+ CompositeAppearanceKey,
108
+ CompositeAppearanceStateKeys,
109
+ CompositeAppearanceResponseKeys,
110
+ }
@@ -3,40 +3,51 @@ const borderColorProps = [
3
3
  'accentBorderSecondary',
4
4
  'accentBorderTertiary',
5
5
  'accentBorderQuaternary',
6
- 'accentBorderDisabled',
7
-
8
- 'primaryBorderPrimary',
9
- 'primaryBorderSecondary',
10
- 'primaryBorderTertiary',
11
- 'primaryBorderQuaternary',
12
- 'primaryBorderDisabled',
13
-
14
- 'secondaryBorderPrimary',
15
- 'secondaryBorderSecondary',
16
- 'secondaryBorderTertiary',
17
- 'secondaryBorderQuaternary',
18
- 'secondaryBorderDisabled',
19
-
20
- 'tertiaryBorderPrimary',
21
- 'tertiaryBorderSecondary',
22
- 'tertiaryBorderTertiary',
23
- 'tertiaryBorderQuaternary',
24
- 'tertiaryBorderDisabled',
6
+
7
+ 'specialBorderPrimary',
8
+ 'specialBorderSecondary',
9
+ 'specialBorderTertiary',
10
+ 'specialBorderQuaternary',
11
+
12
+ 'extraBorderPrimary',
13
+ 'extraBorderSecondary',
14
+ 'extraBorderTertiary',
15
+ 'extraBorderQuaternary',
25
16
 
26
17
  'surfaceBorderPrimary',
27
18
  'surfaceBorderSecondary',
28
19
  'surfaceBorderTertiary',
29
20
  'surfaceBorderQuaternary',
30
- 'surfaceBorderDisabled',
31
- 'surfaceBorderInverse',
32
21
 
33
22
  'errorBorderPrimary',
34
23
  'errorBorderSecondary',
35
- 'errorBorderDisabled',
24
+ 'errorBorderTertiary',
25
+ 'errorBorderQuaternary',
26
+
27
+ 'warningBorderPrimary',
28
+ 'warningBorderSecondary',
29
+ 'warningBorderTertiary',
30
+ 'warningBorderQuaternary',
36
31
 
37
32
  'successBorderPrimary',
38
33
  'successBorderSecondary',
39
- 'successBorderDisabled',
34
+ 'successBorderTertiary',
35
+ 'successBorderQuaternary',
36
+
37
+ 'infoBorderPrimary',
38
+ 'infoBorderSecondary',
39
+ 'infoBorderTertiary',
40
+ 'infoBorderQuaternary',
41
+
42
+ 'dangerBorderPrimary',
43
+ 'dangerBorderSecondary',
44
+ 'dangerBorderTertiary',
45
+ 'dangerBorderQuaternary',
46
+
47
+ 'disabledBorderPrimary',
48
+ 'disabledBorderSecondary',
49
+ 'disabledBorderTertiary',
50
+ 'disabledBorderQuaternary',
40
51
 
41
52
  'none',
42
53
  ] as const
@@ -1,4 +1,3 @@
1
- export * from './borderColorHover'
2
1
  export * from './borderType'
3
2
  export * from './borderColor'
4
3
  export * from './borderWidth'
@@ -0,0 +1,57 @@
1
+ const colorActiveProps = [
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 colorActiveProps = (typeof colorActiveProps)[number]
56
+
57
+ export { colorActiveProps }
@@ -0,0 +1,7 @@
1
+ import { fillProps } from '../fill'
2
+
3
+ const svgFillProps = [...fillProps] as const
4
+
5
+ export type SvgFillProps = (typeof svgFillProps)[number]
6
+
7
+ export { svgFillProps }
@@ -0,0 +1,57 @@
1
+ const colorDisabledProps = [
2
+ 'accentDisabledPrimary',
3
+ 'accentDisabledSecondary',
4
+ 'accentDisabledTertiary',
5
+ 'accentDisabledQuaternary',
6
+
7
+ 'specialDisabledPrimary',
8
+ 'specialDisabledSecondary',
9
+ 'specialDisabledTertiary',
10
+ 'specialDisabledQuaternary',
11
+
12
+ 'extraDisabledPrimary',
13
+ 'extraDisabledSecondary',
14
+ 'extraDisabledTertiary',
15
+ 'extraDisabledQuaternary',
16
+
17
+ 'surfaceDisabledPrimary',
18
+ 'surfaceDisabledSecondary',
19
+ 'surfaceDisabledTertiary',
20
+ 'surfaceDisabledQuaternary',
21
+
22
+ 'errorDisabledPrimary',
23
+ 'errorDisabledSecondary',
24
+ 'errorDisabledTertiary',
25
+ 'errorDisabledQuaternary',
26
+
27
+ 'warningDisabledPrimary',
28
+ 'warningDisabledSecondary',
29
+ 'warningDisabledTertiary',
30
+ 'warningDisabledQuaternary',
31
+
32
+ 'successDisabledPrimary',
33
+ 'successDisabledSecondary',
34
+ 'successDisabledTertiary',
35
+ 'successDisabledQuaternary',
36
+
37
+ 'infoDisabledPrimary',
38
+ 'infoDisabledSecondary',
39
+ 'infoDisabledTertiary',
40
+ 'infoDisabledQuaternary',
41
+
42
+ 'dangerDisabledPrimary',
43
+ 'dangerDisabledSecondary',
44
+ 'dangerDisabledTertiary',
45
+ 'dangerDisabledQuaternary',
46
+
47
+ 'disabledDisabledPrimary',
48
+ 'disabledDisabledSecondary',
49
+ 'disabledDisabledTertiary',
50
+ 'disabledDisabledQuaternary',
51
+
52
+ 'none',
53
+ ] as const
54
+
55
+ export type colorDisabledProps = (typeof colorDisabledProps)[number]
56
+
57
+ export { colorDisabledProps }
@@ -0,0 +1,57 @@
1
+ const colorFocusProps = [
2
+ 'accentFocusPrimary',
3
+ 'accentFocusSecondary',
4
+ 'accentFocusTertiary',
5
+ 'accentFocusQuaternary',
6
+
7
+ 'specialFocusPrimary',
8
+ 'specialFocusSecondary',
9
+ 'specialFocusTertiary',
10
+ 'specialFocusQuaternary',
11
+
12
+ 'extraFocusPrimary',
13
+ 'extraFocusSecondary',
14
+ 'extraFocusTertiary',
15
+ 'extraFocusQuaternary',
16
+
17
+ 'surfaceFocusPrimary',
18
+ 'surfaceFocusSecondary',
19
+ 'surfaceFocusTertiary',
20
+ 'surfaceFocusQuaternary',
21
+
22
+ 'errorFocusPrimary',
23
+ 'errorFocusSecondary',
24
+ 'errorFocusTertiary',
25
+ 'errorFocusQuaternary',
26
+
27
+ 'warningFocusPrimary',
28
+ 'warningFocusSecondary',
29
+ 'warningFocusTertiary',
30
+ 'warningFocusQuaternary',
31
+
32
+ 'successFocusPrimary',
33
+ 'successFocusSecondary',
34
+ 'successFocusTertiary',
35
+ 'successFocusQuaternary',
36
+
37
+ 'infoFocusPrimary',
38
+ 'infoFocusSecondary',
39
+ 'infoFocusTertiary',
40
+ 'infoFocusQuaternary',
41
+
42
+ 'dangerFocusPrimary',
43
+ 'dangerFocusSecondary',
44
+ 'dangerFocusTertiary',
45
+ 'dangerFocusQuaternary',
46
+
47
+ 'disabledFocusPrimary',
48
+ 'disabledFocusSecondary',
49
+ 'disabledFocusTertiary',
50
+ 'disabledFocusQuaternary',
51
+
52
+ 'none',
53
+ ] as const
54
+
55
+ export type ColorFocusProps = (typeof colorFocusProps)[number]
56
+
57
+ export { colorFocusProps }
@@ -0,0 +1,57 @@
1
+ const colorHoverProps = [
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 colorHoverProps = (typeof colorHoverProps)[number]
56
+
57
+ export { colorHoverProps }
@@ -0,0 +1,4 @@
1
+ export * from './active'
2
+ export * from './disabled'
3
+ export * from './focus'
4
+ export * from './hover'
@@ -2,34 +2,52 @@ const fillProps = [
2
2
  'accentPrimary',
3
3
  'accentSecondary',
4
4
  'accentTertiary',
5
+ 'accentQuaternary',
5
6
 
6
- 'primaryPrimary',
7
- 'primarySecondary',
8
- 'primaryTertiary',
7
+ 'specialPrimary',
8
+ 'specialSecondary',
9
+ 'specialTertiary',
10
+ 'specialQuaternary',
9
11
 
10
- 'secondaryPrimary',
11
- 'secondarySecondary',
12
- 'secondaryTertiary',
12
+ 'extraPrimary',
13
+ 'extraSecondary',
14
+ 'extraTertiary',
15
+ 'extraQuaternary',
13
16
 
14
- 'tertiaryPrimary',
15
- 'tertiarySecondary',
16
- 'tertiaryTertiary',
17
-
18
- 'surfaceAccent',
19
- 'surfaceItemPrimary',
20
17
  'surfacePrimary',
21
- 'surfaceQuaternary',
22
- 'surfaceQuinary',
23
18
  'surfaceSecondary',
24
19
  'surfaceTertiary',
20
+ 'surfaceQuaternary',
25
21
 
26
22
  'errorPrimary',
27
23
  'errorSecondary',
24
+ 'errorTertiary',
25
+ 'errorQuaternary',
26
+
27
+ 'warningPrimary',
28
+ 'warningSecondary',
29
+ 'warningTertiary',
30
+ 'warningQuaternary',
28
31
 
29
32
  'successPrimary',
30
33
  'successSecondary',
31
-
32
- 'gradientPrimary',
34
+ 'successTertiary',
35
+ 'successQuaternary',
36
+
37
+ 'infoPrimary',
38
+ 'infoSecondary',
39
+ 'infoTertiary',
40
+ 'infoQuaternary',
41
+
42
+ 'dangerPrimary',
43
+ 'dangerSecondary',
44
+ 'dangerTertiary',
45
+ 'dangerQuaternary',
46
+
47
+ 'disabledPrimary',
48
+ 'disabledSecondary',
49
+ 'disabledTertiary',
50
+ 'disabledQuaternary',
33
51
 
34
52
  'none',
35
53
  ] as const
@@ -1,11 +1,8 @@
1
1
  const fillGradientProps = [
2
- 'accent',
3
- 'primary',
4
- 'secondary',
5
- 'tertiary',
6
- 'surface',
7
- 'error',
8
- 'success',
2
+ 'gradientPrimary',
3
+ 'gradientSecondary',
4
+ 'gradientTertiary',
5
+ 'gradientQuaternary',
9
6
  ] as const
10
7
 
11
8
  export type FillGradientProps = (typeof fillGradientProps)[number]
@@ -0,0 +1,17 @@
1
+ const fillSizeProps = [
2
+ '10',
3
+ '12',
4
+ '14',
5
+ '16',
6
+ '20',
7
+ '24',
8
+ '32',
9
+ '40',
10
+ '60',
11
+ '64',
12
+ '144',
13
+ ] as const
14
+
15
+ export type fillSizeProps = (typeof fillSizeProps)[number]
16
+
17
+ export { fillSizeProps }
@@ -1,4 +1,3 @@
1
1
  export * from './fill'
2
+ export * from './fillSize'
2
3
  export * from './fillGradient'
3
- export * from './fillHover'
4
- export * from './fillType'
package/types/index.ts CHANGED
@@ -4,33 +4,25 @@
4
4
  export * from './align'
5
5
  export * from './border'
6
6
  export * from './fill'
7
- export * from './flex'
8
- export * from './grid'
9
- export * from './horizontal'
10
- export * from './icon'
11
7
  export * from './size'
12
8
  export * from './state'
13
9
  export * from './text'
14
- export * from './vertical'
15
10
 
16
11
  /**
17
12
  * files
18
13
  */
19
- export * from './appearanceKeys'
20
- export * from './common'
21
- export * from './direction'
22
- export * from './elevation'
14
+ export * from './common/common'
15
+ export * from './direction/direction'
16
+ export * from './elevation/elevation'
23
17
  export * from './height'
24
- export * from './itemColor'
25
- export * from './justifyContent'
26
- export * from './overflow'
27
- export * from './position'
28
- export * from './resizeMode'
18
+ export * from './justifyContent/justifyContent'
19
+ export * from './option'
20
+ export * from './position/position'
21
+ export * from './resizeMode/resizeMode'
29
22
  export * from './shape'
30
- export * from './stacking'
31
- export * from './svgFill'
32
- export * from './titleSize'
33
- export * from './type'
34
- export * from './underline'
23
+ export * from './stacking/stacking'
24
+ export * from './colors/colorsSvg'
25
+ export * from './size/titleSize'
26
+ export * from './underline/underline'
35
27
  export * from './width'
36
- export * from './wrap'
28
+ export * from './wrap/wrap'
@@ -0,0 +1 @@
1
+ export * from './item'