@medialane/ui 0.407.0 → 0.409.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/dist/components/alert.d.cts +1 -1
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/badge.d.cts +1 -1
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/button.d.cts +1 -1
- package/dist/components/button.d.ts +1 -1
- package/dist/components/drop/create/drop-panel.cjs +1 -1
- package/dist/components/drop/create/drop-panel.cjs.map +1 -1
- package/dist/components/drop/create/drop-panel.js +1 -1
- package/dist/components/drop/create/drop-panel.js.map +1 -1
- package/dist/components/icon-tile.cjs +4 -4
- package/dist/components/icon-tile.cjs.map +1 -1
- package/dist/components/icon-tile.d.cts +3 -3
- package/dist/components/icon-tile.d.ts +3 -3
- package/dist/components/icon-tile.js +4 -4
- package/dist/components/icon-tile.js.map +1 -1
- package/dist/components/nav-command-dialog.cjs +15 -3
- package/dist/components/nav-command-dialog.cjs.map +1 -1
- package/dist/components/nav-command-dialog.js +15 -3
- package/dist/components/nav-command-dialog.js.map +1 -1
- package/dist/components/nav-command-menu.cjs.map +1 -1
- package/dist/components/nav-command-menu.d.cts +4 -1
- package/dist/components/nav-command-menu.d.ts +4 -1
- package/dist/components/nav-command-menu.js.map +1 -1
- package/dist/data/nav-commands.cjs +53 -1
- package/dist/data/nav-commands.cjs.map +1 -1
- package/dist/data/nav-commands.d.cts +4 -2
- package/dist/data/nav-commands.d.ts +4 -2
- package/dist/data/nav-commands.js +52 -1
- package/dist/data/nav-commands.js.map +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -12,8 +12,11 @@ interface NavCommand {
|
|
|
12
12
|
action?: () => void;
|
|
13
13
|
keywords?: string[];
|
|
14
14
|
}
|
|
15
|
+
type NavGroupTone = "blue" | "muted" | "orange" | "maeve";
|
|
15
16
|
interface NavCommandGroup {
|
|
16
17
|
heading?: string;
|
|
18
|
+
/** Icon tile color for the section. Blue tiles with white icons by default. */
|
|
19
|
+
tone?: NavGroupTone;
|
|
17
20
|
items: NavCommand[];
|
|
18
21
|
}
|
|
19
22
|
interface NavCommandMenuProps {
|
|
@@ -31,4 +34,4 @@ declare function useNavCommandMenu(): {
|
|
|
31
34
|
};
|
|
32
35
|
declare function NavCommandMenu({ trigger, ...props }: NavCommandMenuProps): react_jsx_runtime.JSX.Element;
|
|
33
36
|
|
|
34
|
-
export { type NavCommand, type NavCommandGroup, NavCommandMenu, type NavCommandMenuProps, useNavCommandMenu };
|
|
37
|
+
export { type NavCommand, type NavCommandGroup, NavCommandMenu, type NavCommandMenuProps, type NavGroupTone, useNavCommandMenu };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/nav-command-menu.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { lazyPanel } from \"./lazy-panel.js\";\n\nconst NavCommandDialog = lazyPanel(() => import(\"./nav-command-dialog.js\"));\n\nexport interface NavCommand {\n id: string;\n label: string;\n icon: React.ComponentType<{ className?: string }>;\n iconSrc?: string;\n href?: string;\n action?: () => void;\n\n keywords?: string[];\n}\n\nexport interface NavCommandGroup {\n\n heading?: string;\n items: NavCommand[];\n}\n\nexport interface NavCommandMenuProps {\n commands: NavCommandGroup[];\n\n trigger?: React.ReactNode;\n\n accountSlot?: React.ReactNode;\n\n footerSlot?: React.ReactNode;\n\n showKeyboardHints?: boolean;\n\n brandSlot?: React.ReactNode;\n\n search?: boolean;\n}\n\nconst ML_NAV_OPEN = \"ml:nav-open\";\nconst ML_NAV_CLOSE = \"ml:nav-close\";\n\nexport function useNavCommandMenu() {\n return {\n open: () => document.dispatchEvent(new CustomEvent(ML_NAV_OPEN)),\n close: () => document.dispatchEvent(new CustomEvent(ML_NAV_CLOSE)),\n };\n}\n\nexport function NavCommandMenu({ trigger, ...props }: NavCommandMenuProps) {\n const [open, setOpen] = React.useState(false);\n const close = React.useCallback(() => setOpen(false), []);\n\n React.useEffect(() => {\n const onKey = (e: KeyboardEvent) => {\n if (e.key === \"k\" && (e.metaKey || e.ctrlKey)) {\n e.preventDefault();\n setOpen((prev) => !prev);\n }\n if (e.key === \"Escape\") setOpen(false);\n };\n const onOpen = () => setOpen(true);\n const onClose = () => setOpen(false);\n\n document.addEventListener(\"keydown\", onKey);\n document.addEventListener(ML_NAV_OPEN, onOpen);\n document.addEventListener(ML_NAV_CLOSE, onClose);\n return () => {\n document.removeEventListener(\"keydown\", onKey);\n document.removeEventListener(ML_NAV_OPEN, onOpen);\n document.removeEventListener(ML_NAV_CLOSE, onClose);\n };\n }, []);\n\n return (\n <>\n {trigger}\n <NavCommandDialog {...props} open={open} close={close} />\n </>\n );\n}\n"],"mappings":";
|
|
1
|
+
{"version":3,"sources":["../../src/components/nav-command-menu.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { lazyPanel } from \"./lazy-panel.js\";\n\nconst NavCommandDialog = lazyPanel(() => import(\"./nav-command-dialog.js\"));\n\nexport interface NavCommand {\n id: string;\n label: string;\n icon: React.ComponentType<{ className?: string }>;\n iconSrc?: string;\n href?: string;\n action?: () => void;\n\n keywords?: string[];\n}\n\nexport type NavGroupTone = \"blue\" | \"muted\" | \"orange\" | \"maeve\";\n\nexport interface NavCommandGroup {\n\n heading?: string;\n /** Icon tile color for the section. Blue tiles with white icons by default. */\n tone?: NavGroupTone;\n items: NavCommand[];\n}\n\nexport interface NavCommandMenuProps {\n commands: NavCommandGroup[];\n\n trigger?: React.ReactNode;\n\n accountSlot?: React.ReactNode;\n\n footerSlot?: React.ReactNode;\n\n showKeyboardHints?: boolean;\n\n brandSlot?: React.ReactNode;\n\n search?: boolean;\n}\n\nconst ML_NAV_OPEN = \"ml:nav-open\";\nconst ML_NAV_CLOSE = \"ml:nav-close\";\n\nexport function useNavCommandMenu() {\n return {\n open: () => document.dispatchEvent(new CustomEvent(ML_NAV_OPEN)),\n close: () => document.dispatchEvent(new CustomEvent(ML_NAV_CLOSE)),\n };\n}\n\nexport function NavCommandMenu({ trigger, ...props }: NavCommandMenuProps) {\n const [open, setOpen] = React.useState(false);\n const close = React.useCallback(() => setOpen(false), []);\n\n React.useEffect(() => {\n const onKey = (e: KeyboardEvent) => {\n if (e.key === \"k\" && (e.metaKey || e.ctrlKey)) {\n e.preventDefault();\n setOpen((prev) => !prev);\n }\n if (e.key === \"Escape\") setOpen(false);\n };\n const onOpen = () => setOpen(true);\n const onClose = () => setOpen(false);\n\n document.addEventListener(\"keydown\", onKey);\n document.addEventListener(ML_NAV_OPEN, onOpen);\n document.addEventListener(ML_NAV_CLOSE, onClose);\n return () => {\n document.removeEventListener(\"keydown\", onKey);\n document.removeEventListener(ML_NAV_OPEN, onOpen);\n document.removeEventListener(ML_NAV_CLOSE, onClose);\n };\n }, []);\n\n return (\n <>\n {trigger}\n <NavCommandDialog {...props} open={open} close={close} />\n </>\n );\n}\n"],"mappings":";AAgFI,mBAEE,KAFF;AA9EJ,YAAY,WAAW;AACvB,SAAS,iBAAiB;AAE1B,MAAM,mBAAmB,UAAU,MAAM,OAAO,yBAAyB,CAAC;AAuC1E,MAAM,cAAe;AACrB,MAAM,eAAe;AAEd,SAAS,oBAAoB;AAClC,SAAO;AAAA,IACL,MAAO,MAAM,SAAS,cAAc,IAAI,YAAY,WAAW,CAAC;AAAA,IAChE,OAAO,MAAM,SAAS,cAAc,IAAI,YAAY,YAAY,CAAC;AAAA,EACnE;AACF;AAEO,SAAS,eAAe,EAAE,SAAS,GAAG,MAAM,GAAwB;AACzE,QAAM,CAAC,MAAM,OAAO,IAAI,MAAM,SAAS,KAAK;AAC5C,QAAM,QAAQ,MAAM,YAAY,MAAM,QAAQ,KAAK,GAAG,CAAC,CAAC;AAExD,QAAM,UAAU,MAAM;AACpB,UAAM,QAAQ,CAAC,MAAqB;AAClC,UAAI,EAAE,QAAQ,QAAQ,EAAE,WAAW,EAAE,UAAU;AAC7C,UAAE,eAAe;AACjB,gBAAQ,CAAC,SAAS,CAAC,IAAI;AAAA,MACzB;AACA,UAAI,EAAE,QAAQ,SAAU,SAAQ,KAAK;AAAA,IACvC;AACA,UAAM,SAAU,MAAM,QAAQ,IAAI;AAClC,UAAM,UAAU,MAAM,QAAQ,KAAK;AAEnC,aAAS,iBAAiB,WAAW,KAAK;AAC1C,aAAS,iBAAiB,aAAa,MAAM;AAC7C,aAAS,iBAAiB,cAAc,OAAO;AAC/C,WAAO,MAAM;AACX,eAAS,oBAAoB,WAAW,KAAK;AAC7C,eAAS,oBAAoB,aAAa,MAAM;AAChD,eAAS,oBAAoB,cAAc,OAAO;AAAA,IACpD;AAAA,EACF,GAAG,CAAC,CAAC;AAEL,SACE,iCACG;AAAA;AAAA,IACD,oBAAC,oBAAkB,GAAG,OAAO,MAAY,OAAc;AAAA,KACzD;AAEJ;","names":[]}
|
|
@@ -18,6 +18,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var nav_commands_exports = {};
|
|
20
20
|
__export(nav_commands_exports, {
|
|
21
|
+
NAV_COMMANDS: () => NAV_COMMANDS,
|
|
21
22
|
NAV_ITEMS: () => NAV_ITEMS,
|
|
22
23
|
navGroups: () => navGroups
|
|
23
24
|
});
|
|
@@ -65,13 +66,64 @@ const NAV_ITEMS = {
|
|
|
65
66
|
"docs-privacy": { id: "docs-privacy", label: (0, import_translate.msg)("Privacy Policy"), icon: import_lucide_react.ShieldCheck, action: () => window.open("https://docs.medialane.io/guidelines/privacy", "_blank"), keywords: ["privacy", "data", "gdpr"] }
|
|
66
67
|
};
|
|
67
68
|
function navGroups(groups) {
|
|
68
|
-
return groups.map(({ heading, items }) => ({
|
|
69
|
+
return groups.map(({ heading, tone, items }) => ({
|
|
69
70
|
heading,
|
|
71
|
+
tone,
|
|
70
72
|
items: items.map((item) => typeof item === "string" ? NAV_ITEMS[item] : item)
|
|
71
73
|
}));
|
|
72
74
|
}
|
|
75
|
+
const NAV_COMMANDS = navGroups([
|
|
76
|
+
{ items: ["home", "discover", "marketplace", "launchpad", "portfolio"] },
|
|
77
|
+
{
|
|
78
|
+
heading: (0, import_translate.msg)("Navigate"),
|
|
79
|
+
tone: "muted",
|
|
80
|
+
items: [
|
|
81
|
+
"collections",
|
|
82
|
+
"coins",
|
|
83
|
+
"rewards",
|
|
84
|
+
"airdrop",
|
|
85
|
+
"audio",
|
|
86
|
+
"art",
|
|
87
|
+
"video",
|
|
88
|
+
"photography",
|
|
89
|
+
"publications",
|
|
90
|
+
"nft"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
heading: (0, import_translate.msg)("Launchpad"),
|
|
95
|
+
tone: "orange",
|
|
96
|
+
items: [
|
|
97
|
+
"mint-ip-asset",
|
|
98
|
+
"mint-editions",
|
|
99
|
+
"remix",
|
|
100
|
+
"create-collection",
|
|
101
|
+
"create-1155",
|
|
102
|
+
"nft-drop",
|
|
103
|
+
"launch-coin",
|
|
104
|
+
"pop-create",
|
|
105
|
+
"tickets-create",
|
|
106
|
+
"club-create",
|
|
107
|
+
"sponsorship-create"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
heading: (0, import_translate.msg)("Account"),
|
|
112
|
+
tone: "maeve",
|
|
113
|
+
items: [
|
|
114
|
+
"portfolio-assets",
|
|
115
|
+
"portfolio-listings",
|
|
116
|
+
"portfolio-offers",
|
|
117
|
+
"portfolio-collections",
|
|
118
|
+
"portfolio-activity",
|
|
119
|
+
"settings"
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
{ heading: (0, import_translate.msg)("Documentation"), items: ["docs", "docs-terms", "docs-privacy"] }
|
|
123
|
+
]);
|
|
73
124
|
// Annotate the CommonJS export names for ESM import in node:
|
|
74
125
|
0 && (module.exports = {
|
|
126
|
+
NAV_COMMANDS,
|
|
75
127
|
NAV_ITEMS,
|
|
76
128
|
navGroups
|
|
77
129
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/data/nav-commands.ts"],"sourcesContent":["import {\n Activity, BookOpen, Briefcase, Camera, Coins, FileText, Film, Gem, Gift, Handshake, Home, Layers, LayoutGrid, List, Music, Package, Palette, Plus, Repeat2, ScrollText, Settings, ShieldCheck, Store, Tag, Telescope, Ticket, Trophy, Users, Zap,\n} from \"lucide-react\";\nimport type { NavCommand, NavCommandGroup } from \"../components/nav-command-menu.js\";\nimport { msg } from \"../i18n/translate.js\";\n\nexport const NAV_ITEMS = {\n home: { id: \"home\", label: msg(\"Medialane\"), icon: Home, iconSrc: \"/icon.png\", href: \"/\", keywords: [\"home\", \"frontpage\", \"start\", \"homepage\", \"main\"] },\n discover: { id: \"discover\", label: msg(\"Discover\"), icon: Telescope, href: \"/discover\", keywords: [\"feed\", \"explore\", \"trending\"] },\n marketplace: { id: \"marketplace\", label: msg(\"Marketplace\"), icon: Store, href: \"/marketplace\", keywords: [\"buy\", \"sell\", \"trade\", \"listings\", \"browse\"] },\n launchpad: { id: \"launchpad\", label: msg(\"Launchpad\"), icon: Zap, href: \"/launchpad\", keywords: [\"start\", \"launch\", \"creator\", \"mint\", \"create\"] },\n portfolio: { id: \"portfolio\", label: msg(\"Portfolio\"), icon: Briefcase, href: \"/portfolio\", keywords: [\"owned\", \"my nfts\", \"wallet\", \"account\"] },\n collections: { id: \"collections\", label: msg(\"Collections\"), icon: LayoutGrid, href: \"/collections\", keywords: [\"nft\", \"drops\", \"browse\"] },\n coins: { id: \"coins\", label: msg(\"Coins\"), icon: Coins, href: \"/coins\", keywords: [\"token\", \"creator coin\", \"memecoin\", \"discover\", \"trade\", \"swap\"] },\n accounts: { id: \"accounts\", label: msg(\"Accounts\"), icon: Users, href: \"/accounts\", keywords: [\"creators\", \"artists\", \"addresses\", \"community\"] },\n activities: { id: \"activities\", label: msg(\"Activity\"), icon: Activity, href: \"/activities\", keywords: [\"history\", \"transactions\", \"feed\", \"events\"] },\n rewards: { id: \"rewards\", label: msg(\"Rewards\"), icon: Trophy, href: \"/rewards\", keywords: [\"xp\", \"points\", \"scoreboard\", \"leaderboard\", \"badges\", \"rank\"] },\n airdrop: { id: \"airdrop\", label: msg(\"Airdrop\"), icon: Gift, href: \"/airdrop\", keywords: [\"claim\", \"free\", \"drop\", \"genesis\", \"creator's fund\"] },\n settings: { id: \"settings\", label: msg(\"Account settings\"), icon: Settings, href: \"/settings\", keywords: [\"profile\", \"username\", \"preferences\", \"account\"] },\n \"mint-ip-asset\": { id: \"mint-ip-asset\", label: msg(\"Single NFT\"), icon: Plus, href: \"/launchpad/single-editions\", keywords: [\"mint\", \"upload\", \"publish\", \"token\", \"erc721\", \"singular\", \"unique\", \"original\"] },\n \"mint-editions\": { id: \"mint-editions\", label: msg(\"Limited Edition NFT\"), icon: Layers, href: \"/launchpad/nfteditions\", keywords: [\"mint\", \"edition\", \"erc1155\", \"multi\", \"copies\", \"limited\"] },\n remix: { id: \"remix\", label: msg(\"NFT Remix\"), icon: Repeat2, href: \"/launchpad/remix\", keywords: [\"remix\", \"derivative\", \"attribution\", \"fork\"] },\n \"create-collection\": { id: \"create-collection\", label: msg(\"NFT Collection\"), icon: LayoutGrid, href: \"/launchpad/single-editions/collection\", keywords: [\"deploy\", \"series\", \"erc721\", \"collection\", \"branded\"] },\n \"create-1155\": { id: \"create-1155\", label: msg(\"Limited Edition NFT Collection\"), icon: Layers, href: \"/launchpad/nfteditions/create\", keywords: [\"deploy\", \"erc1155\", \"edition\", \"contract\", \"limited\", \"multi-edition\"] },\n \"nft-drop\": { id: \"nft-drop\", label: msg(\"NFT Drop\"), icon: Package, href: \"/launchpad/drop\", keywords: [\"drop\", \"release\", \"sale\", \"allowlist\", \"launch\"] },\n \"launch-coin\": { id: \"launch-coin\", label: msg(\"Coin\"), icon: Coins, href: \"/launchpad/coin/create\", keywords: [\"coin\", \"creator coin\", \"erc20\", \"token\", \"ekubo\", \"liquidity\", \"launch\"] },\n \"pop-create\": { id: \"pop-create\", label: msg(\"POP Protocol\"), icon: Ticket, href: \"/launchpad/pop\", keywords: [\"pop\", \"proof of participation\", \"event\", \"community\", \"soulbound\"] },\n \"tickets-create\": { id: \"tickets-create\", label: msg(\"IP Tickets\"), icon: Ticket, href: \"/launchpad/tickets\", keywords: [\"tickets\", \"event\", \"verifiable\", \"attendee\", \"pass\"] },\n \"club-create\": { id: \"club-create\", label: msg(\"IP Club\"), icon: Users, href: \"/launchpad/club\", keywords: [\"club\", \"membership\", \"tiers\", \"community\", \"fans\"] },\n \"sponsorship-create\": { id: \"sponsorship-create\", label: msg(\"IP Sponsorship\"), icon: Handshake, href: \"/launchpad/sponsorship\", keywords: [\"sponsorship\", \"sponsor\", \"license\", \"offer\", \"deal\"] },\n \"portfolio-collections\": { id: \"portfolio-collections\",label: msg(\"My collections\"), icon: LayoutGrid, href: \"/portfolio/collections\", keywords: [\"deployed\", \"created\", \"my contracts\", \"claim\", \"import\"] },\n \"portfolio-assets\": { id: \"portfolio-assets\", label: msg(\"My assets\"), icon: Gem, href: \"/portfolio/assets\", keywords: [\"owned\", \"nfts\", \"tokens\", \"collected\"] },\n \"portfolio-listings\": { id: \"portfolio-listings\", label: msg(\"My listings\"), icon: Tag, href: \"/portfolio/listings\", keywords: [\"sell\", \"listed\", \"active listings\"] },\n \"portfolio-offers\": { id: \"portfolio-offers\", label: msg(\"My offers\"), icon: List, href: \"/portfolio/offers\", keywords: [\"bids\", \"made\", \"sent offers\"] },\n \"portfolio-received\": { id: \"portfolio-received\", label: msg(\"Received offers\"), icon: ScrollText, href: \"/portfolio/received\", keywords: [\"incoming\", \"bids\", \"offers received\"] },\n \"portfolio-activity\": { id: \"portfolio-activity\", label: msg(\"My activity\"), icon: Activity, href: \"/portfolio/activity\", keywords: [\"history\", \"transactions\", \"events\"] },\n audio: { id: \"audio\", label: msg(\"Audio\"), icon: Music, href: \"/audio\", keywords: [\"music\", \"sound\", \"track\", \"podcast\"] },\n art: { id: \"art\", label: msg(\"Art\"), icon: Palette, href: \"/art\", keywords: [\"illustration\", \"drawing\", \"painting\", \"digital art\"] },\n video: { id: \"video\", label: msg(\"Video\"), icon: Film, href: \"/video\", keywords: [\"film\", \"clip\", \"animation\", \"short\"] },\n photography: { id: \"photography\", label: msg(\"Photography\"), icon: Camera, href: \"/photography\", keywords: [\"photo\", \"image\", \"picture\", \"shot\"] },\n publications: { id: \"publications\", label: msg(\"Publications\"), icon: BookOpen, href: \"/publications\", keywords: [\"article\", \"articles\", \"blog\", \"news\", \"writing\", \"book\", \"journal\"] },\n nft: { id: \"nft\", label: msg(\"NFT\"), icon: Gem, href: \"/nft\", keywords: [\"collectible\", \"token\", \"generative\"] },\n docs: { id: \"docs\", label: msg(\"Documentation\"), icon: BookOpen, action: () => window.open(\"https://docs.medialane.io\", \"_blank\"), keywords: [\"docs\", \"help\", \"guide\", \"documentation\"] },\n \"docs-terms\": { id: \"docs-terms\", label: msg(\"Terms of Service\"), icon: FileText, action: () => window.open(\"https://docs.medialane.io/guidelines/terms\", \"_blank\"), keywords: [\"legal\", \"terms\", \"tos\"] },\n \"docs-privacy\": { id: \"docs-privacy\", label: msg(\"Privacy Policy\"), icon: ShieldCheck, action: () => window.open(\"https://docs.medialane.io/guidelines/privacy\", \"_blank\"), keywords: [\"privacy\", \"data\", \"gdpr\"] },\n} satisfies Record<string, NavCommand>;\n\nexport type NavItemId = keyof typeof NAV_ITEMS;\n\nexport interface NavGroupSpec {\n heading?: string;\n items: (NavItemId | NavCommand)[];\n}\n\nexport function navGroups(groups: NavGroupSpec[]): NavCommandGroup[] {\n return groups.map(({ heading, items }) => ({\n heading,\n items: items.map((item) => (typeof item === \"string\" ? NAV_ITEMS[item] : item)),\n }));\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAEO;AAEP,uB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AQ,WAAO,sBAAI,eAAe,GAAG,MAAM,8BAAU,QAAQ,MAAM,OAAO,KAAK,6BAA6B,QAAQ,GAAG,UAAU,CAAC,QAAQ,QAAQ,SAAS,eAAe,EAAE;AAAA,EACxL,cAAc,EAAE,IAAI,cAAc,WAAO,sBAAI,kBAAkB,GAAG,MAAM,8BAAU,QAAQ,MAAM,OAAO,KAAK,8CAA8C,QAAQ,GAAG,UAAU,CAAC,SAAS,SAAS,KAAK,EAAE;AAAA,EACzM,gBAAgB,EAAE,IAAI,gBAAgB,WAAO,sBAAI,gBAAgB,GAAG,MAAM,iCAAa,QAAQ,MAAM,OAAO,KAAK,gDAAgD,QAAQ,GAAG,UAAU,CAAC,WAAW,QAAQ,MAAM,EAAE;AACpN;AASO,SAAS,UAAU,QAA2C;AACnE,SAAO,OAAO,IAAI,CAAC,EAAE,SAAS,MAAM,OAAO;AAAA,IACzC;AAAA,IACA,OAAO,MAAM,IAAI,CAAC,SAAU,OAAO,SAAS,WAAW,UAAU,IAAI,IAAI,IAAK;AAAA,EAChF,EAAE;AACJ;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/data/nav-commands.ts"],"sourcesContent":["import {\n Activity, BookOpen, Briefcase, Camera, Coins, FileText, Film, Gem, Gift, Handshake, Home, Layers, LayoutGrid, List, Music, Package, Palette, Plus, Repeat2, ScrollText, Settings, ShieldCheck, Store, Tag, Telescope, Ticket, Trophy, Users, Zap,\n} from \"lucide-react\";\nimport type { NavCommand, NavCommandGroup, NavGroupTone } from \"../components/nav-command-menu.js\";\nimport { msg } from \"../i18n/translate.js\";\n\nexport const NAV_ITEMS = {\n home: { id: \"home\", label: msg(\"Medialane\"), icon: Home, iconSrc: \"/icon.png\", href: \"/\", keywords: [\"home\", \"frontpage\", \"start\", \"homepage\", \"main\"] },\n discover: { id: \"discover\", label: msg(\"Discover\"), icon: Telescope, href: \"/discover\", keywords: [\"feed\", \"explore\", \"trending\"] },\n marketplace: { id: \"marketplace\", label: msg(\"Marketplace\"), icon: Store, href: \"/marketplace\", keywords: [\"buy\", \"sell\", \"trade\", \"listings\", \"browse\"] },\n launchpad: { id: \"launchpad\", label: msg(\"Launchpad\"), icon: Zap, href: \"/launchpad\", keywords: [\"start\", \"launch\", \"creator\", \"mint\", \"create\"] },\n portfolio: { id: \"portfolio\", label: msg(\"Portfolio\"), icon: Briefcase, href: \"/portfolio\", keywords: [\"owned\", \"my nfts\", \"wallet\", \"account\"] },\n collections: { id: \"collections\", label: msg(\"Collections\"), icon: LayoutGrid, href: \"/collections\", keywords: [\"nft\", \"drops\", \"browse\"] },\n coins: { id: \"coins\", label: msg(\"Coins\"), icon: Coins, href: \"/coins\", keywords: [\"token\", \"creator coin\", \"memecoin\", \"discover\", \"trade\", \"swap\"] },\n accounts: { id: \"accounts\", label: msg(\"Accounts\"), icon: Users, href: \"/accounts\", keywords: [\"creators\", \"artists\", \"addresses\", \"community\"] },\n activities: { id: \"activities\", label: msg(\"Activity\"), icon: Activity, href: \"/activities\", keywords: [\"history\", \"transactions\", \"feed\", \"events\"] },\n rewards: { id: \"rewards\", label: msg(\"Rewards\"), icon: Trophy, href: \"/rewards\", keywords: [\"xp\", \"points\", \"scoreboard\", \"leaderboard\", \"badges\", \"rank\"] },\n airdrop: { id: \"airdrop\", label: msg(\"Airdrop\"), icon: Gift, href: \"/airdrop\", keywords: [\"claim\", \"free\", \"drop\", \"genesis\", \"creator's fund\"] },\n settings: { id: \"settings\", label: msg(\"Account settings\"), icon: Settings, href: \"/settings\", keywords: [\"profile\", \"username\", \"preferences\", \"account\"] },\n \"mint-ip-asset\": { id: \"mint-ip-asset\", label: msg(\"Single NFT\"), icon: Plus, href: \"/launchpad/single-editions\", keywords: [\"mint\", \"upload\", \"publish\", \"token\", \"erc721\", \"singular\", \"unique\", \"original\"] },\n \"mint-editions\": { id: \"mint-editions\", label: msg(\"Limited Edition NFT\"), icon: Layers, href: \"/launchpad/nfteditions\", keywords: [\"mint\", \"edition\", \"erc1155\", \"multi\", \"copies\", \"limited\"] },\n remix: { id: \"remix\", label: msg(\"NFT Remix\"), icon: Repeat2, href: \"/launchpad/remix\", keywords: [\"remix\", \"derivative\", \"attribution\", \"fork\"] },\n \"create-collection\": { id: \"create-collection\", label: msg(\"NFT Collection\"), icon: LayoutGrid, href: \"/launchpad/single-editions/collection\", keywords: [\"deploy\", \"series\", \"erc721\", \"collection\", \"branded\"] },\n \"create-1155\": { id: \"create-1155\", label: msg(\"Limited Edition NFT Collection\"), icon: Layers, href: \"/launchpad/nfteditions/create\", keywords: [\"deploy\", \"erc1155\", \"edition\", \"contract\", \"limited\", \"multi-edition\"] },\n \"nft-drop\": { id: \"nft-drop\", label: msg(\"NFT Drop\"), icon: Package, href: \"/launchpad/drop\", keywords: [\"drop\", \"release\", \"sale\", \"allowlist\", \"launch\"] },\n \"launch-coin\": { id: \"launch-coin\", label: msg(\"Coin\"), icon: Coins, href: \"/launchpad/coin/create\", keywords: [\"coin\", \"creator coin\", \"erc20\", \"token\", \"ekubo\", \"liquidity\", \"launch\"] },\n \"pop-create\": { id: \"pop-create\", label: msg(\"POP Protocol\"), icon: Ticket, href: \"/launchpad/pop\", keywords: [\"pop\", \"proof of participation\", \"event\", \"community\", \"soulbound\"] },\n \"tickets-create\": { id: \"tickets-create\", label: msg(\"IP Tickets\"), icon: Ticket, href: \"/launchpad/tickets\", keywords: [\"tickets\", \"event\", \"verifiable\", \"attendee\", \"pass\"] },\n \"club-create\": { id: \"club-create\", label: msg(\"IP Club\"), icon: Users, href: \"/launchpad/club\", keywords: [\"club\", \"membership\", \"tiers\", \"community\", \"fans\"] },\n \"sponsorship-create\": { id: \"sponsorship-create\", label: msg(\"IP Sponsorship\"), icon: Handshake, href: \"/launchpad/sponsorship\", keywords: [\"sponsorship\", \"sponsor\", \"license\", \"offer\", \"deal\"] },\n \"portfolio-collections\": { id: \"portfolio-collections\",label: msg(\"My collections\"), icon: LayoutGrid, href: \"/portfolio/collections\", keywords: [\"deployed\", \"created\", \"my contracts\", \"claim\", \"import\"] },\n \"portfolio-assets\": { id: \"portfolio-assets\", label: msg(\"My assets\"), icon: Gem, href: \"/portfolio/assets\", keywords: [\"owned\", \"nfts\", \"tokens\", \"collected\"] },\n \"portfolio-listings\": { id: \"portfolio-listings\", label: msg(\"My listings\"), icon: Tag, href: \"/portfolio/listings\", keywords: [\"sell\", \"listed\", \"active listings\"] },\n \"portfolio-offers\": { id: \"portfolio-offers\", label: msg(\"My offers\"), icon: List, href: \"/portfolio/offers\", keywords: [\"bids\", \"made\", \"sent offers\"] },\n \"portfolio-received\": { id: \"portfolio-received\", label: msg(\"Received offers\"), icon: ScrollText, href: \"/portfolio/received\", keywords: [\"incoming\", \"bids\", \"offers received\"] },\n \"portfolio-activity\": { id: \"portfolio-activity\", label: msg(\"My activity\"), icon: Activity, href: \"/portfolio/activity\", keywords: [\"history\", \"transactions\", \"events\"] },\n audio: { id: \"audio\", label: msg(\"Audio\"), icon: Music, href: \"/audio\", keywords: [\"music\", \"sound\", \"track\", \"podcast\"] },\n art: { id: \"art\", label: msg(\"Art\"), icon: Palette, href: \"/art\", keywords: [\"illustration\", \"drawing\", \"painting\", \"digital art\"] },\n video: { id: \"video\", label: msg(\"Video\"), icon: Film, href: \"/video\", keywords: [\"film\", \"clip\", \"animation\", \"short\"] },\n photography: { id: \"photography\", label: msg(\"Photography\"), icon: Camera, href: \"/photography\", keywords: [\"photo\", \"image\", \"picture\", \"shot\"] },\n publications: { id: \"publications\", label: msg(\"Publications\"), icon: BookOpen, href: \"/publications\", keywords: [\"article\", \"articles\", \"blog\", \"news\", \"writing\", \"book\", \"journal\"] },\n nft: { id: \"nft\", label: msg(\"NFT\"), icon: Gem, href: \"/nft\", keywords: [\"collectible\", \"token\", \"generative\"] },\n docs: { id: \"docs\", label: msg(\"Documentation\"), icon: BookOpen, action: () => window.open(\"https://docs.medialane.io\", \"_blank\"), keywords: [\"docs\", \"help\", \"guide\", \"documentation\"] },\n \"docs-terms\": { id: \"docs-terms\", label: msg(\"Terms of Service\"), icon: FileText, action: () => window.open(\"https://docs.medialane.io/guidelines/terms\", \"_blank\"), keywords: [\"legal\", \"terms\", \"tos\"] },\n \"docs-privacy\": { id: \"docs-privacy\", label: msg(\"Privacy Policy\"), icon: ShieldCheck, action: () => window.open(\"https://docs.medialane.io/guidelines/privacy\", \"_blank\"), keywords: [\"privacy\", \"data\", \"gdpr\"] },\n} satisfies Record<string, NavCommand>;\n\nexport type NavItemId = keyof typeof NAV_ITEMS;\n\nexport interface NavGroupSpec {\n heading?: string;\n tone?: NavGroupTone;\n items: (NavItemId | NavCommand)[];\n}\n\nexport function navGroups(groups: NavGroupSpec[]): NavCommandGroup[] {\n return groups.map(({ heading, tone, items }) => ({\n heading,\n tone,\n items: items.map((item) => (typeof item === \"string\" ? NAV_ITEMS[item] : item)),\n }));\n}\n\nexport const NAV_COMMANDS: NavCommandGroup[] = navGroups([\n { items: [\"home\", \"discover\", \"marketplace\", \"launchpad\", \"portfolio\"] },\n {\n heading: msg(\"Navigate\"),\n tone: \"muted\",\n items: [\n \"collections\", \"coins\", \"rewards\", \"airdrop\",\n \"audio\", \"art\", \"video\", \"photography\", \"publications\", \"nft\",\n ],\n },\n {\n heading: msg(\"Launchpad\"),\n tone: \"orange\",\n items: [\n \"mint-ip-asset\", \"mint-editions\", \"remix\", \"create-collection\", \"create-1155\", \"nft-drop\",\n \"launch-coin\", \"pop-create\", \"tickets-create\", \"club-create\", \"sponsorship-create\",\n ],\n },\n {\n heading: msg(\"Account\"),\n tone: \"maeve\",\n items: [\n \"portfolio-assets\", \"portfolio-listings\", \"portfolio-offers\", \"portfolio-collections\", \"portfolio-activity\",\n \"settings\",\n ],\n },\n { heading: msg(\"Documentation\"), items: [\"docs\", \"docs-terms\", \"docs-privacy\"] },\n]);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAEO;AAEP,uBAAoB;AAEb,MAAM,YAAY;AAAA,EACvB,MAAM,E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AAA,IACtB,MAAM;AAAA,IACN,OAAO;AAAA,MACL;AAAA,MAAoB;AAAA,MAAsB;AAAA,MAAoB;AAAA,MAAyB;AAAA,MACvF;AAAA,IACF;AAAA,EACF;AAAA,EACA,EAAE,aAAS,sBAAI,eAAe,GAAG,OAAO,CAAC,QAAQ,cAAc,cAAc,EAAE;AACjF,CAAC;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as lucide_react from 'lucide-react';
|
|
3
|
-
import {
|
|
3
|
+
import { NavCommandGroup, NavGroupTone, NavCommand } from '../components/nav-command-menu.cjs';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
declare const NAV_ITEMS: {
|
|
@@ -275,8 +275,10 @@ declare const NAV_ITEMS: {
|
|
|
275
275
|
type NavItemId = keyof typeof NAV_ITEMS;
|
|
276
276
|
interface NavGroupSpec {
|
|
277
277
|
heading?: string;
|
|
278
|
+
tone?: NavGroupTone;
|
|
278
279
|
items: (NavItemId | NavCommand)[];
|
|
279
280
|
}
|
|
280
281
|
declare function navGroups(groups: NavGroupSpec[]): NavCommandGroup[];
|
|
282
|
+
declare const NAV_COMMANDS: NavCommandGroup[];
|
|
281
283
|
|
|
282
|
-
export { NAV_ITEMS, type NavGroupSpec, type NavItemId, navGroups };
|
|
284
|
+
export { NAV_COMMANDS, NAV_ITEMS, type NavGroupSpec, type NavItemId, navGroups };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as lucide_react from 'lucide-react';
|
|
3
|
-
import {
|
|
3
|
+
import { NavCommandGroup, NavGroupTone, NavCommand } from '../components/nav-command-menu.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
declare const NAV_ITEMS: {
|
|
@@ -275,8 +275,10 @@ declare const NAV_ITEMS: {
|
|
|
275
275
|
type NavItemId = keyof typeof NAV_ITEMS;
|
|
276
276
|
interface NavGroupSpec {
|
|
277
277
|
heading?: string;
|
|
278
|
+
tone?: NavGroupTone;
|
|
278
279
|
items: (NavItemId | NavCommand)[];
|
|
279
280
|
}
|
|
280
281
|
declare function navGroups(groups: NavGroupSpec[]): NavCommandGroup[];
|
|
282
|
+
declare const NAV_COMMANDS: NavCommandGroup[];
|
|
281
283
|
|
|
282
|
-
export { NAV_ITEMS, type NavGroupSpec, type NavItemId, navGroups };
|
|
284
|
+
export { NAV_COMMANDS, NAV_ITEMS, type NavGroupSpec, type NavItemId, navGroups };
|
|
@@ -71,12 +71,63 @@ const NAV_ITEMS = {
|
|
|
71
71
|
"docs-privacy": { id: "docs-privacy", label: msg("Privacy Policy"), icon: ShieldCheck, action: () => window.open("https://docs.medialane.io/guidelines/privacy", "_blank"), keywords: ["privacy", "data", "gdpr"] }
|
|
72
72
|
};
|
|
73
73
|
function navGroups(groups) {
|
|
74
|
-
return groups.map(({ heading, items }) => ({
|
|
74
|
+
return groups.map(({ heading, tone, items }) => ({
|
|
75
75
|
heading,
|
|
76
|
+
tone,
|
|
76
77
|
items: items.map((item) => typeof item === "string" ? NAV_ITEMS[item] : item)
|
|
77
78
|
}));
|
|
78
79
|
}
|
|
80
|
+
const NAV_COMMANDS = navGroups([
|
|
81
|
+
{ items: ["home", "discover", "marketplace", "launchpad", "portfolio"] },
|
|
82
|
+
{
|
|
83
|
+
heading: msg("Navigate"),
|
|
84
|
+
tone: "muted",
|
|
85
|
+
items: [
|
|
86
|
+
"collections",
|
|
87
|
+
"coins",
|
|
88
|
+
"rewards",
|
|
89
|
+
"airdrop",
|
|
90
|
+
"audio",
|
|
91
|
+
"art",
|
|
92
|
+
"video",
|
|
93
|
+
"photography",
|
|
94
|
+
"publications",
|
|
95
|
+
"nft"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
heading: msg("Launchpad"),
|
|
100
|
+
tone: "orange",
|
|
101
|
+
items: [
|
|
102
|
+
"mint-ip-asset",
|
|
103
|
+
"mint-editions",
|
|
104
|
+
"remix",
|
|
105
|
+
"create-collection",
|
|
106
|
+
"create-1155",
|
|
107
|
+
"nft-drop",
|
|
108
|
+
"launch-coin",
|
|
109
|
+
"pop-create",
|
|
110
|
+
"tickets-create",
|
|
111
|
+
"club-create",
|
|
112
|
+
"sponsorship-create"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
heading: msg("Account"),
|
|
117
|
+
tone: "maeve",
|
|
118
|
+
items: [
|
|
119
|
+
"portfolio-assets",
|
|
120
|
+
"portfolio-listings",
|
|
121
|
+
"portfolio-offers",
|
|
122
|
+
"portfolio-collections",
|
|
123
|
+
"portfolio-activity",
|
|
124
|
+
"settings"
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
{ heading: msg("Documentation"), items: ["docs", "docs-terms", "docs-privacy"] }
|
|
128
|
+
]);
|
|
79
129
|
export {
|
|
130
|
+
NAV_COMMANDS,
|
|
80
131
|
NAV_ITEMS,
|
|
81
132
|
navGroups
|
|
82
133
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/data/nav-commands.ts"],"sourcesContent":["import {\n Activity, BookOpen, Briefcase, Camera, Coins, FileText, Film, Gem, Gift, Handshake, Home, Layers, LayoutGrid, List, Music, Package, Palette, Plus, Repeat2, ScrollText, Settings, ShieldCheck, Store, Tag, Telescope, Ticket, Trophy, Users, Zap,\n} from \"lucide-react\";\nimport type { NavCommand, NavCommandGroup } from \"../components/nav-command-menu.js\";\nimport { msg } from \"../i18n/translate.js\";\n\nexport const NAV_ITEMS = {\n home: { id: \"home\", label: msg(\"Medialane\"), icon: Home, iconSrc: \"/icon.png\", href: \"/\", keywords: [\"home\", \"frontpage\", \"start\", \"homepage\", \"main\"] },\n discover: { id: \"discover\", label: msg(\"Discover\"), icon: Telescope, href: \"/discover\", keywords: [\"feed\", \"explore\", \"trending\"] },\n marketplace: { id: \"marketplace\", label: msg(\"Marketplace\"), icon: Store, href: \"/marketplace\", keywords: [\"buy\", \"sell\", \"trade\", \"listings\", \"browse\"] },\n launchpad: { id: \"launchpad\", label: msg(\"Launchpad\"), icon: Zap, href: \"/launchpad\", keywords: [\"start\", \"launch\", \"creator\", \"mint\", \"create\"] },\n portfolio: { id: \"portfolio\", label: msg(\"Portfolio\"), icon: Briefcase, href: \"/portfolio\", keywords: [\"owned\", \"my nfts\", \"wallet\", \"account\"] },\n collections: { id: \"collections\", label: msg(\"Collections\"), icon: LayoutGrid, href: \"/collections\", keywords: [\"nft\", \"drops\", \"browse\"] },\n coins: { id: \"coins\", label: msg(\"Coins\"), icon: Coins, href: \"/coins\", keywords: [\"token\", \"creator coin\", \"memecoin\", \"discover\", \"trade\", \"swap\"] },\n accounts: { id: \"accounts\", label: msg(\"Accounts\"), icon: Users, href: \"/accounts\", keywords: [\"creators\", \"artists\", \"addresses\", \"community\"] },\n activities: { id: \"activities\", label: msg(\"Activity\"), icon: Activity, href: \"/activities\", keywords: [\"history\", \"transactions\", \"feed\", \"events\"] },\n rewards: { id: \"rewards\", label: msg(\"Rewards\"), icon: Trophy, href: \"/rewards\", keywords: [\"xp\", \"points\", \"scoreboard\", \"leaderboard\", \"badges\", \"rank\"] },\n airdrop: { id: \"airdrop\", label: msg(\"Airdrop\"), icon: Gift, href: \"/airdrop\", keywords: [\"claim\", \"free\", \"drop\", \"genesis\", \"creator's fund\"] },\n settings: { id: \"settings\", label: msg(\"Account settings\"), icon: Settings, href: \"/settings\", keywords: [\"profile\", \"username\", \"preferences\", \"account\"] },\n \"mint-ip-asset\": { id: \"mint-ip-asset\", label: msg(\"Single NFT\"), icon: Plus, href: \"/launchpad/single-editions\", keywords: [\"mint\", \"upload\", \"publish\", \"token\", \"erc721\", \"singular\", \"unique\", \"original\"] },\n \"mint-editions\": { id: \"mint-editions\", label: msg(\"Limited Edition NFT\"), icon: Layers, href: \"/launchpad/nfteditions\", keywords: [\"mint\", \"edition\", \"erc1155\", \"multi\", \"copies\", \"limited\"] },\n remix: { id: \"remix\", label: msg(\"NFT Remix\"), icon: Repeat2, href: \"/launchpad/remix\", keywords: [\"remix\", \"derivative\", \"attribution\", \"fork\"] },\n \"create-collection\": { id: \"create-collection\", label: msg(\"NFT Collection\"), icon: LayoutGrid, href: \"/launchpad/single-editions/collection\", keywords: [\"deploy\", \"series\", \"erc721\", \"collection\", \"branded\"] },\n \"create-1155\": { id: \"create-1155\", label: msg(\"Limited Edition NFT Collection\"), icon: Layers, href: \"/launchpad/nfteditions/create\", keywords: [\"deploy\", \"erc1155\", \"edition\", \"contract\", \"limited\", \"multi-edition\"] },\n \"nft-drop\": { id: \"nft-drop\", label: msg(\"NFT Drop\"), icon: Package, href: \"/launchpad/drop\", keywords: [\"drop\", \"release\", \"sale\", \"allowlist\", \"launch\"] },\n \"launch-coin\": { id: \"launch-coin\", label: msg(\"Coin\"), icon: Coins, href: \"/launchpad/coin/create\", keywords: [\"coin\", \"creator coin\", \"erc20\", \"token\", \"ekubo\", \"liquidity\", \"launch\"] },\n \"pop-create\": { id: \"pop-create\", label: msg(\"POP Protocol\"), icon: Ticket, href: \"/launchpad/pop\", keywords: [\"pop\", \"proof of participation\", \"event\", \"community\", \"soulbound\"] },\n \"tickets-create\": { id: \"tickets-create\", label: msg(\"IP Tickets\"), icon: Ticket, href: \"/launchpad/tickets\", keywords: [\"tickets\", \"event\", \"verifiable\", \"attendee\", \"pass\"] },\n \"club-create\": { id: \"club-create\", label: msg(\"IP Club\"), icon: Users, href: \"/launchpad/club\", keywords: [\"club\", \"membership\", \"tiers\", \"community\", \"fans\"] },\n \"sponsorship-create\": { id: \"sponsorship-create\", label: msg(\"IP Sponsorship\"), icon: Handshake, href: \"/launchpad/sponsorship\", keywords: [\"sponsorship\", \"sponsor\", \"license\", \"offer\", \"deal\"] },\n \"portfolio-collections\": { id: \"portfolio-collections\",label: msg(\"My collections\"), icon: LayoutGrid, href: \"/portfolio/collections\", keywords: [\"deployed\", \"created\", \"my contracts\", \"claim\", \"import\"] },\n \"portfolio-assets\": { id: \"portfolio-assets\", label: msg(\"My assets\"), icon: Gem, href: \"/portfolio/assets\", keywords: [\"owned\", \"nfts\", \"tokens\", \"collected\"] },\n \"portfolio-listings\": { id: \"portfolio-listings\", label: msg(\"My listings\"), icon: Tag, href: \"/portfolio/listings\", keywords: [\"sell\", \"listed\", \"active listings\"] },\n \"portfolio-offers\": { id: \"portfolio-offers\", label: msg(\"My offers\"), icon: List, href: \"/portfolio/offers\", keywords: [\"bids\", \"made\", \"sent offers\"] },\n \"portfolio-received\": { id: \"portfolio-received\", label: msg(\"Received offers\"), icon: ScrollText, href: \"/portfolio/received\", keywords: [\"incoming\", \"bids\", \"offers received\"] },\n \"portfolio-activity\": { id: \"portfolio-activity\", label: msg(\"My activity\"), icon: Activity, href: \"/portfolio/activity\", keywords: [\"history\", \"transactions\", \"events\"] },\n audio: { id: \"audio\", label: msg(\"Audio\"), icon: Music, href: \"/audio\", keywords: [\"music\", \"sound\", \"track\", \"podcast\"] },\n art: { id: \"art\", label: msg(\"Art\"), icon: Palette, href: \"/art\", keywords: [\"illustration\", \"drawing\", \"painting\", \"digital art\"] },\n video: { id: \"video\", label: msg(\"Video\"), icon: Film, href: \"/video\", keywords: [\"film\", \"clip\", \"animation\", \"short\"] },\n photography: { id: \"photography\", label: msg(\"Photography\"), icon: Camera, href: \"/photography\", keywords: [\"photo\", \"image\", \"picture\", \"shot\"] },\n publications: { id: \"publications\", label: msg(\"Publications\"), icon: BookOpen, href: \"/publications\", keywords: [\"article\", \"articles\", \"blog\", \"news\", \"writing\", \"book\", \"journal\"] },\n nft: { id: \"nft\", label: msg(\"NFT\"), icon: Gem, href: \"/nft\", keywords: [\"collectible\", \"token\", \"generative\"] },\n docs: { id: \"docs\", label: msg(\"Documentation\"), icon: BookOpen, action: () => window.open(\"https://docs.medialane.io\", \"_blank\"), keywords: [\"docs\", \"help\", \"guide\", \"documentation\"] },\n \"docs-terms\": { id: \"docs-terms\", label: msg(\"Terms of Service\"), icon: FileText, action: () => window.open(\"https://docs.medialane.io/guidelines/terms\", \"_blank\"), keywords: [\"legal\", \"terms\", \"tos\"] },\n \"docs-privacy\": { id: \"docs-privacy\", label: msg(\"Privacy Policy\"), icon: ShieldCheck, action: () => window.open(\"https://docs.medialane.io/guidelines/privacy\", \"_blank\"), keywords: [\"privacy\", \"data\", \"gdpr\"] },\n} satisfies Record<string, NavCommand>;\n\nexport type NavItemId = keyof typeof NAV_ITEMS;\n\nexport interface NavGroupSpec {\n heading?: string;\n items: (NavItemId | NavCommand)[];\n}\n\nexport function navGroups(groups: NavGroupSpec[]): NavCommandGroup[] {\n return groups.map(({ heading, items }) => ({\n heading,\n items: items.map((item) => (typeof item === \"string\" ? NAV_ITEMS[item] : item)),\n }));\n}\n"],"mappings":"AAAA;AAAA,EACE;AAAA,EAAU;AAAA,EAAU;AAAA,EAAW;AAAA,EAAQ;AAAA,EAAO;AAAA,EAAU;AAAA,EAAM;AAAA,EAAK;AAAA,EAAM;AAAA,EAAW;AAAA,EAAM;AAAA,EAAQ;AAAA,EAAY;AAAA,EAAM;AAAA,EAAO;AAAA,EAAS;AAAA,EAAS;AAAA,EAAM;AAAA,EAAS;AAAA,EAAY;AAAA,EAAU;AAAA,EAAa;AAAA,EAAO;AAAA,EAAK;AAAA,EAAW;AAAA,EAAQ;AAAA,EAAQ;AAAA,EAAO;AAAA,OACxO;AAEP,SAAS,WAAW;AAEb,MAAM,YAAY;AAAA,EACvB,MAAM,EAAE,IAAI,QAAQ,OAAO,IAAI,WAAW,GAAG,MAAM,MAAM,SAAS,aAAa,MAAM,KAAK,UAAU,CAAC,QAAQ,aAAa,SAAS,YAAY,MAAM,EAAE;AAAA,EACvJ,UAAU,EAAE,IAAI,YAAY,OAAO,IAAI,UAAU,GAAG,MAAM,WAAW,MAAM,aAAa,UAAU,CAAC,QAAQ,WAAW,UAAU,EAAE;AAAA,EAClI,aAAa,EAAE,IAAI,eAAe,OAAO,IAAI,aAAa,GAAG,MAAM,OAAO,MA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;AACpN;AASO,SAAS,UAAU,QAA2C;AACnE,SAAO,OAAO,IAAI,CAAC,EAAE,SAAS,MAAM,OAAO;AAAA,IACzC;AAAA,IACA,OAAO,MAAM,IAAI,CAAC,SAAU,OAAO,SAAS,WAAW,UAAU,IAAI,IAAI,IAAK;AAAA,EAChF,EAAE;AACJ;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/data/nav-commands.ts"],"sourcesContent":["import {\n Activity, BookOpen, Briefcase, Camera, Coins, FileText, Film, Gem, Gift, Handshake, Home, Layers, LayoutGrid, List, Music, Package, Palette, Plus, Repeat2, ScrollText, Settings, ShieldCheck, Store, Tag, Telescope, Ticket, Trophy, Users, Zap,\n} from \"lucide-react\";\nimport type { NavCommand, NavCommandGroup, NavGroupTone } from \"../components/nav-command-menu.js\";\nimport { msg } from \"../i18n/translate.js\";\n\nexport const NAV_ITEMS = {\n home: { id: \"home\", label: msg(\"Medialane\"), icon: Home, iconSrc: \"/icon.png\", href: \"/\", keywords: [\"home\", \"frontpage\", \"start\", \"homepage\", \"main\"] },\n discover: { id: \"discover\", label: msg(\"Discover\"), icon: Telescope, href: \"/discover\", keywords: [\"feed\", \"explore\", \"trending\"] },\n marketplace: { id: \"marketplace\", label: msg(\"Marketplace\"), icon: Store, href: \"/marketplace\", keywords: [\"buy\", \"sell\", \"trade\", \"listings\", \"browse\"] },\n launchpad: { id: \"launchpad\", label: msg(\"Launchpad\"), icon: Zap, href: \"/launchpad\", keywords: [\"start\", \"launch\", \"creator\", \"mint\", \"create\"] },\n portfolio: { id: \"portfolio\", label: msg(\"Portfolio\"), icon: Briefcase, href: \"/portfolio\", keywords: [\"owned\", \"my nfts\", \"wallet\", \"account\"] },\n collections: { id: \"collections\", label: msg(\"Collections\"), icon: LayoutGrid, href: \"/collections\", keywords: [\"nft\", \"drops\", \"browse\"] },\n coins: { id: \"coins\", label: msg(\"Coins\"), icon: Coins, href: \"/coins\", keywords: [\"token\", \"creator coin\", \"memecoin\", \"discover\", \"trade\", \"swap\"] },\n accounts: { id: \"accounts\", label: msg(\"Accounts\"), icon: Users, href: \"/accounts\", keywords: [\"creators\", \"artists\", \"addresses\", \"community\"] },\n activities: { id: \"activities\", label: msg(\"Activity\"), icon: Activity, href: \"/activities\", keywords: [\"history\", \"transactions\", \"feed\", \"events\"] },\n rewards: { id: \"rewards\", label: msg(\"Rewards\"), icon: Trophy, href: \"/rewards\", keywords: [\"xp\", \"points\", \"scoreboard\", \"leaderboard\", \"badges\", \"rank\"] },\n airdrop: { id: \"airdrop\", label: msg(\"Airdrop\"), icon: Gift, href: \"/airdrop\", keywords: [\"claim\", \"free\", \"drop\", \"genesis\", \"creator's fund\"] },\n settings: { id: \"settings\", label: msg(\"Account settings\"), icon: Settings, href: \"/settings\", keywords: [\"profile\", \"username\", \"preferences\", \"account\"] },\n \"mint-ip-asset\": { id: \"mint-ip-asset\", label: msg(\"Single NFT\"), icon: Plus, href: \"/launchpad/single-editions\", keywords: [\"mint\", \"upload\", \"publish\", \"token\", \"erc721\", \"singular\", \"unique\", \"original\"] },\n \"mint-editions\": { id: \"mint-editions\", label: msg(\"Limited Edition NFT\"), icon: Layers, href: \"/launchpad/nfteditions\", keywords: [\"mint\", \"edition\", \"erc1155\", \"multi\", \"copies\", \"limited\"] },\n remix: { id: \"remix\", label: msg(\"NFT Remix\"), icon: Repeat2, href: \"/launchpad/remix\", keywords: [\"remix\", \"derivative\", \"attribution\", \"fork\"] },\n \"create-collection\": { id: \"create-collection\", label: msg(\"NFT Collection\"), icon: LayoutGrid, href: \"/launchpad/single-editions/collection\", keywords: [\"deploy\", \"series\", \"erc721\", \"collection\", \"branded\"] },\n \"create-1155\": { id: \"create-1155\", label: msg(\"Limited Edition NFT Collection\"), icon: Layers, href: \"/launchpad/nfteditions/create\", keywords: [\"deploy\", \"erc1155\", \"edition\", \"contract\", \"limited\", \"multi-edition\"] },\n \"nft-drop\": { id: \"nft-drop\", label: msg(\"NFT Drop\"), icon: Package, href: \"/launchpad/drop\", keywords: [\"drop\", \"release\", \"sale\", \"allowlist\", \"launch\"] },\n \"launch-coin\": { id: \"launch-coin\", label: msg(\"Coin\"), icon: Coins, href: \"/launchpad/coin/create\", keywords: [\"coin\", \"creator coin\", \"erc20\", \"token\", \"ekubo\", \"liquidity\", \"launch\"] },\n \"pop-create\": { id: \"pop-create\", label: msg(\"POP Protocol\"), icon: Ticket, href: \"/launchpad/pop\", keywords: [\"pop\", \"proof of participation\", \"event\", \"community\", \"soulbound\"] },\n \"tickets-create\": { id: \"tickets-create\", label: msg(\"IP Tickets\"), icon: Ticket, href: \"/launchpad/tickets\", keywords: [\"tickets\", \"event\", \"verifiable\", \"attendee\", \"pass\"] },\n \"club-create\": { id: \"club-create\", label: msg(\"IP Club\"), icon: Users, href: \"/launchpad/club\", keywords: [\"club\", \"membership\", \"tiers\", \"community\", \"fans\"] },\n \"sponsorship-create\": { id: \"sponsorship-create\", label: msg(\"IP Sponsorship\"), icon: Handshake, href: \"/launchpad/sponsorship\", keywords: [\"sponsorship\", \"sponsor\", \"license\", \"offer\", \"deal\"] },\n \"portfolio-collections\": { id: \"portfolio-collections\",label: msg(\"My collections\"), icon: LayoutGrid, href: \"/portfolio/collections\", keywords: [\"deployed\", \"created\", \"my contracts\", \"claim\", \"import\"] },\n \"portfolio-assets\": { id: \"portfolio-assets\", label: msg(\"My assets\"), icon: Gem, href: \"/portfolio/assets\", keywords: [\"owned\", \"nfts\", \"tokens\", \"collected\"] },\n \"portfolio-listings\": { id: \"portfolio-listings\", label: msg(\"My listings\"), icon: Tag, href: \"/portfolio/listings\", keywords: [\"sell\", \"listed\", \"active listings\"] },\n \"portfolio-offers\": { id: \"portfolio-offers\", label: msg(\"My offers\"), icon: List, href: \"/portfolio/offers\", keywords: [\"bids\", \"made\", \"sent offers\"] },\n \"portfolio-received\": { id: \"portfolio-received\", label: msg(\"Received offers\"), icon: ScrollText, href: \"/portfolio/received\", keywords: [\"incoming\", \"bids\", \"offers received\"] },\n \"portfolio-activity\": { id: \"portfolio-activity\", label: msg(\"My activity\"), icon: Activity, href: \"/portfolio/activity\", keywords: [\"history\", \"transactions\", \"events\"] },\n audio: { id: \"audio\", label: msg(\"Audio\"), icon: Music, href: \"/audio\", keywords: [\"music\", \"sound\", \"track\", \"podcast\"] },\n art: { id: \"art\", label: msg(\"Art\"), icon: Palette, href: \"/art\", keywords: [\"illustration\", \"drawing\", \"painting\", \"digital art\"] },\n video: { id: \"video\", label: msg(\"Video\"), icon: Film, href: \"/video\", keywords: [\"film\", \"clip\", \"animation\", \"short\"] },\n photography: { id: \"photography\", label: msg(\"Photography\"), icon: Camera, href: \"/photography\", keywords: [\"photo\", \"image\", \"picture\", \"shot\"] },\n publications: { id: \"publications\", label: msg(\"Publications\"), icon: BookOpen, href: \"/publications\", keywords: [\"article\", \"articles\", \"blog\", \"news\", \"writing\", \"book\", \"journal\"] },\n nft: { id: \"nft\", label: msg(\"NFT\"), icon: Gem, href: \"/nft\", keywords: [\"collectible\", \"token\", \"generative\"] },\n docs: { id: \"docs\", label: msg(\"Documentation\"), icon: BookOpen, action: () => window.open(\"https://docs.medialane.io\", \"_blank\"), keywords: [\"docs\", \"help\", \"guide\", \"documentation\"] },\n \"docs-terms\": { id: \"docs-terms\", label: msg(\"Terms of Service\"), icon: FileText, action: () => window.open(\"https://docs.medialane.io/guidelines/terms\", \"_blank\"), keywords: [\"legal\", \"terms\", \"tos\"] },\n \"docs-privacy\": { id: \"docs-privacy\", label: msg(\"Privacy Policy\"), icon: ShieldCheck, action: () => window.open(\"https://docs.medialane.io/guidelines/privacy\", \"_blank\"), keywords: [\"privacy\", \"data\", \"gdpr\"] },\n} satisfies Record<string, NavCommand>;\n\nexport type NavItemId = keyof typeof NAV_ITEMS;\n\nexport interface NavGroupSpec {\n heading?: string;\n tone?: NavGroupTone;\n items: (NavItemId | NavCommand)[];\n}\n\nexport function navGroups(groups: NavGroupSpec[]): NavCommandGroup[] {\n return groups.map(({ heading, tone, items }) => ({\n heading,\n tone,\n items: items.map((item) => (typeof item === \"string\" ? NAV_ITEMS[item] : item)),\n }));\n}\n\nexport const NAV_COMMANDS: NavCommandGroup[] = navGroups([\n { items: [\"home\", \"discover\", \"marketplace\", \"launchpad\", \"portfolio\"] },\n {\n heading: msg(\"Navigate\"),\n tone: \"muted\",\n items: [\n \"collections\", \"coins\", \"rewards\", \"airdrop\",\n \"audio\", \"art\", \"video\", \"photography\", \"publications\", \"nft\",\n ],\n },\n {\n heading: msg(\"Launchpad\"),\n tone: \"orange\",\n items: [\n \"mint-ip-asset\", \"mint-editions\", \"remix\", \"create-collection\", \"create-1155\", \"nft-drop\",\n \"launch-coin\", \"pop-create\", \"tickets-create\", \"club-create\", \"sponsorship-create\",\n ],\n },\n {\n heading: msg(\"Account\"),\n tone: \"maeve\",\n items: [\n \"portfolio-assets\", \"portfolio-listings\", \"portfolio-offers\", \"portfolio-collections\", \"portfolio-activity\",\n \"settings\",\n ],\n },\n { heading: msg(\"Documentation\"), items: [\"docs\", \"docs-terms\", \"docs-privacy\"] },\n]);\n"],"mappings":"AAAA;AAAA,EACE;AAAA,EAAU;AAAA,EAAU;AAAA,EAAW;AAAA,EAAQ;AAAA,EAAO;AAAA,EAAU;AAAA,EAAM;AAAA,EAAK;AAAA,EAAM;AAAA,EAAW;AAAA,EAAM;AAAA,EAAQ;AAAA,EAAY;AAAA,EAAM;AAAA,EAAO;AAAA,EAAS;AAAA,EAAS;AAAA,EAAM;AAAA,EAAS;AAAA,EAAY;AAAA,EAAU;AAAA,EAAa;AAAA,EAAO;AAAA,EAAK;AAAA,EAAW;AAAA,EAAQ;AAAA,EAAQ;AAAA,EAAO;AAAA,OACxO;AAEP,SAAS,WAAW;AAEb,MAAM,YAAY;AAAA,EACvB,MAAM,EAAE,IAAI,QAAQ,OAAO,IAAI,WAAW,GAAG,MAAM,MAAM,SAAS,aAAa,MAAM,KAAK,UAAU,CAAC,QAAQ,aAAa,SAAS,YAAY,MAAM,EAAE;AAAA,EACvJ,UAAU,EAAE,IAAI,YA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@ -296,6 +296,7 @@ __export(index_exports, {
|
|
|
296
296
|
MotionCard: () => import_motion_primitives.MotionCard,
|
|
297
297
|
MyDrops: () => import_my_drops.MyDrops,
|
|
298
298
|
MyDropsPage: () => import_my_drops_page.MyDropsPage,
|
|
299
|
+
NAV_COMMANDS: () => import_nav_commands.NAV_COMMANDS,
|
|
299
300
|
NAV_ITEMS: () => import_nav_commands.NAV_ITEMS,
|
|
300
301
|
NETWORK_BUSY: () => import_describe_error.NETWORK_BUSY,
|
|
301
302
|
NOT_SUBMITTED: () => import_describe_error.NOT_SUBMITTED,
|
|
@@ -1279,6 +1280,7 @@ var import_claim_collection_panel = require("./components/claim/claim-collection
|
|
|
1279
1280
|
MotionCard,
|
|
1280
1281
|
MyDrops,
|
|
1281
1282
|
MyDropsPage,
|
|
1283
|
+
NAV_COMMANDS,
|
|
1282
1284
|
NAV_ITEMS,
|
|
1283
1285
|
NETWORK_BUSY,
|
|
1284
1286
|
NOT_SUBMITTED,
|