@kolkrabbi/kol-component 0.28.0 → 0.29.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-component",
3
- "version": "0.28.0",
3
+ "version": "0.29.0",
4
4
  "description": "KOL design-system components — atoms through organisms, emitting canonical kol-* classes. Pairs with @kolkrabbi/kol-theme for styling.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -168,7 +168,9 @@ export default function FieldRow({
168
168
  ) : empty
169
169
  } else if (type === 'file') {
170
170
  control = value ? (
171
- <Tag variant="secondary" size="sm" hash={false} onRemove={onChange ? () => onChange(null) : undefined}>
171
+ /* kol-tag--data: a filename renders VERBATIM the chip uppercase is
172
+ * for label strings, and transforming data misquotes it (2026-08-09). */
173
+ <Tag variant="secondary" size="sm" hash={false} className="kol-tag--data" onRemove={onChange ? () => onChange(null) : undefined}>
172
174
  {value.name ?? value}
173
175
  </Tag>
174
176
  ) : empty
@@ -184,16 +184,16 @@ export default function RecordManager({
184
184
  render: (row) => {
185
185
  const i = rows.indexOf(row)
186
186
  return (
187
- {/* REST-VISIBLE (2026-08-09 — "Im looking for this handle"): the
188
- * reference draws the grip dim at rest; hover-only hid the whole
189
- * reorder affordance. */}
187
+ /* REST-VISIBLE (2026-08-09 — "Im looking for this handle"): the
188
+ * reference draws the grip dim at rest; hover-only hid the whole
189
+ * reorder affordance. */
190
190
  <button
191
191
  type="button"
192
192
  aria-label={reorderLabel(i + 1)}
193
193
  className="cursor-grab touch-none bg-transparent border-0 p-0 text-meta hover:text-emphasis"
194
194
  onPointerDown={(e) => startDrag(e, i)}
195
195
  >
196
- <Icon name="resize-grip" size={14} />
196
+ <Icon name="drag-handle" size={14} />
197
197
  </button>
198
198
  )
199
199
  },
@@ -235,15 +235,18 @@ export default function RecordManager({
235
235
  {hasToolbar && (
236
236
  <div className="flex items-center gap-1 pb-3">
237
237
  {onAdd && <Button variant="nav" size="md" iconOnly="plus" iconSize={14} onClick={onAdd} aria-label="Add" />}
238
- {onSortToggle && <Button variant="nav" size="md" iconOnly="swap" iconSize={14} onClick={onSortToggle} aria-label="Sort" />}
239
- {onFilterToggle && <Button variant="nav" size="md" iconOnly="filter" iconSize={14} onClick={onFilterToggle} aria-label="Filter" />}
238
+ {/* the reference cluster (user screenshots 2026-08-09): ↑↓ pair,
239
+ * lines, and search as an ICON that expands into the field
240
+ * (SearchInput's expanding mode) — not an always-open input. */}
241
+ {onSortToggle && <Button variant="nav" size="md" iconOnly="arrows-vertical" iconSize={14} onClick={onSortToggle} aria-label="Sort" />}
242
+ {onFilterToggle && <Button variant="nav" size="md" iconOnly="filter-lines" iconSize={14} onClick={onFilterToggle} aria-label="Filter" />}
240
243
  {onQueryChange && (
241
244
  <SearchInput
245
+ expanding
242
246
  value={query ?? ''}
243
247
  onChange={(e) => onQueryChange(e?.target ? e.target.value : e)}
244
248
  placeholder={searchPlaceholder}
245
249
  size="sm"
246
- className="ml-2"
247
250
  />
248
251
  )}
249
252
  {/* trailing overflow — the reference toolbar's far-right … (surface