@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/.editorconfig ADDED
@@ -0,0 +1,35 @@
1
+ # editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ indent_style = space
6
+ indent_size = 2
7
+ end_of_line = lf
8
+ charset = utf-8
9
+ trim_trailing_whitespace = true
10
+ insert_final_newline = true
11
+
12
+ [*.{css,js,jsx,mjs,ts,tsx}]
13
+ indent_style = space
14
+ indent_size = 2
15
+ tab_size = 2
16
+ end_of_line = lf
17
+ charset = utf-8
18
+ trim_trailing_whitespace = true
19
+ insert_final_newline = true
20
+
21
+ [*.{html,py}]
22
+ indent_style = space
23
+ indent_size = 4
24
+ end_of_line = lf
25
+ charset = utf-8
26
+ trim_trailing_whitespace = true
27
+ insert_final_newline = true
28
+
29
+ [*.md]
30
+ trim_trailing_whitespace = false
31
+
32
+ [Makefile]
33
+ indent_style = tab
34
+ indent_size = 4
35
+
@@ -0,0 +1,33 @@
1
+ name: "Publish Package to NPM Registry"
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+
8
+
9
+ jobs:
10
+ publish-npm:
11
+ runs-on: ubuntu-latest
12
+ env:
13
+ GIT_WORKFLOW: true
14
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
16
+
17
+ steps:
18
+ - name: "Make Checkout"
19
+ uses: actions/checkout@v3
20
+ with:
21
+ fetch-depth: 0
22
+
23
+ - name: "Setup NodeJS"
24
+ uses: actions/setup-node@v3
25
+ with:
26
+ node-version: 20
27
+
28
+ - name: "Install dependencies"
29
+ run: npm install --force
30
+
31
+ - name: "Publish package"
32
+ shell: bash
33
+ run: npm run semantic-release
@@ -0,0 +1,5 @@
1
+ #!/bin/bash
2
+
3
+ if [[ $(git log --format=%B -n 1) =~ major:|minor:|patch: ]]; then
4
+ exit 0
5
+ fi
@@ -0,0 +1,14 @@
1
+ #!/bin/bash
2
+
3
+ /bin/bash ".husky/check_message"
4
+
5
+ branch="$(git rev-parse --abbrev-ref HEAD)"
6
+
7
+ if [ "$branch" = "master" ]; then
8
+ {
9
+ npx commitlint --edit &&
10
+ exit 0
11
+ } || {
12
+ /bin/bash ".husky/set_release_message"
13
+ }
14
+ fi
@@ -0,0 +1,14 @@
1
+ #!/bin/bash
2
+
3
+ /bin/bash ".husky/check_message"
4
+
5
+ branch="$(git rev-parse --abbrev-ref HEAD)"
6
+
7
+ if [ "$branch" = "master" ]; then
8
+ {
9
+ npx commitlint --edit &&
10
+ exit 0
11
+ } || {
12
+ /bin/bash ".husky/set_release_message"
13
+ }
14
+ fi
@@ -0,0 +1,6 @@
1
+ #!/bin/bash
2
+
3
+ if grep --include=*.{json,css,html,py} --exclude-dir={dist,node_modules,bower_components,.git} -nri --color -B 1 -A 1 '<\{7\} HEAD\|^\=\.{7\}\|>\.{7\}' .; then
4
+ echo 'Fix conflicts'
5
+ exit 1
6
+ else ./node_modules/lint-staged/bin/lint-staged.js; fi
@@ -0,0 +1,14 @@
1
+ #!/bin/dash
2
+
3
+ if [ $GIT_WORKFLOW ]; then
4
+ exit 0
5
+ fi
6
+
7
+ /bin/bash ".husky/check_message"
8
+
9
+ branch="$(git rev-parse --abbrev-ref HEAD)"
10
+
11
+ if [ "$branch" = "master" ]; then
12
+ npx commitlint --edit &&
13
+ exit 0
14
+ fi
@@ -0,0 +1,43 @@
1
+ #!/bin/bash
2
+
3
+ exec < /dev/tty
4
+
5
+ function update_message {
6
+ commit_message=$(git log --format=%B -n 1)
7
+ new_commit_message="${1}: ${commit_message}"
8
+ git commit --amend -m "${new_commit_message}"
9
+ git log --format=%B -n 1
10
+ }
11
+
12
+
13
+ PS3='Select release type: '
14
+
15
+ MAJOR='MAJOR version when you make incompatible API changes'
16
+ MINOR='MINOR version when you add functionality in a backwards compatible manner'
17
+ PATCH='PATCH version when you make backwards compatible bug fixes'
18
+ CANCEL='Cancel'
19
+
20
+ options=("${MAJOR}" "${MINOR}" "${PATCH}" "${CANCEL}")
21
+ select opt in "${options[@]}"
22
+ do
23
+ case $opt in
24
+ $MAJOR)
25
+ update_message 'major'
26
+ exit 0
27
+ ;;
28
+ $MINOR)
29
+ update_message 'minor'
30
+ exit 0
31
+ ;;
32
+ $PATCH)
33
+ update_message 'patch'
34
+ exit 0
35
+ ;;
36
+ $CANCEL)
37
+ exit 1
38
+ ;;
39
+ *) echo "invalid option $REPLY";;
40
+ esac
41
+ done
42
+
43
+ < /dev/tty
package/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ ## 1.0.0 (2025-04-16)
2
+
3
+ ### Features
4
+
5
+ * add entry point ([307dc78](https://github.com/ITCase/itcase-types/commit/307dc7896c3c11388019d0a8e632feed712b7c3a))
6
+ * add types ([8daedfa](https://github.com/ITCase/itcase-types/commit/8daedfa2014003c98fd25a7c45fc1ae40da391ec))
7
+ * change configuration package.json and tsconfig.json ([03ee0e5](https://github.com/ITCase/itcase-types/commit/03ee0e5e3035feb7405a2070b8b21d784a90c9ad))
8
+
9
+ ### Bug Fixes
10
+
11
+ * deleted undefined and false in types ([d7105e4](https://github.com/ITCase/itcase-types/commit/d7105e4034d98c10d82cfa6d90113ff567614a33))
12
+ * microfix ([21052d9](https://github.com/ITCase/itcase-types/commit/21052d903376df02c393dda35eb258561dcd26aa))
13
+ * rename readme ([f094fd6](https://github.com/ITCase/itcase-types/commit/f094fd68b9d827c9ad64b7ef55a6c3e529f392ca))
package/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # itcase-types
2
+
3
+ ## Install package
4
+
5
+ ```sh
6
+ npm i -D @itcase/types
7
+ ```
@@ -0,0 +1,3 @@
1
+ import commitlint from '@itcase/config/commitlint/index.js'
2
+
3
+ export default commitlint
@@ -0,0 +1,3 @@
1
+ import eslint from '@itcase/lint/eslint/index.js'
2
+
3
+ export default eslint
package/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './types/index'
@@ -0,0 +1,3 @@
1
+ import lintstaged from '@itcase/config/lint-staged/index.js'
2
+
3
+ export default lintstaged
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "@itcase/types",
3
+ "version": "1.0.0",
4
+ "description": "unified type storage",
5
+ "keywords": [
6
+ "types"
7
+ ],
8
+ "license": "MIT",
9
+ "private": false,
10
+ "exports": {
11
+ ".": "./index.ts"
12
+ },
13
+ "scripts": {
14
+ "lint": "eslint types/",
15
+ "typecheck": "tsc --noEmit",
16
+ "prepare": "husky",
17
+ "semantic-release": "semantic-release"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/ITCase/itcase-types.git"
22
+ },
23
+ "publishConfig": {
24
+ "access": "public",
25
+ "registry": "https://registry.npmjs.org/"
26
+ },
27
+ "dependencies": {
28
+ "@itcase/config": "^1.0.26"
29
+ },
30
+ "devDependencies": {
31
+ "@commitlint/cli": "^19.8.0",
32
+ "@commitlint/config-conventional": "^19.8.0",
33
+ "@itcase/lint": "^1.1.4",
34
+ "@semantic-release/changelog": "^6.0.3",
35
+ "@semantic-release/git": "^10.0.1",
36
+ "@semantic-release/release-notes-generator": "14.0.3",
37
+ "conventional-changelog-conventionalcommits": "^8.0.0",
38
+ "eslint": "9.24.0",
39
+ "husky": "^9.1.7",
40
+ "lint-staged": "^15.5.1",
41
+ "prettier": "^3.5.3",
42
+ "semantic-release": "^24.2.3",
43
+ "typescript": "^5.8.3"
44
+ }
45
+ }
@@ -0,0 +1,3 @@
1
+ import prettier from '@itcase/lint/prettier/index.js'
2
+
3
+ export default prettier
@@ -0,0 +1,3 @@
1
+ import semanticRelease from '@itcase/config/semantic-release/index.js'
2
+
3
+ export default semanticRelease
package/tsconfig.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "compilerOptions": {
3
+ // Enforce consistent file casing
4
+ "forceConsistentCasingInFileNames": true,
5
+ // Treat each file as a separate module
6
+ "isolatedModules": true,
7
+ // Resolve modules using Node.js resolution algorithm
8
+ "moduleResolution": "node",
9
+ // Do not emit output files (for checking only)
10
+ "noEmit": true,
11
+ // Skip type checking of declaration files
12
+ "skipLibCheck": true,
13
+ // Enable strict type-checking options
14
+ "strict": true
15
+ },
16
+ // Include files from the 'src' directory for compilation
17
+ "include": [
18
+ "types"
19
+ ],
20
+ "exclude": [
21
+ "node_modules/**"
22
+ ]
23
+ }
@@ -0,0 +1,15 @@
1
+ const alignProps = [
2
+ 'topLeft',
3
+ 'topCenter',
4
+ 'topRight',
5
+ 'left',
6
+ 'center',
7
+ 'right',
8
+ 'bottomLeft',
9
+ 'bottomCenter',
10
+ 'bottomRight',
11
+ ] as const
12
+
13
+ export type tAlignProps = (typeof alignProps)[number]
14
+
15
+ export { alignProps }
@@ -0,0 +1,14 @@
1
+ const alignDirectionProps = [
2
+ 'column',
3
+ 'column-reverse',
4
+ 'horizontal',
5
+ 'horizontal-reverse',
6
+ 'row',
7
+ 'row-reverse',
8
+ 'vertical',
9
+ 'vertical-reverse',
10
+ ] as const
11
+
12
+ export type tAlignDirectionProps = (typeof alignDirectionProps)[number]
13
+
14
+ export { alignDirectionProps }
@@ -0,0 +1,14 @@
1
+ const alignmentProps = [
2
+ 'topLeft',
3
+ 'topCenter',
4
+ 'topRight',
5
+ 'leftCenter',
6
+ 'rightCenter',
7
+ 'bottomRight',
8
+ 'bottomCenter',
9
+ 'bottomLeft',
10
+ ] as const
11
+
12
+ export type tAlignmentProps = (typeof alignmentProps)[number]
13
+
14
+ export { alignmentProps }
@@ -0,0 +1,3 @@
1
+ export * from './align'
2
+ export * from './alignDirection'
3
+ export * from './alignment'
@@ -0,0 +1,33 @@
1
+ export type tAppearanceKeysDefault =
2
+ | 'accent'
3
+ | 'accentPrimary'
4
+ | 'accentQuaternary'
5
+ | 'accentSecondary'
6
+ | 'accentTertiary'
7
+ | 'any'
8
+ | 'cantLoadData'
9
+ | 'confirm'
10
+ | 'custom'
11
+ | 'default'
12
+ | 'disabled'
13
+ | 'error'
14
+ | 'fail'
15
+ | 'full'
16
+ | 'ghost'
17
+ | 'gradientPrimary'
18
+ | 'nothingFound'
19
+ | 'outlined'
20
+ | 'primary'
21
+ | 'refresh'
22
+ | 'search'
23
+ | 'secondary'
24
+ | 'solid'
25
+ | 'success'
26
+ | 'surface'
27
+ | 'surfaceDisabled'
28
+ | 'surfacePrimary'
29
+ | 'surfaceQuaternary'
30
+ | 'surfaceSecondary'
31
+ | 'surfaceTertiary'
32
+ | 'unableLoadData'
33
+ | 'warning'
@@ -0,0 +1,46 @@
1
+ const borderColorProps = [
2
+ 'accentBorderPrimary',
3
+ 'accentBorderSecondary',
4
+ 'accentBorderTertiary',
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',
25
+
26
+ 'surfaceBorderPrimary',
27
+ 'surfaceBorderSecondary',
28
+ 'surfaceBorderTertiary',
29
+ 'surfaceBorderQuaternary',
30
+ 'surfaceBorderDisabled',
31
+ 'surfaceBorderInverse',
32
+
33
+ 'errorBorderPrimary',
34
+ 'errorBorderSecondary',
35
+ 'errorBorderDisabled',
36
+
37
+ 'successBorderPrimary',
38
+ 'successBorderSecondary',
39
+ 'successBorderDisabled',
40
+
41
+ 'none',
42
+ ] as const
43
+
44
+ export type tBorderColorProps = (typeof borderColorProps)[number]
45
+
46
+ export { borderColorProps }
@@ -0,0 +1,18 @@
1
+ const borderColorHoverProps = [
2
+ 'accentBorderPrimary',
3
+ 'accentBorderPrimaryHover',
4
+ 'primaryBorderPrimary',
5
+ 'secondaryBorderPrimary',
6
+ 'tertiaryBorderPrimary',
7
+ 'surfaceBorderPrimary',
8
+ 'surfaceBorderSecondary',
9
+ 'surfaceBorderTertiary',
10
+ 'errorBorderPrimary',
11
+ 'errorBorderPrimaryHover',
12
+ 'successBorderPrimary',
13
+ 'surfaceBorderQuaternary',
14
+ ] as const
15
+
16
+ export type tBorderColorHoverProps = (typeof borderColorHoverProps)[number]
17
+
18
+ export { borderColorHoverProps }
@@ -0,0 +1,5 @@
1
+ const borderTypeProps = ['outline', 'solid', 'none'] as const
2
+
3
+ export type tBorderTypeProps = (typeof borderTypeProps)[number]
4
+
5
+ export { borderTypeProps }
@@ -0,0 +1,16 @@
1
+ const borderWidthProps = [
2
+ '1',
3
+ '2',
4
+ '3',
5
+ '4',
6
+ '5',
7
+ '6',
8
+ '7',
9
+ '8',
10
+ '9',
11
+ '10',
12
+ ] as const
13
+
14
+ export type tBorderWidthProps = (typeof borderWidthProps)[number]
15
+
16
+ export { borderWidthProps }
@@ -0,0 +1,4 @@
1
+ export * from './borderColorHover'
2
+ export * from './borderType'
3
+ export * from './borderColor'
4
+ export * from './borderWidth'
@@ -0,0 +1,12 @@
1
+ const directionProps = [
2
+ 'row',
3
+ 'row-reverse',
4
+ 'column',
5
+ 'column-reverse',
6
+ 'vertical',
7
+ 'horizontal',
8
+ ] as const
9
+
10
+ export type tDirectionProps = (typeof directionProps)[number]
11
+
12
+ export { directionProps }
@@ -0,0 +1,5 @@
1
+ const elevationProps = ['1', '2', '4', '6', '8', '12', '16', '24'] as const
2
+
3
+ export type tElevationProps = (typeof elevationProps)[number]
4
+
5
+ export { elevationProps }
@@ -0,0 +1,39 @@
1
+ const fillProps = [
2
+ 'accentPrimary',
3
+ 'accentSecondary',
4
+ 'accentTertiary',
5
+
6
+ 'primaryPrimary',
7
+ 'primarySecondary',
8
+ 'primaryTertiary',
9
+
10
+ 'secondaryPrimary',
11
+ 'secondarySecondary',
12
+ 'secondaryTertiary',
13
+
14
+ 'tertiaryPrimary',
15
+ 'tertiarySecondary',
16
+ 'tertiaryTertiary',
17
+
18
+ 'surfaceAccent',
19
+ 'surfaceItemPrimary',
20
+ 'surfacePrimary',
21
+ 'surfaceQuaternary',
22
+ 'surfaceQuinary',
23
+ 'surfaceSecondary',
24
+ 'surfaceTertiary',
25
+
26
+ 'errorPrimary',
27
+ 'errorSecondary',
28
+
29
+ 'successPrimary',
30
+ 'successSecondary',
31
+
32
+ 'gradientPrimary',
33
+
34
+ 'none',
35
+ ] as const
36
+
37
+ export type tFillProps = (typeof fillProps)[number]
38
+
39
+ export { fillProps }
@@ -0,0 +1,13 @@
1
+ const fillGradientProps = [
2
+ 'accent',
3
+ 'primary',
4
+ 'secondary',
5
+ 'tertiary',
6
+ 'surface',
7
+ 'error',
8
+ 'success',
9
+ ] as const
10
+
11
+ export type tFillGradientProps = (typeof fillGradientProps)[number]
12
+
13
+ export { fillGradientProps }
@@ -0,0 +1,20 @@
1
+ const fillHoverProps = [
2
+ 'accentPrimaryHover',
3
+ 'accentSecondary',
4
+ 'accentSecondaryHover',
5
+ 'accentTertiary',
6
+
7
+ 'primaryPrimaryHover',
8
+
9
+ 'secondaryPrimaryHover',
10
+
11
+ 'surfaceItemTertiary',
12
+ 'surfacePrimaryHover',
13
+ 'surfaceSecondaryHover',
14
+ 'surfaceTertiary',
15
+ 'surfaceTertiaryHover',
16
+ ] as const
17
+
18
+ export type tFillHoverProps = (typeof fillHoverProps)[number]
19
+
20
+ export { fillHoverProps }
@@ -0,0 +1,5 @@
1
+ const fillTypeProps = ['full', 'solid', 'outlined', 'ghost'] as const
2
+
3
+ export type tFillTypeProps = (typeof fillTypeProps)[number]
4
+
5
+ export { fillTypeProps }
@@ -0,0 +1,4 @@
1
+ export * from './fill'
2
+ export * from './fillGradient'
3
+ export * from './fillHover'
4
+ export * from './fillType'
@@ -0,0 +1,12 @@
1
+ const flexAlignProps = [
2
+ 'stretch',
3
+ 'flex-start',
4
+ 'flex-end',
5
+ 'center',
6
+ 'baseline',
7
+ 'auto',
8
+ ] as const
9
+
10
+ export type tFlexAlignProps = (typeof flexAlignProps)[number]
11
+
12
+ export { flexAlignProps }
@@ -0,0 +1,5 @@
1
+ const flexGrowProps = ['0', '1'] as const
2
+
3
+ export type tFlexGrowProps = (typeof flexGrowProps)[number]
4
+
5
+ export { flexGrowProps }
@@ -0,0 +1,12 @@
1
+ const flexJustifyContentProps = [
2
+ 'flex-start',
3
+ 'flex-end',
4
+ 'center',
5
+ 'space-between',
6
+ 'space-around',
7
+ 'space-evenly',
8
+ ] as const
9
+
10
+ export type tFlexJustifyContentProps = (typeof flexJustifyContentProps)[number]
11
+
12
+ export { flexJustifyContentProps }
@@ -0,0 +1,5 @@
1
+ const flexWrapProps = ['wrap', 'nowrap', 'wrap-reverse'] as const
2
+
3
+ export type tFlexWrapProps = (typeof flexWrapProps)[number]
4
+
5
+ export { flexWrapProps }
@@ -0,0 +1,4 @@
1
+ export * from './flexAlign'
2
+ export * from './flexGrow'
3
+ export * from './flexJustifyContent'
4
+ export * from './flexWrap'
@@ -0,0 +1,23 @@
1
+ const gridAlignProps = [
2
+ 'auto',
3
+ 'normal',
4
+ 'stretch',
5
+ 'center',
6
+ 'start',
7
+ 'end',
8
+ 'space-around',
9
+ 'space-between',
10
+ 'space-evenly',
11
+ 'safe center',
12
+ 'unsafe center',
13
+ 'self-start',
14
+ 'self-end',
15
+ 'first',
16
+ 'baseline',
17
+ 'first baseline',
18
+ 'last baseline',
19
+ ] as const
20
+
21
+ export type tGridAlignProps = (typeof gridAlignProps)[number]
22
+
23
+ export { gridAlignProps }