Compare commits

...

16 Commits

Author SHA1 Message Date
Mark Dumay
a44b5449f8 Merge pull request #1472 from gethinode/develop
Fix handling of card parent arguments
2025-06-20 11:58:37 +02:00
Mark Dumay
461f53c67e Merge branch 'main' into develop 2025-06-20 11:52:23 +02:00
Mark Dumay
9a5059d8bd Fix handling of card parent arguments 2025-06-20 11:48:08 +02:00
Mark Dumay
c1586ee00e Bump package release 2025-06-20 11:01:50 +02:00
Mark Dumay
88d2a50954 Simplify page layout structure 2025-06-20 11:01:18 +02:00
Mark Dumay
77aa394c8e Merge pull request #1471 from gethinode/develop
Support xs buttons
2025-06-20 10:28:25 +02:00
Mark Dumay
5d4147fea9 Merge branch 'main' into develop 2025-06-20 10:23:49 +02:00
Mark Dumay
9c1d84487d Clean up button example 2025-06-20 10:21:58 +02:00
Mark Dumay
944a9705d7 Bump package release 2025-06-20 10:18:42 +02:00
Mark Dumay
5e274d952a Add args shortcode to example blog 2025-06-20 10:18:04 +02:00
Mark Dumay
a7f2d6d003 Use GetPadding from mod-utils 2025-06-20 10:17:21 +02:00
Mark Dumay
057ae25f7b Use xs button for inline release links 2025-06-20 10:16:46 +02:00
Mark Dumay
a6454e3b4e Support xs buttons 2025-06-20 10:16:21 +02:00
Mark Dumay
4b8f59782a Improve error handling of getdimension utility function 2025-06-20 10:14:43 +02:00
github-actions[bot]
777c4f671f Merge pull request #1470 from gethinode/dependabot/npm_and_yarn/stylelint-16.21.0
Bump stylelint from 16.20.0 to 16.21.0
2025-06-19 14:09:18 +00:00
dependabot[bot]
990a016434 Bump stylelint from 16.20.0 to 16.21.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.20.0 to 16.21.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.20.0...16.21.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-version: 16.21.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-19 13:59:32 +00:00
21 changed files with 252 additions and 145 deletions

View File

@@ -69,3 +69,8 @@ $theme-colors: (
"body": $body-bg, "body": $body-bg,
"body-tertiary": $gray-100, "body-tertiary": $gray-100,
); );
$btn-padding-y-xs: .08rem !default;
$btn-padding-x-xs: 0.3rem !default;
$btn-font-size-xs: $font-size-base * .6 !default;
$btn-border-radius-xs: .2rem !default;

View File

@@ -64,3 +64,8 @@ $theme-colors: (
"body": $body-bg, "body": $body-bg,
"body-tertiary": $gray-100, "body-tertiary": $gray-100,
); );
$btn-padding-y-xs: .08rem !default;
$btn-padding-x-xs: 0.3rem !default;
$btn-font-size-xs: $font-size-base * .6 !default;
$btn-border-radius-xs: .2rem !default;

View File

@@ -48,3 +48,7 @@ a.btn {
margin: 0 !important; margin: 0 !important;
} }
.btn-xs {
@include button-size($btn-padding-y-xs, $btn-padding-x-xs, $btn-font-size-xs, $btn-border-radius-xs);
}

View File

