@qhealth-design-system/core

中文文档
1.24.6发布于 2026/11/02MITCommonJS

This is the 'Vanilla' version of the Queensland Government Design System, built and maintained by Queensland Health's Digital Experience Team.

原始使用文档
文档目录8 节
  1. Inclusions
  2. Technical overview
  3. Documentation
  4. Development Getting started
  5. Requirements
  6. GitHub Actions
  7. Accessibility
  8. Communication

Queensland Government Design System - Vanilla

This is the 'Vanilla' version of the Queensland Government Design System, built and maintained by Queensland Health's Digital Experience Team.

This codebase is designed around the principle of reduce reliance on 3rd party libraries and framework lock in. We will continue to reduce this reliance over time.

For more information on the Queensland Government Design System and other codebases, please visit - Queensland Government Design System.

Inclusions

  • Public NPM release package:
    • https://www.npmjs.com/package/@qhealth-design-system/core
  • Figma

Technical overview

  • Webpack – Bundling, transpilation, and asset optimisation
  • Sass + PostCSS – CSS preprocessing and automatic prefixing
  • HandlebarsJS – Component and HTML templating
  • Storybook – Component development, testing, and documentation
  • Hot Module Reloading (HMR) – Live HTML/JS/CSS updates during development
  • Figma – Design, prototyping, and collaboration
  • NPM – Package management and build automation

Documentation

Development Getting started

Requirements

  • Node: v20.19.1
  • NPM: 10.8.2

Download repo

git clone https://github.com/Qld-Health-Online-Team/design-system.git
cd design-system

Install dependencies

npm install

Build the Design System CSS, JS, Components and templates

npm run build

Build Storybook for Component development

npm run build-storybook
npm run storybook

Lint

npm run lint

Unit tests

npm run test

GitHub Actions

  • NPM package publishing and release management
  • Automated Semantic versioning for patch, minor, and major releases
  • Automated CI/CD validation for pull requests
  • Automated GitHub io static documentation for Storybook build and deployment workflows
  • Chromatic visual regression testing on master and release branches

You can use any IDE of your choice. Our development team uses Visual Studio Code (VS Code) with the following recommended extensions:

Accessibility

This repository is tested against the Web Content Accessibility Guidelines (WCAG) 2.2 Level A and AA to help ensure a high standard of accessibility. We follow the Queensland Government's digital accessibility requirements to support equitable access to information, services, and opportunities.

Communication

If you have a suggestion for improvement or find an issue, please raise an issue in this repository.

版本与发布记录

@qhealth-design-system/core 共发布 164 个版本,首次发布于 2022/12/08;过去 12 个月发布了 24 个版本。

版本发布日期距今
1.24.6latest2026/11/021 天前
1.24.52026/09/291 个月前
1.24.42026/09/291 个月前
1.24.32026/09/081 个月前
1.24.22026/09/022 个月前
1.24.12026/08/252 个月前

关于 @qhealth-design-system/core 的常见问题

@qhealth-design-system/core 是什么?

这是昆士兰州政府设计系统的“香草”版本,由昆士兰州卫生部的数字体验团队建立和维护。

如何安装 @qhealth-design-system/core?

在项目目录运行 npm install @qhealth-design-system/core,或使用 pnpm add / yarn add / bun add。

@qhealth-design-system/core 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/qhealth-design-system__core 是否存在。

@qhealth-design-system/core 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@qhealth-design-system/core 可以商用吗?

@qhealth-design-system/core 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@qhealth-design-system/core 还在维护吗?

最新版本 1.24.6 发布于 2026/11/02(1 天前);至今共发布 164 个版本,其中过去 12 个月发布了 24 个;首次发布于 2022/12/08。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。