@kolkrabbi/kol-component 0.232.0 → 0.234.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.
Files changed (91) hide show
  1. package/package.json +5 -5
  2. package/src/atoms/ActionButton.jsx +1 -1
  3. package/src/atoms/AnimatedTitle.jsx +1 -1
  4. package/src/atoms/AudioPlayer.jsx +1 -1
  5. package/src/atoms/Avatar.jsx +1 -1
  6. package/src/atoms/Badge.jsx +1 -1
  7. package/src/atoms/Figure.jsx +1 -1
  8. package/src/atoms/FileIcon.jsx +1 -1
  9. package/src/atoms/Kbd.jsx +1 -1
  10. package/src/atoms/Pill.jsx +1 -1
  11. package/src/atoms/Tag.jsx +12 -1
  12. package/src/atoms/Textarea.jsx +2 -2
  13. package/src/atoms/ToggleSwitch.jsx +1 -1
  14. package/src/atoms/XYPad.jsx +1 -1
  15. package/src/molecules/AlignmentGrid.jsx +1 -1
  16. package/src/molecules/AudioSheet.jsx +1 -1
  17. package/src/molecules/CodeBlock.jsx +1 -1
  18. package/src/molecules/ColorRamp.jsx +1 -1
  19. package/src/molecules/ContentItem.jsx +1 -1
  20. package/src/molecules/ContentRow.jsx +1 -1
  21. package/src/molecules/CopyButton.jsx +1 -1
  22. package/src/molecules/DocFrontmatter.jsx +1 -1
  23. package/src/molecules/DocPage.jsx +1 -1
  24. package/src/molecules/DocsToc.jsx +1 -1
  25. package/src/molecules/Dropdown.jsx +1 -1
  26. package/src/molecules/DropdownTagFilter.jsx +1 -0
  27. package/src/molecules/EmptyState.jsx +1 -1
  28. package/src/molecules/FieldRow.jsx +1 -2
  29. package/src/molecules/ImageBlock.jsx +1 -1
  30. package/src/molecules/KindPreview.jsx +1 -1
  31. package/src/molecules/MediaTile.jsx +2 -2
  32. package/src/molecules/MenuPopover.jsx +1 -1
  33. package/src/molecules/OptionRow.jsx +29 -20
  34. package/src/molecules/PageHeader.jsx +1 -1
  35. package/src/molecules/PlaybackBar.jsx +1 -1
  36. package/src/molecules/ProfileCard.jsx +1 -1
  37. package/src/molecules/QuantityInput.jsx +1 -1
  38. package/src/molecules/QuickLookFrame.jsx +1 -1
  39. package/src/molecules/RowMenuButton.jsx +1 -1
  40. package/src/molecules/SectionText.jsx +1 -1
  41. package/src/molecules/ShapeDropdown.jsx +1 -1
  42. package/src/molecules/ShellDrawer.jsx +1 -1
  43. package/src/molecules/SortControls.jsx +1 -1
  44. package/src/molecules/SpecList.jsx +1 -1
  45. package/src/molecules/SplitToolButton.jsx +2 -2
  46. package/src/molecules/Stepper.jsx +1 -1
  47. package/src/molecules/SwatchControls.jsx +2 -2
  48. package/src/molecules/TabsRow.jsx +1 -1
  49. package/src/molecules/TiltBento.jsx +1 -1
  50. package/src/molecules/VideoBlock.jsx +1 -1
  51. package/src/molecules/VideoSheet.jsx +1 -1
  52. package/src/organisms/Canvas.jsx +3 -3
  53. package/src/organisms/ColumnBrowser.jsx +14 -8
  54. package/src/organisms/ContentCollection.jsx +1 -1
  55. package/src/organisms/CurveEditor.jsx +1 -1
  56. package/src/organisms/DocumentEditor.jsx +1 -1
  57. package/src/organisms/FeaturedCarousel.jsx +1 -1
  58. package/src/organisms/FramedMediaBand.jsx +1 -1
  59. package/src/organisms/GalleryCarousel.jsx +1 -1
  60. package/src/organisms/KeyframeEditor.jsx +1 -1
  61. package/src/organisms/LayerStack.jsx +2 -2
  62. package/src/organisms/MediaLibrary.jsx +2 -2
  63. package/src/organisms/MediaLibraryExplorer.jsx +1 -1
  64. package/src/organisms/MediaLibraryPages.jsx +16 -14
  65. package/src/organisms/MediaTileGallery.jsx +1 -1
  66. package/src/organisms/RecordManager.jsx +1 -1
  67. package/src/organisms/SectionCards.jsx +1 -1
  68. package/src/organisms/SectionCta.jsx +1 -1
  69. package/src/organisms/SectionFaq.jsx +1 -1
  70. package/src/organisms/SectionHero.jsx +1 -1
  71. package/src/organisms/SectionNewsletter.jsx +1 -1
  72. package/src/organisms/SectionSplit.jsx +1 -1
  73. package/src/organisms/SettingsPanel.jsx +8 -8
  74. package/src/organisms/ShellSearchOverlay.jsx +1 -1
  75. package/src/organisms/ShortcutsOverlay.jsx +1 -1
  76. package/src/organisms/SpectrumControls.jsx +4 -4
  77. package/src/organisms/SpectrumGrid.jsx +1 -1
  78. package/src/organisms/ToolPalette.jsx +1 -1
  79. package/src/utilities/AsciiCursor.jsx +1 -1
  80. package/src/utilities/AssetGrid.jsx +1 -1
  81. package/src/utilities/ButtonGroup.jsx +1 -1
  82. package/src/utilities/CropOverlay.jsx +1 -1
  83. package/src/utilities/CurveOverlay.jsx +1 -1
  84. package/src/utilities/ErrorBoundary.jsx +1 -1
  85. package/src/utilities/ExitPreview.jsx +1 -1
  86. package/src/utilities/FullscreenOverlay.jsx +1 -1
  87. package/src/utilities/OverlayGlassPanel.jsx +1 -1
  88. package/src/utilities/Popover.jsx +1 -1
  89. package/src/utilities/ProsePreview.jsx +1 -1
  90. package/src/utilities/TiltCard.jsx +1 -1
  91. package/src/utilities/TransparentX.jsx +1 -1
