Compare commits

..

2 Commits

Author SHA1 Message Date
unkn0wn 6811dda340 fix: update version to 1.2.1 in package.json and related components
Deploy Documentation / check-and-deploy (push) Successful in 11s
Publish to npm / check-and-publish (push) Successful in 19s
2026-06-24 09:21:40 +02:00
unkn0wn bd0e5b0191 fix: refactor modal close button to use icon directly and remove unnecessary button element 2026-06-24 09:20:43 +02:00
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@unkn0wndo3s/nova-design-system",
"type": "module",
"version": "1.2.0",
"version": "1.2.1",
"description": "Nova Design System — Astro component library",
"license": "LICENSE.md",
"author": "Unkn0wn",
+1 -3
View File
@@ -20,9 +20,7 @@ const hasFooter = Astro.slots.has("footer");
>
<div class="modal__head">
<span class="modal__title">{title}</span>
<button class="modal__close" data-modal-close aria-label="Close">
<XIcon size={18} />
</button>
<XIcon data-modal-close class="modal__close" size={18} aria-label="Close"/>
</div>
<div class="modal__body"><slot /></div>
{
+2 -2
View File
@@ -82,13 +82,13 @@ const spacingScale = [
const radiusScale = ["xs", "sm", "md", "lg", "xl", "2xl", "full"];
---
<Layout title="Nova Design System v1.2.0">
<Layout title="Nova Design System v1.2.1">
<div class="g-page">
<header class="g-topbar">
<div class="g-brand">
<span class="g-mark"></span>
<span class="g-name">Nova Design System</span>
<Badge type="primary" variant="soft">v1.2.0</Badge>
<Badge type="primary" variant="soft">v1.2.1</Badge>
</div>
<Button type="secondary" size="sm" id="theme-btn">Toggle theme</Button>
</header>