@softwareone/spi-sv5-library 0.1.0 → 0.1.2
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/README.md +1 -1
- package/dist/Card/Card.svelte +8 -2
- package/dist/Card/Card.svelte.d.ts +0 -1
- package/dist/Footer/Footer.svelte +64 -45
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/Card/Card.svelte
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
interface CardProps {
|
|
5
5
|
alignItems?: 'left' | 'center' | 'right';
|
|
6
6
|
type?: 'default' | 'layout';
|
|
7
|
-
height?: string;
|
|
8
7
|
children?: Snippet;
|
|
9
8
|
}
|
|
10
9
|
|
|
@@ -22,7 +21,10 @@
|
|
|
22
21
|
};
|
|
23
22
|
</script>
|
|
24
23
|
|
|
25
|
-
<div
|
|
24
|
+
<div
|
|
25
|
+
class={getCardType(type)}
|
|
26
|
+
data-align={alignItems}
|
|
27
|
+
>
|
|
26
28
|
<div class="card-content">
|
|
27
29
|
{@render children?.()}
|
|
28
30
|
</div>
|
|
@@ -35,6 +37,7 @@
|
|
|
35
37
|
margin-left: 24px;
|
|
36
38
|
margin-right: 48px;
|
|
37
39
|
margin-bottom: 24px;
|
|
40
|
+
height: calc(100vh);
|
|
38
41
|
min-width: 222px;
|
|
39
42
|
min-height: 222px;
|
|
40
43
|
flex-direction: column;
|
|
@@ -44,10 +47,12 @@
|
|
|
44
47
|
0px 1px 16px 0px rgba(107, 113, 128, 0.1),
|
|
45
48
|
0px 1px 3px 0px rgba(107, 113, 128, 0.2);
|
|
46
49
|
}
|
|
50
|
+
|
|
47
51
|
.card-layout {
|
|
48
52
|
height: calc(100vh);
|
|
49
53
|
width: calc(100% - 48px);
|
|
50
54
|
}
|
|
55
|
+
|
|
51
56
|
.card[data-align='left'],
|
|
52
57
|
.card-layout[data-align='left'] {
|
|
53
58
|
align-items: flex-start;
|
|
@@ -60,6 +65,7 @@
|
|
|
60
65
|
.card-layout[data-align='right'] {
|
|
61
66
|
align-items: flex-end;
|
|
62
67
|
}
|
|
68
|
+
|
|
63
69
|
.card-content {
|
|
64
70
|
padding: 24px;
|
|
65
71
|
}
|
|
@@ -9,19 +9,16 @@
|
|
|
9
9
|
</script>
|
|
10
10
|
|
|
11
11
|
{#if isInternal}
|
|
12
|
-
<div class="footer">
|
|
13
12
|
<section class="footer-section">
|
|
14
13
|
<article class="footer-logo">
|
|
15
14
|
<img alt="SoftwareOne logo" class="logo-image" src="/softwareone-logo-white.svg" />
|
|
16
15
|
</article>
|
|
17
16
|
<article class="footer-links">
|
|
18
|
-
<a class="footer-link" href="mailto:support@softwareone.com" title="support@softwareone.com"
|
|
19
|
-
>Support</a
|
|
20
|
-
>
|
|
17
|
+
<a class="footer-link" href="mailto:support@softwareone.com" title="support@softwareone.com">Support</a>
|
|
21
18
|
<a
|
|
22
19
|
class="footer-link"
|
|
23
20
|
href="https://softwareone.atlassian.net/wiki/spaces/MA/pages/4642996240/GDAP+Manual"
|
|
24
|
-
title="
|
|
21
|
+
title="GDAP Manual"
|
|
25
22
|
target="_blank">Documentation</a
|
|
26
23
|
>
|
|
27
24
|
</article>
|
|
@@ -30,78 +27,100 @@
|
|
|
30
27
|
<div class="footer-link">© 2024 SoftwareOne. All rights reserved</div>
|
|
31
28
|
</article>
|
|
32
29
|
</section>
|
|
33
|
-
</div>
|
|
34
30
|
{:else}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</div>
|
|
31
|
+
<div class="logo-legal-section">
|
|
32
|
+
<div class="logo">
|
|
33
|
+
<div class="powered-by">Powered by</div>
|
|
34
|
+
<div class="software-one">
|
|
35
|
+
<svg
|
|
36
|
+
width="120"
|
|
37
|
+
height="43"
|
|
38
|
+
viewBox="0 0 120 43"
|
|
39
|
+
fill="none"
|
|
40
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
41
|
+
>
|
|
42
|
+
<path
|
|
43
|
+
d="M41.7916 25.2245C39.8995 35.1656 31.1792 42.3529 21.0878 42.3529C9.4607 42.3529 0 32.8524 0 21.1765C0 9.47296 9.4607 0 21.0878 0C31.2066 0 39.8995 7.18733 41.7916 17.1284V1.18412H53.7752V6.08583C57.1207 1.87256 60.85 0 65.8135 0C74.5338 0 79.936 6.33366 79.936 16.5777V17.3212C81.5813 6.91196 89.6983 0 100.338 0C112.02 0 120 8.83959 120 21.7272V24.3984H91.5905C92.4406 30.2364 95.8409 33.5684 100.941 33.5684C104.671 33.5684 107.358 31.8335 108.181 28.8595H119.452C117.861 36.9556 110.402 42.3529 100.777 42.3529C89.9726 42.3529 81.6087 35.4134 79.936 25.0593V41.1688H67.7605V17.8444C67.7605 12.8326 65.2925 10.0513 60.8775 10.0513C56.7368 10.0513 53.9946 13.1355 53.9946 17.8444V41.1688H41.7916V25.2245ZM108.099 16.6878C107.331 11.4832 104.369 8.45407 100.091 8.45407C95.7861 8.45407 92.7696 11.4281 91.7824 16.6878H108.099Z"
|
|
44
|
+
fill="black"
|
|
45
|
+
/>
|
|
46
|
+
<path
|
|
47
|
+
d="M1.63617 21.8654H3.15125C3.24533 22.3776 3.53745 22.6013 4.1316 22.6013C4.62673 22.6013 4.95351 22.3477 4.95351 21.9599C4.95351 21.6765 4.73565 21.4925 4.29994 21.4179L3.71074 21.3185C2.35905 21.0898 1.76985 20.5876 1.76985 19.6628C1.76985 18.6833 2.72049 17.9922 4.06723 17.9922C5.42388 17.9922 6.23588 18.5441 6.41908 19.5982H4.91885C4.84953 19.1855 4.54751 18.9617 4.05733 18.9617C3.59687 18.9617 3.25523 19.2302 3.25523 19.5932C3.25523 19.8617 3.46813 20.0108 3.96326 20.1003L4.60197 20.2147C5.9091 20.4484 6.48345 20.9705 6.48345 21.9251C6.48345 22.9543 5.54766 23.6454 4.15141 23.6454C2.65613 23.6454 1.74015 22.9991 1.63617 21.8654ZM6.73596 20.8362C6.73596 19.1905 7.92426 17.9922 9.56312 17.9922C11.1921 17.9922 12.3408 19.1457 12.3408 20.7915C12.3408 22.4571 11.1673 23.6454 9.52351 23.6454C7.8797 23.6454 6.73596 22.4919 6.73596 20.8362ZM10.7366 20.8014C10.7366 19.812 10.2712 19.1855 9.53342 19.1855C8.80558 19.1855 8.34017 19.8219 8.34017 20.8113C8.34017 21.8257 8.79568 22.4521 9.53342 22.4521C10.2761 22.4521 10.7366 21.8157 10.7366 20.8014ZM12.2566 18.1563H13.128V17.6392C13.128 16.4459 13.6727 15.9188 14.8956 15.9188C15.0986 15.9188 15.3462 15.9387 15.4848 15.9636V17.0922C15.3957 17.0873 15.3957 17.0873 15.2868 17.0873C14.8412 17.0873 14.6926 17.2165 14.6926 17.6143V18.1563H16.2374V16.4906H17.7971V18.1563H20.2331L20.7975 20.692C20.8767 21.055 20.956 21.4428 21.0203 21.8058C21.0995 21.4279 21.1936 21.05 21.2877 20.697L21.9462 18.196H23.2236L23.892 20.697C23.9713 21.0053 24.0653 21.403 24.1446 21.7411C24.2386 21.229 24.2881 20.9804 24.3525 20.697L24.917 18.1563H26.4568L24.9516 23.4814H23.4514L22.5552 20.0705L21.6788 23.4814H20.134L18.9656 19.27H17.7971V21.6964C17.7971 22.1538 17.9604 22.3079 18.4358 22.3079C18.5744 22.3079 18.6487 22.303 18.7873 22.2781V23.4316C18.5249 23.4814 18.2278 23.5162 17.9902 23.5162C16.7325 23.5162 16.2374 23.0488 16.2374 21.8605V19.27H14.6926V23.4814H13.128V19.27H12.2566V18.1563ZM26.1647 22.1091C26.1647 21.1445 26.7885 20.6572 28.3878 20.3838C29.2493 20.2396 29.5612 20.0407 29.5612 19.633C29.5612 19.2253 29.2592 18.9767 28.7591 18.9767C28.2293 18.9767 27.9273 19.2203 27.8927 19.6827H26.4518C26.5657 18.5888 27.3827 17.9922 28.774 17.9922C30.3089 17.9922 31.0664 18.733 31.0664 20.2396V22.3527C31.0664 23.009 31.1011 23.1979 31.2744 23.4814H29.7692C29.6949 23.3024 29.6454 23.0985 29.6256 22.825C29.2146 23.367 28.6849 23.6156 27.9521 23.6156C26.843 23.6156 26.1647 23.0438 26.1647 22.1091ZM28.6849 21.1892C27.9422 21.3384 27.6649 21.5472 27.6649 21.9599C27.6649 22.3776 27.9323 22.6162 28.4076 22.6162C29.1255 22.6162 29.5662 22.1588 29.5662 21.4279V20.9307C29.3384 21.0401 29.1503 21.0948 28.6849 21.1892ZM31.8438 18.1563H33.3935V18.9717C33.7302 18.3601 34.1708 18.0668 34.765 18.0668C34.8343 18.0668 34.9779 18.0817 35.0967 18.1065V19.4092C34.9977 19.3844 34.8937 19.3744 34.6759 19.3744C33.9134 19.3744 33.4232 19.8667 33.4232 20.6324V23.4814H31.8438V18.1563ZM35.0472 20.8362C35.0472 19.1407 36.1563 17.9922 37.7952 17.9922C39.3548 17.9922 40.4045 19.1656 40.4045 20.9207V21.1942H36.6168C36.7207 22.0792 37.1763 22.5814 37.8744 22.5814C38.3992 22.5814 38.7409 22.3328 38.8547 21.8803H40.3302C40.1173 22.9394 39.1271 23.6454 37.8546 23.6454C36.186 23.6454 35.0472 22.5068 35.0472 20.8362ZM38.8498 20.2644C38.7508 19.454 38.3745 19.0214 37.7655 19.0214C37.1565 19.0214 36.7752 19.449 36.6465 20.2644H38.8498Z"
|
|
48
|
+
fill="white"
|
|
49
|
+
/>
|
|
50
|
+
</svg>
|
|
56
51
|
</div>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
<div class="legal-text">Privacy Statement | Terms of Service</div>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="legal">
|
|
54
|
+
<div class="legal-text">
|
|
55
|
+
SoftwareONE is a trademark of SoftwareONE, Inc. "The Software Licensing Experts" is a
|
|
56
|
+
service mark of SoftwareONE, Inc. VAR assist is a trademark of SoftwareONE, Inc. "It pays to
|
|
57
|
+
partner" is a service mark of SoftwareONE, Incorporated. All other trademarks, service marks
|
|
58
|
+
or trade names appearing herein are the property of their respective owners.
|
|
65
59
|
</div>
|
|
60
|
+
<div class="legal-text">Privacy Statement | Terms of Service</div>
|
|
66
61
|
</div>
|
|
62
|
+
</div>
|
|
67
63
|
{/if}
|
|
68
64
|
|
|
69
65
|
<style>
|
|
70
|
-
|
|
71
|
-
background-color: #25282d;
|
|
72
|
-
min-height: 100px;
|
|
73
|
-
align-content: center;
|
|
74
|
-
}
|
|
66
|
+
/* Footer sticks to the bottom */
|
|
75
67
|
.footer-section {
|
|
68
|
+
background-color: #25282d;
|
|
76
69
|
display: flex;
|
|
77
70
|
flex-direction: row;
|
|
78
71
|
gap: 96px;
|
|
79
72
|
align-items: center;
|
|
80
73
|
justify-content: center;
|
|
74
|
+
padding: 24px;
|
|
81
75
|
}
|
|
76
|
+
|
|
82
77
|
.footer-logo {
|
|
83
78
|
display: flex;
|
|
84
79
|
justify-content: center;
|
|
85
80
|
}
|
|
81
|
+
|
|
86
82
|
.logo-image {
|
|
87
83
|
width: 192px;
|
|
88
84
|
}
|
|
85
|
+
|
|
89
86
|
.footer-links {
|
|
90
87
|
display: grid;
|
|
91
88
|
}
|
|
89
|
+
|
|
92
90
|
.footer-link {
|
|
93
91
|
font-family: 'Haas Grotesk Display Pro', sans-serif;
|
|
94
92
|
font-size: 16px;
|
|
95
93
|
font-weight: 400;
|
|
96
|
-
font-style: normal;
|
|
97
|
-
line-height: 20px;
|
|
98
94
|
color: white;
|
|
99
95
|
padding-bottom: 4px;
|
|
100
96
|
text-decoration: none;
|
|
101
97
|
}
|
|
98
|
+
|
|
102
99
|
.footer-link:hover {
|
|
103
|
-
color: #
|
|
100
|
+
color: #fff;
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
text-decoration: underline;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.logo-legal-section {
|
|
106
|
+
display: inline-flex;
|
|
107
|
+
height: 118.35px;
|
|
108
|
+
width: 100%;
|
|
109
|
+
align-items: center;
|
|
110
|
+
justify-content: space-between;
|
|
111
|
+
padding: 10px 20px;
|
|
112
|
+
position: absolute;
|
|
113
|
+
bottom: 0;
|
|
114
|
+
left: 0;
|
|
115
|
+
margin-left:24px;
|
|
116
|
+
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.legal-text {
|
|
120
|
+
font-size: 12px;
|
|
121
|
+
color: #6b7180;
|
|
104
122
|
}
|
|
123
|
+
|
|
105
124
|
.logo-legal-section {
|
|
106
125
|
display: inline-flex;
|
|
107
126
|
height: 118.35px;
|
|
@@ -119,7 +138,7 @@
|
|
|
119
138
|
gap: 2px;
|
|
120
139
|
}
|
|
121
140
|
.powered-by {
|
|
122
|
-
font-family: 'Haas
|
|
141
|
+
font-family: 'Haas Grot Text', sans-serif;
|
|
123
142
|
font-size: 14px;
|
|
124
143
|
font-weight: 500;
|
|
125
144
|
line-height: 1.5;
|
|
@@ -134,7 +153,7 @@
|
|
|
134
153
|
gap: 2px;
|
|
135
154
|
}
|
|
136
155
|
.legal-text {
|
|
137
|
-
font-family: 'Haas
|
|
156
|
+
font-family: 'Haas Grot Text', sans-serif;
|
|
138
157
|
width: 100%;
|
|
139
158
|
font-size: 12px;
|
|
140
159
|
font-weight: 500;
|