@@ -495,7 +495,7 @@ function AsciiCursorOverlay({ hideCursor }) {
495
495
  }
496
496
 
497
497
  /**
498
- * AsciiCursor — full-viewport decorative overlay that shadows the pointer
498
+ * AsciiCursor — An ASCII crosshair that follows the pointer. full-viewport decorative overlay that shadows the pointer
499
499
  * with an ASCII crosshair (diamond variant over interactive elements) and
500
500
  * layers ambient effects on top of the page: drifting cursor stars,
501
501
  * click-triggered ASCII fireworks, and a right-click Space Invader that
@@ -1,5 +1,5 @@
1
1
  /**
2
- * AssetGrid — thin responsive N-column grid for tiling asset figures
2
+ * AssetGrid — A responsive grid for asset figures. thin responsive N-column grid for tiling asset figures
3
3
  * (swatches, placeholders, spec cards). Fixed 2/3/4-column layout that
4
4
  * collapses to 2 columns under the md breakpoint and to 1 column under
5
5
  * 480px, all via Tailwind responsive utilities — no CSS of its own.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * ButtonGroup — responsive layout wrapper for a group of Buttons: stacked
2
+ * ButtonGroup — Lay out a group of buttons. responsive layout wrapper for a group of Buttons: stacked
3
3
  * full-width on mobile, horizontal row from `sm` up, aligned left / center /
4
4
  * right. Pure layout — children compose at the call site and render as-is
5
5
  * (nothing is cloned, no props injected); all button behavior lives on each
@@ -2,7 +2,7 @@ import { useContext, useEffect, useState } from 'react'
2
2
  import { CanvasZoomContext } from '../hooks/canvasZoom.js'
3
3
 
4
4
  /**
5
- * CropOverlay — crop-mode chrome for a photo layer with an explicit crop
5
+ * CropOverlay — Crop handles over a photo layer. crop-mode chrome for a photo layer with an explicit crop
6
6
  * window ({imgX,imgY,imgW,imgH} — the image's draw rect in frame-local px).
7
7
  *
8
8
  * • drag inside the frame → pan the image within the frame (clamped)
@@ -81,7 +81,7 @@ function Handle({ cx, cy, role }) {
81
81
  }
82
82
 
83
83
  /**
84
- * CurveOverlay — SVG easing/curve visualizer laid absolutely over a frame:
84
+ * CurveOverlay — An easing curve drawn over a frame. SVG easing/curve visualizer laid absolutely over a frame:
85
85
  * a dashed accent curve with endpoint dots, and — in `curve="custom"`
86
86
  * mode — a two-handle cubic-bezier editor (Figma/After-Effects style)
87
87
  * with tangent lines back to the anchored endpoints.
@@ -2,7 +2,7 @@ import { Component } from 'react'
2
2
  import Button from '../atoms/Button.jsx'
3
3
 
4
4
  /**
5
- * ErrorBoundary — class error boundary (boundaries can't be hooks). Catches
5
+ * ErrorBoundary — Catches a crash and shows a fallback. class error boundary (boundaries can't be hooks). Catches
6
6
  * render errors in its subtree and swaps in a centered full-screen fallback
7
7
  * ("Something went wrong") with two recovery actions: retry in place and go
8
8
  * home. A dev-only error/stack panel renders on Vite dev builds
@@ -1,5 +1,5 @@
1
1
  /**
2
- * ExitPreview — the escape hatch out of a preview surface, worn as a fixed
2
+ * ExitPreview — A pill to leave a preview. the escape hatch out of a preview surface, worn as a fixed
3
3
  * pill. Router-AGNOSTIC by the same seam kol-shell uses for navigation: it
4
4
  * renders a plain `<a>` unless the consumer hands it its router's link.
5
5
  *
@@ -3,7 +3,7 @@ import { pushLayer, popLayer, isTopLayer } from './layerStack.js'
3
3
  import CloseButton from '../atoms/CloseButton.jsx'
4
4
 
5
5
  /**
6
- * FullscreenOverlay — the scrim + centred sheet every overlay in the repo
6
+ * FullscreenOverlay — The scrim and sheet every overlay wears. the scrim + centred sheet every overlay in the repo
7
7
  * wears. Owns dismissal (Escape, backdrop, close button), scroll lock and
8
8
  * stacking; the consumer supplies the panel.
9
9
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * OverlayGlassPanel — the KOL frosted-glass content card that floats over
2
+ * OverlayGlassPanel — A frosted panel over media. the KOL frosted-glass content card that floats over
3
3
  * hero/carousel media: translucent surface-primary (color-mix) + a 1px
4
4
  * backdrop blur, children stacked vertically. Extracted from 4 identical
5
5
  * inline copies in the monorepo (StudioHero, StudioAboutCard,
@@ -240,7 +240,7 @@ function TooltipOn({
240
240
  }
241
241
 
242
242
  /**
243
- * PopoverPanel — renders the floater into a portal with default panel chrome.
243
+ * PopoverPanel — A floating panel in a portal. renders the floater into a portal with default panel chrome.
244
244
  *
245
245
  * Props:
246
246
  * popover — the value returned from `usePopover`
@@ -1,5 +1,5 @@
1
1
  /**
2
- * ProsePreview — a full rich-text specimen: one `.kol-prose` block exercising
2
+ * ProsePreview — Every long-form prose element in one view. a full rich-text specimen: one `.kol-prose` block exercising
3
3
  * every long-form element — H1–H4 ladder, section lede, body paragraph,
4
4
  * blockquote, indented passage, code block, pullout, and unordered/ordered
5
5
  * lists — so the KOL prose stylesheet can be reviewed end-to-end in one view.
@@ -4,7 +4,7 @@ import usePrefersReducedMotion from '../hooks/usePrefersReducedMotion.js'
4
4
  import useCoarsePointer from '../hooks/useCoarsePointer.js'
5
5
 
6
6
  /**
7
- * TiltCard — self-contained image card with a spring-based 3D tilt that
7
+ * TiltCard — An image card that tilts toward the pointer. self-contained image card with a spring-based 3D tilt that
8
8
  * follows the pointer (via the shared useTilt hook). On coarse-pointer
9
9
  * devices or when the user prefers reduced motion it renders a plain,
10
10
  * tilt-free card — no springs, no listeners.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * TransparentX — diagonal stroke indicator for transparent / disabled / unused
2
+ * TransparentX — A slash marking an empty slot. diagonal stroke indicator for transparent / disabled / unused
3
3
  * slots. Universal "no value" affordance.
4
4
  *
5
5
  * Renders absolute-positioned to fill its parent. Parent must be `position: