spoko-design-system 1.13.3 → 1.14.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [1.14.1](https://github.com/polo-blue/sds/compare/v1.14.0...v1.14.1) (2025-12-07)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **jumbotron:** fix description order in PostSplit variant ([679a45e](https://github.com/polo-blue/sds/commit/679a45e3b7be9e39dd65691edf61bc5564136881))
|
|
6
|
+
|
|
7
|
+
## [1.14.0](https://github.com/polo-blue/sds/compare/v1.13.3...v1.14.0) (2025-12-07)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **jumbotron:** add description prop to PostSplit variant ([e1dca7a](https://github.com/polo-blue/sds/commit/e1dca7adec632a06253012b8bbe3f04b2d0cca24))
|
|
12
|
+
|
|
1
13
|
## [1.13.3](https://github.com/polo-blue/sds/compare/v1.13.2...v1.13.3) (2025-12-06)
|
|
2
14
|
|
|
3
15
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@ import { Image } from 'astro:assets';
|
|
|
6
6
|
|
|
7
7
|
interface Props {
|
|
8
8
|
title?: string;
|
|
9
|
+
description?: string;
|
|
9
10
|
image?: string;
|
|
10
11
|
imageWidth?: number;
|
|
11
12
|
imageHeight?: number;
|
|
@@ -21,6 +22,7 @@ interface Props {
|
|
|
21
22
|
|
|
22
23
|
const {
|
|
23
24
|
title = '',
|
|
25
|
+
description,
|
|
24
26
|
image,
|
|
25
27
|
imageWidth = 768,
|
|
26
28
|
imageHeight = 432,
|
|
@@ -63,6 +65,8 @@ const cleanTitle = stripHtml(title);
|
|
|
63
65
|
<div class="jumbotron-split-content">
|
|
64
66
|
<h1 class="jumbotron-split-title" set:html={title} />
|
|
65
67
|
|
|
68
|
+
{description && <p class="jumbotron-description order-3 w-full" set:html={description} />}
|
|
69
|
+
|
|
66
70
|
{
|
|
67
71
|
hasCategories && (
|
|
68
72
|
<div class="jumbotron-categories">
|
|
@@ -59,7 +59,7 @@ export const jumbotronShortcuts = [
|
|
|
59
59
|
'jumbotron-split-title',
|
|
60
60
|
'font-headlight text-3xl md:(text-4xl mb-3) xl:text-11 mt-1 order-2 line-clamp-3 pb-1 w-full',
|
|
61
61
|
],
|
|
62
|
-
['jumbotron-split-meta', 'order-
|
|
62
|
+
['jumbotron-split-meta', 'order-4 flex items-center text-gray-100'],
|
|
63
63
|
['jumbotron-split-image-wrapper', 'relative -mb-8 md:(mt-4 -ml-4 mr-4) xl:(ml-0 mr-0)'],
|
|
64
64
|
['jumbotron-split-image', 'relative shadow-xl md:max-h-112 overflow-hidden md:ml-auto'],
|
|
65
65
|
['jumbotron-split-img', 'object-cover'],
|