From 02a238bc089a5da3534816fcd0f3ce2c995a7d25 Mon Sep 17 00:00:00 2001 From: qianmoQ Date: Thu, 26 Dec 2024 17:55:28 +0800 Subject: [PATCH] feat(contribution): support year --- CHANGELOG.md | 16 ++ docs/components/view/contribution.md | 23 ++- src/App.vue | 7 +- src/ui/contribution/ShadcnContribution.vue | 166 ++++++++++++++------- src/ui/contribution/types.ts | 2 + 5 files changed, 158 insertions(+), 56 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03b33ada..0bad4cbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,22 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### 2024.5.4 + +#### Core + +- fix: fix ci scope causing publishing failure + +#### Contribution + +- feat: support tooltip +- feat: support showLegend +- feat: support showWeek +- feat: support showMonth +- feat: support cellSize and cellGap +- feat: support year +- feat: support custom cell + ### 2024.5.3 (2024-12-23) #### Core diff --git a/docs/components/view/contribution.md b/docs/components/view/contribution.md index a52c1564..92fefa90 100644 --- a/docs/components/view/contribution.md +++ b/docs/components/view/contribution.md @@ -172,6 +172,26 @@ This document describes the features and usage of the ShadcnContribution compone ::: +## Year + +::: raw + + + + + +::: + +::: details Show code + +```vue + +``` + +::: + ## Contribution Props diff --git a/src/App.vue b/src/App.vue index f7abbdb8..ce9aabc4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,5 @@