@@ -2,3 +2,17 @@ comment: >-
Initializes images dimensions (widht x height for supported image ratios. Initializes images dimensions (widht x height for supported image ratios.
arguments: arguments:
ratio: ratio:
type: select
optional: true
comment: >-
Ratio of the media asset. When the asset is an image, it is resized and
cropped (not applicable to vector graphics). For video assets, the padding
of the embedded frame is adjusted.
options:
values:
- 1x1
- 3x2
- 4x3
- 16x9
- 21x9
- auto

View File

@@ -59,6 +59,16 @@ As an example, the following shortcode displays a simple alert.
{{< /example >}} {{< /example >}}
<!-- markdownlint-enable MD037 --> <!-- markdownlint-enable MD037 -->
## Args
Use the args shortcode to generates a table of structured arguments. The argument definitions are expected to be defined in a data file identified by a provided structure name.
<!-- markdownlint-disable MD037 -->
{{< example lang="hugo" >}}
{{</* args "args" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
## Badge ## Badge
Use the badge shortcode to display a badge for a heading. Use the badge shortcode to display a badge for a heading.
@@ -238,10 +248,12 @@ Use the `file` shortcode to print and highlight the full content of a given inpu
<!-- markdownlint-disable MD037 --> <!-- markdownlint-disable MD037 -->
{{< example lang="hugo" >}} {{< example lang="hugo" >}}
{{</* file file="./config/_default/languages.toml" id="file-collapse-1" */>}} {{</* file file="./config/_default/languages.toml" id="file-collapse-1" full=false */>}}
{{< /example >}} {{< /example >}}
<!-- markdownlint-enable MD037 --> <!-- markdownlint-enable MD037 -->
{{< file full="false" file="./config/_default/languages.toml" id="file-collapse-5" >}}
## Icon ## Icon
As an example, the following shortcodes show a square check, a brand logo, a circle check, and a custom icon. As an example, the following shortcodes show a square check, a brand logo, a circle check, and a custom icon.

View File

@@ -97,12 +97,20 @@
"ball", "ball",
"bg-bg-body-tertiary", "bg-bg-body-tertiary",
"bg-bg-primary-subtle", "bg-bg-primary-subtle",
"bg-black",
"bg-body", "bg-body",
"bg-body-tertiary", "bg-body-tertiary",
"bg-danger", "bg-danger",
"bg-dark",
"bg-info",
"bg-light",
"bg-opacity-10", "bg-opacity-10",
"bg-primary", "bg-primary",
"bg-primary-subtle", "bg-primary-subtle",
"bg-secondary",
"bg-success",
"bg-warning",
"bg-white",
"bi", "bi",
"bi-activity", "bi-activity",
"border", "border",
@@ -122,18 +130,20 @@
"btn-group", "btn-group",
"btn-light", "btn-light",
"btn-link", "btn-link",
"btn-md",
"btn-outline-primary", "btn-outline-primary",
"btn-outline-secondary", "btn-outline-secondary",
"btn-primary", "btn-primary",
"btn-secondary", "btn-secondary",
"btn-sm",
"btn-social", "btn-social",
"btn-xs",
"card", "card",
"card-block-2", "card-block-2",
"card-body", "card-body",
"card-body-link", "card-body-link",
"card-body-margin", "card-body-margin",
"card-button", "card-button",
"card-button-link",
"card-container", "card-container",
"card-container-wrapper", "card-container-wrapper",
"card-emphasize", "card-emphasize",
@@ -228,23 +238,19 @@
"fa-angle-left", "fa-angle-left",
"fa-arrow-left", "fa-arrow-left",
"fa-arrow-right", "fa-arrow-right",
"fa-book-open",
"fa-bootstrap", "fa-bootstrap",
"fa-check",
"fa-chevron-right", "fa-chevron-right",
"fa-circle", "fa-circle",
"fa-circle-check", "fa-circle-check",
"fa-circle-play", "fa-circle-play",
"fa-circle-question", "fa-circle-question",
"fa-code", "fa-code",
"fa-display",
"fa-divide", "fa-divide",
"fa-docker", "fa-docker",
"fa-ellipsis", "fa-ellipsis",
"fa-face-frown", "fa-face-frown",
"fa-facebook", "fa-facebook",
"fa-fluid", "fa-fluid",
"fa-font-awesome",
"fa-fw", "fa-fw",
"fa-github", "fa-github",
"fa-globe", "fa-globe",
@@ -257,14 +263,11 @@
"fa-link", "fa-link",
"fa-linkedin", "fa-linkedin",
"fa-magnifying-glass", "fa-magnifying-glass",
"fa-markdown",
"fa-medium", "fa-medium",
"fa-moon", "fa-moon",
"fa-robot",
"fa-rocket", "fa-rocket",
"fa-rotate-90", "fa-rotate-90",
"fa-share-nodes", "fa-share-nodes",
"fa-sitemap",
"fa-sort", "fa-sort",
"fa-square-check", "fa-square-check",
"fa-stack", "fa-stack",
@@ -331,15 +334,25 @@
"justify-content-between", "justify-content-between",
"justify-content-center", "justify-content-center",
"justify-content-end", "justify-content-end",
"justify-content-md-end",
"justify-content-md-start", "justify-content-md-start",
"justify-content-start", "justify-content-start",
"katex", "katex",
"label", "label",
"lead", "lead",
"leaflet-map", "leaflet-map",
"link-bg-black",
"link-bg-body",
"link-bg-body-tertiary", "link-bg-body-tertiary",
"link-bg-danger",
"link-bg-dark",
"link-bg-footer", "link-bg-footer",
"link-bg-info",
"link-bg-light",
"link-bg-primary",
"link-bg-secondary",
"link-bg-success",
"link-bg-warning",
"link-bg-white",
"link-primary", "link-primary",
"link-secondary", "link-secondary",
"link-success", "link-success",
@@ -372,7 +385,9 @@
"mt-auto", "mt-auto",
"mt-md-0", "mt-md-0",
"multi-docs-collapse-15", "multi-docs-collapse-15",
"multi-docs-collapse-17",
"multi-file-collapse-1", "multi-file-collapse-1",
"multi-file-collapse-5",
"mx-auto", "mx-auto",
"mx-md-0", "mx-md-0",
"mx-md-2", "mx-md-2",
@@ -404,6 +419,7 @@
"order-first", "order-first",
"order-md-0", "order-md-0",
"order-md-1", "order-md-1",
"p-",
"p-0", "p-0",
"p-1", "p-1",
"p-2", "p-2",
@@ -457,6 +473,7 @@
"row-cols-lg-3", "row-cols-lg-3",
"row-cols-md-2", "row-cols-md-2",
"row-cols-md-3", "row-cols-md-3",
"row-cols-md-4",
"row-cols-sm-2", "row-cols-sm-2",
"row-cols-sm-3", "row-cols-sm-3",
"scrollbar-horizontal", "scrollbar-horizontal",
@@ -486,12 +503,18 @@
"table-wrap", "table-wrap",
"tag-link", "tag-link",
"text-", "text-",
"text-bg-black",
"text-bg-body",
"text-bg-body-tertiary", "text-bg-body-tertiary",
"text-bg-danger",
"text-bg-dark",
"text-bg-info", "text-bg-info",
"text-bg-light",
"text-bg-primary", "text-bg-primary",
"text-bg-secondary", "text-bg-secondary",
"text-bg-success", "text-bg-success",
"text-bg-warning", "text-bg-warning",
"text-bg-white",
"text-body", "text-body",
"text-body-secondary", "text-body-secondary",
"text-break", "text-break",
@@ -499,7 +522,6 @@
"text-decoration-none", "text-decoration-none",
"text-end", "text-end",
"text-info", "text-info",
"text-md-end",
"text-muted", "text-muted",
"text-nowrap", "text-nowrap",
"text-primary", "text-primary",
@@ -569,6 +591,7 @@
"alerte", "alerte",
"animatie", "animatie",
"animation", "animation",
"args",
"arguments", "arguments",
"background-type", "background-type",
"badge", "badge",
@@ -576,10 +599,11 @@
"block-diagram", "block-diagram",
"blog", "blog",
"body-docs-collapse-15", "body-docs-collapse-15",
"body-docs-collapse-17",
"body-file-collapse-1", "body-file-collapse-1",
"body-file-collapse-5",
"bouton", "bouton",
"breadcrumb", "breadcrumb",
"build-a-static-website-fast-and-flexible",
"button", "button",
"button-group", "button-group",
"c4-diagram", "c4-diagram",
@@ -594,6 +618,7 @@
"cloudinary", "cloudinary",
"collapse", "collapse",
"collapse-1", "collapse-1",
"colored-cards",
"command-prompt", "command-prompt",
"comment-nous-partageons-vos-informations", "comment-nous-partageons-vos-informations",
"comment-utilisons-nous-les-cookies-", "comment-utilisons-nous-les-cookies-",
@@ -602,7 +627,6 @@
"cookies-etc", "cookies-etc",
"custom-activity", "custom-activity",
"data-tables", "data-tables",
"developer-friendly-and-secure",
"docs", "docs",
"documentation", "documentation",
"elements-type", "elements-type",
@@ -611,37 +635,77 @@
"exemple", "exemple",
"fa-address-card", "fa-address-card",
"fa-face-frown", "fa-face-frown",
"fa-font-awesome",
"fa-square-check", "fa-square-check",
"fab-bootstrap", "fab-bootstrap",
"fab-docker", "fab-docker",
"fab-facebook", "fab-facebook",
"fab-github", "fab-github",
"fab-linkedin", "fab-linkedin",
"fab-markdown",
"fab-medium", "fab-medium",
"fab-whatsapp", "fab-whatsapp",
"fab-x-twitter", "fab-x-twitter",
"faq-664efd96843c20a5a8800d1318cb7744", "faq-053659d52c3204ebc73c1b387efbbb07",
"faq-664efd96843c20a5a8800d1318cb7744-heading-faq-664efd96843c20a5a8800d1318cb7744", "faq-053659d52c3204ebc73c1b387efbbb07-heading-faq-053659d52c3204ebc73c1b387efbbb07",
"faq-664efd96843c20a5a8800d1318cb7744-item-0", "faq-053659d52c3204ebc73c1b387efbbb07-item-0",
"faq-664efd96843c20a5a8800d1318cb7744-item-1", "faq-053659d52c3204ebc73c1b387efbbb07-item-1",
"faq-664efd96843c20a5a8800d1318cb7744-item-2", "faq-053659d52c3204ebc73c1b387efbbb07-item-2",
"faq-3b4f420cc7621af32c96109c12bca758",
"faq-3b4f420cc7621af32c96109c12bca758-heading-faq-3b4f420cc7621af32c96109c12bca758",
"faq-3b4f420cc7621af32c96109c12bca758-item-0",
"faq-3b4f420cc7621af32c96109c12bca758-item-1",
"faq-3b4f420cc7621af32c96109c12bca758-item-2",
"faq-4f19b6f4505f05eaa5bbf531aed406b8",
"faq-4f19b6f4505f05eaa5bbf531aed406b8-heading-faq-4f19b6f4505f05eaa5bbf531aed406b8",
"faq-4f19b6f4505f05eaa5bbf531aed406b8-item-0",
"faq-4f19b6f4505f05eaa5bbf531aed406b8-item-1",
"faq-4f19b6f4505f05eaa5bbf531aed406b8-item-2",
"faq-637b21f5a6c607752e51e0633243d2bf",
"faq-637b21f5a6c607752e51e0633243d2bf-heading-faq-637b21f5a6c607752e51e0633243d2bf",
"faq-637b21f5a6c607752e51e0633243d2bf-item-0",
"faq-637b21f5a6c607752e51e0633243d2bf-item-1",
"faq-637b21f5a6c607752e51e0633243d2bf-item-2",
"faq-9b51ee909251b9ba0de086282b0afc7a",
"faq-9b51ee909251b9ba0de086282b0afc7a-heading-faq-9b51ee909251b9ba0de086282b0afc7a",
"faq-9b51ee909251b9ba0de086282b0afc7a-item-0",
"faq-9b51ee909251b9ba0de086282b0afc7a-item-1",
"faq-9b51ee909251b9ba0de086282b0afc7a-item-2",
"faq-aa0a1905cab279bfffa949e96810a3a8",
"faq-aa0a1905cab279bfffa949e96810a3a8-heading-faq-aa0a1905cab279bfffa949e96810a3a8",
"faq-aa0a1905cab279bfffa949e96810a3a8-item-0",
"faq-aa0a1905cab279bfffa949e96810a3a8-item-1",
"faq-aa0a1905cab279bfffa949e96810a3a8-item-2",
"faq-d2df4da095dc8a0c45487af207ebf623",
"faq-d2df4da095dc8a0c45487af207ebf623-heading-faq-d2df4da095dc8a0c45487af207ebf623",
"faq-d2df4da095dc8a0c45487af207ebf623-item-0",
"faq-d2df4da095dc8a0c45487af207ebf623-item-1",
"faq-d2df4da095dc8a0c45487af207ebf623-item-2",
"faq-f7b27a38c3ee12525d7d0dc8acc1c600",
"faq-f7b27a38c3ee12525d7d0dc8acc1c600-heading-faq-f7b27a38c3ee12525d7d0dc8acc1c600",
"faq-f7b27a38c3ee12525d7d0dc8acc1c600-item-0",
"faq-f7b27a38c3ee12525d7d0dc8acc1c600-item-1",
"faq-f7b27a38c3ee12525d7d0dc8acc1c600-item-2",
"faq-fe0f1a534c1ceb0781d73fb79ec3eea1",
"faq-fe0f1a534c1ceb0781d73fb79ec3eea1-heading-faq-fe0f1a534c1ceb0781d73fb79ec3eea1",
"faq-fe0f1a534c1ceb0781d73fb79ec3eea1-item-0",
"faq-fe0f1a534c1ceb0781d73fb79ec3eea1-item-1",
"faq-fe0f1a534c1ceb0781d73fb79ec3eea1-item-2",
"faq-fe3528d7eb9c1abb5256a70492433843",
"faq-fe3528d7eb9c1abb5256a70492433843-heading-faq-fe3528d7eb9c1abb5256a70492433843",
"faq-fe3528d7eb9c1abb5256a70492433843-item-0",
"faq-fe3528d7eb9c1abb5256a70492433843-item-1",
"faq-fe3528d7eb9c1abb5256a70492433843-item-2",
"fas-1", "fas-1",
"fas-2", "fas-2",
"fas-3", "fas-3",
"fas-angle-left", "fas-angle-left",
"fas-arrow-left", "fas-arrow-left",
"fas-arrow-right", "fas-arrow-right",
"fas-book-open",
"fas-check",
"fas-chevron-right", "fas-chevron-right",
"fas-circle", "fas-circle",
"fas-circle-check", "fas-circle-check",
"fas-circle-play", "fas-circle-play",
"fas-circle-question", "fas-circle-question",
"fas-code", "fas-code",
"fas-display",
"fas-divide", "fas-divide",
"fas-ellipsis", "fas-ellipsis",
"fas-globe", "fas-globe",
@@ -653,10 +717,8 @@
"fas-link", "fas-link",
"fas-magnifying-glass", "fas-magnifying-glass",
"fas-moon", "fas-moon",
"fas-robot",
"fas-rocket", "fas-rocket",
"fas-share-nodes", "fas-share-nodes",
"fas-sitemap",
"fas-sort", "fas-sort",
"fas-sun", "fas-sun",
"fas-timeline", "fas-timeline",
@@ -664,10 +726,11 @@
"fichier", "fichier",
"fil-dariane", "fil-dariane",
"file", "file",
"flexible--ready-to-use",
"flowchart", "flowchart",
"footer-docs-collapse-15", "footer-docs-collapse-15",
"footer-docs-collapse-17",
"footer-file-collapse-1", "footer-file-collapse-1",
"footer-file-collapse-5",
"formula-katex", "formula-katex",
"formule-katex", "formule-katex",
"gantt-diagram", "gantt-diagram",
@@ -719,15 +782,12 @@
"navbar-0-collapse", "navbar-0-collapse",
"navbar-mode", "navbar-mode",
"navbar-mode-checkbox", "navbar-mode-checkbox",
"navbar-sample",
"navbar-sample-checkbox",
"navbar-sample-collapse", "navbar-sample-collapse",
"navigation", "navigation",
"notification", "notification",
"overview", "overview",
"persona", "persona",
"pie-chart", "pie-chart",
"powered-by-open-source",
"projecten", "projecten",
"projects", "projects",
"projets", "projets",

2
go.mod
View File

@@ -18,7 +18,7 @@ require (
github.com/gethinode/mod-simple-datatables v1.1.7 // indirect github.com/gethinode/mod-simple-datatables v1.1.7 // indirect
github.com/gethinode/mod-simple-datatables/v2 v2.0.1 // indirect github.com/gethinode/mod-simple-datatables/v2 v2.0.1 // indirect
github.com/gethinode/mod-utils/v3 v3.3.1 // indirect github.com/gethinode/mod-utils/v3 v3.3.1 // indirect
github.com/gethinode/mod-utils/v4 v4.5.1 // indirect github.com/gethinode/mod-utils/v4 v4.6.0 // indirect
github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a // indirect github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a // indirect
github.com/twbs/bootstrap v5.3.7+incompatible // indirect github.com/twbs/bootstrap v5.3.7+incompatible // indirect
) )

2
go.sum
View File

@@ -438,6 +438,8 @@ github.com/gethinode/mod-utils/v4 v4.5.0 h1:p6sDsMNA/KE2IK3SPdWjFX3cPAwPP5gDxzJu
github.com/gethinode/mod-utils/v4 v4.5.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4= github.com/gethinode/mod-utils/v4 v4.5.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/gethinode/mod-utils/v4 v4.5.1 h1:VKmqi6+oC93noHUJ6HvFlelglHT/9+kXQjpJs7VtWko= github.com/gethinode/mod-utils/v4 v4.5.1 h1:VKmqi6+oC93noHUJ6HvFlelglHT/9+kXQjpJs7VtWko=
github.com/gethinode/mod-utils/v4 v4.5.1/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4= github.com/gethinode/mod-utils/v4 v4.5.1/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/gethinode/mod-utils/v4 v4.6.0 h1:XQ7hiCrn15SzgkcD0j53XVZPQYeQKUxg/UUkr80pJ2w=
github.com/gethinode/mod-utils/v4 v4.6.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3 h1:H/qVR5O4BXjRjD+5PZB+r4ug2BSJ2Of4RtwOntd+OKo= github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3 h1:H/qVR5O4BXjRjD+5PZB+r4ug2BSJ2Of4RtwOntd+OKo=
github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU= github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
github.com/nextapps-de/flexsearch v0.0.0-20240108021025-afd75f742f22 h1:re7L8FxbXQpnX8BgzkdUnDpsUmloGNyLmiy2ZCln8pg= github.com/nextapps-de/flexsearch v0.0.0-20240108021025-afd75f742f22 h1:re7L8FxbXQpnX8BgzkdUnDpsUmloGNyLmiy2ZCln8pg=

View File

@@ -45,7 +45,7 @@
{{ $comment := $val.comment }} {{ $comment := $val.comment }}
{{ if $val.deprecated }} {{ if $val.deprecated }}
{{ $btn := printf `{{< release version="%s" short="true" button-size="sm" inline="true" release-state="deprecated" >}}` $val.deprecated }} {{ $btn := printf `{{< release version="%s" short="true" button-size="xs" inline="true" release-state="deprecated" >}}` $val.deprecated }}
{{ with $val.alternative }} {{ with $val.alternative }}
{{ $comment = printf "%s **%s**. %s" $btn (T "alternativeFeature" .) $comment }} {{ $comment = printf "%s **%s**. %s" $btn (T "alternativeFeature" .) $comment }}
{{ else }} {{ else }}
@@ -53,7 +53,7 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ if $val.release }} {{ if $val.release }}
{{ $comment = printf `{{< release version="%s" short="true" button-size="sm" inline="true" >}} %s` $val.release $comment }} {{ $comment = printf `{{< release version="%s" short="true" button-size="xs" inline="true" >}} %s` $val.release $comment }}
{{ end }} {{ end }}
{{ $min := "" }} {{ $min := "" }}

View File

@@ -33,8 +33,7 @@
{{- with $args.tooltip }}{{ $tooltip = . }}{{ end -}} {{- with $args.tooltip }}{{ $tooltip = . }}{{ end -}}
{{- end -}} {{- end -}}
{{- $href := .href -}} {{- $href := $args.href -}}
{{ $linkType := or $args.linkType $args.type }} {{ $linkType := or $args.linkType $args.type }}
{{ $buttonSize := or $args.buttonSize $args.size }} {{ $buttonSize := or $args.buttonSize $args.size }}
{{ $toastID := or $args.toastId $args.toast }} {{ $toastID := or $args.toastId $args.toast }}
@@ -74,13 +73,21 @@
{{/* Main code */}} {{/* Main code */}}
{{ if not $error }} {{ if not $error }}
{{- $btnClass := "" -}}
{{- if eq $linkType "button" }}
{{- $btnClass = printf "btn btn-%s%s" (cond $args.outline "outline-" "") $args.color -}}
{{- if ne $buttonSize "md" }}{{ $btnClass = printf "%s btn-%s" $btnClass $buttonSize }}{{ end -}}
{{- if in (slice "disabled" "active") $state }}{{ $btnClass = printf "%s %s" $btnClass $state }}{{ end -}}
{{- $btnClass = printf "%s position-relative %s" $btnClass $class }}
{{- end -}}
<a aria-label="{{ (or $label $title) | safeHTML }}" <a aria-label="{{ (or $label $title) | safeHTML }}"
{{ if ne $state "disabled" }}{{ with $href }}href="{{ . }}"{{ end }}{{ end -}} {{ if ne $state "disabled" }}{{ with $href }}href="{{ . }}"{{ end }}{{ end -}}
{{- with $args.id }} id="{{ . }}"{{ end -}} {{- with $args.id }} id="{{ . }}"{{ end -}}
{{- with $target }} target="{{ . }}"{{ end }}{{ with $rel }} rel="{{ . }}"{{ end -}} {{- with $target }} target="{{ . }}"{{ end }}{{ with $rel }} rel="{{ . }}"{{ end -}}
{{- with $toastID }} data-toast-target="{{ . }}"{{ end -}} {{- with $toastID }} data-toast-target="{{ . }}"{{ end -}}
{{- with $args.clipboard }} data-clipboard="{{ . }}"{{ end -}} {{- with $args.clipboard }} data-clipboard="{{ . }}"{{ end -}}
{{- if eq $linkType "button" }} class="btn btn-{{ if $args.outline }}outline-{{ end }}{{ $args.color }} {{ if ne $buttonSize "md" }}btn-{{ $args.size }}{{ end }} position-relative {{ if in (slice "disabled" "active") $args.state }}{{ $args.state }}{{ end }} {{ $class -}}" {{- with $btnClass }} class="{{ . }}"
{{ if eq $state "disabled" }}aria-disabled="true"{{ end -}} {{ if eq $state "disabled" }}aria-disabled="true"{{ end -}}
{{- else }} class="btn btn-link link-{{ $args.color }} position-relative {{ $class }}"{{ end -}} {{- else }} class="btn btn-link link-{{ $args.color }} position-relative {{ $class }}"{{ end -}}
{{- with $tooltip }} data-bs-toggle="tooltip" data-bs-title="{{ . }}" data-bs-placement="{{ $args.placement }}"{{ end -}} {{- with $tooltip }} data-bs-toggle="tooltip" data-bs-title="{{ . }}" data-bs-placement="{{ $args.placement }}"{{ end -}}

