Compare commits
17 Commits
06a1695be4
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 94acacbd6c | |||
| 6811dda340 | |||
| bd0e5b0191 | |||
| 23a4175bc6 | |||
| 30a3b32d13 | |||
| 0405565fd1 | |||
| 352ec260fa | |||
| 53b3ee4301 | |||
| 88d56bbd38 | |||
| a40c1d1a7e | |||
| 237abcbd63 | |||
| 4777b1c68e | |||
| 4adc9b9eb6 | |||
| acc9bcb98b | |||
| 33131a8275 | |||
| 131d8376d4 | |||
| 71effe979a |
@@ -0,0 +1,37 @@
|
|||||||
|
name: Deploy Documentation
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-and-deploy:
|
||||||
|
runs-on: host
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Install Node.js requirements for Actions
|
||||||
|
run: |
|
||||||
|
if ! command -v node &> /dev/null; then
|
||||||
|
apk add --no-cache nodejs npm
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 2
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci --legacy-peer-deps
|
||||||
|
|
||||||
|
- name: Build documentation
|
||||||
|
run: npm run build
|
||||||
|
|
||||||
|
- name: Deploy to Apache volume
|
||||||
|
run: |
|
||||||
|
find /var/www/design-system -mindepth 1 -delete
|
||||||
|
|
||||||
|
cp -r dist/. /var/www/design-system/
|
||||||
|
|
||||||
|
chmod -R 755 /var/www/design-system/
|
||||||
@@ -23,7 +23,7 @@ Nova Design System (NDS) is a lightweight, responsive UI component library built
|
|||||||
NDS provides a focused set of reusable Astro components with centralized design tokens, light/dark theming, and a strong focus on consistency and maintainability. The component documentation and showcase are also built with Astro.
|
NDS provides a focused set of reusable Astro components with centralized design tokens, light/dark theming, and a strong focus on consistency and maintainability. The component documentation and showcase are also built with Astro.
|
||||||
|
|
||||||
## Project Status
|
## Project Status
|
||||||
> **ALPHA** — The library is under active development. Current version: `1.01.0`. Component APIs, token naming, and internal architecture may change before a stable release.
|
> **ALPHA** — The library is under active development. Current version: `1.2.1`. Component APIs, token naming, and internal architecture may change before a stable release.
|
||||||
|
|
||||||
## Core Principles
|
## Core Principles
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -1,14 +1,14 @@
|
|||||||
{
|
{
|
||||||
"name": "@unkn0wndo3s/nova-design-system",
|
"name": "@unkn0wndo3s/nova-design-system",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "1.1.1",
|
"version": "1.2.1",
|
||||||
"description": "Nova Design System — Astro component library",
|
"description": "Nova Design System — Astro component library",
|
||||||
"license": "SEE LICENSE IN LICENSE.md",
|
"license": "LICENSE.md",
|
||||||
"author": "Unkn0wn",
|
"author": "Unkn0wn",
|
||||||
"main": "./src/index.ts",
|
"main": "./src/index.ts",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://git.novaprojects.dev/unkn0wn/nova-design-system.git"
|
"url": "https://git.novaprojects.dev/unkn0wn/nova-design-system.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://git.novaprojects.dev/unkn0wn/nova-design-system/issues"
|
"url": "https://git.novaprojects.dev/unkn0wn/nova-design-system/issues"
|
||||||
|
|||||||
@@ -20,9 +20,7 @@ const hasFooter = Astro.slots.has("footer");
|
|||||||
>
|
>
|
||||||
<div class="modal__head">
|
<div class="modal__head">
|
||||||
<span class="modal__title">{title}</span>
|
<span class="modal__title">{title}</span>
|
||||||
<button class="modal__close" data-modal-close aria-label="Close">
|
<XIcon data-modal-close class="modal__close" size={18} aria-label="Close"/>
|
||||||
<XIcon size={18} />
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="modal__body"><slot /></div>
|
<div class="modal__body"><slot /></div>
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -82,13 +82,13 @@ const spacingScale = [
|
|||||||
const radiusScale = ["xs", "sm", "md", "lg", "xl", "2xl", "full"];
|
const radiusScale = ["xs", "sm", "md", "lg", "xl", "2xl", "full"];
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title="Nova Design System — Gallery">
|
<Layout title="Nova Design System v1.2.1">
|
||||||
<div class="g-page">
|
<div class="g-page">
|
||||||
<header class="g-topbar">
|
<header class="g-topbar">
|
||||||
<div class="g-brand">
|
<div class="g-brand">
|
||||||
<span class="g-mark"></span>
|
<span class="g-mark"></span>
|
||||||
<span class="g-name">Nova Design System</span>
|
<span class="g-name">Nova Design System</span>
|
||||||
<Badge type="primary" variant="soft">v0.06</Badge>
|
<Badge type="primary" variant="soft">v1.2.1</Badge>
|
||||||
</div>
|
</div>
|
||||||
<Button type="secondary" size="sm" id="theme-btn">Toggle theme</Button>
|
<Button type="secondary" size="sm" id="theme-btn">Toggle theme</Button>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
Reference in New Issue
Block a user