fumadocs-git-changelog 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/css/preset.css CHANGED
@@ -152,8 +152,8 @@
152
152
  }
153
153
  .fgc-commit-icon {
154
154
  width: 16px;
155
- height: 20px;
156
- margin: 0.2rem auto 0;
155
+ height: 16px;
156
+ margin: 0.3rem auto 0;
157
157
  color: var(--color-fd-muted-foreground);
158
158
  opacity: 0.5;
159
159
  }
@@ -220,9 +220,7 @@
220
220
  font-size: 0.8125rem;
221
221
  }
222
222
  .fgc .fgc-tag {
223
- display: inline-flex;
224
- align-items: center;
225
- gap: 0.2rem;
223
+ display: inline;
226
224
  margin-inline-start: 0.5rem;
227
225
  color: var(--fgc-link);
228
226
  font-size: 0.75rem;
@@ -230,8 +228,12 @@
230
228
  text-decoration: none;
231
229
  }
232
230
  .fgc-tag svg {
231
+ display: inline-block;
233
232
  width: 12px;
234
233
  height: 12px;
234
+ margin-inline-end: 0.2rem;
235
+ /* The tag outline carries more visual weight above its geometric center. */
236
+ vertical-align: -0.2em;
235
237
  }
236
238
  .fgc-inline-authors {
237
239
  display: inline-flex;
@@ -8,7 +8,7 @@ import { useTranslations } from "@fuma-translate/react";
8
8
  import { Heading } from "fumadocs-ui/components/heading";
9
9
  import { buttonVariants } from "fumadocs-ui/components/ui/button";
10
10
  import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "fumadocs-ui/components/ui/collapsible";
11
- import { ArrowDownWideNarrow, ArrowUpWideNarrow, ChevronDown, Ellipsis, GitCommitVertical, History, Tag } from "lucide-react";
11
+ import { ArrowDownWideNarrow, ArrowUpWideNarrow, ChevronDown, Ellipsis, GitCommitHorizontal, History, Tag } from "lucide-react";
12
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
13
  //#region src/ui/changelog.tsx
14
14
  function GitChangelog({ commits, authors = [], locale = "en", timeZone = "UTC", defaultExpanded = false, showContributors = true, hideChangelogHeader = false, hideChangelogNoChangesText = false, hideContributorsHeader = false, hideSortBy = false, displayAuthorsInsideCommitLine = false, commitsRelativeTime = false, numCommitHashLetters = 7, repoURL, id, contributorsId, className = "" }) {
@@ -99,7 +99,7 @@ function GitChangelog({ commits, authors = [], locale = "en", timeZone = "UTC",
99
99
  children: ordered.map((commit) => /* @__PURE__ */ jsxs("li", {
100
100
  "data-commit": commit.sha,
101
101
  className: "fgc-entry",
102
- children: [/* @__PURE__ */ jsx(GitCommitVertical, {
102
+ children: [/* @__PURE__ */ jsx(GitCommitHorizontal, {
103
103
  className: "fgc-commit-icon",
104
104
  "aria-hidden": "true"
105
105
  }), /* @__PURE__ */ jsx("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-git-changelog",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Page Git history integration for Fumadocs",
5
5
  "keywords": [
6
6
  "changelog",