View File

@@ -203,9 +203,22 @@
{{- end -}} {{- end -}}
<div class="{{ $col2 }}"> <div class="{{ $col2 }}">
<div class="card-body d-flex p-{{ $args.padding }} flex-column h-100 flex-fill"> <div class="card-body d-flex p-{{ $args.padding }} flex-column h-100 flex-fill">
{{ if $page }}<div>{{ partial "inline/card-caption.html" (dict "page" $page "keywords" $args.headerStyle "color" $args.color) }}</div>{{ end }} {{ if $page }}
<div>{{ partial "inline/card-caption.html" (dict
"page" $page
"keywords" $args.headerStyle
"color" $args.color
) }}
</div>
{{ end }}
<div class="flex-fill"> <div class="flex-fill">
{{- partial "inline/card-body.html" (dict "title" $title "href" $href "color" $args.color "description" $description "button" $args.button) -}} {{- partial "inline/card-body.html" (dict
"title" $title
"href" $href
"color" $args.color
"description" $description
"button" $args.button
) -}}
</div> </div>
{{ if $page }}<div>{{ partial "inline/card-caption.html" (dict "page" $page "keywords" $args.footerStyle "color" $args.color) }}</div>{{ end }} {{ if $page }}<div>{{ partial "inline/card-caption.html" (dict "page" $page "keywords" $args.footerStyle "color" $args.color) }}</div>{{ end }}
{{ if and $href $args.button }} {{ if and $href $args.button }}

