@kolkrabbi/kol-foundry 0.4.0 → 0.4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-foundry",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "private": false,
5
5
  "description": "KOL foundry component set — the type-specimen apparatus: typeface hero, variable-font axis playground, parsed-metric glyph inspector, character-set browser, font-preview, and the typeface-catalog grid. Every component renders, inspects, or manipulates a live font. Typeface data is consumer-injected. Sits above @kolkrabbi/kol-{theme,icons,component}.",
6
6
  "license": "MIT",
@@ -11,9 +11,9 @@
11
11
  ".": "./src/index.js"
12
12
  },
13
13
  "dependencies": {
14
- "@kolkrabbi/kol-component": "0.9.0",
15
- "@kolkrabbi/kol-icons": "0.5.0",
16
- "@kolkrabbi/kol-theme": "0.7.4"
14
+ "@kolkrabbi/kol-component": "0.10.1",
15
+ "@kolkrabbi/kol-icons": "0.6.1",
16
+ "@kolkrabbi/kol-theme": "0.7.6"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "react": "^18.3.0 || ^19.0.0",
@@ -59,22 +59,20 @@ function FontPreviewItem({
59
59
  options={weightOptions}
60
60
  value={selectedWeight}
61
61
  onChange={setSelectedWeight}
62
- variant="minimal"
63
62
  />
64
63
  </div>
65
64
  <div className="flex-1 flex justify-start items-start gap-8">
66
- <Slider label="Size" min={12} max={200} value={size} onChange={setSize} variant="minimal" className="flex-1" />
65
+ <Slider label="Size" min={12} max={200} value={size} onChange={setSize} className="flex-1" />
67
66
  <Slider
68
67
  label="Leading"
69
68
  min={0}
70
69
  max={50}
71
70
  value={leading}
72
71
  onChange={setLeading}
73
- variant="minimal"
74
72
  className="hidden md:flex flex-1"
75
73
  formatValue={(val) => 90 + val}
76
74
  />
77
- <Slider label="Spacing" min={-50} max={50} value={spacing} onChange={setSpacing} variant="minimal" className="hidden md:flex flex-1" />
75
+ <Slider label="Spacing" min={-50} max={50} value={spacing} onChange={setSpacing} className="hidden md:flex flex-1" />
78
76
  </div>
79
77
  </div>
80
78
 
@@ -159,7 +157,7 @@ const FontPreviewSection = ({
159
157
  onStyleChange={setSelectedStyleVariant}
160
158
  showDropdown={showDropdown}
161
159
  badgeText={badgeText}
162
- icon="foundation"
160
+ icon="book-open"
163
161
  size="sm"
164
162
  selectedWeight={selectedWeight}
165
163
  onWeightChange={setSelectedWeight}
@@ -85,7 +85,7 @@ const GlyphMetricsSection = ({
85
85
  showDropdown={showDropdown || (showAxisDropdown && valueOptions.length > 0)}
86
86
  styleOptions={showDropdown ? italicOptions : valueOptions}
87
87
  badgeText={badgeText}
88
- icon="foundation"
88
+ icon="book-open"
89
89
  size="sm"
90
90
  showWeightDropdown={showAxisDropdown && valueOptions.length > 0}
91
91
  weightOptions={valueOptions}
@@ -114,7 +114,7 @@ const TypefaceStyleSection = ({
114
114
  styleOptions={styleOptions || undefined}
115
115
  showDropdown={showDropdown}
116
116
  badgeText={badgeText}
117
- icon="foundation"
117
+ icon="book-open"
118
118
  size="sm"
119
119
  />
120
120
 
@@ -111,7 +111,6 @@ const TypefaceVariablePreview = ({
111
111
  max={200}
112
112
  value={size}
113
113
  onChange={setSize}
114
- variant="minimal"
115
114
  className="flex-1"
116
115
  />
117
116
  <Slider
@@ -120,7 +119,6 @@ const TypefaceVariablePreview = ({
120
119
  max={50}
121
120
  value={leading}
122
121
  onChange={setLeading}
123
- variant="minimal"
124
122
  className="flex-1"
125
123
  formatValue={(val) => 90 + val}
126
124
  />
@@ -130,7 +128,6 @@ const TypefaceVariablePreview = ({
130
128
  max={50}
131
129
  value={spacing}
132
130
  onChange={setSpacing}
133
- variant="minimal"
134
131
  className="flex-1"
135
132
  />
136
133
  </div>
@@ -107,7 +107,7 @@ const VariableFontSection = ({
107
107
  onStyleChange={setSelectedStyle}
108
108
  showDropdown={showDropdown}
109
109
  badgeText={badgeText}
110
- icon="foundation"
110
+ icon="book-open"
111
111
  size="sm"
112
112
  />
113
113
 
@@ -144,7 +144,6 @@ const VariableFontSection = ({
144
144
  max={maxWeight}
145
145
  value={Math.round(weight)}
146
146
  onChange={handleSliderChange}
147
- variant="minimal"
148
147
  className="w-full"
149
148
  />
150
149
  </div>