@itcase/types 1.0.1 → 1.0.2

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 (59) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/package.json +1 -1
  3. package/types/align/align.ts +1 -1
  4. package/types/align/alignDirection.ts +1 -1
  5. package/types/align/alignment.ts +1 -1
  6. package/types/appearanceKeys.ts +1 -1
  7. package/types/border/borderColor.ts +1 -1
  8. package/types/border/borderColorHover.ts +1 -1
  9. package/types/border/borderType.ts +1 -1
  10. package/types/border/borderWidth.ts +1 -1
  11. package/types/direction.ts +1 -1
  12. package/types/elevation.ts +1 -1
  13. package/types/fill/fill.ts +1 -1
  14. package/types/fill/fillGradient.ts +1 -1
  15. package/types/fill/fillHover.ts +1 -1
  16. package/types/fill/fillType.ts +1 -1
  17. package/types/flex/flexAlign.ts +1 -1
  18. package/types/flex/flexGrow.ts +1 -1
  19. package/types/flex/flexJustifyContent.ts +1 -1
  20. package/types/flex/flexWrap.ts +1 -1
  21. package/types/grid/gridAlign.ts +1 -1
  22. package/types/grid/gridAlignSelf.ts +1 -1
  23. package/types/grid/gridJustifyItems.ts +1 -1
  24. package/types/grid/gridJustifySelf.ts +1 -1
  25. package/types/height.ts +1 -1
  26. package/types/horizontal/horizontalContentAlign.ts +1 -1
  27. package/types/horizontal/horizontalResizeMode.ts +1 -1
  28. package/types/icon/iconFillSize.ts +1 -1
  29. package/types/icon/iconSize.ts +1 -1
  30. package/types/itemColor.ts +1 -1
  31. package/types/justifyContent.ts +1 -1
  32. package/types/overflow.ts +1 -1
  33. package/types/position.ts +1 -1
  34. package/types/resizeMode.ts +1 -1
  35. package/types/shape.ts +1 -1
  36. package/types/size/size.ts +1 -1
  37. package/types/size/sizeOption.ts +1 -1
  38. package/types/size/sizePX.ts +1 -1
  39. package/types/stacking.ts +1 -1
  40. package/types/state/state.ts +1 -1
  41. package/types/state/stateKeys.ts +1 -1
  42. package/types/svgFill.ts +1 -1
  43. package/types/text/textAlign.ts +1 -1
  44. package/types/text/textColor.ts +1 -1
  45. package/types/text/textColorActive.ts +1 -1
  46. package/types/text/textColorHover.ts +1 -1
  47. package/types/text/textGradient.ts +1 -1
  48. package/types/text/textSize.ts +1 -1
  49. package/types/text/textStyle.ts +1 -1
  50. package/types/text/textTag.ts +1 -1
  51. package/types/text/textWeight.ts +1 -1
  52. package/types/text/textWrap.ts +1 -1
  53. package/types/titleSize.ts +2 -2
  54. package/types/type.ts +1 -1
  55. package/types/underline.ts +1 -1
  56. package/types/vertical/verticalContentAlign.ts +1 -1
  57. package/types/vertical/verticalResizeMode.ts +1 -1
  58. package/types/width.ts +1 -1
  59. package/types/wrap.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [1.0.2](https://github.com/ITCase/itcase-types/compare/v1.0.1...v1.0.2) (2025-04-21)
2
+
3
+ ### Bug Fixes
4
+
5
+ * rename types ([452e4bc](https://github.com/ITCase/itcase-types/commit/452e4bcf07b6098a596e3edfdd0ec5b2ca8d63e9))
6
+
1
7
  ## [1.0.1](https://github.com/ITCase/itcase-types/compare/v1.0.0...v1.0.1) (2025-04-21)
2
8
 
3
9
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/types",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "unified type storage",
5
5
  "keywords": [
6
6
  "types"
@@ -10,6 +10,6 @@ const alignProps = [
10
10
  'bottomRight',
11
11
  ] as const
12
12
 
13
- export type tAlignProps = (typeof alignProps)[number]
13
+ export type AlignProps = (typeof alignProps)[number]
14
14
 
15
15
  export { alignProps }
@@ -9,6 +9,6 @@ const alignDirectionProps = [
9
9
  'vertical-reverse',
10
10
  ] as const
11
11
 
12
- export type tAlignDirectionProps = (typeof alignDirectionProps)[number]
12
+ export type AlignDirectionProps = (typeof alignDirectionProps)[number]
13
13
 
14
14
  export { alignDirectionProps }
@@ -9,6 +9,6 @@ const alignmentProps = [
9
9
  'bottomLeft',
10
10
  ] as const
11
11
 
12
- export type tAlignmentProps = (typeof alignmentProps)[number]
12
+ export type AlignmentProps = (typeof alignmentProps)[number]
13
13
 
14
14
  export { alignmentProps }
@@ -1,4 +1,4 @@
1
- export type tAppearanceKeysDefault =
1
+ export type AppearanceKeysDefault =
2
2
  | 'accent'
3
3
  | 'accentPrimary'
4
4
  | 'accentQuaternary'
@@ -41,6 +41,6 @@ const borderColorProps = [
41
41
  'none',
42
42
  ] as const
43
43
 
44
- export type tBorderColorProps = (typeof borderColorProps)[number]
44
+ export type BorderColorProps = (typeof borderColorProps)[number]
45
45
 
46
46
  export { borderColorProps }
@@ -13,6 +13,6 @@ const borderColorHoverProps = [
13
13
  'surfaceBorderQuaternary',
14
14
  ] as const
15
15
 
16
- export type tBorderColorHoverProps = (typeof borderColorHoverProps)[number]
16
+ export type BorderColorHoverProps = (typeof borderColorHoverProps)[number]
17
17
 
18
18
  export { borderColorHoverProps }
@@ -1,5 +1,5 @@
1
1
  const borderTypeProps = ['outline', 'solid', 'none'] as const
2
2
 
3
- export type tBorderTypeProps = (typeof borderTypeProps)[number]
3
+ export type BorderTypeProps = (typeof borderTypeProps)[number]
4
4
 
5
5
  export { borderTypeProps }
@@ -11,6 +11,6 @@ const borderWidthProps = [
11
11
  '10',
12
12
  ] as const
13
13
 
14
- export type tBorderWidthProps = (typeof borderWidthProps)[number]
14
+ export type BorderWidthProps = (typeof borderWidthProps)[number]
15
15
 
16
16
  export { borderWidthProps }
@@ -7,6 +7,6 @@ const directionProps = [
7
7
  'horizontal',
8
8
  ] as const
9
9
 
10
- export type tDirectionProps = (typeof directionProps)[number]
10
+ export type DirectionProps = (typeof directionProps)[number]
11
11
 
12
12
  export { directionProps }
@@ -1,5 +1,5 @@
1
1
  const elevationProps = ['1', '2', '4', '6', '8', '12', '16', '24'] as const
2
2
 
3
- export type tElevationProps = (typeof elevationProps)[number]
3
+ export type ElevationProps = (typeof elevationProps)[number]
4
4
 
5
5
  export { elevationProps }
@@ -34,6 +34,6 @@ const fillProps = [
34
34
  'none',
35
35
  ] as const
36
36
 
37
- export type tFillProps = (typeof fillProps)[number]
37
+ export type FillProps = (typeof fillProps)[number]
38
38
 
39
39
  export { fillProps }
@@ -8,6 +8,6 @@ const fillGradientProps = [
8
8
  'success',
9
9
  ] as const
10
10
 
11
- export type tFillGradientProps = (typeof fillGradientProps)[number]
11
+ export type FillGradientProps = (typeof fillGradientProps)[number]
12
12
 
13
13
  export { fillGradientProps }
@@ -15,6 +15,6 @@ const fillHoverProps = [
15
15
  'surfaceTertiaryHover',
16
16
  ] as const
17
17
 
18
- export type tFillHoverProps = (typeof fillHoverProps)[number]
18
+ export type FillHoverProps = (typeof fillHoverProps)[number]
19
19
 
20
20
  export { fillHoverProps }
@@ -1,5 +1,5 @@
1
1
  const fillTypeProps = ['full', 'solid', 'outlined', 'ghost'] as const
2
2
 
3
- export type tFillTypeProps = (typeof fillTypeProps)[number]
3
+ export type FillTypeProps = (typeof fillTypeProps)[number]
4
4
 
5
5
  export { fillTypeProps }
@@ -7,6 +7,6 @@ const flexAlignProps = [
7
7
  'auto',
8
8
  ] as const
9
9
 
10
- export type tFlexAlignProps = (typeof flexAlignProps)[number]
10
+ export type FlexAlignProps = (typeof flexAlignProps)[number]
11
11
 
12
12
  export { flexAlignProps }
@@ -1,5 +1,5 @@
1
1
  const flexGrowProps = ['0', '1'] as const
2
2
 
3
- export type tFlexGrowProps = (typeof flexGrowProps)[number]
3
+ export type FlexGrowProps = (typeof flexGrowProps)[number]
4
4
 
5
5
  export { flexGrowProps }
@@ -7,6 +7,6 @@ const flexJustifyContentProps = [
7
7
  'space-evenly',
8
8
  ] as const
9
9
 
10
- export type tFlexJustifyContentProps = (typeof flexJustifyContentProps)[number]
10
+ export type FlexJustifyContentProps = (typeof flexJustifyContentProps)[number]
11
11
 
12
12
  export { flexJustifyContentProps }
@@ -1,5 +1,5 @@
1
1
  const flexWrapProps = ['wrap', 'nowrap', 'wrap-reverse'] as const
2
2
 
3
- export type tFlexWrapProps = (typeof flexWrapProps)[number]
3
+ export type FlexWrapProps = (typeof flexWrapProps)[number]
4
4
 
5
5
  export { flexWrapProps }
@@ -18,6 +18,6 @@ const gridAlignProps = [
18
18
  'last baseline',
19
19
  ] as const
20
20
 
21
- export type tGridAlignProps = (typeof gridAlignProps)[number]
21
+ export type GridAlignProps = (typeof gridAlignProps)[number]
22
22
 
23
23
  export { gridAlignProps }
@@ -18,6 +18,6 @@ const gridAlignSelfProps = [
18
18
  'last baseline',
19
19
  ] as const
20
20
 
21
- export type tGridAlignSelfProps = (typeof gridAlignSelfProps)[number]
21
+ export type GridAlignSelfProps = (typeof gridAlignSelfProps)[number]
22
22
 
23
23
  export { gridAlignSelfProps }
@@ -19,6 +19,6 @@ const gridJustifyItemsProps = [
19
19
  'last baseline',
20
20
  ] as const
21
21
 
22
- export type tGridJustifyItemsProps = (typeof gridJustifyItemsProps)[number]
22
+ export type GridJustifyItemsProps = (typeof gridJustifyItemsProps)[number]
23
23
 
24
24
  export { gridJustifyItemsProps }
@@ -23,6 +23,6 @@ const gridJustifySelfProps = [
23
23
  'last baseline',
24
24
  ] as const
25
25
 
26
- export type tGridJustifySelfProps = (typeof gridJustifySelfProps)[number]
26
+ export type GridJustifySelfProps = (typeof gridJustifySelfProps)[number]
27
27
 
28
28
  export { gridJustifySelfProps }
package/types/height.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  const heightProps = ['fixed', 'hug', 'fill'] as const
2
2
 
3
- export type tHeightProps = (typeof heightProps)[number]
3
+ export type HeightProps = (typeof heightProps)[number]
4
4
 
5
5
  export { heightProps }
@@ -1,6 +1,6 @@
1
1
  const horizontalContentAlignProps = ['center'] as const
2
2
 
3
- export type tHorizontalContentAlignProps =
3
+ export type HorizontalContentAlignProps =
4
4
  (typeof horizontalContentAlignProps)[number]
5
5
 
6
6
  export { horizontalContentAlignProps }
@@ -1,6 +1,6 @@
1
1
  const horizontalResizeModeProps = ['fixed', 'hug', 'fill'] as const
2
2
 
3
- export type tHorizontalResizeModeProps =
3
+ export type HorizontalResizeModeProps =
4
4
  (typeof horizontalResizeModeProps)[number]
5
5
 
6
6
  export { horizontalResizeModeProps }
@@ -11,6 +11,6 @@ const iconFillSizeProps = [
11
11
  '144',
12
12
  ] as const
13
13
 
14
- export type tIconFillSizeProps = (typeof iconFillSizeProps)[number]
14
+ export type IconFillSizeProps = (typeof iconFillSizeProps)[number]
15
15
 
16
16
  export { iconFillSizeProps }
@@ -12,6 +12,6 @@ const iconSizeProps = [
12
12
  '144',
13
13
  ] as const
14
14
 
15
- export type tIconSizeProps = (typeof iconSizeProps)[number]
15
+ export type IconSizeProps = (typeof iconSizeProps)[number]
16
16
 
17
17
  export { iconSizeProps }
@@ -34,6 +34,6 @@ const itemColorProps = [
34
34
  'successItemSecondary',
35
35
  ] as const
36
36
 
37
- export type tItemColorProps = (typeof itemColorProps)[number]
37
+ export type ItemColorProps = (typeof itemColorProps)[number]
38
38
 
39
39
  export { itemColorProps }
@@ -12,6 +12,6 @@ const justifyContentProps = [
12
12
  'spaceEvenly',
13
13
  ] as const
14
14
 
15
- export type tJustifyContentProps = (typeof justifyContentProps)[number]
15
+ export type JustifyContentProps = (typeof justifyContentProps)[number]
16
16
 
17
17
  export { justifyContentProps }
package/types/overflow.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  const overflowProps = ['hidden', 'scroll', 'visible'] as const
2
2
 
3
- export type tOverflowProps = (typeof overflowProps)[number]
3
+ export type OverflowProps = (typeof overflowProps)[number]
4
4
 
5
5
  export { overflowProps }
package/types/position.ts CHANGED
@@ -6,6 +6,6 @@ const positionProps = [
6
6
  'inherit',
7
7
  ] as const
8
8
 
9
- export type tPositionProps = (typeof positionProps)[number]
9
+ export type PositionProps = (typeof positionProps)[number]
10
10
 
11
11
  export { positionProps }
@@ -6,6 +6,6 @@ const resizeModeProps = [
6
6
  'caption-back',
7
7
  ] as const
8
8
 
9
- export type tResizeModeProps = (typeof resizeModeProps)[number]
9
+ export type ResizeModeProps = (typeof resizeModeProps)[number]
10
10
 
11
11
  export { resizeModeProps }
package/types/shape.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  const shapeProps = ['rectangle', 'geometric', 'rounded', 'circular'] as const
2
2
 
3
- export type tShapeProps = (typeof shapeProps)[number]
3
+ export type ShapeProps = (typeof shapeProps)[number]
4
4
 
5
5
  export { shapeProps }
@@ -1,5 +1,5 @@
1
1
  const sizeProps = ['xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl'] as const
2
2
 
3
- export type tSizeProps = (typeof sizeProps)[number]
3
+ export type SizeProps = (typeof sizeProps)[number]
4
4
 
5
5
  export { sizeProps }
@@ -13,6 +13,6 @@ const sizeOptionProps = [
13
13
  'xxl',
14
14
  ] as const
15
15
 
16
- export type tSizeOptionProps = (typeof sizeOptionProps)[number]
16
+ export type SizeOptionProps = (typeof sizeOptionProps)[number]
17
17
 
18
18
  export { sizeOptionProps }
@@ -17,6 +17,6 @@ const sizePXProps = [
17
17
  '240',
18
18
  ] as const
19
19
 
20
- export type tSizePXProps = (typeof sizePXProps)[number]
20
+ export type SizePXProps = (typeof sizePXProps)[number]
21
21
 
22
22
  export { sizePXProps }
package/types/stacking.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  const stackingProps = ['firstOnTop', 'lastOnTop'] as const
2
2
 
3
- export type tStackingProps = (typeof stackingProps)[number]
3
+ export type StackingProps = (typeof stackingProps)[number]
4
4
 
5
5
  export { stackingProps }
@@ -7,6 +7,6 @@ const stateProps = [
7
7
  'normal',
8
8
  ] as const
9
9
 
10
- export type tStateProps = (typeof stateProps)[number]
10
+ export type StateProps = (typeof stateProps)[number]
11
11
 
12
12
  export { stateProps }
@@ -1,4 +1,4 @@
1
- export type tStateKeysDefault =
1
+ export type StateKeysDefault =
2
2
  | 'active'
3
3
  | 'activeFilled'
4
4
  | 'disabled'
package/types/svgFill.ts CHANGED
@@ -28,6 +28,6 @@ const svgFillProps = [
28
28
  'successItemSecondary',
29
29
  ] as const
30
30
 
31
- export type tSvgFillProps = (typeof svgFillProps)[number]
31
+ export type SvgFillProps = (typeof svgFillProps)[number]
32
32
 
33
33
  export { svgFillProps }
@@ -1,5 +1,5 @@
1
1
  const textAlignProps = ['left', 'center', 'right'] as const
2
2
 
3
- export type tTextAlignProps = (typeof textAlignProps)[number]
3
+ export type TextAlignProps = (typeof textAlignProps)[number]
4
4
 
5
5
  export { textAlignProps }
@@ -35,6 +35,6 @@ const textColorProps = [
35
35
  'dangerTextSecondary',
36
36
  ] as const
37
37
 
38
- export type tTextColorProps = (typeof textColorProps)[number]
38
+ export type TextColorProps = (typeof textColorProps)[number]
39
39
 
40
40
  export { textColorProps }
@@ -35,6 +35,6 @@ const textColorActiveProps = [
35
35
  'dangerTextSecondary',
36
36
  ] as const
37
37
 
38
- export type tTextColorActiveProps = (typeof textColorActiveProps)[number]
38
+ export type TextColorActiveProps = (typeof textColorActiveProps)[number]
39
39
 
40
40
  export { textColorActiveProps }
@@ -35,6 +35,6 @@ const textColorHoverProps = [
35
35
  'dangerTextSecondary',
36
36
  ] as const
37
37
 
38
- export type tTextColorHoverProps = (typeof textColorHoverProps)[number]
38
+ export type TextColorHoverProps = (typeof textColorHoverProps)[number]
39
39
 
40
40
  export { textColorHoverProps }
@@ -8,6 +8,6 @@ const textGradientProps = [
8
8
  'success',
9
9
  ] as const
10
10
 
11
- export type tTextGradientProps = (typeof textGradientProps)[number]
11
+ export type TextGradientProps = (typeof textGradientProps)[number]
12
12
 
13
13
  export { textGradientProps }
@@ -1,5 +1,5 @@
1
1
  const textSizeProps = ['xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl'] as const
2
2
 
3
- export type tTextSizeProps = (typeof textSizeProps)[number]
3
+ export type TextSizeProps = (typeof textSizeProps)[number]
4
4
 
5
5
  export { textSizeProps }
@@ -1,5 +1,5 @@
1
1
  const textStyleProps = ['normal', 'italic'] as const
2
2
 
3
- export type tTextStyleProps = (typeof textStyleProps)[number]
3
+ export type TextStyleProps = (typeof textStyleProps)[number]
4
4
 
5
5
  export { textStyleProps }
@@ -1,5 +1,5 @@
1
1
  const textTagProps = ['p', 'span'] as const
2
2
 
3
- export type tTextTagProps = (typeof textTagProps)[number]
3
+ export type TextTagProps = (typeof textTagProps)[number]
4
4
 
5
5
  export { textTagProps }
@@ -16,6 +16,6 @@ const textWeightProps = [
16
16
  '950',
17
17
  ] as const
18
18
 
19
- export type tTextWeightProps = (typeof textWeightProps)[number]
19
+ export type TextWeightProps = (typeof textWeightProps)[number]
20
20
 
21
21
  export { textWeightProps }
@@ -1,5 +1,5 @@
1
1
  const textWrapProps = ['wrap', 'nowrap'] as const
2
2
 
3
- export type tTextWrapProps = (typeof textWrapProps)[number]
3
+ export type TextWrapProps = (typeof textWrapProps)[number]
4
4
 
5
5
  export { textWrapProps }
@@ -1,7 +1,7 @@
1
1
  const titleSizeHeadingProps = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'] as const
2
2
  const titleSizeProps = ['xxl', 'xl', 'l', 'm', 's', 'xs', 'xxs'] as const
3
3
 
4
- export type tTitleSizeProps = (typeof titleSizeProps)[number]
5
- export type tTitleSizeHeadingProps = (typeof titleSizeHeadingProps)[number]
4
+ export type TitleSizeProps = (typeof titleSizeProps)[number]
5
+ export type TitleSizeHeadingProps = (typeof titleSizeHeadingProps)[number]
6
6
 
7
7
  export { titleSizeProps, titleSizeHeadingProps }
package/types/type.ts CHANGED
@@ -8,6 +8,6 @@ const typeProps = [
8
8
  'success',
9
9
  ] as const
10
10
 
11
- export type tTypeProps = (typeof typeProps)[number]
11
+ export type TypeProps = (typeof typeProps)[number]
12
12
 
13
13
  export { typeProps }
@@ -1,5 +1,5 @@
1
1
  const underlineProps = ['none', 'underline'] as const
2
2
 
3
- export type tUnderlineProps = (typeof underlineProps)[number]
3
+ export type UnderlineProps = (typeof underlineProps)[number]
4
4
 
5
5
  export { underlineProps }
@@ -1,6 +1,6 @@
1
1
  const verticalContentAlignProps = ['center'] as const
2
2
 
3
- export type tVerticalContentAlignProps =
3
+ export type VerticalContentAlignProps =
4
4
  (typeof verticalContentAlignProps)[number]
5
5
 
6
6
  export { verticalContentAlignProps }
@@ -1,5 +1,5 @@
1
1
  const verticalResizeModeProps = ['fixed', 'hug', 'fill'] as const
2
2
 
3
- export type tVerticalResizeModeProps = (typeof verticalResizeModeProps)[number]
3
+ export type VerticalResizeModeProps = (typeof verticalResizeModeProps)[number]
4
4
 
5
5
  export { verticalResizeModeProps }
package/types/width.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  const widthProps = ['auto', 'fixed', 'hug', 'fill'] as const
2
2
 
3
- export type tWidthProps = (typeof widthProps)[number]
3
+ export type WidthProps = (typeof widthProps)[number]
4
4
 
5
5
  export { widthProps }
package/types/wrap.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  const wrapProps = ['wrap', 'no-wrap', 'nowrap', 'wrap-reverse'] as const
2
2
 
3
- export type tWrapProps = (typeof wrapProps)[number]
3
+ export type WrapProps = (typeof wrapProps)[number]
4
4
 
5
5
  export { wrapProps }