View File

@@ -20,21 +20,23 @@
{{ end }} {{ end }}
{{/* Initialize local arguments */}} {{/* Initialize local arguments */}}
{{ $dim := "" }} {{ $dim := slice }}
{{ $default := dict "4x3" "1400x1050" "3x2" "1400x933" "1x1" "1400x1400" "16x9" "1400x788" "21x9" "1400x600" "auto" "1400" }} {{ $default := dict "4x3" "1400x1050" "3x2" "1400x933" "1x1" "1400x1400" "16x9" "1400x788" "21x9" "1400x600" "auto" "1400" }}
{{/* Initialize dimensions data - stripping unsupported file extension */}} {{ if not $args.err }}
{{ $config := "dimensions" }} {{/* Initialize dimensions data - stripping unsupported file extension */}}
{{ with index site.Params "dam" }}{{ with index . "dimensions" }}{{ $config = . }}{{ end }}{{ end }} {{ $config := "dimensions" }}
{{ $config = path.Join (path.Dir $config) (path.BaseName $config) }} {{ with index site.Params "dam" }}{{ with index . "dimensions" }}{{ $config = . }}{{ end }}{{ end }}
{{ $config = path.Join (path.Dir $config) (path.BaseName $config) }}
{{ with index site.Data $config }} {{ with index site.Data $config }}
{{ $matches := first 1 (where . "ratio" $args.ratio) }} {{ $matches := first 1 (where . "ratio" $args.ratio) }}
{{ if eq ($matches | len) 1 }} {{ if eq ($matches | len) 1 }}
{{ $dim = (index $matches 0).dimensions }} {{ $dim = (index $matches 0).dimensions }}
{{ end }}
{{ end }} {{ end }}
{{ if not $dim }}{{ $dim = slice (index $default $args.ratio) }}{{ end }}
{{ end }} {{ end }}
{{ if not $dim }}{{ $dim = slice (index $default $args.ratio) }}{{ end }}
{{ return $dim }} {{ return $dim }}

View File

@@ -33,10 +33,6 @@
{{ end }} {{ end }}
{{ else }} {{ else }}
{{- $thumbnail = $page.Params.Thumbnail -}} {{- $thumbnail = $page.Params.Thumbnail -}}
{{ if or $page.Params.photoCredits $page.Params.photoSource }}
{{ warnf "DEPRECATED: frontmatter variables `photoCredits` and `photoSource` have been deprecated in release v0.18: %s" $page.RelPermalink }}
{{ end }}
{{- if and $page.Params.photoCredits $page.Params.PhotoSource }}{{ $credits = printf (T "photoFull") $page.Params.photoCredits $page.Params.PhotoSource }}{{ end -}}
{{- end -}} {{- end -}}
{{ if $thumbnail -}} {{ if $thumbnail -}}

View File

@@ -1,20 +0,0 @@
{{- /* Define main padding size */ -}}
{{- $defaultY := 5 -}}
{{- $defaultX := 5 -}}
{{- $permitted := slice 0 1 2 3 4 5 }}
{{- $paddingX := $defaultX -}}
{{- if isset site.Params.main.padding "x" }}{{ $paddingX = site.Params.main.padding.x }}{{ end -}}
{{- $paddingY := $defaultY -}}
{{- if isset site.Params.main.padding "y" }}{{ $paddingY = site.Params.main.padding.y }}{{ end -}}
{{- if not (in $permitted $paddingX) -}}
{{- warnf "layout [_default/baseof.html] - Invalid value for param 'padding.x': %d" $paddingX -}}
{{- $paddingX = $defaultX -}}
{{- end -}}
{{- if not (in $permitted $paddingY) -}}
{{- warnf "layout [_default/baseof.html] - Invalid value for param 'padding.y': %d" $paddingY -}}
{{- $paddingY = $defaultY -}}
{{- end -}}
{{- return (dict "x" $paddingX "y" $paddingY) -}}

View File

