spoko-design-system 1.13.2 → 1.14.0
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.0](https://github.com/polo-blue/sds/compare/v1.13.3...v1.14.0) (2025-12-07)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* **jumbotron:** add description prop to PostSplit variant ([e1dca7a](https://github.com/polo-blue/sds/commit/e1dca7adec632a06253012b8bbe3f04b2d0cca24))
|
|
6
|
+
|
|
7
|
+
## [1.13.3](https://github.com/polo-blue/sds/compare/v1.13.2...v1.13.3) (2025-12-06)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **jumbotron:** remove xl:container from split-container ([9267b66](https://github.com/polo-blue/sds/commit/9267b6686cb4b00160a3ade4cfa26e81bc4f03ac))
|
|
12
|
+
|
|
1
13
|
## [1.13.2](https://github.com/polo-blue/sds/compare/v1.13.1...v1.13.2) (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" set:html={description} />}
|
|
69
|
+
|
|
66
70
|
{
|
|
67
71
|
hasCategories && (
|
|
68
72
|
<div class="jumbotron-categories">
|
|
@@ -52,7 +52,7 @@ export const jumbotronShortcuts = [
|
|
|
52
52
|
|
|
53
53
|
// Post Split variant
|
|
54
54
|
['jumbotron-split-wrapper', 'w-full'],
|
|
55
|
-
['jumbotron-split-container', '
|
|
55
|
+
['jumbotron-split-container', 'mx-auto'],
|
|
56
56
|
['jumbotron-split-header', 'w-full justify-center text-white z-2 mt-auto md:(grid grid-cols-2) pb-4 mb-8'],
|
|
57
57
|
['jumbotron-split-content', 'pl-4 pr-8 py-5 xl:(py-0 pl-0) flex flex-wrap'],
|
|
58
58
|
[
|