@vaneui/ui 0.0.13 → 0.0.14

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 (129) hide show
  1. package/README.md +144 -1
  2. package/dist/all.css +1711 -86
  3. package/dist/complex.css +2697 -3
  4. package/dist/components/theme/components/theme/index.d.ts +1 -0
  5. package/dist/components/theme/components/theme/themeContext.d.ts +46 -0
  6. package/dist/components/theme/components/ui/classes/appearanceClasses.d.ts +13 -0
  7. package/dist/components/theme/components/ui/classes/layoutClasses.d.ts +13 -0
  8. package/dist/components/theme/components/ui/classes/spacingClasses.d.ts +2 -0
  9. package/dist/components/theme/components/ui/classes/typographyClasses.d.ts +10 -0
  10. package/dist/components/theme/components/ui/props/keys.d.ts +79 -0
  11. package/dist/components/theme/components/ui/props/props.d.ts +42 -0
  12. package/dist/components/theme/components/ui/theme/appearance/layoutAppearanceTheme.d.ts +10 -0
  13. package/dist/components/theme/components/ui/theme/appearance/textAppearanceTheme.d.ts +10 -0
  14. package/dist/components/theme/components/ui/theme/appearance/variantTheme.d.ts +15 -0
  15. package/dist/components/theme/components/ui/theme/badgeTheme.d.ts +32 -0
  16. package/dist/components/theme/components/ui/theme/buttonTheme.d.ts +32 -0
  17. package/dist/components/theme/components/ui/theme/cardTheme.d.ts +37 -0
  18. package/dist/components/theme/components/ui/theme/chipTheme.d.ts +32 -0
  19. package/dist/components/theme/components/ui/theme/colTheme.d.ts +15 -0
  20. package/dist/components/theme/components/ui/theme/common/ComponentTheme.d.ts +44 -0
  21. package/dist/components/theme/components/ui/theme/common/baseTheme.d.ts +12 -0
  22. package/dist/components/theme/components/ui/theme/containerTheme.d.ts +29 -0
  23. package/dist/components/theme/components/ui/theme/dividerTheme.d.ts +9 -0
  24. package/dist/components/theme/components/ui/theme/gridTheme.d.ts +10 -0
  25. package/dist/components/theme/components/ui/theme/layout/borderTheme.d.ts +9 -0
  26. package/dist/components/theme/components/ui/theme/layout/directionTheme.d.ts +9 -0
  27. package/dist/components/theme/components/ui/theme/layout/hideTheme.d.ts +9 -0
  28. package/dist/components/theme/components/ui/theme/layout/itemsTheme.d.ts +9 -0
  29. package/dist/components/theme/components/ui/theme/layout/justifyTheme.d.ts +9 -0
  30. package/dist/components/theme/components/ui/theme/layout/positionTheme.d.ts +9 -0
  31. package/dist/components/theme/components/ui/theme/layout/radiusTheme.d.ts +9 -0
  32. package/dist/components/theme/components/ui/theme/layout/ringTheme.d.ts +9 -0
  33. package/dist/components/theme/components/ui/theme/layout/shadowTheme.d.ts +9 -0
  34. package/dist/components/theme/components/ui/theme/layout/wrapTheme.d.ts +9 -0
  35. package/dist/components/theme/components/ui/theme/rowTheme.d.ts +15 -0
  36. package/dist/components/theme/components/ui/theme/sectionTheme.d.ts +19 -0
  37. package/dist/components/theme/components/ui/theme/size/breakpointTheme.d.ts +9 -0
  38. package/dist/components/theme/components/ui/theme/size/gapTheme.d.ts +9 -0
  39. package/dist/components/theme/components/ui/theme/size/pxTheme.d.ts +9 -0
  40. package/dist/components/theme/components/ui/theme/size/pyTheme.d.ts +9 -0
  41. package/dist/components/theme/components/ui/theme/size/sizeTheme.d.ts +9 -0
  42. package/dist/components/theme/components/ui/theme/stackTheme.d.ts +19 -0
  43. package/dist/components/theme/components/ui/theme/typography/fontFamilyTheme.d.ts +9 -0
  44. package/dist/components/theme/components/ui/theme/typography/fontStyleTheme.d.ts +9 -0
  45. package/dist/components/theme/components/ui/theme/typography/fontWeightTheme.d.ts +9 -0
  46. package/dist/components/theme/components/ui/theme/typography/textAlignTheme.d.ts +9 -0
  47. package/dist/components/theme/components/ui/theme/typography/textDecorationTheme.d.ts +9 -0
  48. package/dist/components/theme/components/ui/theme/typography/textTransformTheme.d.ts +9 -0
  49. package/dist/components/theme/components/ui/theme/typographyComponentTheme.d.ts +22 -0
  50. package/dist/components/theme/components/utils/componentUtils.d.ts +4 -0
  51. package/dist/components/theme/components/utils/deepMerge.d.ts +4 -0
  52. package/dist/components/theme/components/utils/deepPartial.d.ts +3 -0
  53. package/dist/components/theme/index.d.ts +1 -0
  54. package/dist/components/theme/index.js +1827 -0
  55. package/dist/components/theme/index.js.map +1 -0
  56. package/dist/components/theme/themeContext.d.ts +46 -0
  57. package/dist/components/ui/badge.d.ts +3 -3
  58. package/dist/components/ui/button.d.ts +3 -3
  59. package/dist/components/ui/card.d.ts +3 -0
  60. package/dist/components/ui/chip.d.ts +3 -3
  61. package/dist/components/ui/classes/appearanceClasses.d.ts +13 -0
  62. package/dist/components/ui/classes/layoutClasses.d.ts +13 -0
  63. package/dist/components/ui/classes/spacingClasses.d.ts +2 -0
  64. package/dist/components/ui/classes/typographyClasses.d.ts +10 -0
  65. package/dist/components/ui/col.d.ts +10 -0
  66. package/dist/components/ui/container.d.ts +3 -0
  67. package/dist/components/ui/divider.d.ts +3 -3
  68. package/dist/components/ui/grid.d.ts +4 -0
  69. package/dist/components/ui/layout.d.ts +7 -8
  70. package/dist/components/ui/props/keys.d.ts +79 -0
  71. package/dist/components/ui/props/props.d.ts +41 -107
  72. package/dist/components/ui/row.d.ts +3 -0
  73. package/dist/components/ui/section.d.ts +3 -0
  74. package/dist/components/ui/stack.d.ts +3 -0
  75. package/dist/components/ui/theme/appearance/layoutAppearanceTheme.d.ts +10 -0
  76. package/dist/components/ui/theme/appearance/textAppearanceTheme.d.ts +10 -0
  77. package/dist/components/ui/theme/appearance/variantTheme.d.ts +15 -0
  78. package/dist/components/ui/theme/badgeTheme.d.ts +32 -0
  79. package/dist/components/ui/theme/buttonTheme.d.ts +32 -0
  80. package/dist/components/ui/theme/cardTheme.d.ts +37 -0
  81. package/dist/components/ui/theme/chipTheme.d.ts +32 -0
  82. package/dist/components/ui/theme/colTheme.d.ts +15 -0
  83. package/dist/components/ui/theme/common/ComponentTheme.d.ts +44 -0
  84. package/dist/components/ui/theme/common/baseTheme.d.ts +12 -0
  85. package/dist/components/ui/theme/containerTheme.d.ts +29 -0
  86. package/dist/components/ui/theme/dividerTheme.d.ts +9 -0
  87. package/dist/components/ui/theme/gridTheme.d.ts +10 -0
  88. package/dist/components/ui/theme/layout/borderTheme.d.ts +9 -0
  89. package/dist/components/ui/theme/layout/directionTheme.d.ts +9 -0
  90. package/dist/components/ui/theme/layout/hideTheme.d.ts +9 -0
  91. package/dist/components/ui/theme/layout/itemsTheme.d.ts +9 -0
  92. package/dist/components/ui/theme/layout/justifyTheme.d.ts +9 -0
  93. package/dist/components/ui/theme/layout/positionTheme.d.ts +9 -0
  94. package/dist/components/ui/theme/layout/radiusTheme.d.ts +9 -0
  95. package/dist/components/ui/theme/layout/ringTheme.d.ts +9 -0
  96. package/dist/components/ui/theme/layout/shadowTheme.d.ts +9 -0
  97. package/dist/components/ui/theme/layout/wrapTheme.d.ts +9 -0
  98. package/dist/components/ui/theme/rowTheme.d.ts +15 -0
  99. package/dist/components/ui/theme/sectionTheme.d.ts +19 -0
  100. package/dist/components/ui/theme/size/breakpointTheme.d.ts +9 -0
  101. package/dist/components/ui/theme/size/gapTheme.d.ts +9 -0
  102. package/dist/components/ui/theme/size/pxTheme.d.ts +9 -0
  103. package/dist/components/ui/theme/size/pyTheme.d.ts +9 -0
  104. package/dist/components/ui/theme/size/sizeTheme.d.ts +9 -0
  105. package/dist/components/ui/theme/stackTheme.d.ts +19 -0
  106. package/dist/components/ui/theme/typography/fontFamilyTheme.d.ts +9 -0
  107. package/dist/components/ui/theme/typography/fontStyleTheme.d.ts +9 -0
  108. package/dist/components/ui/theme/typography/fontWeightTheme.d.ts +9 -0
  109. package/dist/components/ui/theme/typography/textAlignTheme.d.ts +9 -0
  110. package/dist/components/ui/theme/typography/textDecorationTheme.d.ts +9 -0
  111. package/dist/components/ui/theme/typography/textTransformTheme.d.ts +9 -0
  112. package/dist/components/ui/theme/typographyComponentTheme.d.ts +22 -0
  113. package/dist/components/ui/typography.d.ts +9 -9
  114. package/dist/components/utils/buildComponent.d.ts +8 -0
  115. package/dist/components/utils/componentUtils.d.ts +4 -0
  116. package/dist/components/utils/deepMerge.d.ts +4 -0
  117. package/dist/components/utils/deepPartial.d.ts +3 -0
  118. package/dist/components/utils/tests/deepMerge.test.d.ts +1 -0
  119. package/dist/index.d.ts +3 -1
  120. package/dist/index.esm.js +1891 -323
  121. package/dist/index.esm.js.map +1 -1
  122. package/dist/index.js +1894 -322
  123. package/dist/index.js.map +1 -1
  124. package/dist/ui.css +2019 -100
  125. package/dist/vars.css +139 -0
  126. package/package.json +34 -11
  127. package/dist/components/ui/props/commonValues.d.ts +0 -45
  128. package/dist/components/ui/settings.d.ts +0 -30
  129. package/dist/components/utils/componentBuilder.d.ts +0 -23