@@ -26,27 +26,27 @@
{{- $class := partial "utilities/GetArgParent" (dict "page" . "arg" "class" "merge" true) -}} {{- $class := partial "utilities/GetArgParent" (dict "page" . "arg" "class" "merge" true) -}}
{{- $color := partial "utilities/GetArgParent" (dict "page" . "arg" "color") -}} {{- $color := partial "utilities/GetArgParent" (dict "page" . "arg" "color") -}}
{{- $description := trim .Inner " \r\n" | .Page.RenderString | safeHTML -}} {{- $description := trim .Inner " \r\n" | .Page.RenderString | safeHTML -}}
{{- $footer := partial "utilities/GetArgParent" (dict "page" . "arg" "footer-style") | partial "utilities/GetArgParent" (dict "page" . "arg" "footer") | default "none" -}} {{- $footer := or (partial "utilities/GetArgParent" (dict "page" . "arg" "footer-style")) (partial "utilities/GetArgParent" (dict "page" . "arg" "footer")) -}}
{{- $gutter := partial "utilities/GetArgParent" (dict "page" . "arg" "gutter") | default "0" -}} {{- $gutter := partial "utilities/GetArgParent" (dict "page" . "arg" "gutter") -}}
{{- $header := partial "utilities/GetArgParent" (dict "page" . "arg" "header-style") | partial "utilities/GetArgParent" (dict "page" . "arg" "header") | default "full" -}} {{- $header := or (partial "utilities/GetArgParent" (dict "page" . "arg" "header-style")) (partial "utilities/GetArgParent" (dict "page" . "arg" "header")) -}}
{{- $icon := .Get "icon" -}} {{- $icon := .Get "icon" -}}
{{- $iconRounded := partial "utilities/GetArgParent" (dict "page" . "arg" "icon-rounded") | partial "utilities/GetArgParent" (dict "page" . "arg" "iconRounded") | default false -}} {{- $iconRounded := or (partial "utilities/GetArgParent" (dict "page" . "arg" "icon-rounded")) (partial "utilities/GetArgParent" (dict "page" . "arg" "iconRounded")) -}}
{{- $align := partial "utilities/GetArgParent" (dict "page" . "arg" "align") | default "start" -}} {{- $align := partial "utilities/GetArgParent" (dict "page" . "arg" "align") -}}
{{- $style := partial "utilities/GetArgParent" (dict "page" . "arg" "icon-style") | partial "utilities/GetArgParent" (dict "page" . "arg" "style") | default "" -}} {{- $style := or (partial "utilities/GetArgParent" (dict "page" . "arg" "icon-style")) (partial "utilities/GetArgParent" (dict "page" . "arg" "style")) -}}
{{- $subtle := partial "utilities/GetArgParent" (dict "page" . "arg" "subtle") | default false -}} {{- $subtle := partial "utilities/GetArgParent" (dict "page" . "arg" "subtle") -}}
{{- $loading := .Get "loading" -}} {{- $loading := .Get "loading" -}}
{{- $orientation := partial "utilities/GetArgParent" (dict "page" . "arg" "orientation") | default "stacked" -}} {{- $orientation := partial "utilities/GetArgParent" (dict "page" . "arg" "orientation") -}}
{{- $padding := partial "utilities/GetArgParent" (dict "page" . "arg" "padding") | default 3 -}} {{- $padding := partial "utilities/GetArgParent" (dict "page" . "arg" "padding") -}}
{{- $ratio := partial "utilities/GetArgParent" (dict "page" . "arg" "ratio") | default "" -}} {{- $ratio := partial "utilities/GetArgParent" (dict "page" . "arg" "ratio") -}}
{{- $page := .Page -}} {{- $page := .Page -}}
{{- $path := .Get "path" -}} {{- $path := .Get "path" -}}
{{- $thumbnail := .Get "thumbnail" -}} {{- $thumbnail := .Get "thumbnail" -}}
{{- $anchor := .Get "anchor" -}} {{- $anchor := .Get "anchor" -}}
{{- $title := .Get "title" -}} {{- $title := .Get "title" -}}
{{- $button := partial "utilities/GetArgParent" (dict "page" . "arg" "button") | default false -}} {{- $button := partial "utilities/GetArgParent" (dict "page" . "arg" "button") -}}
{{- $linkType := partial "utilities/GetArgParent" (dict "page" . "arg" "link-type") | partial "utilities/GetArgParent" (dict "page" . "arg" "buttonType") | default "" -}} {{- $linkType := or (partial "utilities/GetArgParent" (dict "page" . "arg" "link-type")) (partial "utilities/GetArgParent" (dict "page" . "arg" "buttonType")) -}}
{{- $cols := partial "utilities/GetArgParent" (dict "page" . "arg" "cols") | default 3 -}} {{- $cols := partial "utilities/GetArgParent" (dict "page" . "arg" "cols") -}}
{{- $scroll := partial "utilities/GetArgParent" (dict "page" . "arg" "scroll") | default false -}} {{- $scroll := partial "utilities/GetArgParent" (dict "page" . "arg" "scroll") -}}
{{- $wrapper := "" -}} {{- $wrapper := "" -}}
{{/* Override arguments */}} {{/* Override arguments */}}
@@ -66,7 +66,6 @@
{{ $wrapper = printf "card-block-%d p-0" $cols }} {{ $wrapper = printf "card-block-%d p-0" $cols }}
{{ end }} {{ end }}
{{/* Main code */}} {{/* Main code */}}
{{ if not $error -}} {{ if not $error -}}
{{/* Render card */}} {{/* Render card */}}

View File

@@ -1,3 +1,3 @@
{{- partial "single/thumbnail.html" (dict "page" . "wrapper" "mb-5") -}} {{- partial "page/thumbnail.html" (dict "page" . "wrapper" "mb-5") -}}
{{ partial "utilities/ProcessContent" (dict "page" .Page "raw" .RawContent) }} {{ partial "utilities/ProcessContent" (dict "page" .Page "raw" .RawContent) }}

View File

@@ -1,7 +1,7 @@
{{ define "main" -}} {{ define "main" -}}
{{- $breakpoint := $.Scratch.Get "breakpoint" -}} {{- $breakpoint := $.Scratch.Get "breakpoint" -}}
{{- $sidebar := partial "body/sidebar" . -}} {{- $sidebar := partial "page/sidebar" . -}}
{{- $toc := partial "body/panel-toc" . -}} {{- $toc := partial "page/panel-toc" . -}}
{{ with $sidebar }} {{ with $sidebar }}
<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvass-sidebar" aria-labelledby="offcanvas-label"> <div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvass-sidebar" aria-labelledby="offcanvas-label">

