@kolkrabbi/kol-component 0.77.0 → 0.77.1
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.77.
|
|
3
|
+
"version": "0.77.1",
|
|
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",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { MenuItem as MenuTrigger } from './MenuItem.jsx'
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
+
* @deprecated 2026-07-02 — alias of MenuItem (menu-family unify). Drops when nobody imports it (04-retirements.md).
|
|
4
5
|
* MenuPopover — DEPRECATED alias of MenuItem (2026-07-02 menu-family
|
|
5
6
|
* unification).
|
|
6
7
|
*
|
|
@@ -961,8 +961,9 @@ export default function MediaLibrary({
|
|
|
961
961
|
return withProvider(<BrowserShell onSelect={onSelect} />, opts)
|
|
962
962
|
}
|
|
963
963
|
|
|
964
|
-
/**
|
|
965
|
-
* fxr editor's `onPick` naming keep working
|
|
964
|
+
/** @deprecated 2026-08-01 — alias of `MediaLibrary variant="modal"`. Kept so
|
|
965
|
+
* existing call sites and the fxr editor's `onPick` naming keep working;
|
|
966
|
+
* drops when nobody imports it (04-retirements.md). */
|
|
966
967
|
export function MediaPicker({ open, client, accept = 'all', onClose, onPick }) {
|
|
967
968
|
return (
|
|
968
969
|
<MediaLibrary
|
|
@@ -976,8 +977,8 @@ export function MediaPicker({ open, client, accept = 'all', onClose, onPick }) {
|
|
|
976
977
|
)
|
|
977
978
|
}
|
|
978
979
|
|
|
979
|
-
/**
|
|
980
|
-
*
|
|
980
|
+
/** @deprecated 2026-08-01 — alias of `MediaLibrary variant="page"`. Drops when
|
|
981
|
+
* nobody imports it (04-retirements.md). */
|
|
981
982
|
export function MediaBrowser({ client, accept = 'all', onSelect = null, ...rest }) {
|
|
982
983
|
return <MediaLibrary variant="page" client={client} accept={accept} onSelect={onSelect} {...rest} />
|
|
983
984
|
}
|