@itcase/types 1.0.0

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 (87) hide show
  1. package/.editorconfig +35 -0
  2. package/.github/workflows/publish.yaml +33 -0
  3. package/.husky/check_message +5 -0
  4. package/.husky/post-commit +14 -0
  5. package/.husky/post-merge +14 -0
  6. package/.husky/pre-commit +6 -0
  7. package/.husky/pre-push +14 -0
  8. package/.husky/set_release_message +43 -0
  9. package/CHANGELOG.md +13 -0
  10. package/README.md +7 -0
  11. package/commitlint.config.mjs +3 -0
  12. package/eslint.config.mjs +3 -0
  13. package/index.ts +1 -0
  14. package/lint-staged.config.mjs +3 -0
  15. package/package.json +45 -0
  16. package/prettier.config.mjs +3 -0
  17. package/release.config.mjs +3 -0
  18. package/tsconfig.json +23 -0
  19. package/types/align/align.ts +15 -0
  20. package/types/align/alignDirection.ts +14 -0
  21. package/types/align/alignment.ts +14 -0
  22. package/types/align/index.ts +3 -0
  23. package/types/appearanceKeys.ts +33 -0
  24. package/types/border/borderColor.ts +46 -0
  25. package/types/border/borderColorHover.ts +18 -0
  26. package/types/border/borderType.ts +5 -0
  27. package/types/border/borderWidth.ts +16 -0
  28. package/types/border/index.ts +4 -0
  29. package/types/direction.ts +12 -0
  30. package/types/elevation.ts +5 -0
  31. package/types/fill/fill.ts +39 -0
  32. package/types/fill/fillGradient.ts +13 -0
  33. package/types/fill/fillHover.ts +20 -0
  34. package/types/fill/fillType.ts +5 -0
  35. package/types/fill/index.ts +4 -0
  36. package/types/flex/flexAlign.ts +12 -0
  37. package/types/flex/flexGrow.ts +5 -0
  38. package/types/flex/flexJustifyContent.ts +12 -0
  39. package/types/flex/flexWrap.ts +5 -0
  40. package/types/flex/index.ts +4 -0
  41. package/types/grid/gridAlign.ts +23 -0
  42. package/types/grid/gridAlignSelf.ts +23 -0
  43. package/types/grid/gridJustifyItems.ts +24 -0
  44. package/types/grid/gridJustifySelf.ts +28 -0
  45. package/types/grid/index.ts +4 -0
  46. package/types/height.ts +5 -0
  47. package/types/horizontal/horizontalContentAlign.ts +6 -0
  48. package/types/horizontal/horizontalResizeMode.ts +6 -0
  49. package/types/horizontal/index.ts +2 -0
  50. package/types/icon/iconFillSize.ts +16 -0
  51. package/types/icon/iconSize.ts +17 -0
  52. package/types/icon/index.ts +2 -0
  53. package/types/index.ts +33 -0
  54. package/types/itemColor.ts +39 -0
  55. package/types/justifyContent.ts +17 -0
  56. package/types/overflow.ts +5 -0
  57. package/types/position.ts +11 -0
  58. package/types/resizeMode.ts +11 -0
  59. package/types/shape.ts +5 -0
  60. package/types/size/index.ts +3 -0
  61. package/types/size/size.ts +5 -0
  62. package/types/size/sizeOption.ts +18 -0
  63. package/types/size/sizePX.ts +22 -0
  64. package/types/stacking.ts +5 -0
  65. package/types/state/index.ts +2 -0
  66. package/types/state/state.ts +12 -0
  67. package/types/state/stateKeys.ts +11 -0
  68. package/types/svgFill.ts +33 -0
  69. package/types/text/index.ts +10 -0
  70. package/types/text/textAlign.ts +5 -0
  71. package/types/text/textColor.ts +40 -0
  72. package/types/text/textColorActive.ts +40 -0
  73. package/types/text/textColorHover.ts +40 -0
  74. package/types/text/textGradient.ts +13 -0
  75. package/types/text/textSize.ts +5 -0
  76. package/types/text/textStyle.ts +5 -0
  77. package/types/text/textTag.ts +5 -0
  78. package/types/text/textWeight.ts +21 -0
  79. package/types/text/textWrap.ts +5 -0
  80. package/types/titleSize.ts +7 -0
  81. package/types/type.ts +13 -0
  82. package/types/underline.ts +5 -0
  83. package/types/vertical/index.ts +2 -0
  84. package/types/vertical/verticalContentAlign.ts +6 -0
  85. package/types/vertical/verticalResizeMode.ts +5 -0
  86. package/types/width.ts +5 -0
  87. package/types/wrap.ts +5 -0
package/types/width.ts ADDED
@@ -0,0 +1,5 @@
1
+ const widthProps = ['auto', 'fixed', 'hug', 'fill'] as const
2
+
3
+ export type tWidthProps = (typeof widthProps)[number]
4
+
5
+ export { widthProps }
package/types/wrap.ts ADDED
@@ -0,0 +1,5 @@
1
+ const wrapProps = ['wrap', 'no-wrap', 'nowrap', 'wrap-reverse'] as const
2
+
3
+ export type tWrapProps = (typeof wrapProps)[number]
4
+
5
+ export { wrapProps }