@kolkrabbi/kol-component 0.111.0 → 0.112.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.111.0",
3
+ "version": "0.112.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",
package/src/index.js CHANGED
@@ -137,7 +137,7 @@ export { default as LoaderOverlay } from './utilities/LoaderOverlay.jsx'
137
137
  export { default as MediaLibrary, MediaLibraryProvider, useMediaLibrary, MediaPicker, MediaBrowser } from './organisms/MediaLibrary.jsx'
138
138
  export { default as MediaTileGallery } from './organisms/MediaTileGallery.jsx'
139
139
  export { default as MediaViewer } from './organisms/MediaViewer.jsx'
140
- export { default as SettingsPanel, SettingsSection, SettingsRow, SettingsSwitch, SettingsChoice, SettingsMulti, SettingsChipRow, SettingsFooter } from './organisms/SettingsPanel.jsx'
140
+ export { default as SettingsPanel, LabeledControlSection, SettingsRow, SettingsSwitch, SettingsChoice, SettingsMulti, SettingsChipRow, SettingsFooter } from './organisms/SettingsPanel.jsx'
141
141
  export { default as SectionNewsletter } from './organisms/SectionNewsletter.jsx'
142
142
  export { default as NewsletterBand } from './organisms/NewsletterBand.jsx'
143
143
  export { default as ColumnBrowser } from './organisms/ColumnBrowser.jsx'
@@ -130,11 +130,15 @@ export function SettingsSwitch({ on = false, onChange, disabled = false, disable
130
130
  )
131
131
  }
132
132
 
133
- /** SettingsSection — a section of the panel (SettingsPanelApproved, 2026-08-27):
134
- * the EYEBROW (`kol-eyebrow text-fg-80`) standing apart from the rows (gap-3),
135
- * the rows in their own stack — `rowGap` 1 for switch rows (24 tall already),
136
- * 2 for dropdown rows. `divided` = a hairline above (between sections). */
137
- export function SettingsSection({ label, divided = false, rowGap = 2, children, className = '' }) {
133
+ /** LabeledControlSection — a section of LabeledControls: the EYEBROW
134
+ * (`kol-eyebrow text-fg-80`) standing apart from the rows (gap-3), the rows in
135
+ * their own stack — `rowGap` 1 for switch rows (24 tall already), 2 for
136
+ * dropdown rows. `divided` = a hairline above (between sections).
137
+ * Was `SettingsSection` until 2026-08-27 (LabeledControlSection, kol-r2b2
138
+ * user ruling: it named the place it was first used, not what it is; kol-fxr
139
+ * took it for a params rail the same day). RENAMED, NO ALIAS — the render is
140
+ * the 0.104.0 locked composition, untouched. */
141
+ export function LabeledControlSection({ label, divided = false, rowGap = 2, children, className = '' }) {
138
142
  return (
139
143
  <div className={`flex flex-col gap-3 ${divided ? 'kol-section--divided' : ''} ${className}`.replace(/\s+/g, ' ').trim()}>
140
144
  {label && <p className="kol-eyebrow text-fg-80">{label}</p>}