@webmate-studio/builder 0.2.99 → 0.2.100

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webmate-studio/builder",
3
- "version": "0.2.99",
3
+ "version": "0.2.100",
4
4
  "type": "module",
5
5
  "description": "Webmate Studio Component Builder",
6
6
  "keywords": [
@@ -453,9 +453,6 @@ export const defaultDesignTokens = {
453
453
  }
454
454
  },
455
455
 
456
- // Base spacing unit - Tailwind berechnet p-1, p-2, p-4 etc. automatisch
457
- spacing: '0.25rem', // 4px base unit (Tailwind default)
458
-
459
456
  // Base border width
460
457
  borderWidth: '1px',
461
458
 
@@ -799,11 +796,6 @@ export function generateTailwindV4Theme(tokens) {
799
796
  }
800
797
  }
801
798
 
802
- // Spacing base
803
- if (tokens.spacing) {
804
- lines.push(` --spacing: ${tokens.spacing};`);
805
- }
806
-
807
799
  // Border width base
808
800
  if (tokens.borderWidth) {
809
801
  lines.push(` --border-width: ${tokens.borderWidth};`);
@@ -1039,7 +1031,6 @@ export function generateTailwindConfig(tokens) {
1039
1031
  fontWeight: tokens.typography?.fontWeight || {},
1040
1032
  lineHeight: tokens.typography?.lineHeight || {},
1041
1033
  letterSpacing: tokens.typography?.letterSpacing || {},
1042
- spacing: tokens.spacing || {},
1043
1034
  borderRadius: tokens.borderRadius || {},
1044
1035
  boxShadow: tokens.boxShadow || {},
1045
1036
  maxWidth: tokens.container || {}
@@ -1112,18 +1103,6 @@ export function generateCSSFromTokens(tokens) {
1112
1103
  lines.push(` --tracking-${key}: ${value};`);
1113
1104
  }
1114
1105
 
1115
- // Spacing
1116
- if (typeof tokens.spacing === 'object' && tokens.spacing !== null) {
1117
- // Object format: { '0': '0', '1': '0.25rem', '2': '0.5rem', ... }
1118
- for (const [key, value] of Object.entries(tokens.spacing)) {
1119
- lines.push(` --spacing-${key.replace('.', '-')}: ${value};`);
1120
- }
1121
- } else if (typeof tokens.spacing === 'string') {
1122
- // String format (base unit): '0.25rem' - Tailwind v4 will auto-generate scale
1123
- // Output base spacing variable for Tailwind v4
1124
- lines.push(` --spacing: ${tokens.spacing};`);
1125
- }
1126
-
1127
1106
  // Container
1128
1107
  for (const [key, value] of Object.entries(tokens.container || {})) {
1129
1108
  lines.push(` --container-${key}: ${value};`);