Skip to content

Commit cfd33d4

Browse files
authored
Feat/add menubar (#14)
* feat: add menubar component * chore: update cosmos sandbox * chore: bump version to 0.2.1
1 parent 5fab84c commit cfd33d4

28 files changed

Lines changed: 4415 additions & 764 deletions

docs/assets/_virtual_cosmos-imports-zXP31Vjr.js renamed to docs/assets/_virtual_cosmos-imports-BifXDNQm.js

Lines changed: 2436 additions & 568 deletions
Large diffs are not rendered by default.

docs/assets/_virtual_cosmos-imports-DyNRv8Zn.css renamed to docs/assets/_virtual_cosmos-imports-D5kXteyF.css

Lines changed: 257 additions & 176 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./_virtual_cosmos-imports-zXP31Vjr.js","./_virtual_cosmos-imports-DyNRv8Zn.css"])))=>i.map(i=>d[i]);
1+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./_virtual_cosmos-imports-BifXDNQm.js","./_virtual_cosmos-imports-D5kXteyF.css"])))=>i.map(i=>d[i]);
22
function _mergeNamespaces(n, m) {
33
for (var i = 0; i < m.length; i++) {
44
const e = m[i];
@@ -15038,7 +15038,7 @@ function mountDomRenderer({ rendererConfig, moduleWrappers }) {
1503815038
}
1503915039
mount();
1504015040
async function mount() {
15041-
const args = await __vitePreload(() => import("./_virtual_cosmos-imports-zXP31Vjr.js"), true ? __vite__mapDeps([0,1]) : void 0, import.meta.url);
15041+
const args = await __vitePreload(() => import("./_virtual_cosmos-imports-BifXDNQm.js"), true ? __vite__mapDeps([0,1]) : void 0, import.meta.url);
1504215042
mountDomRenderer(args);
1504315043
}
1504415044
export {

docs/cosmos.fixtures.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,16 @@
121121
],
122122
"rendererUrl": "renderer.html?fixtureId=%7B%22path%22%3A%22src%2F__cosmos__%2Ffixtures%2FLabel.fixture.tsx%22%7D&locked=true"
123123
},
124+
{
125+
"filePath": "src/__cosmos__/fixtures/Menubar.fixture.tsx",
126+
"cleanPath": [
127+
"src",
128+
"__cosmos__",
129+
"fixtures",
130+
"Menubar"
131+
],
132+
"rendererUrl": "renderer.html?fixtureId=%7B%22path%22%3A%22src%2F__cosmos__%2Ffixtures%2FMenubar.fixture.tsx%22%7D&locked=true"
133+
},
124134
{
125135
"filePath": "src/__cosmos__/fixtures/Popover.fixture.tsx",
126136
"cleanPath": [

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div id="root"></div>
1414
<script src="playground.bundle.js"></script>
1515
<script>
16-
mountPlayground({"playgroundConfig":{"core":{"projectId":"@nipsys/shadcn-lsd","fixturesDir":"src/__cosmos__/fixtures","fixtureFileSuffix":"fixture","devServerOn":false},"rendererCore":{"fixtures":{"src/__cosmos__/fixtures/Typography.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/ToggleGroup.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Toggle.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Tabs.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Switch.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Sonner.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Sidebar.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Sheet.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Separator.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Select.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/ScrollArea.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Progress.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Popover.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Label.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Input.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Dialog.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Command.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Checkbox.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Card.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/ButtonGroup.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Button.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Badge.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Autocomplete.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/AlertDialog.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Accordion.fixture.tsx":{"type":"single"}},"rendererUrl":"renderer.html"}},"pluginConfigs":[]});
16+
mountPlayground({"playgroundConfig":{"core":{"projectId":"@nipsys/shadcn-lsd","fixturesDir":"src/__cosmos__/fixtures","fixtureFileSuffix":"fixture","devServerOn":false},"rendererCore":{"fixtures":{"src/__cosmos__/fixtures/Typography.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/ToggleGroup.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Toggle.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Tabs.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Switch.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Sonner.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Sidebar.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Sheet.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Separator.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Select.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/ScrollArea.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Progress.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Popover.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Menubar.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Label.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Input.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Dialog.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Command.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Checkbox.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Card.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/ButtonGroup.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Button.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Badge.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Autocomplete.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/AlertDialog.fixture.tsx":{"type":"single"},"src/__cosmos__/fixtures/Accordion.fixture.tsx":{"type":"single"}},"rendererUrl":"renderer.html"}},"pluginConfigs":[]});
1717
</script>
1818
</body>
1919
</html>

docs/renderer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
margin: 2.5rem;
1616
}
1717
</style>
18-
<script type="module" crossorigin src="./assets/index-DeeV_grH.js"></script>
18+
<script type="module" crossorigin src="./assets/index-Ce8BqwaD.js"></script>
1919
</head>
2020
<body>
2121
<div id="root"></div>

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"publishConfig": {
66
"access": "public"
77
},
8-
"version": "0.2.0",
8+
"version": "0.2.1",
99
"type": "module",
1010
"module": "./dist/main.js",
1111
"exports": {
@@ -61,6 +61,7 @@
6161
"cmdk": "^1.1.1",
6262
"lucide-react": "^0.563.0",
6363
"next-themes": "^0.4.6",
64+
"radix-ui": "^1.4.3",
6465
"sonner": "^2.0.7",
6566
"tailwind-merge": "^3.4.0",
6667
"tailwindcss": "^4.1.18",

0 commit comments

Comments
 (0)