package/dist/vars.css ADDED
@@ -0,0 +1,139 @@
1
+ @theme {
2
+ /* Text Colors */
3
+ --text-color-default: var(--color-gray-900, #111827);
4
+ --text-color-primary: var(--color-blue-600, #2563eb);
5
+ --text-color-secondary: var(--color-gray-600, #4b5563);
6
+ --text-color-tertiary: var(--color-gray-500, #6b7280);
7
+ --text-color-muted: var(--color-gray-400, #9ca3af);
8
+ --text-color-link: var(--color-blue-600, #2563eb);
9
+ --text-color-accent: var(--color-rose-700, #9333ea);
10
+ --text-color-success: var(--color-emerald-600, #059669);
11
+ --text-color-danger: var(--color-red-600, #dc2626);
12
+ --text-color-warning: var(--color-amber-600, #d97706);
13
+ --text-color-info: var(--color-cyan-600, #0891b2);
14
+
15
+ /* Background Colors */
16
+ --background-color-default: var(--color-white, #ffffff);
17
+ --background-color-primary: var(--color-blue-50, #eff6ff);
18
+ --background-color-secondary: var(--color-gray-50, #f9fafb);
19
+ --background-color-tertiary: var(--color-gray-100, #f3f4f6);
20
+ --background-color-accent: var(--color-rose-50, #faf5ff);
21
+ --background-color-success: var(--color-emerald-50, #ecfdf5);
22
+ --background-color-danger: var(--color-red-50, #fef2f2);
23
+ --background-color-warning: var(--color-amber-50, #fffbeb);
24
+ --background-color-info: var(--color-cyan-50, #ecfeff);
25
+ --background-color-muted: var(--color-gray-50, #f9fafb);
26
+ --background-color-link: var(--color-blue-50, #eff6ff);
27
+
28
+ /* Background Hover Colors */
29
+ --background-color-hover-default: var(--color-gray-50, #f3f4f6);
30
+ --background-color-hover-primary: var(--color-blue-100, #dbeafe);
31
+ --background-color-hover-secondary: var(--color-gray-100, #f3f4f6);
32
+ --background-color-hover-tertiary: var(--color-gray-200, #e5e7eb);
33
+ --background-color-hover-accent: var(--color-rose-100, #f5d0fe);
34
+ --background-color-hover-success: var(--color-emerald-100, #d1fae5);
35
+ --background-color-hover-danger: var(--color-red-100, #fee2e2);
36
+ --background-color-hover-warning: var(--color-amber-100, #fef3c7);
37
+ --background-color-hover-info: var(--color-cyan-100, #cffafe);
38
+ --background-color-hover-muted: var(--color-gray-100, #f3f4f6);
39
+ --background-color-hover-link: var(--color-blue-100, #dbeafe);
40
+
41
+ /* Background Active Colors */
42
+ --background-color-active-default: var(--color-gray-100, #e5e7eb);
43
+ --background-color-active-primary: var(--color-blue-200, #bfdbfe);
44
+ --background-color-active-secondary: var(--color-gray-200, #e5e7eb);
45
+ --background-color-active-tertiary: var(--color-gray-300, #d1d5db);
46
+ --background-color-active-accent: var(--color-rose-200, #fbcfe8);
47
+ --background-color-active-success: var(--color-emerald-200, #a7f3d0);
48
+ --background-color-active-danger: var(--color-red-200, #fecaca);
49
+ --background-color-active-warning: var(--color-amber-200, #fde68a);
50
+ --background-color-active-info: var(--color-cyan-200, #a5f3fc);
51
+ --background-color-active-muted: var(--color-gray-200, #e5e7eb);
52
+ --background-color-active-link: var(--color-blue-200, #bfdbfe);
53
+
54
+ /* Filled Button Background Colors */
55
+ --filled-background-color-default: var(--color-gray-800, #1f2937);
56
+ --filled-background-color-primary: var(--color-blue-600, #2563eb);
57
+ --filled-background-color-secondary: var(--color-gray-600, #4b5563);
58
+ --filled-background-color-tertiary: var(--color-gray-500, #6b7280);
59
+ --filled-background-color-accent: var(--color-rose-600, #e11d48);
60
+ --filled-background-color-success: var(--color-emerald-600, #059669);
61
+ --filled-background-color-danger: var(--color-red-600, #dc2626);
62
+ --filled-background-color-warning: var(--color-amber-600, #d97706);
63
+ --filled-background-color-info: var(--color-cyan-600, #0891b2);
64
+ --filled-background-color-muted: var(--color-gray-500, #6b7280);
65
+ --filled-background-color-link: var(--color-blue-600, #2563eb);
66
+
67
+ /* Filled Button Hover Background Colors */
68
+ --filled-background-color-hover-default: var(--color-gray-900, #111827);
69
+ --filled-background-color-hover-primary: var(--color-blue-700, #1d4ed8);
70
+ --filled-background-color-hover-secondary: var(--color-gray-700, #374151);
71
+ --filled-background-color-hover-tertiary: var(--color-gray-600, #4b5563);
72
+ --filled-background-color-hover-accent: var(--color-rose-700, #be123c);
73
+ --filled-background-color-hover-success: var(--color-emerald-700, #047857);
74
+ --filled-background-color-hover-danger: var(--color-red-700, #b91c1c);
75
+ --filled-background-color-hover-warning: var(--color-amber-700, #b45309);
76
+ --filled-background-color-hover-info: var(--color-cyan-700, #0e7490);
77
+ --filled-background-color-hover-muted: var(--color-gray-600, #4b5563);
78
+ --filled-background-color-hover-link: var(--color-blue-700, #1d4ed8);
79
+
80
+ /* Filled Button Active Background Colors */
81
+ --filled-background-color-active-default: var(--color-gray-950, #030712);
82
+ --filled-background-color-active-primary: var(--color-blue-800, #1e40af);
83
+ --filled-background-color-active-secondary: var(--color-gray-800, #1f2937);
84
+ --filled-background-color-active-tertiary: var(--color-gray-700, #374151);
85
+ --filled-background-color-active-accent: var(--color-rose-800, #9f1239);
86
+ --filled-background-color-active-success: var(--color-emerald-800, #065f46);
87
+ --filled-background-color-active-danger: var(--color-red-800, #991b1b);
88
+ --filled-background-color-active-warning: var(--color-amber-800, #92400e);
89
+ --filled-background-color-active-info: var(--color-cyan-800, #155e75);
90
+ --filled-background-color-active-muted: var(--color-gray-700, #374151);
91
+ --filled-background-color-active-link: var(--color-blue-800, #1e40af);
92
+
93
+ /* Layout Background Colors */
94
+ --layout-background-default: var(--color-white, #ffffff);
95
+ --layout-background-primary: var(--color-white, #ffffff);
96
+ --layout-background-secondary: var(--color-gray-50, #f9fafb);
97
+ --layout-background-tertiary: var(--color-gray-100, #f3f4f6);
98
+ --layout-background-accent: var(--color-indigo-50, #eef2ff);
99
+ --layout-background-success: var(--color-green-50, #f0fdf4);
100
+ --layout-background-danger: var(--color-red-50, #fef2f2);
101
+ --layout-background-warning: var(--color-yellow-50, #fefce8);
102
+ --layout-background-info: var(--color-blue-50, #eff6ff);
103
+ --layout-background-transparent: transparent;
104
+ --layout-background-muted: var(--color-gray-50, #f9fafb);
105
+ --layout-background-link: var(--color-blue-50, #eff6ff);
106
+
107
+ /* Border Colors */
108
+ --border-color-default: var(--color-gray-200, #d1d5db);
109
+ --border-color-primary: var(--color-blue-200, #93c5fd);
110
+ --border-color-secondary: var(--color-gray-200, #d1d5db);
111
+ --border-color-tertiary: var(--color-gray-200, #e5e7eb);
112
+ --border-color-muted: var(--color-gray-200, #e5e7eb);
113
+ --border-color-link: var(--color-blue-200, #93c5fd);
114
+ --border-color-accent: var(--color-rose-200, #d8b4fe);
115
+ --border-color-success: var(--color-emerald-200, #6ee7b7);
116
+ --border-color-danger: var(--color-red-200, #fca5a5);
117
+ --border-color-warning: var(--color-amber-200, #fcd34d);
118
+ --border-color-info: var(--color-cyan-200, #67e8f9);
119
+
120
+ /* Filled Button Border Colors */
121
+ --filled-border-color-default: var(--color-gray-800, #1f2937);
122
+ --filled-border-color-primary: var(--color-blue-600, #2563eb);
123
+ --filled-border-color-secondary: var(--color-gray-600, #4b5563);
124
+ --filled-border-color-tertiary: var(--color-gray-500, #6b7280);
125
+ --filled-border-color-accent: var(--color-rose-600, #e11d48);
126
+ --filled-border-color-success: var(--color-emerald-600, #059669);
127
+ --filled-border-color-danger: var(--color-red-600, #dc2626);
128
+ --filled-border-color-warning: var(--color-amber-600, #d97706);
129
+ --filled-border-color-info: var(--color-cyan-600, #0891b2);
130
+ --filled-border-color-muted: var(--color-gray-500, #6b7280);
131
+ --filled-border-color-link: var(--color-blue-600, #2563eb);
132
+
133
+ /* Accent / Action Colors */
134
+ --accent-color-default: var(--color-rose-600, #7c3aed);
135
+ --accent-color-hover: var(--color-rose-700, #6d28d9);
136
+
137
+ /* Additional Colors */
138
+ --overlay-color: rgba(0, 0, 0, 0.5);
139
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaneui/ui",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -15,6 +15,10 @@
15
15
  "require": "./dist/index.js",
16
16
  "types": "./dist/index.d.ts"
17
17
  },
18
+ "./theme": {
19
+ "import": "./dist/components/theme/index.js",
20
+ "types": "./dist/components/theme/index.d.ts"
21
+ },
18
22
  "./complex": {
19
23
  "import": "./dist/components/complex/index.js",
20
24
  "require": "./dist/components/complex/index.js",
@@ -24,6 +28,10 @@
24
28
  "import": "./dist/all.css",
25
29
  "default": "./dist/all.css"
26
30
  },
31
+ "./css/vars": {
32
+ "import": "./dist/vars.css",
33
+ "default": "./dist/vars.css"
34
+ },
27
35
  "./css/ui": {
28
36
  "import": "./dist/ui.css",
29
37
  "default": "./dist/ui.css"
@@ -35,12 +43,20 @@
35
43
  },
36
44
  "scripts": {
37
45
  "clean": "rimraf dist",
38
- "build:js": "npm run clean && rollup -c --bundleConfigAsCjs",
39
- "build:css:all": "npx @tailwindcss/cli --input index.css --output ./../../dist/all.css --cwd ./src/components/",
40
- "build:css:ui": "npx @tailwindcss/cli --input index.css --output ./../../../dist/ui.css --cwd ./src/components/ui/",
41
- "build:css:complex": "npx @tailwindcss/cli --input index.css --output ./../../../dist/complex.css --cwd ./src/components/complex/",
42
- "build": "npm run clean && npm run build:js && npm run build:css:all && npm run build:css:ui && npm run build:css:complex",
43
- "prepublishOnly": "npm run build"
46
+ "type-check": "tsc --noEmit",
47
+ "build:js": "npm run type-check && npm run clean && rollup -c --bundleConfigAsCjs",
48
+ "build:css:all": "npx @tailwindcss/cli -i ./src/components/index.css -o ./dist/all.css",
49
+ "build:css:theme": "npx @tailwindcss/cli -i ./src/components/theme/vars.css -o ./dist/vars.css",
50
+ "build:css:ui": "npx @tailwindcss/cli -i ./src/components/ui/index.css -o ./dist/ui.css",
51
+ "build:css:complex": "npx @tailwindcss/cli -i ./src/components/complex/index.css -o ./dist/complex.css",
52
+ "watch:css:all": "npx @tailwindcss/cli --watch -i ./src/components/index.css -o ./dist/all.css",
53
+ "watch:css:theme": "npx @tailwindcss/cli --watch -i ./src/components/theme/vars.css -o ./dist/vars.css",
54
+ "watch:css:ui": "npx @tailwindcss/cli --watch -i ./src/components/ui/index.css -o ./dist/ui.css",
55
+ "watch:css:complex": "npx @tailwindcss/cli --watch -i ./src/components/complex/index.css -o ./dist/complex.css",
56
+ "build": "npm run type-check && npm run clean && npm run build:js && npm run build:css:all && npm run build:css:theme && npm run build:css:ui && npm run build:css:complex",
57
+ "watch": "npm run clean && concurrently \"rollup -c --bundleConfigAsCjs -w\" \"npm run watch:css:all\" \"npm run watch:css:theme\" \"npm run watch:css:ui\" \"npm run watch:css:complex\"",
58
+ "prepublishOnly": "npm run build",
59
+ "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
44
60
  },
45
61
  "keywords": [],
46
62
  "author": "",
@@ -52,15 +68,22 @@
52
68
  "devDependencies": {
53
69
  "@rollup/plugin-commonjs": "^28.0.2",
54
70
  "@rollup/plugin-node-resolve": "^16.0.0",
55
- "@types/react": "^19.0.10",
56
- "@types/react-dom": "^19.0.4",
71
+ "@tailwindcss/cli": "^4.0.14",
72
+ "@types/jest": "^29.5.14",
73
+ "@types/react": "^19.1.0",
74
+ "@types/react-dom": "^19.1.0",
75
+ "concurrently": "^8.2.2",
76
+ "jest": "^29.7.0",
77
+ "react": "^19.1.0",
78
+ "react-dom": "^19.1.0",
57
79
  "rimraf": "^5.0.10",
58
80
  "rollup": "^4.34.9",
59
81
  "rollup-plugin-peer-deps-external": "^2.2.4",
60
82
  "rollup-plugin-typescript2": "^0.36.0",
61
83
  "tailwind-merge": "^3.0.2",
62
- "tailwindcss": "^4.0.9",
84
+ "tailwindcss": "^4.0.14",
85
+ "ts-jest": "^29.3.1",
63
86
  "tslib": "^2.8.1",
64
87
  "typescript": "^5.8.2"
65
88
  }
66
- }
89
+ }
@@ -1,45 +0,0 @@
1
- export declare const fontWeightClasses: {
2
- thin: string;
3
- extralight: string;
4
- light: string;
5
- normal: string;
6
- medium: string;
7
- semibold: string;
8
- bold: string;
9
- extrabold: string;
10
- black: string;
11
- };
12
- export declare const fontStyleClasses: {
13
- italic: string;
14
- notItalic: string;
15
- };
16
- export declare const fontFamilyClasses: {
17
- sans: string;
18
- serif: string;
19
- mono: string;
20
- };
21
- export declare const textDecorationClasses: {
22
- underline: string;
23
- lineThrough: string;
24
- noUnderline: string;
25
- overline: string;
26
- };
27
- export declare const textTransformClasses: {
28
- uppercase: string;
29
- lowercase: string;
30
- capitalize: string;
31
- normalCase: string;
32
- };
33
- export declare const textAppearanceClasses: {
34
- default: string;
35
- primary: string;
36
- secondary: string;
37
- tertiary: string;
38
- muted: string;
39
- link: string;
40
- accent: string;
41
- success: string;
42
- danger: string;
43
- warning: string;
44
- info: string;
45
- };
@@ -1,30 +0,0 @@
1
- import { CommonAppearanceProps, FontFamilyProps, FontStyleProps, FontWeightProps, TextAppearanceProps, TextDecorationProps, TextTransformProps } from "./props/props";
2
- export type CommonAppearanceSettings = {
3
- [key in keyof CommonAppearanceProps]: boolean;
4
- };
5
- export type FontFamilySettings = {
6
- [key in keyof FontFamilyProps]: boolean;
7
- };
8
- export type FontWeightSettings = {
9
- [key in keyof FontWeightProps]: boolean;
10
- };
11
- export type FontStyleSettings = {
12
- [key in keyof FontStyleProps]: boolean;
13
- };
14
- export type TextAppearanceSettings = {
15
- [key in keyof TextAppearanceProps & CommonAppearanceProps]: boolean;
16
- };
17
- export type TextDecorationSettings = {
18
- [key in keyof TextDecorationProps]: boolean;
19
- };
20
- export type TextTransformSettings = {
21
- [key in keyof TextTransformProps]: boolean;
22
- };
23
- export type TypographySettings = {
24
- fontFamily?: FontFamilySettings;
25
- fontWeight?: FontWeightSettings;
26
- fontStyle?: FontStyleSettings;
27
- textAppearance?: TextAppearanceSettings;
28
- textDecoration?: TextDecorationSettings;
29
- textTransform?: TextTransformSettings;
30
- };
@@ -1,23 +0,0 @@
1
- import { BaseComponentProps, BreakpointProps, ItemsProps, CommonAppearanceProps, FontFamilyProps, FontStyleProps, FontWeightProps, GapProps, HideProps, PositionProps, ReverseProps, TextAppearanceProps, TextDecorationProps, TextTransformProps, SizeProps } from "../ui/props/props";
2
- import { CommonAppearanceSettings, FontFamilySettings, FontStyleSettings, FontWeightSettings, TextAppearanceSettings, TextDecorationSettings, TextTransformSettings, TypographySettings } from "../ui/settings";
3
- export declare function componentBuilder(baseProps: BaseComponentProps, defaultTag: string, baseClasses?: string): {
4
- withBooleanProps: <T extends Record<string, string>>(propMap: Record<keyof T, string>, fallbackKey?: keyof T, settings?: {
5
- [key: string]: boolean;
6
- }) => /*elided*/ any;
7
- withSizes: (sizeMap: Record<keyof SizeProps, string>) => /*elided*/ any;
8
- withBreakpoints: (breakpointMap: Record<keyof BreakpointProps, string>) => /*elided*/ any;
9
- withReverse: (reverseMap: Record<keyof ReverseProps, string>) => /*elided*/ any;
10
- withItems: (itemsMap: Record<keyof ItemsProps, string>) => /*elided*/ any;
11
- withHide: (hideMap: Record<keyof HideProps, string>) => /*elided*/ any;
12
- withPosition: (positionMap: Record<keyof PositionProps, string>) => /*elided*/ any;
13
- withFontWeight: (fontWeight: Record<keyof FontWeightProps, string>, settings: FontWeightSettings) => /*elided*/ any;
14
- withFontStyle: (fontStyle: Record<keyof FontStyleProps, string>, settings: FontStyleSettings) => /*elided*/ any;
15
- withFontFamily: (fontFamily: Record<keyof FontFamilyProps, string>, settings: FontFamilySettings) => /*elided*/ any;
16
- withTextDecoration: (textDecoration: Record<keyof TextDecorationProps, string>, settings: TextDecorationSettings) => /*elided*/ any;
17
- withTextTransform: (textTransform: Record<keyof TextTransformProps, string>, settings: TextTransformSettings) => /*elided*/ any;
18
- withTextAppearance: (appearance: Record<keyof TextAppearanceProps & CommonAppearanceProps, string>, settings: TextAppearanceSettings) => /*elided*/ any;
19
- withGaps: (gapMap: Record<keyof GapProps, string>, sizeMap: Record<keyof SizeProps, string>) => /*elided*/ any;
20
- withTypography: (settings: TypographySettings) => /*elided*/ any;
21
- withAppearance: (appearance: Record<keyof CommonAppearanceProps, string>, settings: CommonAppearanceSettings) => /*elided*/ any;
22
- build(): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
23
- };