114
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "1.0.0-beta", "version": "1.0.0-beta3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "1.0.0-beta", "version": "1.0.0-beta3",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@fullhuman/postcss-purgecss": "^7.0.2", "@fullhuman/postcss-purgecss": "^7.0.2",
@@ -28,7 +28,7 @@
"replace-in-files-cli": "^3.0.0", "replace-in-files-cli": "^3.0.0",
"rimraf": "^6.0.1", "rimraf": "^6.0.1",
"shx": "^0.4.0", "shx": "^0.4.0",
"stylelint": "^16.20.0", "stylelint": "^16.21.0",
"stylelint-config-standard-scss": "^15.0.1" "stylelint-config-standard-scss": "^15.0.1"
}, },
"optionalDependencies": { "optionalDependencies": {
@@ -225,9 +225,9 @@
} }
}, },
"node_modules/@csstools/css-parser-algorithms": { "node_modules/@csstools/css-parser-algorithms": {
"version": "3.0.4", "version": "3.0.5",
"resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.4.tgz", "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.5.tgz",
"integrity": "sha512-Up7rBoV77rv29d3uKHUIVubz1BTcgyUK72IvCQAbfbMv584xHcGKCKbWh7i8hPrRJ7qU4Y8IO3IY9m+iTB7P3A==", "integrity": "sha512-DaDeUkXZKjdGhgYaHNJTV9pV7Y9B3b644jCLs9Upc3VeNGg6LWARAT6O+Q+/COo+2gg/bM5rhpMAtf70WqfBdQ==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -244,13 +244,13 @@
"node": ">=18" "node": ">=18"
}, },
"peerDependencies": { "peerDependencies": {
"@csstools/css-tokenizer": "^3.0.3" "@csstools/css-tokenizer": "^3.0.4"
} }
}, },
"node_modules/@csstools/css-tokenizer": { "node_modules/@csstools/css-tokenizer": {
"version": "3.0.3", "version": "3.0.4",
"resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.3.tgz", "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.4.tgz",
"integrity": "sha512-UJnjoFsmxfKUdNYdWgOB0mWUypuLvAfQPH1+pyvRJs6euowbFkFC6P13w1l8mJyi3vxYMxc9kld5jZEGRQs6bw==", "integrity": "sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -268,9 +268,9 @@
} }
}, },
"node_modules/@csstools/media-query-list-parser": { "node_modules/@csstools/media-query-list-parser": {
"version": "4.0.2", "version": "4.0.3",
"resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-4.0.2.tgz", "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-4.0.3.tgz",
"integrity": "sha512-EUos465uvVvMJehckATTlNqGj4UJWkTmdWuDMjqvSUkjGpmOyFZBVwb4knxCm/k2GMTXY+c/5RkdndzFYWeX5A==", "integrity": "sha512-HAYH7d3TLRHDOUQK4mZKf9k9Ph/m8Akstg66ywKR4SFAigjs3yBiUeZtFxywiTm5moZMAp/5W/ZuFnNXXYLuuQ==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -287,8 +287,8 @@
"node": ">=18" "node": ">=18"
}, },
"peerDependencies": { "peerDependencies": {
"@csstools/css-parser-algorithms": "^3.0.4", "@csstools/css-parser-algorithms": "^3.0.5",
"@csstools/css-tokenizer": "^3.0.3" "@csstools/css-tokenizer": "^3.0.4"
} }
}, },
"node_modules/@dual-bundle/import-meta-resolve": { "node_modules/@dual-bundle/import-meta-resolve": {
@@ -1672,9 +1672,9 @@
} }
}, },
"node_modules/cacheable": { "node_modules/cacheable": {
"version": "1.9.0", "version": "1.10.0",
"resolved": "https://registry.npmjs.org/cacheable/-/cacheable-1.9.0.tgz", "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-1.10.0.tgz",
"integrity": "sha512-8D5htMCxPDUULux9gFzv30f04Xo3wCnik0oOxKoRTPIBoqA7HtOcJ87uBhQTs3jCfZZTrUBGsYIZOgE0ZRgMAg==", "integrity": "sha512-SSgQTAnhd7WlJXnGlIi4jJJOiHzgnM5wRMEPaXAU4kECTAMpBoYKoZ9i5zHmclIEZbxcu3j7yY/CF8DTmwIsHg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -1708,9 +1708,9 @@
} }
}, },
"node_modules/cacheable/node_modules/keyv": { "node_modules/cacheable/node_modules/keyv": {
"version": "5.3.3", "version": "5.3.4",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-5.3.3.tgz", "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.3.4.tgz",
"integrity": "sha512-Rwu4+nXI9fqcxiEHtbkvoes2X+QfkTRo1TMkPfwzipGsJlJO/z69vqB4FNl9xJ3xCpAcbkvmEabZfPzrwN3+gQ==", "integrity": "sha512-ypEvQvInNpUe+u+w8BIcPkQvEqXquyyibWE/1NB5T2BTzIpS5cGEV1LZskDzPSTvNAaT4+5FutvzlvnkxOSKlw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -4224,9 +4224,9 @@
} }
}, },
"node_modules/hookified": { "node_modules/hookified": {
"version": "1.9.0", "version": "1.9.1",
"resolved": "https://registry.npmjs.org/hookified/-/hookified-1.9.0.tgz", "resolved": "https://registry.npmjs.org/hookified/-/hookified-1.9.1.tgz",
"integrity": "sha512-2yEEGqphImtKIe1NXWEhu6yD3hlFR4Mxk4Mtp3XEyScpSt4pQ4ymmXA1zzxZpj99QkFK+nN0nzjeb2+RUi/6CQ==", "integrity": "sha512-u3pxtGhKjcSXnGm1CX6aXS9xew535j3lkOCegbA6jdyh0BaAjTbXI4aslKstCr6zUNtoCxFGFKwjbSHdGrMB8g==",
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
@@ -5937,15 +5937,16 @@
"dev": true "dev": true
}, },
"node_modules/nanoid": { "node_modules/nanoid": {
"version": "3.3.8", "version": "3.3.11",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
"integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
"funding": [ "funding": [
{ {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ai" "url": "https://github.com/sponsors/ai"
} }
], ],
"license": "MIT",
"bin": { "bin": {
"nanoid": "bin/nanoid.cjs" "nanoid": "bin/nanoid.cjs"
}, },
@@ -6729,9 +6730,9 @@
} }
}, },
"node_modules/postcss": { "node_modules/postcss": {
"version": "8.5.3", "version": "8.5.6",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.3.tgz", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz",
"integrity": "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==", "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==",
"funding": [ "funding": [
{ {
"type": "opencollective", "type": "opencollective",
@@ -6748,7 +6749,7 @@
], ],
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"nanoid": "^3.3.8", "nanoid": "^3.3.11",
"picocolors": "^1.1.1", "picocolors": "^1.1.1",
"source-map-js": "^1.2.1" "source-map-js": "^1.2.1"
}, },
@@ -8778,9 +8779,9 @@
} }
}, },
"node_modules/stylelint": { "node_modules/stylelint": {
"version": "16.20.0", "version": "16.21.0",
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.20.0.tgz", "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.21.0.tgz",
"integrity": "sha512-B5Myu9WRxrgKuLs3YyUXLP2H0mrbejwNxPmyADlACWwFsrL8Bmor/nTSh4OMae5sHjOz6gkSeccQH34gM4/nAw==", "integrity": "sha512-ki3PpJGG7xhm3WtINoWGnlvqAmbqSexoRMbEMJzlwewSIOqPRKPlq452c22xAdEJISVi80r+I7KL9GPUiwFgbg==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -8794,9 +8795,9 @@
], ],
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@csstools/css-parser-algorithms": "^3.0.4", "@csstools/css-parser-algorithms": "^3.0.5",
"@csstools/css-tokenizer": "^3.0.3", "@csstools/css-tokenizer": "^3.0.4",
"@csstools/media-query-list-parser": "^4.0.2", "@csstools/media-query-list-parser": "^4.0.3",
"@csstools/selector-specificity": "^5.0.0", "@csstools/selector-specificity": "^5.0.0",
"@dual-bundle/import-meta-resolve": "^4.1.0", "@dual-bundle/import-meta-resolve": "^4.1.0",
"balanced-match": "^2.0.0", "balanced-match": "^2.0.0",
@@ -8807,21 +8808,21 @@
"debug": "^4.4.1", "debug": "^4.4.1",
"fast-glob": "^3.3.3", "fast-glob": "^3.3.3",
"fastest-levenshtein": "^1.0.16", "fastest-levenshtein": "^1.0.16",
"file-entry-cache": "^10.1.0", "file-entry-cache": "^10.1.1",
"global-modules": "^2.0.0", "global-modules": "^2.0.0",
"globby": "^11.1.0", "globby": "^11.1.0",
"globjoin": "^0.1.4", "globjoin": "^0.1.4",
"html-tags": "^3.3.1", "html-tags": "^3.3.1",
"ignore": "^7.0.4", "ignore": "^7.0.5",
"imurmurhash": "^0.1.4", "imurmurhash": "^0.1.4",
"is-plain-object": "^5.0.0", "is-plain-object": "^5.0.0",
"known-css-properties": "^0.36.0", "known-css-properties": "^0.37.0",
"mathml-tag-names": "^2.1.3", "mathml-tag-names": "^2.1.3",
"meow": "^13.2.0", "meow": "^13.2.0",
"micromatch": "^4.0.8", "micromatch": "^4.0.8",
"normalize-path": "^3.0.0", "normalize-path": "^3.0.0",
"picocolors": "^1.1.1", "picocolors": "^1.1.1",
"postcss": "^8.5.3", "postcss": "^8.5.5",
"postcss-resolve-nested-selector": "^0.1.6", "postcss-resolve-nested-selector": "^0.1.6",
"postcss-safe-parser": "^7.0.1", "postcss-safe-parser": "^7.0.1",
"postcss-selector-parser": "^7.1.0", "postcss-selector-parser": "^7.1.0",
@@ -9012,25 +9013,25 @@
"dev": true "dev": true
}, },
"node_modules/stylelint/node_modules/file-entry-cache": { "node_modules/stylelint/node_modules/file-entry-cache": {
"version": "10.1.0", "version": "10.1.1",
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-10.1.0.tgz", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-10.1.1.tgz",
"integrity": "sha512-Et/ex6smi3wOOB+n5mek+Grf7P2AxZR5ueqRUvAAn4qkyatXi3cUC1cuQXVkX0VlzBVsN4BkWJFmY/fYiRTdww==", "integrity": "sha512-zcmsHjg2B2zjuBgjdnB+9q0+cWcgWfykIcsDkWDB4GTPtl1eXUA+gTI6sO0u01AqK3cliHryTU55/b2Ow1hfZg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"flat-cache": "^6.1.9" "flat-cache": "^6.1.10"
} }
}, },
"node_modules/stylelint/node_modules/flat-cache": { "node_modules/stylelint/node_modules/flat-cache": {
"version": "6.1.9", "version": "6.1.10",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.9.tgz", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.10.tgz",
"integrity": "sha512-DUqiKkTlAfhtl7g78IuwqYM+YqvT+as0mY+EVk6mfimy19U79pJCzDZQsnqk3Ou/T6hFXWLGbwbADzD/c8Tydg==", "integrity": "sha512-B6/v1f0NwjxzmeOhzfXPGWpKBVA207LS7lehaVKQnFrVktcFRfkzjZZ2gwj2i1TkEUMQht7ZMJbABUT5N+V1Nw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"cacheable": "^1.9.0", "cacheable": "^1.10.0",
"flatted": "^3.3.3", "flatted": "^3.3.3",
"hookified": "^1.8.2" "hookified": "^1.9.1"
} }
}, },
"node_modules/stylelint/node_modules/globby": { "node_modules/stylelint/node_modules/globby": {
@@ -9063,15 +9064,22 @@
} }
}, },
"node_modules/stylelint/node_modules/ignore": { "node_modules/stylelint/node_modules/ignore": {
"version": "7.0.4", "version": "7.0.5",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.4.tgz", "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",
"integrity": "sha512-gJzzk+PQNznz8ysRrC0aOkBNVRBDtE1n53IqyqEf3PXrYwomFs5q4pGMizBMJF+ykh03insJ27hB8gSrD2Hn8A==", "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">= 4" "node": ">= 4"
} }
}, },
"node_modules/stylelint/node_modules/known-css-properties": {
"version": "0.37.0",
"resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.37.0.tgz",
"integrity": "sha512-JCDrsP4Z1Sb9JwG0aJ8Eo2r7k4Ou5MwmThS/6lcIe1ICyb7UBJKGRIUUdqc2ASdE/42lgz6zFUnzAIhtXnBVrQ==",
"dev": true,
"license": "MIT"
},
"node_modules/stylelint/node_modules/postcss-selector-parser": { "node_modules/stylelint/node_modules/postcss-selector-parser": {
"version": "7.1.0", "version": "7.1.0",
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz", "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "1.0.0-beta", "version": "1.0.0-beta3",
"description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator", "description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator",
"keywords": [ "keywords": [
"hugo", "hugo",
@@ -88,7 +88,7 @@
"replace-in-files-cli": "^3.0.0", "replace-in-files-cli": "^3.0.0",
"rimraf": "^6.0.1", "rimraf": "^6.0.1",
"shx": "^0.4.0", "shx": "^0.4.0",
"stylelint": "^16.20.0", "stylelint": "^16.21.0",
"stylelint-config-standard-scss": "^15.0.1" "stylelint-config-standard-scss": "^15.0.1"
}, },
"optionalDependencies": { "optionalDependencies": {