feat: update README for version 0.05.0 and move Select components imports
This commit is contained in:
@@ -24,7 +24,7 @@ NDS provides a focused set of reusable Astro components with centralized design
|
|||||||
|
|
||||||
## Project Status
|
## Project Status
|
||||||
|
|
||||||
> **ALPHA** — The library is under active development. Current version: `0.03.0`. Component APIs, token naming, and internal architecture may change before a stable release.
|
> **ALPHA** — The library is under active development. Current version: `0.05.0`. Component APIs, token naming, and internal architecture may change before a stable release.
|
||||||
|
|
||||||
## Core Principles
|
## Core Principles
|
||||||
|
|
||||||
@@ -43,12 +43,14 @@ These are the components currently implemented in `src/components/`:
|
|||||||
| `Button` | Actions |
|
| `Button` | Actions |
|
||||||
| `Toggle` | Actions |
|
| `Toggle` | Actions |
|
||||||
| `NumericStepper` | Actions |
|
| `NumericStepper` | Actions |
|
||||||
|
| `Select` / `SelectOption` | Actions |
|
||||||
|
| `Avatar` | Data Display |
|
||||||
| `Tab` / `TabItem` / `TabContent` | Navigation |
|
| `Tab` / `TabItem` / `TabContent` | Navigation |
|
||||||
| `Link` | Layout |
|
| `Link` | Navigation |
|
||||||
| `ListItem` / `ListItemTitle` / `ListItemSubtitle` | Data Display |
|
| `ListItem` / `ListItemTitle` / `ListItemSubtitle` | Data Display |
|
||||||
| `Notification` | Feedback |
|
| `Notification` | Feedback |
|
||||||
| `LoadingBar` | Feedback |
|
| `LoadingBar` | Feedback |
|
||||||
| `Icons` | Utility |
|
| `Icons` — `Arrow2Icon`, `BinIcon`, `BurgerIcon`, `CalendarIcon`, `CheckIcon`, `CloseIcon`, `CodeIcon`, `CubeIcon`, `DownloadIcon`, `FilterIcon`, `HelpIcon`, `HomeIcon`, `LinkIcon`, `MinusIcon`, `MoreIcon`, `OverviewIcon`, `PlusIcon`, `ProfileIcon`, `SearchIcon`, `SettingsIcon`, `ShareIcon`, `ShieldIcon`, `SortIcon`, `StatsIcon`, `UploadIcon` | Utility |
|
||||||
|
|
||||||
> Components such as Navbar, Sidebar, Card, and Modal are planned but not yet implemented.
|
> Components such as Navbar, Sidebar, Card, and Modal are planned but not yet implemented.
|
||||||
|
|
||||||
@@ -131,16 +133,18 @@ npm run preview # Preview the production build
|
|||||||
```
|
```
|
||||||
src/
|
src/
|
||||||
├── components/ # Astro components
|
├── components/ # Astro components
|
||||||
|
│ ├── Avatar/
|
||||||
│ ├── Button/
|
│ ├── Button/
|
||||||
│ ├── Icons/
|
│ ├── Icons/
|
||||||
│ ├── Link/
|
│ ├── Link/
|
||||||
│ ├── ListItem/
|
│ ├── ListItem/
|
||||||
│ ├── LoadingBar/
|
│ ├── LoadingBar/
|
||||||
│ ├── Notifications/
|
│ ├── Notifications/
|
||||||
|
│ ├── Select/
|
||||||
│ ├── Tabs/
|
│ ├── Tabs/
|
||||||
│ ├── Toggle/
|
│ ├── Toggle/
|
||||||
│ ├── numericStepper/
|
│ ├── numericStepper/
|
||||||
│ └── index.ts
|
│ └── index.ts # Auto-generated barrel — do not edit manually
|
||||||
├── layouts/ # Astro layouts
|
├── layouts/ # Astro layouts
|
||||||
├── pages/ # Documentation pages
|
├── pages/ # Documentation pages
|
||||||
├── styles/
|
├── styles/
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ import ListItemSubtitle from '../components/ListItem/listItemSubtitle.astro';
|
|||||||
import LoadingBar from '../components/LoadingBar/loadingBar.astro';
|
import LoadingBar from '../components/LoadingBar/loadingBar.astro';
|
||||||
import NumericStepper from '../components/numericStepper/numericStepper.astro';
|
import NumericStepper from '../components/numericStepper/numericStepper.astro';
|
||||||
import Avatar from '../components/Avatar/avatar.astro';
|
import Avatar from '../components/Avatar/avatar.astro';
|
||||||
|
import Select from '../components/Select/select.astro';
|
||||||
|
import SelectOption from '../components/Select/selectOption.astro';
|
||||||
import {
|
import {
|
||||||
Arrow2Icon, BinIcon, BurgerIcon, CalendarIcon, CheckIcon, CloseIcon,
|
Arrow2Icon, BinIcon, BurgerIcon, CalendarIcon, CheckIcon, CloseIcon,
|
||||||
CodeIcon, CubeIcon, DownloadIcon, FilterIcon, HelpIcon, HomeIcon,
|
CodeIcon, CubeIcon, DownloadIcon, FilterIcon, HelpIcon, HomeIcon,
|
||||||
@@ -20,8 +22,6 @@ import {
|
|||||||
SearchIcon, SettingsIcon, ShareIcon, ShieldIcon, SortIcon, StatsIcon,
|
SearchIcon, SettingsIcon, ShareIcon, ShieldIcon, SortIcon, StatsIcon,
|
||||||
UploadIcon,
|
UploadIcon,
|
||||||
} from '../components/Icons/index.ts';
|
} from '../components/Icons/index.ts';
|
||||||
import Select from '../components/Select/select.astro';
|
|
||||||
import SelectOption from '../components/Select/selectOption.astro';
|
|
||||||
|
|
||||||
const initialChecked = true;
|
const initialChecked = true;
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user