@kolkrabbi/kol-component 0.333.0 → 0.333.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-component",
3
- "version": "0.333.0",
3
+ "version": "0.333.2",
4
4
  "description": "The core component library",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -9,6 +9,9 @@
9
9
  "exports": {
10
10
  ".": "./src/index.js",
11
11
  "./atoms/RotaryDial": "./src/molecules/Knob.jsx",
12
+ "./molecules/Rail": "./src/organisms/Rail.jsx",
13
+ "./molecules/ShellDrawer": "./src/organisms/ShellDrawer.jsx",
14
+ "./utilities/ButtonGroup": "./src/molecules/ButtonGroup.jsx",
12
15
  "./atoms/*": "./src/atoms/*.jsx",
13
16
  "./molecules/*": "./src/molecules/*.jsx",
14
17
  "./organisms/*": "./src/organisms/*.jsx",
@@ -67,9 +67,10 @@ const Button = ({
67
67
  }) => {
68
68
  /* `variant="bare"` (MetricRebuild, 2026-10-31): a pressable SURFACE — a stat tile, a bar row, a column head — that
69
69
  * draws itself. No kol-btn chrome (ground, size, type, radius); the button keeps its type, the KOL focus ring
70
- * (`kol-menu-btn`, as MenuItem's rows) and `disabled`. For a control that looks like a button, use any other variant. */
70
+ * (`kol-menu-btn`, as MenuItem's rows) and `disabled`;
71
+ * `kol-menu-btn--bare` keeps it out of the touch rung, so its type holds on every pointer. For a control that looks like a button, use any other variant. */
71
72
  if (variant === 'bare') {
72
- return <button type={type} onClick={onClick} disabled={disabled} className={`kol-menu-btn ${className}`.trim()} style={style} {...props}>{children}</button>
73
+ return <button type={type} onClick={onClick} disabled={disabled} className={`kol-menu-btn kol-menu-btn--bare ${className}`.trim()} style={style} {...props}>{children}</button>
73
74
  }
74
75
  // Two ladders, split on whether a label sits beside the glyph. An icon-only
75
76
  // button is a solo glyph in a pinned square, so it takes SOLO (16/20/24) —
package/src/index.js CHANGED
@@ -105,7 +105,7 @@ export { pathD, pathBounds, shiftNode, normalizePath, scalePathNodes, normalizeP
105
105
 
106
106
  // molecules
107
107
  export { Accordion, AccordionPanel } from './molecules/Accordion.jsx'
108
- export { default as ButtonGroup } from './utilities/ButtonGroup.jsx'
108
+ export { default as ButtonGroup } from './molecules/ButtonGroup.jsx'
109
109
  /* monorepo sets (P6–P10) — molecule members */
110
110
  export { default as AlignmentGrid } from './molecules/AlignmentGrid.jsx'
111
111
  export { default as ImageBlock } from './molecules/ImageBlock.jsx'
@@ -141,9 +141,9 @@ export { default as Combobox } from './molecules/Combobox.jsx'
141
141
  export { default as PaletteHarmonyWheel } from './molecules/PaletteHarmonyWheel.jsx'
142
142
  export { default as PropertyInput } from './molecules/PropertyInput.jsx'
143
143
  export { default as ShapeDropdown } from './molecules/ShapeDropdown.jsx'
144
- export { default as Rail, RAIL_ROLES, useRailKey } from './molecules/Rail.jsx'
144
+ export { default as Rail, RAIL_ROLES, useRailKey } from './organisms/Rail.jsx'
145
145
  /** @deprecated 2026-10-17 — alias of Rail */
146
- export { default as ShellDrawer } from './molecules/ShellDrawer.jsx'
146
+ export { default as ShellDrawer } from './organisms/ShellDrawer.jsx'
147
147
  export { default as CommandOverlay } from './organisms/CommandOverlay.jsx'
148
148
  /** @deprecated 2026-10-17 — alias of CommandOverlay */
149
149
  export { default as ShellSearchOverlay } from './organisms/ShellSearchOverlay.jsx'
@@ -5,7 +5,7 @@ import Button from '../atoms/Button.jsx'
5
5
  import SearchInput from '../molecules/SearchInput.jsx'
6
6
  import ToggleCheckbox from '../atoms/ToggleCheckbox.jsx'
7
7
  import IconFrame from '../atoms/IconFrame.jsx'
8
- import Rail from '../molecules/Rail.jsx'
8
+ import Rail from './Rail.jsx'
9
9
  import FieldRow, { StatusChip } from '../molecules/FieldRow.jsx'
10
10
  import { Tooltip } from '../utilities/Popover.jsx'
11
11
  import Table from './Table.jsx'
@@ -5,7 +5,7 @@ import Divider from '../atoms/Divider.jsx'
5
5
  import IconFrame from '../atoms/IconFrame.jsx'
6
6
  import LabeledControl from '../molecules/LabeledControl.jsx'
7
7
  import ToggleSwitch from '../atoms/ToggleSwitch.jsx'
8
- import Rail from '../molecules/Rail.jsx'
8
+ import Rail from './Rail.jsx'
9
9
  import FullscreenOverlay from '../utilities/FullscreenOverlay.jsx'
10
10
  import { Tooltip } from '../utilities/Popover.jsx'
11
11
  import { RailHeader } from './RailKit.jsx'
File without changes
File without changes
File without changes