@softwareone/spi-sv5-library 1.5.2 → 1.5.3

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.
@@ -17,7 +17,6 @@
17
17
  .card {
18
18
  width: 100%;
19
19
  background: #fff;
20
- margin-bottom: 24px;
21
20
  border-radius: 16px;
22
21
  box-shadow:
23
22
  0px 1px 16px rgba(107, 113, 128, 0.1),
@@ -53,8 +53,7 @@
53
53
  display: flex;
54
54
  flex-direction: column;
55
55
  gap: 3px;
56
- font-size: 12px;
57
- letter-spacing: 1px;
56
+ font-size: 14px;
58
57
  }
59
58
 
60
59
  .footer-section a:hover {
@@ -7,16 +7,13 @@
7
7
  }
8
8
 
9
9
  let { title, homeItems }: HomeProps = $props();
10
-
11
- const hasSingleItem: boolean = homeItems.length === 1;
12
- const hasManyItems: boolean = homeItems.length > 1;
13
10
  </script>
14
11
 
15
- <h1 class={['home-title', hasSingleItem && 'centered']}>
12
+ <h1 class="home-title">
16
13
  {title}
17
14
  </h1>
18
15
 
19
- <section class={['home-container', hasSingleItem && 'centered', hasManyItems && 'grid']}>
16
+ <section class="home-container grid">
20
17
  {#each homeItems as homeItem}
21
18
  <a href={homeItem.url} class="home-item">
22
19
  <img src={homeItem.icon} alt={homeItem.text} />
@@ -36,23 +33,12 @@
36
33
  font-weight: 600;
37
34
  }
38
35
 
39
- .home-title.centered {
40
- display: flex;
41
- justify-content: center;
42
- }
43
-
44
36
  .home-container {
45
37
  --black-1: #434952;
46
38
  --black-2: #273444;
47
39
  --white: #fff;
48
40
  }
49
41
 
50
- .home-container.centered {
51
- display: flex;
52
- flex-direction: column;
53
- align-items: center;
54
- }
55
-
56
42
  .home-container.grid {
57
43
  display: grid;
58
44
  gap: 24px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softwareone/spi-sv5-library",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "Svelte components",
5
5
  "keywords": [
6
6
  "svelte",